sane-project-website/old-archive/2000-08/0142.html

157 wiersze
5.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Microtek backend crashing</TITLE>
<META NAME="Author" CONTENT="Warren Young (tangent@cyberport.com)">
<META NAME="Subject" CONTENT="Microtek backend crashing">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Microtek backend crashing</H1>
<!-- received="Tue Aug 15 18:48:07 2000" -->
<!-- isoreceived="20000816014807" -->
<!-- sent="Tue, 15 Aug 2000 19:52:47 -0600" -->
<!-- isosent="20000816015247" -->
<!-- name="Warren Young" -->
<!-- email="tangent@cyberport.com" -->
<!-- subject="Microtek backend crashing" -->
<!-- id="3999F3EF.8863C5FF@cyberport.com" -->
<STRONG>From:</STRONG> Warren Young (<A HREF="mailto:tangent@cyberport.com?Subject=Re:%20Microtek%20backend%20crashing&In-Reply-To=&lt;3999F3EF.8863C5FF@cyberport.com&gt;"><EM>tangent@cyberport.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Tue Aug 15 2000 - 18:52:47 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0143.html">Jochen Eisinger: "Re: bug in mustek_pp"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0141.html">Douglas Hardison: "Re: bug in mustek_pp"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#142">[ date ]</A>
<A HREF="index.html#142">[ thread ]</A>
<A HREF="subject.html#142">[ subject ]</A>
<A HREF="author.html#142">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
My Microtek backend (for a Scanmaker E6) keeps crashing, and has for a
<BR>
long time. It's been a long time because I rarely use the scanner. For
<BR>
the same reason, I can't pinpoint when it started failing.
<BR>
<P>Here's the GDB backtrace of a simple &quot;scanimage&quot; command:
<BR>
<P>...bla...bla...bla...
<BR>
<P>Reading symbols from /usr/local/lib/sane/libsane-net.so.1...done.
<BR>
Reading symbols from /lib/libnss_files.so.2...done.
<BR>
#0 0x40207ed6 in sort_values (result=0xbfff7178, scanline=0xbfff7218,
<BR>
pix=0)
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;at microtek.c:2147
<BR>
2147 for (i=0; i&lt;STRIPS; i++) result[i] = (scanline[i])[pix];
<BR>
(gdb) bt
<BR>
#0 0x40207ed6 in sort_values (result=0xbfff7178, scanline=0xbfff7218,
<BR>
pix=0)
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;at microtek.c:2147
<BR>
#1 0x40207f68 in calc_calibration (caldata=0x805f618 &quot;&quot;,
<BR>
scanline=0xbfff7218,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;pixels=5110) at microtek.c:2177
<BR>
#2 0x40208359 in do_real_calibrate (s=0x805a7a0) at microtek.c:2276
<BR>
#3 0x40208696 in finagle_precal (handle=0x805a7a0) at microtek.c:2387
<BR>
#4 0x4020b5d4 in sane_start_guts (handle=0x805a7a0) at microtek.c:3688
<BR>
#5 0x4020bc0a in sane_microtek_start (handle=0x805a7a0) at
<BR>
microtek.c:3853
<BR>
#6 0x400177aa in sane_dll_start (handle=0x805ef20) at dll.c:824
<BR>
#7 0x40017a0e in sane_start (h=0x805ef20) at dll-s.c:46
<BR>
#8 0x804a1d2 in scan_it () at scanimage.c:795
<BR>
#9 0x804b6a4 in main (argc=1, argv=0xbffff894) at scanimage.c:1458
<BR>
<P>It's a memory access problem. &quot;print i&quot; says 2, &quot;print pix&quot; says 0, but
<BR>
&quot;print scanline[i][pix]&quot; says &quot;Cannot access memory at address 0x17&quot;.
<BR>
(scanline[i] == 0x17)
<BR>
<P>System vital stats:
<BR>
<P>Linux 2.2.16 SMP (2 Celeron processors, not overclocked)
<BR>
Scanner attached to an Adaptec AHA-2930U2
<BR>
SANE 1.0.3 built from source, default configure settings
<BR>
Problem happens with scanimage, xscanimage and xsane
<BR>
Another scanner (a film scanner not compatible with SANE) on the same
<BR>
SCSI bus is working just fine.
<BR>
<P>I can hear the scanner's lamp mechanism move just a bit right before the
<BR>
crash. Just a little bump, then it returns home.
<BR>
<P>I don't have any way of testing it under Windows, as this is a
<BR>
Linux-only machine, and I don't wanna move the scanner to another
<BR>
machine. If it comes down to it I guess I can, but it'd be a last
<BR>
resort.
<BR>
<P>Clues anyone?
<BR>
<PRE>
--
= Warren -- ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m
<P>--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Microtek%20backend%20crashing&In-Reply-To=&lt;3999F3EF.8863C5FF@cyberport.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0143.html">Jochen Eisinger: "Re: bug in mustek_pp"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0141.html">Douglas Hardison: "Re: bug in mustek_pp"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#142">[ date ]</A>
<A HREF="index.html#142">[ thread ]</A>
<A HREF="subject.html#142">[ subject ]</A>
<A HREF="author.html#142">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Tue Aug 15 2000 - 18:52:53 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>