Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx1.pub.mailpod2-cph3.one.com ([10.27.25.11])
	by mailstorage18.cst.mailpod2-cph3.one.com (Dovecot) with LMTP id E7gjJpF711n5xgEAQS8vrQ
	for <filtered@awaresystems.be>; Fri, 06 Oct 2017 13:29:44 +0000
X-HalOne-ID: 68e070f6-aa9a-11e7-af05-e0d848957041
Received: from mail-oi0-f49.google.com (unknown [209.85.218.49])
	by mx1.pub.mailpod2-cph3.one.com (Halon) with ESMTPS
	id 68e070f6-aa9a-11e7-af05-e0d848957041;
	Fri, 06 Oct 2017 13:29:42 +0000 (UTC)
Received: by mail-oi0-f49.google.com with SMTP id v9so17424900oif.13
        for <filtered@awaresystems.be>; Fri, 06 Oct 2017 06:29:42 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-original-authentication-results:x-gm-message-state:delivered-to
         :date:from:to:in-reply-to:message-id:references:user-agent
         :mime-version:cc:subject:precedence:list-id:list-unsubscribe
         :list-archive:list-post:list-help:list-subscribe
         :content-transfer-encoding:sender:errors-to;
        bh=gTrQQthj8SvrlhmPtT3Pd10JdHEiFIYiYP6XX+m/JKc=;
        b=ISZFph8Qvx6oxbvAmoTsMsF3AVDD3VHqZW8DL1TpvDonVCT9Kh9zYoHd+ZI7MYMvDk
         20U2Dir0sChDMe0gTUffNgDSyopQBBKs+0fkc6KQiVAdTBTP/TDOLRjsk0wqBB9D2jCS
         WjyOMRC7nNNVoaPprTBPR47QVUURs8NH815vmiWPMrIlAVIBg2VITweCNcwxy1w1Verk
         YHGSWItk14YX0e5Z5we3HYXMdqRwzCZShMvpdrr/JUgYtJxL7ygCSJmaPeHg9WJT+o/O
         cLk1kMAvi9BzWk/iYzFelTN+ARWeDwarZnK7Tw/zV32xw16sB7Xz2RjaKWqEuPoGFjVZ
         f2WQ==
X-Original-Authentication-Results: mx.google.com;       spf=neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) smtp.mailfrom=tiff-bounces@lists.maptools.org
X-Gm-Message-State: AMCzsaVrBXTTq/pMN8RZW6oWE7Qj3SZ/J99IVJaRK3us2/GQAliwmdMY
	38FwHnGHt1BmBrN+JzPRwKfath++dz71ee0Mcx5M0RtyRV91WlM=
X-Received: by 10.157.91.14 with SMTP id x14mr1347816oth.262.1507296581565;
        Fri, 06 Oct 2017 06:29:41 -0700 (PDT)
X-Forwarded-To: filtered@awaresystems.be
X-Forwarded-For: awaresystems.be@gmail.com filtered@awaresystems.be
Delivered-To: awaresystems.be@gmail.com
Received: by 10.202.48.78 with SMTP id w75csp1636307oiw;
        Fri, 6 Oct 2017 06:29:40 -0700 (PDT)
X-Google-Smtp-Source: AOwi7QCNsSYc3CfSfldzvK19KOjBLcWSHQtLhhoCw70+g5RPChvGTVCbqQ67VKAta5Q9Ox7roWA9
X-Received: by 10.28.153.206 with SMTP id b197mr2011606wme.60.1507296580131;
        Fri, 06 Oct 2017 06:29:40 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1507296580; cv=none;
        d=google.com; s=arc-20160816;
        b=AeTHaMasBmdWpdFGvlyoI1HZqKy0zdyLJt6K99lznSywU1N27F0GMXClPKdV3Oq/Gm
         NDOZJf4ts5QWrCBPaYOVP+ZBBNiTED5JAS4bNT1uFSUC1obkDe2Wb+GPofl2XCdoZtnr
         UKnXg1oOenBPahOmoqI18DJT3rsZ/o5T0hYRNQgYxX685t2ngeCWth0kUQ8UI+e5qpmp
         jJRyYsz9uVmJ/NF+debpgqOZegQ6G/FEDtdHUmkjYZq2eAqlHAp56ttpPJEp4h6g8MB+
         PRNOf7afy7Iw4+k5CHAx7ta2bXHW0Nqs9SKR733PLYFKdUi245aPegbuUA3TSW6eWF0J
         PMBA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help
         :list-post:list-archive:list-unsubscribe:list-id:precedence:subject
         :cc:mime-version:user-agent:references:message-id:in-reply-to:to
         :from:date:arc-authentication-results;
        bh=gTrQQthj8SvrlhmPtT3Pd10JdHEiFIYiYP6XX+m/JKc=;
        b=r1909s9GZOnbMdP8iDge9AxJQghnqzIppulzJYw4N8v/Q7/7oUAByIgLBgEtP6so/Y
         c/jEA4A2o8f+WQPcLSCQmbLLJZaoZ2clQB4uTflZS6VOYDxArQtknNwrktOlm114pJxY
         N2YIrhxku4cmicnSIdFV9hw3MAi881HZgT4I0oKiUHcFKoENy7mydJBYoQA4efZzR040
         lD86NIC1m3oiGQhtFBydOP4tqyhdWPUn9rqum5iaJ6rNNEigm7/h37dyv3FvzA4pjwyG
         SErwAHOKJpw0JI3MX6VXajh4cZ7r+0b0hwxeKfoKQ7tHYCBQTHSaoHzCS04j6glU2srG
         Dejg==
ARC-Authentication-Results: i=1; mx.google.com;
       spf=neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) smtp.mailfrom=tiff-bounces@lists.maptools.org
Return-Path: <tiff-bounces@lists.maptools.org>
Received: from lists.maptools.org (ks365428.kimsufi.com. [94.23.4.142])
        by mx.google.com with ESMTP id u93si1464599wrb.529.2017.10.06.06.29.39;
        Fri, 06 Oct 2017 06:29:40 -0700 (PDT)
Received-SPF: neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) client-ip=94.23.4.142;
Authentication-Results: mx.google.com;
       spf=neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) smtp.mailfrom=tiff-bounces@lists.maptools.org
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 5B2FD35C05E;
	Fri,  6 Oct 2017 08:28:42 -0500 (EST)
Received: from smtp.simplesystems.org (smtp.simplesystems.org [65.66.246.90])
	by lists.maptools.org (Postfix) with ESMTPS id 70D2635C05C
	for <tiff@lists.maptools.org>; Fri,  6 Oct 2017 08:27:14 -0500 (EST)
Received: from freddy.simplesystems.org (freddy.simplesystems.org
	[65.66.246.65])
	by smtp.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id
	v96DRCk8010176; Fri, 6 Oct 2017 08:27:12 -0500 (CDT)
Date: Fri, 6 Oct 2017 08:27:12 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: Emmanuel Cosnard <emmanuel.cosnard@outlook.fr>
In-Reply-To: <DB5PR0401MB195826CC11143F15150FED60F7710@DB5PR0401MB1958.eurprd04.prod.outlook.com>
Message-ID: <alpine.GSO.2.20.1710060822540.16875@freddy.simplesystems.org>
References: <DB5PR0401MB19587825D0368D360DDB7956F7730@DB5PR0401MB1958.eurprd04.prod.outlook.com>
	<VI1PR0401MB19651B42FAA4BDE613B891A5F7700@VI1PR0401MB1965.eurprd04.prod.outlook.com>,
	<alpine.GSO.2.20.1710051111020.25514@scrappy.simplesystems.org>
	<DB5PR0401MB195826CC11143F15150FED60F7710@DB5PR0401MB1958.eurprd04.prod.outlook.com>
User-Agent: Alpine 2.20 (GSO 67 2015-01-07)
MIME-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
	(smtp.simplesystems.org [65.66.246.90]);
	Fri, 06 Oct 2017 08:27:12 -0500 (CDT)
Cc: "tiff@lists.maptools.org" <tiff@lists.maptools.org>
Subject: Re: [Tiff] Problem using libtiff in debug mode with visual studio
 2010
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

On Fri, 6 Oct 2017, Emmanuel Cosnard wrote:

> I've just noticed that the problem occures only when I try to open a Tif with custom tags.
>
> But I still have no idea why it works in Release and not in debug...

The answer to that is simple.  The release mode build disables 
assertion statements while the debug build enables them.

You have provided us with remarkably little information.  Helpful 
information would include:

  * The libtiff version you are using.

  * Whether tif_win32.c or tif_unix.c is used for file I/O, or if you
   are providing your own I/O support.

  * A sample TIFF file which causes the problem.

  * A debugger backtrace for when the problem occurs.

Bob
-- 
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
