Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx-q.one.com (mx-q.one.com [91.198.169.248])
	by mail6.local.one.com (Postfix) with ESMTP id 0211C3002BB5F4
	for <filtered@awaresystems.be>; Wed, 16 Jul 2014 14:15:46 +0000 (UTC)
X-Virus-Scanned: by one.com
Received-SPF: pass (mx-q: domain of awaresystems.be+caf_=filtered=awaresystems.be@gmail.com designates 209.85.215.52 as permitted sender)
X-Greylist: whitelisted by SQLgrey-1.8.0-rc2
Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52])
	by mx-q.one.com (Postfix) with ESMTP id AB0AB1D93CAA
	for <filtered@awaresystems.be>; Wed, 16 Jul 2014 14:15:45 +0000 (UTC)
Received: by mail-la0-f52.google.com with SMTP id e16so710136lan.11
        for <filtered@awaresystems.be>; Wed, 16 Jul 2014 07:15:45 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-original-authentication-results:delivered-to:delivered-to:date
         :from:to:in-reply-to:message-id:references:user-agent:mime-version
         :content-id:cc:subject:precedence:list-id:list-unsubscribe
         :list-archive:list-post:list-help:list-subscribe:content-type
         :content-transfer-encoding:sender:errors-to;
        bh=7wRbDxVsWccuBNW93hgut668YmZCj0htLYzq7yRCMkk=;
        b=Y5UrHmaYDm+aTablKg5DrIiBArtCd8NSJYstRy/4ULhWZSo2P5sqcapqv0zdnJMd+r
         42VzHIpMOnnb9BO691mhmh1UCBJsEWwXs4YbA2cHc2sGmw2jgzVftW+jKvKOevEcOq78
         PJiedFz+9lrRLEXlyfFut5dsCDSjWPTTT17pg6IOxaTLX8U2adET3NsHT/rwCeSMwcjA
         1X9v85Y0049el0nQ/iK3of3GS3VXhsYPEXhU7Hu70WFFKwewGKnszJD5jIQC9G9yJJIv
         rL7CuvSOhHPDYkoU8o0Wkr8383x3uDxMLuaKhxzAmb8g5jCWtj2EXeZyeznYlwhQfZKi
         Q8Pg==
X-Original-Authentication-Results: mx.google.com;       spf=neutral (google.com: tiff-bounces@lists.maptools.org does not designate permitted sender hosts) smtp.mail=tiff-bounces@lists.maptools.org
X-Received: by 10.152.27.194 with SMTP id v2mr13983555lag.57.1405520145216;
        Wed, 16 Jul 2014 07:15:45 -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.114.18.137 with SMTP id w9csp258043ldd;
        Wed, 16 Jul 2014 07:15:44 -0700 (PDT)
X-Received: by 10.153.7.74 with SMTP id da10mr25490794lad.27.1405520143521;
        Wed, 16 Jul 2014 07:15:43 -0700 (PDT)
Authentication-Results: mx.google.com;
       spf=neutral (google.com: tiff-bounces@lists.maptools.org does not designate permitted sender hosts) smtp.mail=tiff-bounces@lists.maptools.org
Received-SPF: none (google.com: tiff-bounces@lists.maptools.org does not designate permitted sender hosts) client-ip=91.198.169.57;
Received: by 10.112.0.202 with POP3 id 10mf681796lbg.34;
        Wed, 16 Jul 2014 07:15:43 -0700 (PDT)
X-Gmail-Fetch-Info: info@awaresystems.be 1 pop.awaresystems.be 110 info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-j.one.com (mx-j.one.com [91.198.169.57])
	by mail6.local.one.com (Postfix) with ESMTP id 5141030024AA49
	for <info@awaresystems.be>; Wed, 16 Jul 2014 13:53:55 +0000 (UTC)
X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2
Received: from lists.maptools.org (ks365428.kimsufi.com [94.23.4.142])
	by mx-j.one.com (Postfix) with ESMTP id 24BA01A0EB9
	for <info@awaresystems.be>; Wed, 16 Jul 2014 13:53:54 +0000 (UTC)
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 0E51F35C02B;
	Wed, 16 Jul 2014 08:53:14 -0500 (EST)
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by lists.maptools.org (Postfix) with ESMTPS id B1BFE35C02B
	for <tiff@lists.maptools.org>; Wed, 16 Jul 2014 08:53:02 -0500 (EST)
Received: from freddy.simplesystems.org (freddy.simplesystems.org
	[65.66.246.65])
	by blade.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id
	s6GDr2Oo008403; Wed, 16 Jul 2014 08:53:02 -0500 (CDT)
Date: Wed, 16 Jul 2014 08:53:02 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: h4ever <h4ever@seznam.cz>
In-Reply-To: <53C62248.80005@seznam.cz>
Message-ID: <alpine.GSO.2.01.1407160847520.18732@freddy.simplesystems.org>
References: <53C24DC9.3060201@seznam.cz> <53C62248.80005@seznam.cz>
User-Agent: Alpine 2.01 (GSO 1266 2009-07-14)
MIME-Version: 1.0
Content-ID: <alpine.GSO.2.01.1407160848221.18732@freddy.simplesystems.org>
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2
	(blade.simplesystems.org [65.66.246.90]);
	Wed, 16 Jul 2014 08:53:02 -0500 (CDT)
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] Error while opening tiff - fstat64.c
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 Wed, 16 Jul 2014, h4ever wrote:
> 
> I have downloaded the libtiff library as part of SDL2 package, but I test it separately. There is a test file named ascii_tag.c
> which I am testing.
> 
> It creates file ascii_test.tiff . But maybe the file is not correct because the following command crashes - breaks.
> 
> There is a line
> tif = TIFFOpen(filename, "r");
> 
> and it breaks here when I run the program. Filename is:
> static const char filename[] = "images/ascii_test.tiff";
> the file exists on disk, because the program just create it and closed the file handler.
> 
> The error I got:
> Debug assertion failed ... program name ... File: (and this is the strange thing![/b])
> f:\dd\vctools\crt_bld\self_x86\crt\src\fstat64.c
> line:64
> 
> Why it displays this path? I did not added this path to project so why it tries to call this file? I have installed VC in
> different location and running x86 32bit machine.

All of the involved code needs to be compiled with consistent options. 
I have heard that Visual Studio 2010 is more fragile (than earlier 
releases) when it comes to stdio since its ABI changes based on build 
options.  The debug assertion is to the implementation source code of 
the CRT library which comes with Visual Studio.  If you have the 
source code (does seem to come with purchased versions), then it is 
supposed to help debug the problem.

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/
