[sane-devel] Canon 2710: scanimage -L segfault

joachim.franek@pibf.de joachim.franek at t-online.de
Mon Nov 9 23:13:11 UTC 2009


Hello,

I get a segfault with my canon 2710 with ubuntu 9.10.


jjf at nb8:~$ sane-find-scanner
found SCSI scanner "CANON IX-27025E 1.12" at /dev/sg2

jjf at nb8:~$ ls -l /dev/sg2
crw-rw-rw-+ 1 root root 21, 2 2009-11-09 23:13 /dev/sg2

jjf at nb8:~$ scanimage -L
Segmentation fault

jjf at nb8:~$ gdb scanimage
GNU gdb (GDB) 7.0-ubuntu
....
Reading symbols from /usr/bin/scanimage...Reading symbols from 
/usr/lib/debug/usr/bin/scanimage...done.
(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/scanimage 
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00726d16 in sense_handler (scsi_fd=5, result=0x808fa38  <incomplete sequence 
\360>, arg=0x0) at canon.c:337
337	canon.c: No such file or directory.
	in canon.c

Maybe a NULL-pointer?

Joachim 



More information about the sane-devel mailing list