sane-project-website/old-archive/1999-03/0139.html

81 wiersze
2.9 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Mon Mar 15 04:39:39 1999 PST" -->
<!-- sent="Mon, 15 Mar 1999 14:38:30 +0200" -->
<!-- name="Milon Firikis" -->
<!-- email="milonf@ariadne-t.gr" -->
<!-- subject="testing sane-pre1.01-3" -->
<!-- id="" -->
<!-- inreplyto="" -->
<title>sane-devel: testing sane-pre1.01-3</title>
<h1>testing sane-pre1.01-3</h1>
<b>Milon Firikis</b> (<a href="mailto:milonf@ariadne-t.gr"><i>milonf@ariadne-t.gr</i></a>)<br>
<i>Mon, 15 Mar 1999 14:38:30 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#139">[ date ]</a><a href="index.html#139">[ thread ]</a><a href="subject.html#139">[ subject ]</a><a href="author.html#139">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0140.html">Paulo Afonso Graner Fessel: "[Fwd: HP ScanJet 5p + Linux 2.2.3 w/ sym53c416 driver]"</a>
<li> <b>Previous message:</b> <a href="0138.html">Juha Sahakangas: "Re: Sane drivers"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
In Redhat-5.1<br>
<p>
It builds beautifully.<br>
<p>
scanimage -d apple -T<br>
passed the test.<br>
<p>
but when I enabled the saned (SANE net) I got segfaults...<br>
<p>
Is this normal?... Looks like some integer turned around (signed,<br>
unsigned).<br>
<p>
[14:26:45~(1016)]$&gt;gdb scanimage<br>
GNU gdb 4.17<br>
Copyright 1998 Free Software Foundation, Inc.<br>
GDB is free software, covered by the GNU General Public License, and you<br>
are<br>
welcome to change it and/or distribute copies of it under certain<br>
conditions.<br>
Type "show copying" to see the conditions.<br>
There is absolutely no warranty for GDB. Type "show warranty" for<br>
details.<br>
This GDB was configured as "i386-redhat-linux"...<br>
<p>
(gdb) run -L<br>
Starting program: /usr/local/bin/scanimage -L<br>
<p>
Program received signal SIGSEGV, Segmentation fault.<br>
0x40099d43 in memcpy (dstpp=0x804e650, srcpp=0x804e654, len=4294967292)<br>
at ../sysdeps/generic/memcpy.c:57<br>
../sysdeps/generic/memcpy.c:57: No such file or directory.<br>
(gdb) up<br>
#1 0x401029d2 in sanei_w_space (w=0x804e60c, howmuch=4) at<br>
sanei_wire.c:84<br>
84 memcpy (w-&gt;buffer.start, w-&gt;buffer.curr, left_over);<br>
(gdb) print left_over<br>
$1 = 4294967292<br>
(gdb) <br>
<p>
I can test it more if you like but I am not really familiar with the net<br>
functionality of SANE.<br>
<p>
<p>
MF<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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0140.html">Paulo Afonso Graner Fessel: "[Fwd: HP ScanJet 5p + Linux 2.2.3 w/ sym53c416 driver]"</a>
<li> <b>Previous message:</b> <a href="0138.html">Juha Sahakangas: "Re: Sane drivers"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>