[sane-devel] Canon LiDE 60 test report
Reinhard Mayr aka Czerwinski
czerwinski1977 at gmx.net
Tue Jan 3 23:51:07 UTC 2006
On Tue, 03 Jan 2006 14:19:24 +0100, Henning Meier-Geinitz
<henning at meier-geinitz.de> wrote:
>> Starting program: /usr/X11R6/bin/xsane >image.pnm 2>log
>> [Thread debugging using libthread_db enabled]
>> [New Thread 1086061088 (LWP 20069)]
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> [Switching to Thread 1086061088 (LWP 20069)]
>> 0x40a62d83 in strlen () from /lib/tls/libc.so.6
>> (gdb) bt
>> #0 0x40a62d83 in strlen () from /lib/tls/libc.so.6
>> #1 0x40a62a95 in strdup () from /lib/tls/libc.so.6
>> #2 0x08078221 in xsane_viewer_new (filename=0x40b13ff4 "<\021",
>> allow_reduction_to_lineart=0, output_filename=0x0,
>> allow_modification=VIEWER_FULL_MODIFICATION) at xsane-viewer.c:1865
>> #3 0x0809cc62 in xsane_scan_done (status=SANE_STATUS_EOF) at
>> xsane-scan.c:1190
>> #4 0x0809ef7f in xsane_start_scan () at xsane-scan.c:1594
>> #5 0x080a0146 in xsane_scan_dialog () at xsane-scan.c:2062
>
> [...]
>
> So at least on first sight, this may be an xsane issue. Or some sort
> of corruption caused by the genesys backend, but that's hard to debug.
>
> Are you absolutely sure that you use xsane 0.98b? 0.98a had a bug that
> could cause stack corruption. Check xsane --version.
xsane-0.98 (c) 1998-2005 Oliver Rauch
Email: Oliver.Rauch at xsane.org
package xsane-0.98b
compiled with GTK-2.8.3
with GIMP support, compiled with GIMP-2.2.8
XSane output formats: jpeg, pdf(compr.), png, pnm, ps(compr.), tiff, txt
>
>> Backtracking still occurs at 600 dpi and higher but the pics are nice.
>> In
>> other words, there is a solution for the seg fault problem by plugging
>> in
>> the power cable of the USB adapter. Anyways, an error message instead
>> would be nice in order to enable the user to solve the problem.
>
> Obviously, a segmentation fault is not correct. However, detecting a
> power loss condition ind the backend may not be possible, so you
> should get a general error message like "IO error" or "Invalid argument".
In some rare (and not reproducable) situations I got an error message like
suggested but usually xsane seg faulted when USB/PCMCIA adapter was not
connected to power adapter.
Gx, Cz.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the sane-devel
mailing list