sane-project-website/old-archive/2000-12/0096.html

138 wiersze
5.3 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: Re: seg-faults for network access</TITLE>
<META NAME="Author" CONTENT="Henning Meier-Geinitz (hmg-ml@gmx.de)">
<META NAME="Subject" CONTENT="Re: seg-faults for network access">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: seg-faults for network access</H1>
<!-- received="Sun Dec 10 02:37:06 2000" -->
<!-- isoreceived="20001210103706" -->
<!-- sent="Sun, 10 Dec 2000 11:34:10 +0100" -->
<!-- isosent="20001210103410" -->
<!-- name="Henning Meier-Geinitz" -->
<!-- email="hmg-ml@gmx.de" -->
<!-- subject="Re: seg-faults for network access" -->
<!-- id="20001210113410.A13976@vortex.swb.de" -->
<!-- inreplyto="20001209213618.C6330@lug.calpoly.edu" -->
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:hmg-ml@gmx.de?Subject=Re:%20seg-faults%20for%20network%20access&In-Reply-To=&lt;20001210113410.A13976@vortex.swb.de&gt;"><EM>hmg-ml@gmx.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Dec 10 2000 - 02:34:10 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0097.html">Oliver Rauch: "xsane-0.65 configure script"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0095.html">Thomas Lotze: "Guillemot scanner"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0091.html">Daniel Kerry Hiltgen: "seg-faults for network access"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0115.html">Daniel Kerry Hiltgen: "Re: seg-faults for network access"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0100.html">Jochen Eisinger: "Re: seg-faults for network access"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0115.html">Daniel Kerry Hiltgen: "Re: seg-faults for network access"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#96">[ date ]</A>
<A HREF="index.html#96">[ thread ]</A>
<A HREF="subject.html#96">[ subject ]</A>
<A HREF="author.html#96">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>On Sat, Dec 09, 2000 at 09:36:18PM -0800, Daniel Kerry Hiltgen wrote:
<BR>
<EM>&gt; #0 0x400d18a7 in memcpy (dstpp=0x805a890, srcpp=0x805a894, len=4294967292)
</EM><BR>
<EM>&gt; at ../sysdeps/generic/memcpy.c:55
</EM><BR>
<EM>&gt; #1 0x402ca03e in sanei_w_space (w=0x805a83c, howmuch=4) at sanei_wire.c:84
</EM><BR>
<EM>&gt; #2 0x402c9b78 in bin_w_word (w=0x805a83c, v=0xbffff780)
</EM><BR>
<EM>&gt; at sanei_codec_bin.c:94
</EM><BR>
<EM>&gt; #3 0x402ca248 in sanei_w_word (w=0x805a83c, v=0xbffff780) at sanei_wire.c:207
</EM><BR>
<P>[...]
<BR>
<P>4294967292 is the maximum (32 bit) unsigned int value minus 4. So
<BR>
maybe that's a signed/unsigned problem. If this was a byte order
<BR>
problem shouldn't the result be:
<BR>
<P>0 0 0 4 is interpreted as 4 0 0 0 --&gt; 67108864
<BR>
<P>Similar things happen if scanning via saned on localhost (something
<BR>
like scanimage -d net:localhost:mustek:/dev/scanner). So I'm not sure
<BR>
if this is a byte order problem. Maybe Jochen can talk about this, he
<BR>
is looking for the local saned crashes. On the other hand there is a
<BR>
TODO list entry:
<BR>
<P>&nbsp;&nbsp;* check net/saned
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;[...]
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;- don't just ignore the byte-order for theimage data (needed to
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;support depths &gt; 8 bits/channel)
<BR>
<P><EM>&gt; Any thoughts? Can I provide more information that might be helpful in
</EM><BR>
<EM>&gt; diagnosing the problem? (FWIW: Mustek 1200 LS)
</EM><BR>
<P>Oh! I'm very interested in this scanner. Is this a Legal size or A4
<BR>
scanner? Please send me the output (dbg.log) of the following
<BR>
command:
<BR>
<P>SANE_DEBUG_MUSTEK=5 scanimage -L 2&gt;dbg.log
<BR>
<P>Is it working with the Mustek backend without problems?
<BR>
<P>Bye,
<BR>
&nbsp;&nbsp;Henning
<BR>
<P><PRE>
--
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:%20seg-faults%20for%20network%20access&In-Reply-To=&lt;20001210113410.A13976@vortex.swb.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0097.html">Oliver Rauch: "xsane-0.65 configure script"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0095.html">Thomas Lotze: "Guillemot scanner"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0091.html">Daniel Kerry Hiltgen: "seg-faults for network access"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0115.html">Daniel Kerry Hiltgen: "Re: seg-faults for network access"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0100.html">Jochen Eisinger: "Re: seg-faults for network access"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0115.html">Daniel Kerry Hiltgen: "Re: seg-faults for network access"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#96">[ date ]</A>
<A HREF="index.html#96">[ thread ]</A>
<A HREF="subject.html#96">[ subject ]</A>
<A HREF="author.html#96">[ 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>Sun Dec 10 2000 - 02:37:39 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>