From: Ivo N. <iv...@na...> - 2006-04-23 18:46:01
|
Hello All, On Sun, 2006-04-23 at 11:02 +0200, Marcus Meissner wrote: > > (gdb) r -L > > Starting program: /usr/X11R6/bin/gtkam -L > > (no debugging symbols found)...(no debugging symbols found)...(no > > debugging symbols found)...warning: Unable to get location for thread > > creation breakpoint: generic error > > [New LWP 100108] > > [New Thread 0x8077000 (LWP 100108)] > > > > ** (process:1201): WARNING **: Unknown option '-L'! > > gdb in free(): warning: page is already free > > > > Program received signal SIGSEGV, Segmentation fault. > > [Switching to Thread 0x8077000 (LWP 100143)] > > 0x294cced8 in gp_port_library_list (list=0x81dcf70) at libusb.c:110 > > 110 libusb.c: No such file or directory. > > in libusb.c > > (gdb) bt > > #0 0x294cced8 in gp_port_library_list (list=0x81dcf70) at libusb.c:110 > > It would be good to know what is in line 110 there... > > > #1 0x2823f416 in foreach_func (filename=0x81e0256 > > "/usr/local/lib/libgphoto2_port/0.5.2/usb", data=0x81dcf70) > > at gphoto2-port-info-list.c:215 > > #2 0x281b71ee in gp_widget_changed () > > from /usr/local/lib/libgphoto2.so.2 > > #3 0x281b63dc in gp_widget_changed () > > from /usr/local/lib/libgphoto2.so.2 > > #4 0x281b73f5 in gp_widget_changed () > > from /usr/local/lib/libgphoto2.so.2 > > #5 0x2823f55b in gp_port_info_list_load (list=0x81e0200) at > > gphoto2-port-info-list.c:259 > > #6 0x0806036e in gtkam_tree_load () > > #7 0x080542fc in main () > > It would be nice if you could compile libgphoto2 yourself and try > to find out why it crashes there... > > Line 110 might be this one: > for (i1 = 0; i1 < dev->config[i].bNumInterfaces; i1++) > > So perhaps dev->config is a NULL pointer. Might be a libusb on FreeBSD problem :( > > Ciao, Marcus > Unfortunaltely this goes beyond my understanding, so if anyone could take over from here that would be very much appreciated. -- Vriendelijke groet, Kind regards, Ivo Naninck http://www.naninck.eu There are only 10 types of people in the world: those who understand binary and those who don't. |