C++20 compilation leads to segmentation fault in erode and dilate
evanokeeffe opened this issue · 5 comments
Trying to integrate this library into some other packages we have that require C++20 for some functions to work.
I tried to compile a simple example . Without C++20 it works, but with it getting a segmentation fault at img_erode = ImgTest.get_erode(msk);
#define cimg_use_tif
#include <CImg.h>
#include < iostream >
using namespace cimg_library;
int main()
{
CImg ImgTest;
ImgTest.load_tiff("float_image.tif");
CImg out(ImgTest);
CImg img_erode(ImgTest);
CImg msk(5,5);
msk.fill(1);
img_erode = ImgTest.get_erode(msk);
std::cout << "Min: " << img_erode.min() << std::endl;
out = img_erode.get_dilate(msk);
std::cout << "Min: " << out.min() << std::endl;
out.save_tiff("V_float.tif");
return 1;
}
Your code does not compile as it is. There's missing #include <iostream>
and a template parameter when declaring the CImg
variables.
If you use g++
, have you tried compiling with option -fsanitize=address
? It gives interesting information about the cause of a crash.
Ah ok, going to try that thank you
Ok ran with the sanitize address flag and I've attached the output below.
AddressSanitizer:DEADLYSIGNAL
==3294763==ERROR: AddressSanitizer: stack-overflow on address 0x7fff86bfaffc (pc 0x55816a5f12de bp 0x7fff86bfb000 sp 0x7fff86bfaff0 T0)
#0 0x55816a5f12de in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2de)
#1 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#2 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#3 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#4 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#5 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#6 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#7 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#8 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#9 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#10 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#11 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#12 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#13 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#14 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#15 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#16 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#17 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#18 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#19 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#20 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#21 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#22 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#23 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#24 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#25 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#26 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#27 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#28 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#29 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#30 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#31 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#32 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#33 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#34 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#35 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#36 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#37 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#38 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#39 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#40 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#41 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#42 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#43 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#44 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#45 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#46 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#47 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#48 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#49 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#50 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#51 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#52 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#53 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#54 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#55 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#56 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#57 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#58 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#59 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#60 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#61 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#62 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#63 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#64 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#65 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#66 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#67 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#68 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#69 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#70 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#71 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#72 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#73 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#74 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#75 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#76 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#77 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#78 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#79 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#80 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#81 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#82 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#83 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#84 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#85 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#86 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#87 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#88 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#89 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#90 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#91 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#92 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#93 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#94 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#95 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#96 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#97 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#98 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#99 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#100 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#101 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#102 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#103 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#104 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#105 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#106 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#107 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#108 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#109 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#110 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#111 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#112 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#113 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#114 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#115 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#116 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#117 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#118 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#119 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#120 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#121 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#122 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#123 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#124 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#125 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#126 0x55816a5f12f5 in bool cimg_library::operator==(int, cimg_library::CImg const&) (/home/eokeeffe/CImg/test_tiff/test_dilation+0x1b2f5)
#127 0x55816a5f12f5 in bool cimg_library::operator==
Thanks. It would be nice to have the line numbers as well. Could you add the -g
flags as well ?
(and check the generated binary is not stripped!). Thanks!