2018.03.01 22:14 "Re: [Tiff] SIGSEGV (Segmentation fault)", by Roger Leigh
On 01/03/18 21:59, Bhaskar Reddy wrote:
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?