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#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#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