[sane-devel] Xsane crashes the second time I run it

Alessio Medici amedici@mpifr-bonn.mpg.de
Thu, 6 Dec 2001 11:37:21 +0100


Hallo!
	I have got an hp 4200 scanner and I use sane 1.0.6 (with the 
hp4200 pathches for the 1.0.5 version) with xsane 0.81. Scanimage works 
perfectly, but I have a problem with xsane. When I run it the first time  
it works. The second time it exits with a "Segmentation fault 
message". The only way to avoid this error is to remove the file 
Hewlett-Packard:HP-4200.drc in ~/.sane/xsane.

I have enabled the debug messages (setting both SANE_DEBUG_DLL and 
SANE_DEBUG_HP4200 to 127) and this(*) is what I obtain.

Has someone got any idea?

Thank you very much

Alessio Medici


(*)
------------- Debug messages ------------
[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.4 from sane-backends-1.0.6
[dll] add_backend: adding backend hp4200
[dll] load: loading backend hp4200
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-hp4200.so.1'
[dll] init: initializing backend `hp4200'
[sanei_debug] Setting debug level of hp4200 to 128.
[hp4200] sane_hp4200_init
[hp4200] attach
[hp4200] add_device(/dev/usb/scanner0)
[hp4200] find_device
[dll] init: backend `hp4200' is version 1.0.0
[hp4200] sane_hp4200_get_devices (0xbfffe458, 0)
[hp4200] sane_hp4200_open (/dev/usb/scanner0, 0xbffff2b4)
[hp4200] find_device
[dll] sane_control_option(handle=0x80d7b38,option=0,action=0,value=0x80b1cc4,info=(nil))
[hp4200] sane_control_option
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=1)
[hp4200] sane_get_option_descriptor
[dll] sane_control_option(handle=0x80d7b38,option=1,action=0,value=0xbffff0e0,info=(nil))
[hp4200] sane_control_option
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=2)
[hp4200] sane_get_option_descriptor
[dll] sane_control_option(handle=0x80d7b38,option=2,action=0,value=0xbffff0e0,info=(nil))
[hp4200] sane_control_option
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=3)
[hp4200] sane_get_option_descriptor
[dll] sane_control_option(handle=0x80d7b38,option=3,action=0,value=0xbffff0e0,info=(nil))
[hp4200] sane_control_option
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=4)
[hp4200] sane_get_option_descriptor
[dll] sane_control_option(handle=0x80d7b38,option=4,action=0,value=0xbffff0e0,info=(nil))
[hp4200] sane_control_option
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=5)
[hp4200] sane_get_option_descriptor
[dll] sane_control_option(handle=0x80d7b38,option=5,action=0,value=0xbffff0e0,info=(nil))
[hp4200] sane_control_option
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=6)
[hp4200] sane_get_option_descriptor
[dll] sane_control_option(handle=0x80d7b38,option=6,action=0,value=0xbffff0e0,info=(nil))
[hp4200] sane_control_option
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=7)
[hp4200] sane_get_option_descriptor
[dll] sane_control_option(handle=0x80d7b38,option=7,action=0,value=0xbffff0e0,info=(nil))
[hp4200] sane_control_option
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=8)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=9)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=10)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=1)
[hp4200] sane_get_option_descriptor
[dll] sane_control_option(handle=0x80d7b38,option=1,action=0,value=0xbfffeec0,info=(nil))
[hp4200] sane_control_option
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=2)
[hp4200] sane_get_option_descriptor
[dll] sane_control_option(handle=0x80d7b38,option=2,action=0,value=0xbfffeec0,info=(nil))
[hp4200] sane_control_option
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=8)
[hp4200] sane_get_option_descriptor
[dll] sane_get_parameters(handle=0x80d7b38,params=0x80b1dc4)
[hp4200] sane_get_parameters
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=3)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=4)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=5)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=6)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=3)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=4)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=5)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=6)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=3)
[hp4200] sane_get_option_descriptor
[dll] sane_control_option(handle=0x80d7b38,option=3,action=0,value=0xbfffefd0,info=(nil))
[hp4200] sane_control_option
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=4)
[hp4200] sane_get_option_descriptor
[dll] sane_control_option(handle=0x80d7b38,option=4,action=0,value=0xbfffefd0,info=(nil))
[hp4200] sane_control_option
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=5)
[hp4200] sane_get_option_descriptor
[dll] sane_control_option(handle=0x80d7b38,option=5,action=0,value=0xbfffefd0,info=(nil))
[hp4200] sane_control_option
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=6)
[hp4200] sane_get_option_descriptor
[dll] sane_control_option(handle=0x80d7b38,option=6,action=0,value=0xbfffefd0,info=(nil))
[hp4200] sane_control_option
[dll] sane_control_option(handle=0x80d7b38,option=0,action=0,value=0xbfffdfe8,info=(nil))
[hp4200] sane_control_option
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=1)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=2)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=3)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=4)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=5)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=6)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=7)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=8)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=9)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=10)
[hp4200] sane_get_option_descriptor
[dll] sane_get_option_descriptor(handle=0x80d7b38,option=11)
[hp4200] sane_get_option_descriptor
--------------------- End of debug messages ----------------------------------