Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas014.isp.belgacom.be (localhost [127.0.0.1])
        by inav020.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k1DJ008l017320
        for <joris.at.lebbeke@skynet.be>; Mon, 13 Feb 2006 20:00:03 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx013.isp.belgacom.be (inmx013.isp.belgacom.be [195.238.4.216])
        by inas014.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k1DIxtcQ030019
        for <joris.at.lebbeke@skynet.be>; Mon, 13 Feb 2006 19:59:57 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx013.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id k1DIxgGY004070
        for <joris.at.lebbeke@skynet.be>; Mon, 13 Feb 2006 19:59:46 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k1DIp3nD008213;
	Mon, 13 Feb 2006 13:52:04 -0500
Received: from mail.polkadots.ca (mail.polkadots.ca [216.113.38.187])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k1DIoxAq008210
	for <tiff@lists.maptools.org>; Mon, 13 Feb 2006 13:51:00 -0500
Received: from [10.254.254.166] ([216.113.38.178])
	by polkadots.ca (mail.polkadots.ca) (MDaemon.PRO.v8.1.3.R)
	with ESMTP id md50000202420.msg
	for <tiff@lists.maptools.org>; Mon, 13 Feb 2006 13:50:50 -0500
Mime-Version: 1.0 (Apple Message framework v623)
In-Reply-To: <Pine.SOC.4.60.0602131002160.10345@blade.simplesystems.org>
References: <8b913ac778ed0becbfb6779f857ac0db@polkadots.ca>
	<Pine.SOC.4.60.0602131002160.10345@blade.simplesystems.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <7d8726cdc9dc95edc6cd0234c4956265@polkadots.ca>
Content-Transfer-Encoding: 7bit
From: Thierry Pierron <t.pierron@polkadots.ca>
Subject: Re: [Tiff] Memory leak in TIFFOpen on Win32 ?
Date: Mon, 13 Feb 2006 13:50:53 -0500
To: tiff@lists.maptools.org
X-Mailer: Apple Mail (2.623)
X-Spam-Processed: mail.polkadots.ca, Mon, 13 Feb 2006 13:50:50 -0500
	(not processed: message from valid local sender)
X-MDRemoteIP: 216.113.38.178
X-Return-Path: t.pierron@polkadots.ca
X-MDaemon-Deliver-To: tiff@lists.maptools.org
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.000012e7
X-MSP-STORE: Mon, 13 Feb 2006 20:00:07 +0100
Status:   


On Feb 13, 2006, at 11:05, Bob Friesenhahn wrote:

> There are two different I/O subsystems which work in the Windows 
> build.  Besides the tif_win32 module, the tif_unix module may be used 
> under Windows.  The leak may be I/O subsystem related so it is 
> particular to the Windows platform.  Which one of these does the 
> GnuWin32 libtiff use?
>
> tif_win32=libtiff/tif_win32.c
> tif_unix=libtiff/tif_unix.c
Well, strange. I recompiled libtiff using source file that comes aside 
binary installer. I try the two versions (one with unix IO calls and 
the other with Win32 api) and it worked fine, no more memory leak (with 
prebuilt binary, the test I do eats up to 20 Mb after 10000 
iterations). I only tried a static link, not yet a dll.

Is there a way to know which options were used for compilation of 
binary package (tif_config.h) ? I would be insterrested in what is 
causing so much memory leak.
-- 
T.Pierron


_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
