Skip to content

Instantly share code, notes, and snippets.

@tpoechtrager
Created June 15, 2015 18:08
Show Gist options
  • Save tpoechtrager/7c995bafbc1cb653642a to your computer and use it in GitHub Desktop.
Save tpoechtrager/7c995bafbc1cb653642a to your computer and use it in GitHub Desktop.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 poll_for_reply (c=c@entry=0x954070, request=request@entry=57405, reply=reply@entry=0x7fffc629b978, error=error@entry=0x7fffc629ba70) at xcb_in.c:423
423 c->in.current_reply = head->next;
(gdb) print *c
$1 = {has_error = 0, setup = 0x959310, fd = 3, iolock = {__data = {__lock = 1, __count = 0, __owner = 725, __nusers = 1, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}},
__size = "\001\000\000\000\000\000\000\000\325\002\000\000\001", '\000' <repeats 26 times>, __align = 1}, in = {event_cond = {__data = {__lock = 0, __futex = 23292, __total_seq = 11646, __wakeup_seq = 11646, __woken_seq = 11646,
__mutex = 0x954088, __nwaiters = 0, __broadcast_seq = 0}, __size = "\000\000\000\000\374Z\000\000~-\000\000\000\000\000\000~-\000\000\000\000\000\000~-\000\000\000\000\000\000\210@\225", '\000' <repeats 12 times>,
__align = 100038378258432}, reading = 1,
queue = "\001\000\n\000\b\000\a\000\000\000\000\000\221\000\000\000\222\000\000\000\223\000\000\000\224\000\000\000\225\000\000\000\226\000\000\000\227\000\000\000\002\000\v\000\b\000\000\000\230\000\000\000\377\377\377\377\000\000\000\000\377\377\377\377\000\000\000\000\005\005\000\000g\216Ę\001\000\000\000\000\000\000\000\002\000\v\000\b\000\001\000\231\000\000\000\377\377\377\377\000\000\000\000\377\377\377\377\000\000\000\000\026\001\000\000\025\245\034t\001\000\000\000\000\000\000\000\002\000\v\000\b\000\002\000\f\001\000\000\377\377\377\377\000\000\000\000\377\377\377\377\000\000\000\000\001\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\003\000\006\000\b\000\002\000\001\000\000\000\002\000\000\000\377\377\377\377\000\000\000\000\001\000\000\000\000\000\000\000"..., queue_len = 0, request_expected = 57405, request_read = 57405, request_completed = 57404, current_reply = 0x1,
current_reply_tail = 0x7fa7b80008c8, replies = 0x93a7f0, events = 0x0, events_tail = 0x955118, readers = 0x7fffc629b980, pending_replies = 0x126c8f0, pending_replies_tail = 0x126c908, in_fd = {fd = {0 <repeats 16 times>}, nfd = 0,
ifd = 0}, special_events = 0x0}, out = {cond = {__data = {__lock = 0, __futex = 0, __total_seq = 0, __wakeup_seq = 0, __woken_seq = 0, __mutex = 0x0, __nwaiters = 0, __broadcast_seq = 0}, __size = '\000' <repeats 47 times>,
__align = 0}, writing = 0, socket_cond = {__data = {__lock = 0, __futex = 0, __total_seq = 0, __wakeup_seq = 0, __woken_seq = 0, __mutex = 0x0, __nwaiters = 0, __broadcast_seq = 0}, __size = '\000' <repeats 47 times>,
__align = 0}, return_socket = 0x7fa7cd83b270, socket_closure = 0x952970, socket_moving = 0,
queue = "\024\000\006\000c\002\000\000p\001\000\000!\000\000\000\000\000\000\000\001\000\000\000=\004\022\000\030\002\000\000n\000\340\002\000\000\000\000\202\003\n\000\006\000\340\002o\000\340\002J\004^\002\000\000\023\000J\004\025\002\000\000\023\000\030\002\000\000n\000\340\002\000\000\000\000\202\003\n\000\006\000\340\002o\000\340\002J\004^\002\001\000(\002\066\004\r\000\001\000(\002\030\002\000\000n\000\340\002\000\000\000\000\202\003\n\000\006\000\340\002o\000\340\002J\004^\002=\004(\002\r\000\r\000=\004(\002\030\002\000\000n\000\340\002\000\000\000\000\202\003\n\000\006\000\340\002o\000\340\002J\004^\002=\004\065\002\r\000\017\000=\004\065\002\030\002\000\000n\000\340\002\000\000\000\000"..., queue_len = 0, request = 57406, request_written = 57406, reqlenlock = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}},
__size = '\000' <repeats 39 times>, __align = 0}, maximum_request_length_tag = LAZY_FORCED, maximum_request_length = {cookie = {sequence = 4194303}, value = 4194303}, out_fd = {fd = {0 <repeats 16 times>}, nfd = 0, ifd = 0}},
ext = {lock = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0}, extensions = 0x961f80,
extensions_size = 14}, xid = {lock = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0},
last = 126, base = 48234496, max = 2097151, inc = 1}}
(gdb) bt
#0 poll_for_reply (c=c@entry=0x954070, request=request@entry=57405, reply=reply@entry=0x7fffc629b978, error=error@entry=0x7fffc629ba70) at xcb_in.c:423
#1 0x00007fa7cbc3132c in wait_for_reply (c=c@entry=0x954070, request=57405, e=e@entry=0x7fffc629ba70) at xcb_in.c:490
#2 0x00007fa7cbc31421 in xcb_wait_for_reply (c=0x954070, request=57405, e=0x7fffc629ba70) at xcb_in.c:521
#3 0x00007fa7cd83b727 in _XReply () from /usr/lib/libX11.so.6
#4 0x00007fa7c0e62602 in XIQueryDevice () from /usr/lib/libXi.so.6
#5 0x00007fa7bf1c3609 in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so
#6 0x00007fa7bf1c69db in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so
#7 0x00007fa7bf1a5467 in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so
#8 0x00007fa7bf1a59e3 in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so
#9 0x00007fa7d0d06ae1 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#10 0x00007fa7d199762c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007fa7d199cd10 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#12 0x00007fa7d0cd557b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#13 0x00007fa7d0cd76b7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#14 0x00007fa7d0d2c8f3 in ?? () from /usr/lib/libQt5Core.so.5
#15 0x00007fa7caed29fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#16 0x00007fa7caed2ce0 in ?? () from /usr/lib/libglib-2.0.so.0
#17 0x00007fa7caed2d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#18 0x00007fa7d0d2ccff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#19 0x00007fa7d0cd2ffa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#20 0x00007fa7d0cdaa4c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#21 0x00007fa7d4aa6aa9 in kdemain (argc=1, argv=0x7fffc629c728) at /home/thomas/tmp/konsole/src/konsole-15.04.2/src/main.cpp:90
#22 0x00007fa7d4701790 in __libc_start_main () from /usr/lib/libc.so.6
#23 0x0000000000400789 in _start ()
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment