sane-project-website/old-archive/2000-09/0254.html

107 wiersze
4.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: pnm backend crashes graphical frontends (patch?)</TITLE>
<META NAME="Author" CONTENT="mh (moloch@nikocity.de)">
<META NAME="Subject" CONTENT="pnm backend crashes graphical frontends (patch?)">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>pnm backend crashes graphical frontends (patch?)</H1>
<!-- received="Mon Sep 25 01:50:50 2000" -->
<!-- isoreceived="20000925085050" -->
<!-- sent="Mon, 25 Sep 2000 10:50:47 +0200" -->
<!-- isosent="20000925085047" -->
<!-- name="mh" -->
<!-- email="moloch@nikocity.de" -->
<!-- subject="pnm backend crashes graphical frontends (patch?)" -->
<!-- id="00092510593600.00347@slowcrap" -->
<STRONG>From:</STRONG> mh (<A HREF="mailto:moloch@nikocity.de?Subject=Re:%20pnm%20backend%20crashes%20graphical%20frontends%20(patch?)&In-Reply-To=&lt;00092510593600.00347@slowcrap&gt;"><EM>moloch@nikocity.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Mon Sep 25 2000 - 01:50:47 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0255.html">abel deuring: "Re: 1.0.3 snapscan interface"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0253.html">Lawrence Glaister: "1.0.3 snapscan color problem 300/600dpi"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0260.html">Henning Meier-Geinitz: "Re: pnm backend crashes graphical frontends (patch?)"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0260.html">Henning Meier-Geinitz: "Re: pnm backend crashes graphical frontends (patch?)"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#254">[ date ]</A>
<A HREF="index.html#254">[ thread ]</A>
<A HREF="subject.html#254">[ subject ]</A>
<A HREF="author.html#254">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
I don't know, whether this is of interest, since I can't find it on the
<BR>
TODO list.
<BR>
It seems that the pnm backend (still) randomly crashes the graphical
<BR>
frontends.
<BR>
(activate &quot;Three-Pass Simulation&quot;-&gt;scan preview-&gt;deactivate
<BR>
&quot;Three-Pass Simulation&quot;-&gt;activate &quot;Grayify&quot; and &quot;Hand-Scanner
<BR>
Simulation&quot;-&gt;scan preview-&gt;crash)
<BR>
<P>IMHO the problem is a static variable which is used as a counter
<BR>
for an array. This one &quot;points&quot; outside the array under several
<BR>
circumstances.
<BR>
<P>Can someone test the attached patch (for pnm.c in Sane-1.0.3) and
<BR>
confirm that it fixes the problem? (it does for me)
<BR>
<P>Thanks
<BR>
<P>Michael
<BR>
<P><P>
<BR><HR NOSHADE>
<UL>
<LI>text/x-c attachment: <A HREF="att-0254/01-pnm_patch">pnm_patch</A>
</UL>
<!-- attachment="01-pnm_patch" -->
<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:%20pnm%20backend%20crashes%20graphical%20frontends%20(patch?)&In-Reply-To=&lt;00092510593600.00347@slowcrap&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0255.html">abel deuring: "Re: 1.0.3 snapscan interface"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0253.html">Lawrence Glaister: "1.0.3 snapscan color problem 300/600dpi"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0260.html">Henning Meier-Geinitz: "Re: pnm backend crashes graphical frontends (patch?)"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0260.html">Henning Meier-Geinitz: "Re: pnm backend crashes graphical frontends (patch?)"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#254">[ date ]</A>
<A HREF="index.html#254">[ thread ]</A>
<A HREF="subject.html#254">[ subject ]</A>
<A HREF="author.html#254">[ 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>Mon Sep 25 2000 - 01:52:02 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>