[Bug c++/20020] GDB segfault on printing objects

carlo at alinoe dot com sourceware-bugzilla@sourceware.org
Thu May 16 17:25:00 GMT 2019


https://sourceware.org/bugzilla/show_bug.cgi?id=20020

Carlo Wood <carlo at alinoe dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlo at alinoe dot com

--- Comment #17 from Carlo Wood <carlo at alinoe dot com> ---
Before applying Tom's patch:

(gdb) p m_buffer->recording_ringbuffer.m_tail
$3 = {_M_b = {Segmentation fault (core dumped)

After applying Tom's patch:

(gdb) p m_buffer->recording_ringbuffer.m_tail
$1 = {_M_b = {_M_p = 0x0}, static is_always_lock_free = <error reading
variable: Missing ELF symbol
"std::atomic<evio::RecordingData**>::is_always_lock_free".>}

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list