2018.01.19 15:34 "[Tiff] Modifying field values without rewriting the whole directory", by

2018.03.02 02:25 "Re: [Tiff] SIGSEGV (Segmentation fault)", by Bhaskar Reddy

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?