instead of gdb, try this: SANE_DEBUG_CANON=255 scanimage -L 2>2710.log
and lets see what is in that log. allan On Mon, Nov 9, 2009 at 6:13 PM, joachim.franek at pibf.de <joachim.franek at t-online.de> wrote: > 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 > > -- > sane-devel mailing list: sane-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > ? ? ? ? ? ? to sane-devel-request at lists.alioth.debian.org > -- "The truth is an offense, but not a sin"
