Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx3.pub.mailpod2-cph3.one.com ([10.27.25.13])
	by mailstorage18.cst.mailpod2-cph3.one.com (Dovecot) with LMTP id qgPxJWm0mFo78AAAQS8vrQ
	for <filtered@awaresystems.be>; Fri, 02 Mar 2018 02:27:30 +0000
X-HalOne-ID: 4146f3fc-1dc1-11e8-9a09-e0d84895d241
Received: from mail-ot0-f172.google.com (unknown [74.125.82.172])
	by mx3.pub.mailpod2-cph3.one.com (Halon) with ESMTPS
	id 4146f3fc-1dc1-11e8-9a09-e0d84895d241;
	Fri, 02 Mar 2018 02:27:30 +0000 (UTC)
Received: by mail-ot0-f172.google.com with SMTP id f11so7516490otj.12
        for <filtered@awaresystems.be>; Thu, 01 Mar 2018 18:27:30 -0800 (PST)
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
         :mime-version:in-reply-to:references:from:date:message-id:to:cc
         :subject:precedence:list-id:list-unsubscribe:list-archive:list-post
         :list-help:list-subscribe:mime-version:sender:errors-to;
        bh=XM/GMwHW3F/zKxCtq06w51EHiQf3Tw19vmIBvUDM2mI=;
        b=pJKZnJ46FAGk+QvVjF/HLudbmlIqBprKSxoQCuYNwQuZ5cpIQoXzstvOELXEMYFNUm
         +5QxWJxoUTjDJIs3vZexmnTSh08TH5ycuWD0BnVUGwXe1h+A/N1fmGWp5yS7mBVlvfaL
         S8NnfUEiLfsWVW8NTAXRkYf4j5lmRdhi52A4Yd9QlI2uUz4sdeddDSwb+5TWzDDGw8us
         xcUNGIlSBkjUYS60T2ndqvauo9JzhBM/1gqUbdsCdDN+7wqhUiqnmLA3ksOrPJU7G1Wm
         hCJWU9sMO6Ps0VmTt84WAGLYsbokc5GCC4jfjzWJ2jws8aahSqHFMe1TM2Eydo5cTTCQ
         FNOQ==
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;       dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
X-Gm-Message-State: AElRT7HeIU0r6RWArnPnA0ZHWtfk0BVRYRYLOt22EH6KFtgTODuo8B3T
	CH4FN20shfucYbdChFuc9WSzq08uQO2bdEmR/8yyShLc5fbpci0=
X-Received: by 10.157.2.162 with SMTP id 31mr3052031otl.310.1519957649082;
        Thu, 01 Mar 2018 18:27:29 -0800 (PST)
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.74.22.129 with SMTP id 1csp3483457oox;
        Thu, 1 Mar 2018 18:27:27 -0800 (PST)
X-Google-Smtp-Source: AG47ELvf/sdAbXVp48hR7YRFVZRM0AARfXB7vH+yloS1hlOQ7DxQoZYK+EYI44mpuU6RFCL8herY
X-Received: by 10.223.153.230 with SMTP id y93mr3373844wrb.215.1519957647836;
        Thu, 01 Mar 2018 18:27:27 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1519957647; cv=none;
        d=google.com; s=arc-20160816;
        b=zAzvTtSUC8IypruxNY5h1Fi76+/7TVe+/TETRLr4UbcZxxiy7oPknW1dg1QKqsSfj2
         yItGlywrPtmfxW0wphrufHcAdATT0IS7I4L0zqRTTMtuOQZYA0zFkdr3BYRTeFJpROW1
         FAp3VDzWVPX2T5dyiauUrxbpO3sEt8xuWz0pre0CuX9FWrmYdJvJCCwrx4Fyhua0vE4A
         +GQw7htfTyU4aaV0UHMyYjItlHmuozw4aMBDy6vg7dHWitwGnvJcqC/6Sw3uSvZKFKt4
         0M/3vyhJwyairEsVV7BGUWIlz0eyXMFOrpuvjyTrXVxr2thBlpm/+1ku+tMuIwVVwICq
         WBZg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=errors-to:sender:mime-version:list-subscribe:list-help:list-post
         :list-archive:list-unsubscribe:list-id:precedence:subject:cc:to
         :message-id:date:from:references:in-reply-to:mime-version
         :arc-authentication-results;
        bh=XM/GMwHW3F/zKxCtq06w51EHiQf3Tw19vmIBvUDM2mI=;
        b=F5kHqwxjuDdXYyrlJ+4LyD9kXMku2UJ4sNUnpmERXic6cCnpyCy6Q3XiZVNt0BkvC5
         yns0SJX4/HWldjA/3GC4GlOiWPnwnjelMMKvXpw5FK54rn80SNXUB4vcQgDLIn5QA78B
         P/2Z5pCBuUMBTfcrkO60tx6+YKh7DVHw/32BbXhkQsYfB8iroQq5Gn45lSKqTxQi4dZw
         GfjA/3wgaEUkBIVFBl1szB/klTDjC7Mh1//y4OpuIKTenl9gplJ3IOgROMBbNi97Wxr8
         1CKiIu2wz7Siu7TRLViPmcu4I1C1qAqFPgkXzK9bdLXMrIfRqL5QTxajTtfVvk58oDjz
         4x7g==
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;
       dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
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 f44si3888985wra.196.2018.03.01.18.27.26;
        Thu, 01 Mar 2018 18:27:27 -0800 (PST)
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;
       dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 0087E35C042;
	Thu,  1 Mar 2018 21:26:25 -0500 (EST)
Received: from mail-ot0-f174.google.com (mail-ot0-f174.google.com
	[74.125.82.174])
	by lists.maptools.org (Postfix) with ESMTPS id 551EB35C026
	for <tiff@lists.maptools.org>; Thu,  1 Mar 2018 21:26:00 -0500 (EST)
Received: by mail-ot0-f174.google.com with SMTP id t2so7541699otj.4
	for <tiff@lists.maptools.org>; Thu, 01 Mar 2018 18:26:00 -0800 (PST)
X-Received: by 10.157.43.125 with SMTP id f58mr3106324otd.206.1519957559551;
	Thu, 01 Mar 2018 18:25:59 -0800 (PST)
MIME-Version: 1.0
Received: by 10.74.182.4 with HTTP; Thu, 1 Mar 2018 18:25:58 -0800 (PST)
Received: by 10.74.182.4 with HTTP; Thu, 1 Mar 2018 18:25:58 -0800 (PST)
In-Reply-To: <1ee10cd8-4136-c4ab-cbcd-275331dbd377@codelibre.net>
References: <CAB82cH7ZGtvT7HOPwXGT3Pke23uappQ7cfB-va6uq1PbXnK71w@mail.gmail.com>
	<1ee10cd8-4136-c4ab-cbcd-275331dbd377@codelibre.net>
From: Bhaskar Reddy <reddy.baskar0605@gmail.com>
Date: Thu, 1 Mar 2018 20:25:58 -0600
Message-ID: <CAB82cH5jx1z9QeJbeUBYcn6R984T4mpfpsVWPok+AxhA01hq3A@mail.gmail.com>
To: Roger Leigh <rleigh@codelibre.net>
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] SIGSEGV (Segmentation fault)
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: multipart/mixed; boundary="===============0639471985=="
Mime-version: 1.0
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

--===============0639471985==
Content-Type: multipart/alternative; boundary="001a113e540a692d57056664b27e"

--001a113e540a692d57056664b27e
Content-Type: text/plain; charset="UTF-8"

I ran the program in Netbeans 8.0


On Mar 1, 2018 16:16, "Roger Leigh" <rleigh@codelibre.net> wrote:

On 01/03/18 21:59, Bhaskar Reddy wrote:
> Hi,
>
> I am working on writing Tiff image using library TIFF 4.0.8 and tool
> SXIV(an image viewer in Linux)
>
> I got error "*Signal received: SIGSEGV (Segmentation fault)*
> For program sxiv, pid 18,720 " in */TIFFopen/* function in *tif_unix.c*
>
> I guess the line "_fd = open(name, m, 0666);_ " caused this issue.

To start with the obvious, did you run the program under gdb and get a
stacktrace?  Is name null or invalid?  Is m null or invalid?


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

--001a113e540a692d57056664b27e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div>I ran the program in Netbeans 8.0</div><div dir=3D"a=
uto"><br></div><div dir=3D"auto"><div class=3D"gmail_extra" dir=3D"auto"><b=
r><div class=3D"gmail_quote">On Mar 1, 2018 16:16, &quot;Roger Leigh&quot; =
&lt;<a href=3D"mailto:rleigh@codelibre.net">rleigh@codelibre.net</a>&gt; wr=
ote:<br type=3D"attribution"><blockquote class=3D"quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"quoted-=
text">On 01/03/18 21:59, Bhaskar Reddy wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I am working on writing Tiff image using library TIFF 4.0.8 and tool<b=
r>
&gt; SXIV(an image viewer in Linux)<br>
&gt;<br>
</div>&gt; I got error &quot;*Signal received: SIGSEGV (Segmentation fault)=
*<br>
&gt; For program sxiv, pid 18,720 &quot; in */TIFFopen/* function in *tif_u=
nix.c*<br>
&gt;<br>
&gt; I guess the line &quot;_fd =3D open(name, m, 0666);_ &quot; caused thi=
s issue.<br>
<br>
To start with the obvious, did you run the program under gdb and get a<br>
stacktrace?=C2=A0 Is name null or invalid?=C2=A0 Is m null or invalid?<br>
<br>
<br>
Roger<br>
______________________________<wbr>_________________<br>
Tiff mailing list: <a href=3D"mailto:Tiff@lists.maptools.org">Tiff@lists.ma=
ptools.org</a><br>
<a href=3D"http://lists.maptools.org/mailman/listinfo/tiff" rel=3D"noreferr=
er" target=3D"_blank">http://lists.maptools.org/<wbr>mailman/listinfo/tiff<=
/a><br>
<a href=3D"http://www.remotesensing.org/libtiff/" rel=3D"noreferrer" target=
=3D"_blank">http://www.remotesensing.org/<wbr>libtiff/</a><br>
</blockquote></div><br></div></div></div>

--001a113e540a692d57056664b27e--

--===============0639471985==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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