I was frustrated by seeing "value optimized out" complaints when inspecting core dumps with gdb, so I configured squid with these options:
CFLAGS="-g -O0" CXXFLAGS="-g -O0" Unfortunately, it seems as if I've gone in the opposite direction, as now all coredumps only contain the below backtrace: (gdb) where #0 0x00007fcf353779a5 in raise () from /lib64/libc.so.6 #1 0x00007fcf35379185 in abort () from /lib64/libc.so.6 #2 0x00007fcf35c1caad in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib64/libstdc++.so.6 #3 0x00007fcf35c1ac36 in ?? () from /usr/lib64/libstdc++.so.6 #4 0x00007fcf35c1ac63 in std::terminate() () from /usr/lib64/libstdc++.so.6 #5 0x00007fcf35c1ace6 in __cxa_rethrow () from /usr/lib64/libstdc++.so.6 #6 0x00000000004a6b54 in SquidMainSafe (argc=3, argv=0x7fff9ee512c8) at main.cc:1163 #7 0x00000000004a6ace in main (argc=3, argv=0x7fff9ee512c8) at main.cc:1152 Any way to achieve what I want while still having useful backtraces? Thanks, Phil
