Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
Description
SERVER-75529 changed the in-memory layout of NamespaceString, but broke pretty-printing that type in gdb. From a recent discussion:
I’m trying to look at the value of a variable in gdb from a core dump and getting this error:
(gdb) t 59
[Switching to thread 59 (Thread 0x7f57eca84700 (LWP 21446))]
#0 0x00007f581ef9c7e1 in poll () from /lib64/libc.so.6
(gdb) f 22
#22 0x00007f581c94f332 in mongo::repl::OplogApplierImpl::_applyOplogBatch (this=0x55f1a0e93ec0, opCtx=0x55f1a0ef5000, ops=std::vector of length 1, capacity 5000 =Unknown macro: {...}) at src/mongo/db/repl/oplog_applier_impl.cpp:555
555 Lock::ParallelBatchWriterMode pbwm(opCtx);
(gdb) p ops
$1 = std::vector of length 1, capacity 5000 =Unknown macro: {Traceback (most recent call last)}any ideas?