Skip to content

Instantly share code, notes, and snippets.

@norrs
Created June 19, 2012 20:03
Show Gist options
  • Save norrs/2956224 to your computer and use it in GitHub Desktop.
Save norrs/2956224 to your computer and use it in GitHub Desktop.
(root@pi)-(/usr/local/src/weechat) $ gdb attach 32618
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
attach: No such file or directory.
Attaching to process 32618
Reading symbols from /usr/local/bin/weechat-curses...done.
Reading symbols from /usr/lib/libgcrypt.so.11...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgcrypt.so.11
Reading symbols from /usr/lib/libgnutls.so.26...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnutls.so.26
Reading symbols from /lib/i686/cmov/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libdl.so.2
Reading symbols from /lib/libncursesw.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libncursesw.so.5
Reading symbols from /lib/i686/cmov/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libm.so.6
Reading symbols from /usr/local/lib/libcurl.so.4...done.
Loaded symbols for /usr/local/lib/libcurl.so.4
Reading symbols from /lib/i686/cmov/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libc.so.6
Reading symbols from /usr/lib/libgpg-error.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgpg-error.so.0
Reading symbols from /usr/lib/libtasn1.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libtasn1.so.3
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libidn.so.11...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libidn.so.11
Reading symbols from /usr/lib/libssh2.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libssh2.so.1
Reading symbols from /usr/lib/libldap_r-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libldap_r-2.4.so.2
Reading symbols from /lib/i686/cmov/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/librt.so.1
Reading symbols from /usr/lib/i686/cmov/libssl.so.0.9.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i686/cmov/libssl.so.0.9.8
Reading symbols from /usr/lib/i686/cmov/libcrypto.so.0.9.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/i686/cmov/libcrypto.so.0.9.8
Reading symbols from /usr/lib/liblber-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/liblber-2.4.so.2
Reading symbols from /lib/i686/cmov/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libresolv.so.2
Reading symbols from /usr/lib/libsasl2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsasl2.so.2
Reading symbols from /lib/i686/cmov/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib/i686/cmov/libpthread.so.0
Reading symbols from /usr/local/lib/weechat/plugins/alias.so...done.
Loaded symbols for /usr/local/lib/weechat/plugins/alias.so
Reading symbols from /usr/local/lib/weechat/plugins/aspell.so...done.
Loaded symbols for /usr/local/lib/weechat/plugins/aspell.so
Reading symbols from /usr/lib/libaspell.so.15...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libaspell.so.15
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /usr/local/lib/weechat/plugins/charset.so...done.
Loaded symbols for /usr/local/lib/weechat/plugins/charset.so
Reading symbols from /usr/local/lib/weechat/plugins/fifo.so...done.
Loaded symbols for /usr/local/lib/weechat/plugins/fifo.so
Reading symbols from /usr/local/lib/weechat/plugins/irc.so...done.
Loaded symbols for /usr/local/lib/weechat/plugins/irc.so
Reading symbols from /lib/i686/cmov/libnss_compat.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libnss_compat.so.2
Reading symbols from /lib/i686/cmov/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libnsl.so.1
Reading symbols from /lib/i686/cmov/libnss_nis.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libnss_nis.so.2
Reading symbols from /lib/i686/cmov/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libnss_files.so.2
Reading symbols from /usr/local/lib/weechat/plugins/logger.so...done.
Loaded symbols for /usr/local/lib/weechat/plugins/logger.so
Reading symbols from /usr/local/lib/weechat/plugins/relay.so...done.
Loaded symbols for /usr/local/lib/weechat/plugins/relay.so
Reading symbols from /usr/local/lib/weechat/plugins/rmodifier.so...done.
Loaded symbols for /usr/local/lib/weechat/plugins/rmodifier.so
Reading symbols from /usr/local/lib/weechat/plugins/perl.so...done.
Loaded symbols for /usr/local/lib/weechat/plugins/perl.so
Reading symbols from /usr/lib/libperl.so.5.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libperl.so.5.10
Reading symbols from /lib/i686/cmov/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libcrypt.so.1
Reading symbols from /usr/lib/perl/5.10/auto/Fcntl/Fcntl.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl/5.10/auto/Fcntl/Fcntl.so
Reading symbols from /usr/lib/perl/5.10/auto/POSIX/POSIX.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl/5.10/auto/POSIX/POSIX.so
Reading symbols from /usr/local/lib/weechat/plugins/python.so...done.
Loaded symbols for /usr/local/lib/weechat/plugins/python.so
Reading symbols from /usr/lib/libpython2.6.so.1.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpython2.6.so.1.0
Reading symbols from /lib/i686/cmov/libutil.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libutil.so.1
Reading symbols from /usr/lib/python2.6/lib-dynload/datetime.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/python2.6/lib-dynload/datetime.so
Reading symbols from /usr/local/lib/weechat/plugins/xfer.so...done.
Loaded symbols for /usr/local/lib/weechat/plugins/xfer.so
Reading symbols from /usr/lib/gconv/ISO8859-1.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /usr/lib/perl/5.10/auto/List/Util/Util.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl/5.10/auto/List/Util/Util.so
0xffffe424 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb7d489f1 in send () from /lib/i686/cmov/libc.so.6
#2 0xb57011fd in relay_weechat_msg_send (client=0x919f220, msg=0x82dfb78, display_in_raw_buffer=0) at /usr/local/src/weechat/src/plugins/relay/weechat/relay-weechat-msg.c:946
#3 0xb57025a8 in relay_weechat_protocol_signal_buffer_cb (data=0x919f220, signal=0x80d46ec "buffer_title_changed", type_data=0x80d45ee "pointer", signal_data=0x84bc670)
at /usr/local/src/weechat/src/plugins/relay/weechat/relay-weechat-protocol.c:398
#4 0x080bf7ae in hook_signal_send (signal=0x80d46ec "buffer_title_changed", type_data=0x80d45ee "pointer", signal_data=0x84bc670) at /usr/local/src/weechat/src/core/wee-hook.c:2064
#5 0x0807b99e in gui_buffer_set_title (buffer=0x84bc670, new_title=0xb57b6afa "") at /usr/local/src/weechat/src/gui/gui-buffer.c:1036
#6 0x0807c7a6 in gui_buffer_set (buffer=0x84bc670, property=0xb57b6afb "title", value=0xb57b6afa "") at /usr/local/src/weechat/src/gui/gui-buffer.c:1557
#7 0xb575f836 in irc_channel_set_topic (channel=0x864b100, topic=0x0) at /usr/local/src/weechat/src/plugins/irc/irc-channel.c:350
#8 0xb579025c in irc_protocol_cb_join (server=0x8616588, nick=0x9138010 "Rockj\\", address=0x92c5880 "[email protected]", host=0x859e458 "Rockj\\[email protected]", command=0xb57c182c "join", ignored=0, argc=3,
argv=0x859b768, argv_eol=0x83f6ea0) at /usr/local/src/weechat/src/plugins/irc/irc-protocol.c:571
#9 0xb579fcc6 in irc_protocol_recv_command (server=0x8616588, irc_message=0x840f048 ":Rockj\\[email protected] JOIN #geekrevolution", msg_command=0x85fc150 "JOIN", msg_channel=0x8334370 "#geekrevolution")
at /usr/local/src/weechat/src/plugins/irc/irc-protocol.c:4662
#10 0xb57a8b00 in irc_server_msgq_flush () at /usr/local/src/weechat/src/plugins/irc/irc-server.c:2308
#11 0xb57a8d2f in irc_server_recv_cb (data=0x8616588, fd=45) at /usr/local/src/weechat/src/plugins/irc/irc-server.c:2392
#12 0x080be42a in hook_fd_exec (read_fds=0xbfb12784, write_fds=0xbfb12704, exception_fds=0xbfb12684) at /usr/local/src/weechat/src/core/wee-hook.c:1285
#13 0x0806aec6 in gui_main_loop () at /usr/local/src/weechat/src/gui/curses/gui-curses-main.c:376
#14 0x0809ccb1 in main (argc=5, argv=0xbfb12904) at /usr/local/src/weechat/src/core/weechat.c:475
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment