sane-project-website/old-archive/2001-05/0177.html

118 wiersze
4.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: scanimage -T using Purify...</TITLE>
<META NAME="Author" CONTENT="Henning Meier-Geinitz (henning@meier-geinitz.de)">
<META NAME="Subject" CONTENT="Re: scanimage -T using Purify...">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: scanimage -T using Purify...</H1>
<!-- received="Sun May 13 09:23:50 2001" -->
<!-- isoreceived="20010513162350" -->
<!-- sent="Sun, 13 May 2001 18:39:56 +0200" -->
<!-- isosent="20010513163956" -->
<!-- name="Henning Meier-Geinitz" -->
<!-- email="henning@meier-geinitz.de" -->
<!-- subject="Re: scanimage -T using Purify..." -->
<!-- id="20010513183956.B21564@vortex.swb.de" -->
<!-- inreplyto="20010513105459.C31864@vortex.swb.de" -->
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:henning@meier-geinitz.de?Subject=Re:%20scanimage%20-T%20using%20Purify...&In-Reply-To=&lt;20010513183956.B21564@vortex.swb.de&gt;"><EM>henning@meier-geinitz.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun May 13 2001 - 09:39:56 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0178.html">Claus Ladekjær Wilson: "Re: HP 5200C -- segfaults and &quot;inappropriate ioctl for device&quot;"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0176.html">Rupert Heesom: "Re: Hope you don't mind a HELP-ME! post?"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0172.html">Henning Meier-Geinitz: "Re: scanimage -T using Purify..."</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#177">[ date ]</A>
<A HREF="index.html#177">[ thread ]</A>
<A HREF="subject.html#177">[ subject ]</A>
<A HREF="author.html#177">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi again,
<BR>
<P>On Sun, May 13, 2001 at 10:54:59AM +0200, Henning Meier-Geinitz wrote:
<BR>
<EM>&gt; &gt; MLK: 1263 bytes leaked in 29 blocks
</EM><BR>
<EM>&gt; &gt; * This memory was allocated from:
</EM><BR>
<EM>&gt; &gt; malloc [rtlib.o]
</EM><BR>
<EM>&gt; &gt; sanei_w_array [sanei_wire.c:146]
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --&gt; w-&gt;direction == WIRE_DECODE
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &gt; bin_w_string [sanei_codec_bin.c:84]
</EM><BR>
<EM>&gt; &gt; sanei_w_string [sanei_wire.c:221]
</EM><BR>
<EM>&gt; &gt; sanei_w_option_descriptor [sanei_wire.c:325]
</EM><BR>
<EM>&gt; &gt; sanei_w_ptr [sanei_wire.c:194]
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I will look for this one and the other sanei_w leaks. Some of them
</EM><BR>
<EM>&gt; seem to be located in net.c in reality.
</EM><BR>
<P>This one and similar cases should be fixed now. There were several
<BR>
reasons for the memory leaks (e.g. missing sanei_w_free in net.c and
<BR>
missing recursive freeing in sanei_w_array and other functions).
<BR>
<P>Please test thoroughly as I changed quiete some things in the
<BR>
networking layer. I think I have never had so much open xemacs windows
<BR>
than while debugging the SANE networking code :-)
<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:%20scanimage%20-T%20using%20Purify...&In-Reply-To=&lt;20010513183956.B21564@vortex.swb.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0178.html">Claus Ladekjær Wilson: "Re: HP 5200C -- segfaults and &quot;inappropriate ioctl for device&quot;"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0176.html">Rupert Heesom: "Re: Hope you don't mind a HELP-ME! post?"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0172.html">Henning Meier-Geinitz: "Re: scanimage -T using Purify..."</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#177">[ date ]</A>
<A HREF="index.html#177">[ thread ]</A>
<A HREF="subject.html#177">[ subject ]</A>
<A HREF="author.html#177">[ 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 May 13 2001 - 09:26:07 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>