Img.load Segmentation fault (core dumped)

#1

Hello the following line:

ofLogVerbose() << ofFilePath::join(model_dir, "test_image.png") ;
img.load(ofFilePath::join(model_dir, "test_image.png"));

is generating a “Segmentation fault (core dumped)” error. I ran the program with gdb and I got the following:

[verbose] models/GoogleArt_canny_BtoA/test_image.png

Thread 1 "example-pix2pix" received signal SIGSEGV, Segmentation fault.
0x00007fffcfee138d in png_longjmp () from /usr/lib/x86_64-linux-gnu/libpng16.so.16

Ubuntu 19.04
gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0
OF 100

apparently similar to:

EDIT

I traced this back to a precompiled external library (libtensorflow_cc)

problem solved

#2

I traced this back to a precompiled external library (libtensorflow_cc)

problem solved