Skip to content

Instantly share code, notes, and snippets.

@norrs
Created July 16, 2012 16:50
Show Gist options
  • Save norrs/3123738 to your computer and use it in GitHub Desktop.
Save norrs/3123738 to your computer and use it in GitHub Desktop.
(gdb) bt
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb7d73781 in raise () from /lib/i686/cmov/libc.so.6
#2 0xb7d76bb2 in abort () from /lib/i686/cmov/libc.so.6
#3 0x0809cd44 in weechat_shutdown (return_code=1, crash=1) at /usr/local/src/weechat/src/core/weechat.c:427
#4 0x080b9be0 in debug_sigsegv () at /usr/local/src/weechat/src/core/wee-debug.c:168
#5 <signal handler called>
#6 0xb7d895d3 in vfprintf () from /lib/i686/cmov/libc.so.6
#7 0xb7da9240 in vsnprintf () from /lib/i686/cmov/libc.so.6
#8 0xb7d902c2 in snprintf () from /lib/i686/cmov/libc.so.6
#9 0xb7685191 in relay_raw_message_add (client=0x837c108, flags=2,
message=0x84747a8 "obj: 207/281 bytes (27%, 0ms), id: _buffer_line_added")
at /usr/local/src/weechat/src/plugins/relay/relay-raw.c:279
#10 0xb7685371 in relay_raw_print (client=0x837c108, flags=2,
format=0xb7688030 "obj: %d/%d bytes (%d%%, %ldms), id: %s")
at /usr/local/src/weechat/src/plugins/relay/relay-raw.c:332
#11 0xb767fad7 in relay_weechat_msg_send (client=0x837c108, msg=0x8474480)
at /usr/local/src/weechat/src/plugins/relay/weechat/relay-weechat-msg.c:943
#12 0xb7680da7 in relay_weechat_protocol_signal_buffer_cb (data=0x837c108,
signal=0x80d72f6 "buffer_line_added", type_data=0x80d72da "pointer", signal_data=0x8478c28)
at /usr/local/src/weechat/src/plugins/relay/weechat/relay-weechat-protocol.c:459
#13 0x080bfbec in hook_signal_send (signal=0x80d72f6 "buffer_line_added", type_data=0x80d72da "pointer",
signal_data=0x8478c28) at /usr/local/src/weechat/src/core/wee-hook.c:2065
#14 0x08090f97 in gui_line_add (buffer=0x8338160, date=1342457372, date_printed=1342457372, tags=0x0,
prefix=0x0,
message=0x8478bc0 "Plugins loaded: alias, aspell, charset, fifo, irc, logger, perl, python, relay, rmodifier
---Type <return> to continue, or q <return> to quit---
, xfer") at /usr/local/src/weechat/src/gui/gui-line.c:1126
#15 0x080821b6 in gui_chat_printf_date_tags (buffer=0x8338160, date=1342457372, tags=0x0,
message=0x80d85d2 "%s") at /usr/local/src/weechat/src/gui/gui-chat.c:703
#16 0x0809953a in plugin_display_short_list () at /usr/local/src/weechat/src/plugins/plugin.c:1150
#17 0x0809958e in plugin_init (auto_load=1, argc=5, argv=0xbfdd1f04)
at /usr/local/src/weechat/src/plugins/plugin.c:1177
#18 0x0809cee0 in main (argc=5, argv=0xbfdd1f04) at /usr/local/src/weechat/src/core/weechat.c:484
(gdb) f 9
#9 0xb7685191 in relay_raw_message_add (client=0x837c108, flags=2,
message=0x84747a8 "obj: 207/281 bytes (27%, 0ms), id: _buffer_line_added")
at /usr/local/src/weechat/src/plugins/relay/relay-raw.c:279
279 snprintf (prefix, sizeof (prefix), "%s[%s%d%s] %s%s%s%s %s%s",
(gdb) p *client
$1 = {id = 1, sock = 5, address = 0x837bd30 "84.48.193.173", status = RELAY_STATUS_CONNECTED,
protocol = RELAY_PROTOCOL_WEECHAT, protocol_args = 0x7473696c <Address 0x7473696c out of bounds>,
listen_start_time = 1342457330, start_time = 1342457365, end_time = 0, hook_fd = 0x837c158,
last_activity = 1342457365, bytes_recv = 151, bytes_sent = 471, protocol_data = 0x837c1a0, outqueue = 0x10,
last_outqueue = 0x20, prev_client = 0x0, next_client = 0x0}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment