Julien BLACHE wrote: > Hi, > > > [EMAIL PROTECTED]:~/tmp$ xscanimage > > *** glibc detected *** free(): invalid next size (normal): 0x0813ebf0 *** > > Aborted > > [EMAIL PROTECTED]:~/tmp$ xscanimage > > Segmentation fault > > [EMAIL PROTECTED]:~/tmp$ xscanimage > > *** glibc detected *** corrupted double-linked list: 0x08142028 *** > > Aborted > > Could please run xscanimage under gdb with SANE_DEBUG_GPHOTO2=255 set > in the environment ? > > We need both the debug log and the backtrace to figure out what's > going on.
OK. Here's the debug output during startup: [sanei_debug] Setting debug level of gphoto2 to 255. [gphoto2] GPHOTO2 Backend $Id: gphoto2.c,v 1.30 2003/10/02 04:03:40 psfales-guest Exp $ [gphoto2] sane_init: config- # Interface port where the camera is connected [gphoto2] sane_init: config- # This should be one of the values returned by "gphoto2 --list-ports", [gphoto2] sane_init: config- # such # as serial:/dev/ttyS6 or usb: [gphoto2] sane_init: config- #port=serial:/dev/ttyd1 [gphoto2] sane_init: config- port=usb: [gphoto2] Config file port=usb: [gphoto2] sane_init: config- [gphoto2] sane_init: config- # Port speed. This should be one of the values returned by [gphoto2] sane_init: config- # "gphoto2 --abilities" [gphoto2] sane_init: config- #speed=115200 [gphoto2] sane_init: config- [gphoto2] sane_init: config- # Name of camera. This should be one of the values returned by [gphoto2] sane_init: config- # "gphoto2 --list-cameras" [gphoto2] sane_init: config- camera=Canon Digital IXUS v2 [gphoto2] Config file camera=Canon Digital IXUS v2 [gphoto2] sane_init: config- [gphoto2] sane_init: config- # Prints some extra information during the init phase. [gphoto2] sane_init: config- #dumpinquiry [gphoto2] sane_init: config- [gphoto2] sane_init: config- # The resolution should be the maximum resolution supported by the [gphoto2] sane_init: config- # camera. It's not really used for much, since the actual size will be [gphoto2] sane_init: config- # reported by the camera when the download starts. But it may be useful [gphoto2] sane_init: config- # for the frontend to have a clue prior to the download. (e.g. it [gphoto2] sane_init: config- # may want to create an image window, or report the maximum file size. [gphoto2] sane_init: config- # Width x Height. [gphoto2] sane_init: config- resolution=1600x1200 [gphoto2] Config file resolution=1600x1200 [gphoto2] sane_init: config- [gphoto2] sane_init: config- # Thumbnail resolutions - ditto [gphoto2] sane_init: config- thumb_resolution=160x120 [gphoto2] Config file thumb_resolution=160x120 [gphoto2] sane_init: config- [gphoto2] sane_init: config- # top-level (fixed) folder directory in camera. Backend assumes [gphoto2] sane_init: config- # that there is one variable directory under this (e.g. 100DC240) [gphoto2] sane_init: config- # which will be read from the camera, and all the images in the [gphoto2] sane_init: config- # camera are under that. [gphoto2] sane_init: config- topfolder=/DCIM [gphoto2] Config file topfolder=/DCIM [gphoto2] sane_init: about to init_gphoto2 [gphoto2] init_gphoto2: about to initialize port [gphoto2] init_gphoto2: about to get folders [gphoto2] sane_init: about to get_info [gphoto2] sane_init: about to get_pictures_info [gphoto2] get_picture_info: info for pic #0 [gphoto2] Name is IMG_4171.JPG [gphoto2] get_picture_info: info for pic #1 [gphoto2] Name is IMG_4172.JPG [gphoto2] get_picture_info: info for pic #2 [gphoto2] Name is IMG_4176.JPG [gphoto2] get_picture_info: info for pic #3 [gphoto2] Name is IMG_4177.JPG [gphoto2] get_picture_info: info for pic #4 [gphoto2] Name is IMG_4178.JPG [gphoto2] get_picture_info: info for pic #5 [gphoto2] Name is IMG_4179.JPG [gphoto2] get_picture_info: info for pic #6 [gphoto2] Name is IMG_4180.JPG [gphoto2] get_picture_info: info for pic #7 [gphoto2] Name is IMG_4181.JPG [gphoto2] get_picture_info: info for pic #8 [gphoto2] Name is IMG_4182.JPG [gphoto2] get_picture_info: info for pic #9 [gphoto2] Name is IMG_4183.JPG [gphoto2] get_picture_info: info for pic #10 [gphoto2] Name is IMG_4184.JPG [gphoto2] get_picture_info: info for pic #11 [gphoto2] Name is IMG_4185.JPG [gphoto2] get_picture_info: info for pic #12 [gphoto2] Name is IMG_4186.JPG [gphoto2] get_picture_info: info for pic #13 [gphoto2] Name is IMG_4187.JPG [gphoto2] get_picture_info: info for pic #14 [gphoto2] Name is IMG_4188.JPG [gphoto2] get_picture_info: info for pic #15 [gphoto2] Name is IMG_4189.JPG [gphoto2] get_picture_info: info for pic #16 [gphoto2] Name is IMG_4190.JPG [gphoto2] get_picture_info: info for pic #17 [gphoto2] Name is IMG_4192.JPG [gphoto2] get_picture_info: info for pic #18 [gphoto2] Name is IMG_4193.JPG [gphoto2] get_picture_info: info for pic #19 [gphoto2] Name is IMG_4194.JPG [gphoto2] get_picture_info: info for pic #20 [gphoto2] Name is IMG_4195.JPG [gphoto2] get_picture_info: info for pic #21 [gphoto2] Name is IMG_4196.JPG [gphoto2] get_picture_info: info for pic #22 [gphoto2] Name is IMG_4197.JPG [gphoto2] get_picture_info: info for pic #23 [gphoto2] Name is IMG_4198.JPG [gphoto2] get_picture_info: info for pic #24 [gphoto2] Name is IMG_4199.JPG [gphoto2] get_picture_info: info for pic #25 [gphoto2] Name is IMG_4200.JPG [gphoto2] sane_get_devices called [gphoto2] sane_open for device usb: [gphoto2] sane_open: pictures taken=26 [gphoto2] control_option(handle=0xab730324,opt=Number of options,act=GET,val=0xbffff9a8,info=(nil)) [gphoto2] control_option(handle=0xab730324,opt=Folder,act=GET,val=0x81021b0,info=(nil)) [gphoto2] control_option(handle=0xab730324,opt=Image Number,act=GET,val=0xbffff73c,info=(nil)) [gphoto2] control_option(handle=0xab730324,opt=Load Thumbnail,act=GET,val=0xbffff73c,info=(nil)) [gphoto2] control_option(handle=0xab730324,opt=Snap new picture,act=GET,val=0xbffff73c,info=(nil)) [gphoto2] control_option(handle=0xab730324,opt=Erase,act=GET,val=0xbffff73c,info=(nil)) [gphoto2] sane_get_params called, wid=1600,height=1200 [gphoto2] sane_get_params return 0 I open the preview window and press "Acquire Preview": [gphoto2] sane_start called [gphoto2] sane_start: about to get file [gphoto2] sane_get_params called, wid=1600,height=1200 [gphoto2] sane_get_params return 0 [gphoto2] sane_cancel: not scanning - nothing to do I change the image number to 2: [gphoto2] control_option(handle=0xab730324,opt=Image Number,act=SET,val=0xbfffeca8,info=0xbfffeb5c) [gphoto2] sane_get_params called, wid=1600,height=1200 [gphoto2] sane_get_params return 0 [gphoto2] control_option(handle=0xab730324,opt=Image Number,act=GET,val=0xbfffeca4,info=(nil)) I press "Acquire Preview" again: [gphoto2] sane_start called [gphoto2] sane_start: about to get file Program received signal SIGSEGV, Segmentation fault. 0x406c13e4 in malloc_usable_size () from /lib/libc.so.6 Here's the backtrace: #0 0x406c13e4 in malloc_usable_size () from /lib/libc.so.6 #1 0x406c2358 in free () from /lib/libc.so.6 #2 0x406c3a7a in malloc () from /lib/libc.so.6 #3 0x40f54b4f in gp_list_new () from /usr/lib/libgphoto2.so.2 #4 0x40f51603 in gp_filesystem_number () from /usr/lib/libgphoto2.so.2 #5 0x40f51e47 in gp_filesystem_set_folder_funcs () from /usr/lib/libgphoto2.so.2 #6 0x40f52156 in gp_filesystem_get_file () from /usr/lib/libgphoto2.so.2 #7 0x40f4a9e8 in gp_camera_file_get () from /usr/lib/libgphoto2.so.2 #8 0x40f2e1e7 in sane_gphoto2_start () from /usr/lib/sane/libsane-gphoto2.so.1 #9 0x406180bf in sane_dll_start () from /usr/lib/libsane.so.1 #10 0x406183bf in sane_start () from /usr/lib/libsane.so.1 #11 0x08053097 in progress_update () #12 0x08054774 in preview_scan () #13 0x405732a6 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #14 0x40561736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #15 0x40572dcf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #16 0x40571e9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #17 0x40572126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #18 0x401b5655 in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0 #19 0x401b64da in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0 #20 0x405732a6 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #21 0x405619c9 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0 #22 0x40561736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #23 0x40572651 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #24 0x40571e9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #25 0x40572126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #26 0x401b55c5 in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0 #27 0x401b6383 in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0 #28 0x4027b99e in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0 #29 0x405619c9 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0 #30 0x40561736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #31 0x40572855 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #32 0x40571c8c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #33 0x40572126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #34 0x4036ad87 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0 #35 0x4027a4b2 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0 #36 0x40279306 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0 #37 0x40477825 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0 #38 0x405b9582 in g_main_depth () from /usr/lib/libglib-2.0.so.0 #39 0x405ba5f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #40 0x405ba930 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #41 0x405baed3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #42 0x40278bb3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #43 0x08051361 in _start () #44 0x00000004 in ?? () #45 0x0805b5c0 in _IO_stdin_used () #46 0x00000001 in ?? () #47 0x0805ae27 in _IO_stdin_used () #48 0x00000001 in ?? () #49 0x00000000 in ?? () #50 0xbffffb68 in ?? () #51 0x08051522 in main () Ben. -- Ben Hutchings For every action, there is an equal and opposite criticism. - Harrison
signature.asc
Description: This is a digitally signed message part

