[sane-devel] Segfault in snapscan
Henning Meier-Geinitz
henning at meier-geinitz.de
Sun Mar 24 15:02:50 GMT 2002
Hi,
The latest snapscan update in CVS leads to a segfault in sane_exit
everytime a use scanimage -L or any other frontend:
hmg at hmg1:$ SANE_DEBUG_SNAPSCAN=255 scanimage -L
[sanei_debug] Setting debug level of snapscan to 255.
[snapscan] sane_snapscan_init
[snapscan] sane_snapscan_init: Snapscan backend version 1.4.9
[snapscan] add_scsi_device((null))
[snapscan] add_scsi_device: Detected (kind of) a SCSI device
[snapscan] add_scsi_device: error opening device /dev/sg0: Invalid argument
[snapscan] add_scsi_device((null))
[snapscan] add_scsi_device: Detected (kind of) a SCSI device
[snapscan] add_scsi_device: error opening device firmware: Invalid argument
[snapscan] sane_snapscan_get_devices (0xbffff518, 0)
[snapscan] sane_snapscan_exit
Speicherzugriffsfehler
gdb output:
Program received signal SIGSEGV, Segmentation fault.
free_device_list (psd=0x0) at snapscan.c:847
847 if (psd->pnext != NULL) {
(gdb) bt
#0 free_device_list (psd=0x0) at snapscan.c:847
#1 0x401f5b9f in sane_snapscan_exit () at snapscan.c:863
#2 0x40018211 in sane_dll_exit () at dll.c:589
#3 0x40018ca8 in sane_exit () at dll-s.c:82
#4 0x0804b60b in scanimage_exit () at scanimage.c:1379
#5 0x400b6083 in exit () from /lib/libc.so.6
#6 0x0804bc22 in main (argc=2, argv=0xbffffa74) at scanimage.c:1584
#7 0x400a36cf in __libc_start_main () from /lib/libc.so.6
Bye,
Henning
More information about the sane-devel
mailing list