sane-project-website/old-archive/1999-02/0052.html

81 wiersze
3.6 KiB
HTML

<!-- received="Wed Feb 10 01:14:39 1999 PST" -->
<!-- sent="Wed, 10 Feb 1999 10:08:09 +0100 (MET)" -->
<!-- name="becka@rz.uni-duesseldorf.de" -->
<!-- email="becka@rz.uni-duesseldorf.de" -->
<!-- subject="Re: libsane-pnm bugs?" -->
<!-- id="199902100908.KAA10308@zeus.rz.uni-duesseldorf.de" -->
<!-- inreplyto="Pine.LNX.3.96.990210010328.24989Q-100000@mail.perspex.com" -->
<title>sane-devel: Re: libsane-pnm bugs?</title>
<h1>Re: libsane-pnm bugs?</h1>
<a href="mailto:becka@rz.uni-duesseldorf.de"><i>becka@rz.uni-duesseldorf.de</i></a><br>
<i>Wed, 10 Feb 1999 10:08:09 +0100 (MET)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#52">[ date ]</a><a href="index.html#52">[ thread ]</a><a href="subject.html#52">[ subject ]</a><a href="author.html#52">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0053.html">Tripp Lilley: "Re: libsane-pnm bugs?"</a>
<li> <b>Previous message:</b> <a href="0051.html">Ashley J Dreier: "Agfa Arcus Plus"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0053.html">Tripp Lilley: "Re: libsane-pnm bugs?"</a>
<li> <b>Reply:</b> <a href="0053.html">Tripp Lilley: "Re: libsane-pnm bugs?"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hi !<br>
<p>
<i>&gt; Have other folks' experiences with libsane-pnm been generally positive or</i><br>
<i>&gt; negative? </i><br>
<p>
Negative. It is buggy as hell. I am fixing this, but I have almost no time<br>
to do it. Someone added really hard-to-implement options (like the<br>
geometry stuff) there, and then didn't do it right.<br>
Of course I get the bad credits for that, as I'm listed as the author.<br>
<p>
<i>&gt; I keep discovering inconsistencies in it, and it generally seems</i><br>
<i>&gt; to not work as advertised. In particular:</i><br>
<p>
Yes. I'm fixing that.<br>
<p>
<i>&gt; * it seems to segfault in sane_read sometimes (Linux 2.0.36). I've checked</i><br>
<i>&gt; to make sure that my memory blocks are all getting allocated. I realize</i><br>
<i>&gt; that I might be having some problems since I'm writing inside of an XSUB,</i><br>
<i>&gt; and there may be perl wackiness going on. However, libsane-umax doesn't</i><br>
<i>&gt; segfault :-)</i><br>
<p>
No. There are many big bugs in the memory handling. If you are not requesting<br>
the "right" assumed length of data, it's very likely to segfault ...<br>
<p>
<i>&gt; * when three-pass is set to true, I get GREEN frames over and over, and</i><br>
<i>&gt; never get anything else. I'm calling sane_start after I get the EOF flag</i><br>
<i>&gt; for each frame, but still get the danged GREEN frames.</i><br>
<p>
ARGL. O.K. - I'll try to get at it at the weekend. <br>
<p>
<i>&gt; For what it's worth, xv renders my sample PNM file properly, so I assume</i><br>
<i>&gt; that it's clean.</i><br>
<p>
Yeah. The pnm source is buggy as hell.<br>
<p>
CU, Andy<br>
<p>
<pre>
--
Andreas Beck | Email : &lt;<a href="mailto:Andreas.Beck@ggi-project.org">Andreas.Beck@ggi-project.org</a>&gt;
<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="0053.html">Tripp Lilley: "Re: libsane-pnm bugs?"</a>
<li> <b>Previous message:</b> <a href="0051.html">Ashley J Dreier: "Agfa Arcus Plus"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0053.html">Tripp Lilley: "Re: libsane-pnm bugs?"</a>
<li> <b>Reply:</b> <a href="0053.html">Tripp Lilley: "Re: libsane-pnm bugs?"</a>
<!-- reply="end" -->
</ul>