Observed in MB-59087 - when attempting to open recent CB Server binaries with GDB, we are lacking debug (line number etc) information. When I open the core file with gdb on the 172.23.96.14 itself I get a more precise information:
|
(gdb) bt
|
#0 0x00007f390d99f1f7 in raise () from /lib64/libc.so.6
|
#1 0x00007f390d9a08e8 in abort () from /lib64/libc.so.6
|
Dwarf Error: wrong version in compilation unit header (is 5, should be 2, 3, or 4) [in module /usr/lib/debug/opt/couchbase/lib/libstdc++.so.6.0.32-7.6.0-1627.x86_64.debug]
|
The problem with the above is that we are linking memcached to some libraries that were compiled with DWARF v5 (https://dwarfstd.org/dwarf5std.html), but our gdb on that machine supports only v{2, 3, 4}.
# gdb --version
|
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-100.el7_4.1
|