Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-27 Thread Frederic Peters
> reassign 296708 libgphoto2-2 > tag 296708 + patch > thanks tag 296708 + fixed-upstream thanks Thanks a lot Aurelien; forwarded and applied upstream. I'll build a new libgphoto2 package now. Frederic -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trou

Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-27 Thread Aurelien Jarno
reassign 296708 libgphoto2-2 tag 296708 + patch thanks On Sun, Feb 27, 2005 at 03:29:07PM +0100, Milan Zamazal wrote: > > "AJ" == Aurelien Jarno <[EMAIL PROTECTED]> writes: > > AJ> Some more progress on that bug. I have looked at the libgphoto2 > AJ> sources, and there is something re

Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-27 Thread Milan Zamazal
> "AJ" == Aurelien Jarno <[EMAIL PROTECTED]> writes: AJ> Some more progress on that bug. I have looked at the libgphoto2 AJ> sources, and there is something really strange. All buffers are AJ> 4096 bytes long whereas the requested data size is 32778 bytes. AJ> This was not a p

Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-27 Thread Aurelien Jarno
Some more progress on that bug. I have looked at the libgphoto2 sources, and there is something really strange. All buffers are 4096 bytes long whereas the requested data size is 32778 bytes. This was not a problem with the previous implementation of libusb as it seems that the camera always retu

Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-27 Thread Aurelien Jarno
On Sun, Feb 27, 2005 at 12:56:17PM +0100, Aurelien Jarno wrote: > I have build a fixed version of libgphoto2 available on > http://temp.aurel32.net/libgphoto2 Don't forget to use a version of libusb that was segfaulting! -- .''`. Aurelien Jarno GPG: 1024D/F1BCDB73 : :' : Debi

Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-27 Thread Aurelien Jarno
reopen 296708 thanks Bad news! I have talked with the upstream of libusb, and he thinkg this could not be a fix, but only a bad workaround. So the bug seems to be in gphoto2. I have looked at the latest logs (test2 and test3) you send me, and he seems to be right as the amount of the data receive

Bug#296706: Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-26 Thread Steve Langasek
On Sat, Feb 26, 2005 at 03:29:53PM +0100, Aurélien Jarno wrote: > On Sat, Feb 26, 2005 at 02:52:26PM +0100, Milan Zamazal wrote: > > AJ> BTW, the original bug report mentions you are using a kernel > > AJ> 2.6.9. Are you still using the same kernel? > > > > Yes. (And don't forget libusb-

Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-26 Thread Aurélien Jarno
On Sat, Feb 26, 2005 at 03:54:02PM +0100, Milan Zamazal wrote: > test3 (please note this one doesn't segfault and produces expected > output): Nice ! The only difference between test2 and test3 version is the size of blocks that are requested to the device. 16kB in test2 and 4kB in test3. It seems

Bug#296706: Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-26 Thread Milan Zamazal
> "AJ" == Aurélien Jarno <[EMAIL PROTECTED]> writes: AJ> I have just produced two new test versions (test2 and test3), AJ> which should output some more debugging infos (that I hope AJ> useful). Could you please test them (no need to use a debug AJ> mode) and send me the output

Bug#296706: Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-26 Thread Aurélien Jarno
On Sat, Feb 26, 2005 at 02:52:26PM +0100, Milan Zamazal wrote: > AJ> BTW, the original bug report mentions you are using a kernel > AJ> 2.6.9. Are you still using the same kernel? > > Yes. (And don't forget libusb-0.1-4 1:0.1.8-17 still works perfectly.) The way libusb communicate with t

Bug#296706: Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-26 Thread Milan Zamazal
> "AJ" == Aurélien Jarno <[EMAIL PROTECTED]> writes: AJ> Could you please send me the log of both libusb (the test AJ> version) and gphoto2 in debug mode? gphoto2 debug, strace gphoto2 and libusb debug logs are here: all-logs.bz2 Description: Binary data AJ> BTW, the original

Bug#296706: Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-26 Thread Aurélien Jarno
On Sat, Feb 26, 2005 at 02:13:42PM +0100, Milan Zamazal wrote: > Unfortunately it still segfaults. Here is the log: That's strange, that doesn't seems to correspond to what gphoto2 says. Could you please send me the log of both libusb (the test version) and gphoto2 in debug mode? BTW, the origi

Bug#296706: Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-26 Thread Milan Zamazal
> "AJ" == Aurélien Jarno <[EMAIL PROTECTED]> writes: AJ> Could you please test this version with USB_DEBUG=255 ? AJ> http://temp.aurel32.net/libusb/test/ Unfortunately it still segfaults. Here is the log: usb-test-log Description: Binary data Regards, Milan Zamazal -- If we ar

Bug#296706: Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-26 Thread Aurélien Jarno
Hi! After looking at the logs you send me and at the code, I may have found a problem. It seems to be possible that the kernel returns less data than expected, but returns some data. This is currently not handle in libusb. Could you please test this version with USB_DEBUG=255 ? http://temp.aurel3

Bug#296706: Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-26 Thread Milan Zamazal
> "AJ" == Aurélien Jarno <[EMAIL PROTECTED]> writes: AJ> Could you please try with USB_DEBUG=255 ? Here is the output: usb-log Description: Binary data Regards, Milan Zamazal -- When you're in a fight with an idiot, it's difficult for other people to tell which one the idiot is.

Bug#296706: Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-25 Thread Aurélien Jarno
On Fri, Feb 25, 2005 at 07:34:49PM +0100, Milan Zamazal wrote: > > "AJ" == Aurélien Jarno <[EMAIL PROTECTED]> writes: > > AJ> Next step, could you please run gphoto2 in debugging mode to see > AJ> if there is something interesting in the output. For that, just > AJ> run gphoto2 --d

Bug#296706: Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-25 Thread Aurélien Jarno
On Fri, Feb 25, 2005 at 06:22:11PM +0100, Aurélien Jarno wrote: > Milan Zamazal a écrit : > >AJ> Milan, could you please run USBDEBUG=255 gphoto2 > >AJ> put_your_args_here, and send me the result? > > > >This doesn't output anything. > Ok, I need to understand why. I given the wrong variab

Bug#296706: Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-25 Thread Milan Zamazal
> "AJ" == Aurélien Jarno <[EMAIL PROTECTED]> writes: AJ> Next step, could you please run gphoto2 in debugging mode to see AJ> if there is something interesting in the output. For that, just AJ> run gphoto2 --debug put_your_args_here Here's the output: gphoto2-debug-log.bz2 Desc

Bug#296706: Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-25 Thread Aurélien Jarno
Milan Zamazal a écrit : AJ> Milan, could you please run USBDEBUG=255 gphoto2 AJ> put_your_args_here, and send me the result? This doesn't output anything. Ok, I need to understand why. AJ> Also, doing an strace (just run strace gphoto2 AJ> put_your_args_here,) would be useful. I'll

Bug#296706: Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-25 Thread Milan Zamazal
> "FP" == Frederic Peters <[EMAIL PROTECTED]> writes: FP> I rebuilt libgphoto2 against the new libusb; could you test the FP> packages from http://people.debian.org/~fpeters/libgphoto2/ ? No change, it still segfaults. > "AJ" == Aurélien Jarno <[EMAIL PROTECTED]> writes: AJ>

Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-24 Thread Frederic Peters
Milan Zamazal wrote: > Package: libgphoto2-2 > Version: 2.1.5-3 > Severity: important > > After I upgraded libusb-0.1-4 to the version 1:0.1.10-2, I can no longer > download photos from my Olympus C-2100UZ camera, gphoto2 segfaults on any > attempt to communicate with the camera, e.g. after `gphot

Bug#296706: Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-24 Thread Aurélien Jarno
Frederic Peters a écrit : Hi Aurelien Hi! Did the new libusb break ABI ? I can rebuild libgphoto2 against the new version but this won't fix other packages using libusb. No, the ABI is still the same. What has changed is the way to communicate with the kernel, the newer version allow bigger packe

Bug#296708: libgphoto2-2: Segfaults after libusb upgrade

2005-02-24 Thread Milan Zamazal
Package: libgphoto2-2 Version: 2.1.5-3 Severity: important After I upgraded libusb-0.1-4 to the version 1:0.1.10-2, I can no longer download photos from my Olympus C-2100UZ camera, gphoto2 segfaults on any attempt to communicate with the camera, e.g. after `gphoto2 --summary'. The same happens wit