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 niKVOQV6mFpdzAAAQS8vrQ
	for <filtered@awaresystems.be>; Thu, 01 Mar 2018 22:15:31 +0000
X-HalOne-ID: 0d6f3609-1d9e-11e8-8d9b-e0d848957041
Received: from mail-oi0-f42.google.com (unknown [209.85.218.42])
	by mx1.pub.mailpod2-cph3.one.com (Halon) with ESMTPS
	id 0d6f3609-1d9e-11e8-8d9b-e0d848957041;
	Thu, 01 Mar 2018 22:15:31 +0000 (UTC)
Received: by mail-oi0-f42.google.com with SMTP id x10so5706428oig.2
        for <filtered@awaresystems.be>; Thu, 01 Mar 2018 14:15:31 -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
         :to:references:from:message-id:date:user-agent:mime-version
         :in-reply-to:content-language:subject:precedence:list-id
         :list-unsubscribe:list-archive:list-post:list-help:list-subscribe
         :content-transfer-encoding:sender:errors-to;
        bh=zjGGmxXCXummmXF2krCfHc4mOGrwE1Yb9XkQ2ikYSgs=;
        b=TKcB8Wbcgx3QflX6zneRDY4BmDBY3VJ91RuJEnrbkJVkcSpuLTXujSY3iEJy8F9sp0
         nRDfqfi50X7U+jajgGD1z5qPT+ikMRq3GcoBpSZEGVg0nTSd8FLniwop/yXfisoh5Pmm
         l88lrhg2FWCLvMnMmY/rGk6OjXzAqXf89OpLyBCxebHnPpSFYyJAsnt0GK81GI7z2sSg
         +/MKdBCBChNPfdqRXuM+eq0mggOneDA9ikEFLeQq9QkctuYjP9YiArpR/KV06p3QipvB
         i8cWAh17n7RJN0rR1zxuEPGszMuBwu5HX09fgtrNknyWLpLGsaz7qPNqI0KyeK6uIrMV
         trjQ==
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: AElRT7Hu0E/2J8HILP7sF5jqSQTfgq3XdHyIGroPLy/n9wItZHcYIHs6
	dLwe+/e0WFfuVIKI6E6Zg5B6Hs94BkJ5JpASEwWfJlesilwCLgM=
X-Received: by 10.202.5.132 with SMTP id 126mr2439841oif.238.1519942529869;
        Thu, 01 Mar 2018 14:15: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 1csp3289181oox;
        Thu, 1 Mar 2018 14:15:28 -0800 (PST)
X-Google-Smtp-Source: AG47ELv2VJJrs5SphJkhuFtv3jdeOpGvqCjeZXXhUvA9Ru+XYKLM8H2h0rQueSjOVmPggQ8FY9v6
X-Received: by 10.223.160.234 with SMTP id n39mr3213343wrn.25.1519942528648;
        Thu, 01 Mar 2018 14:15:28 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1519942528; cv=none;
        d=google.com; s=arc-20160816;
        b=XD/WoycNSSQqRu4mo1eC1EDAQitVPs44687C9UtDDlQNCA4NsdDX+CFMz6Adl1P0fM
         JVZ9it5DxqR8kKN/QAANV8Ekp3TyIVQIeSWgkBlCbUXB3KuCpi7phQVSzRfPP5NdRdhZ
         Hec7FqKWVfmwp88SNBlcjKme88GdvppiDXeOY7NmPxtgJxQm2iEC+4FJWoX2Bp6K9Z8u
         HcJH6eIo1DGYVFZvocyyvhVpZ3kFXZgjXy3mIvf8jUGvvBCSi4UxjNh1INoei9G0hoEX
         WZ2TCYIAAGlttmdlNdqCM9F6ICYchjm+iGc2CsXWQR6dvQtG0sKL24UL9ILWjux153Uz
         oRoA==
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
         :content-language:in-reply-to:mime-version:user-agent:date
         :message-id:from:references:to:arc-authentication-results;
        bh=zjGGmxXCXummmXF2krCfHc4mOGrwE1Yb9XkQ2ikYSgs=;
        b=kxLPsqGBke0TbbOf53e7sspk7IgAy7huJJJcvZZRfHxP9ZcQsUMJekNVEEsnA7npTD
         1QFVFmdTVuVIFfC2cliUWSK/MoTFvFzmuqUrn3SpYTzWtkuT8gxykaIRJTMsovKuqZ/X
         W2z1V3I9TRjWx9IhT9GgTa8OVDVwUHD1xMgJqI8vYicfIxI6lLmf2DVfle9ONmMeJPQd
         NuMaVbNV7h41X3H+oi7SQV52NVkyJpmAD1RjKQ/fY52uORaKL74dz2sizNVyH8Iak51m
         ixx/sDi9LT7h0Qymj93kp/CLcuTI2CgH2mcjrM36sP7DSZz5K8+DESfU7Bslb3iIxd8A
         xj6w==
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 b23si3074861wmd.165.2018.03.01.14.15.27;
        Thu, 01 Mar 2018 14:15:28 -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
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 96CA135C0E5;
	Thu,  1 Mar 2018 17:14:35 -0500 (EST)
Received: from b-painless.mh.aa.net.uk (b-painless.mh.aa.net.uk [81.187.30.52])
	by lists.maptools.org (Postfix) with ESMTPS id C99AF35C040
	for <tiff@lists.maptools.org>; Thu,  1 Mar 2018 17:14:14 -0500 (EST)
Received: from
	9.5.9.f.b.1.5.c.d.7.1.2.7.2.5.a.d.b.d.d.0.6.8.0.0.b.8.0.1.0.0.2.ip6.arpa
	([2001:8b0:860:ddbd:a527:217d:c51b:f959])
	by b-painless.mh.aa.net.uk with esmtpsa
	(TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89)
	(envelope-from <rleigh@codelibre.net>) id 1erWSs-0004BK-Ds
	for tiff@lists.maptools.org; Thu, 01 Mar 2018 22:14:14 +0000
To: tiff@lists.maptools.org
References: <CAB82cH7ZGtvT7HOPwXGT3Pke23uappQ7cfB-va6uq1PbXnK71w@mail.gmail.com>
From: Roger Leigh <rleigh@codelibre.net>
Message-ID: <1ee10cd8-4136-c4ab-cbcd-275331dbd377@codelibre.net>
Date: Thu, 1 Mar 2018 22:14:01 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
	Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <CAB82cH7ZGtvT7HOPwXGT3Pke23uappQ7cfB-va6uq1PbXnK71w@mail.gmail.com>
Content-Language: en-US
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: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

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/
