[sane-devel] Canon MP600 success report

Mikael Nilsson mikael at nilsson.name
Tue Jan 30 22:29:18 CET 2007


On tis, 2007-01-30 at 21:47 +0100, Mikael Nilsson wrote:
> However, xsane crashes on me if I change anything from default... I'd
> like to help debug that and test any improvements if possible.

xsane manages to change resolution.

Choosing gray gives an I/O error.

Choosing a smaller region gives a SIGABRT...

Trying gnomescan (flegita) gives the *same* error, so this might be
libsane....

*** stack smashing detected ***: flegita terminated
Avbruten (SIGABRT) (core dumped)

with libsane-dbg installed (I'm on Ubuntu Feisty), I get the following
backtrace from xsane:

Thread 1 (Thread -1220622656 (LWP 10034)):
#0  0xb7f02410 in ?? ()
#1  0xbfb76fb4 in ?? ()
#2  0x00000006 in ?? ()
#3  0x00002732 in ?? ()
#4  0xb74d9df0 in raise () from /lib/tls/i686/cmov/libc.so.6
#5  0xb74db641 in abort () from /lib/tls/i686/cmov/libc.so.6
#6  0xb750f99b in __libc_message () from /lib/tls/i686/cmov/libc.so.6
#7  0xb7594f51 in __stack_chk_fail () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6e6ed54 in __stack_chk_fail_local () from /usr/lib/sane/libsane-pixma.so.1
#9  0xb6e66a70 in sane_pixma_read (h=0xfdffffff, buf=0xbfb87b5a "", maxlen=-65539, len=0xbfb877c4) at pixma_sane.c:1226
#10 0xfefffcff in ?? ()
#11 0xfdffffff in ?? ()
#12 0xffffffff in ?? ()
#13 0xfffefffd in ?? ()
#14 0xbfb877c4 in ?? ()
#15 0x00010000 in ?? ()
#16 0xbfb877c4 in ?? ()
#17 0x00000000 in ?? ()
(gdb) 

And flegita:

Thread 1 (Thread -1227298000 (LWP 10828)):
#0  0xb7f6c410 in ?? ()
#1  0xbfe740a4 in ?? ()
#2  0x00000006 in ?? ()
#3  0x00002a4c in ?? ()
#4  0xb72e0df0 in raise () from /lib/tls/i686/cmov/libc.so.6
#5  0xb72e2641 in abort () from /lib/tls/i686/cmov/libc.so.6
#6  0xb731699b in __libc_message () from /lib/tls/i686/cmov/libc.so.6
#7  0xb739bf51 in __stack_chk_fail () from /lib/tls/i686/cmov/libc.so.6
#8  0xb09f7d54 in __stack_chk_fail_local () from /usr/lib/sane/libsane-pixma.so.1
#9  0xb09efa70 in sane_pixma_read (h=0x8fdfeff, buf=0x8369d50 "", maxlen=32768, len=0xbfe748c4) at pixma_sane.c:1226
#10 0xfdfeffff in ?? ()
#11 0x08fdfeff in ?? ()
#12 0x08361d50 in ?? ()
#13 0x00008000 in ?? ()
#14 0xbfe748c4 in ?? ()
#15 0x00008000 in ?? ()
#16 0xbfe748c4 in ?? ()
#17 0xbfe74848 in ?? ()
#18 0xb7435170 in ?? () from /usr/lib/libsane.so.1
#19 0x00000000 in ?? ()

Actually, I got a cropped image from flegita once, probably by sheer
luck.

Next steps?

/Mikael

-- 
<mikael at nilsson.name>

Plus ça change, plus c'est la même chose




More information about the sane-devel mailing list