GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

Core was generated by `/usr/local/sbin/bitlbee -c /etc/bitlbee/bitlbee.conf'.
Program terminated with signal 11, Segmentation fault.

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/lib/libgmodule-2.0.so.0...done.
Loaded symbols for /usr/lib/libgmodule-2.0.so.0
Reading symbols from /lib/tls/libdl.so.2...done.
Loaded symbols for /lib/tls/libdl.so.2
Reading symbols from /usr/lib/libglib-2.0.so.0...done.
Loaded symbols for /usr/lib/libglib-2.0.so.0
Reading symbols from /usr/lib/libgnutls.so.11...done.
Loaded symbols for /usr/lib/libgnutls.so.11
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libtasn1.so.2...done.
Loaded symbols for /usr/lib/libtasn1.so.2
Reading symbols from /usr/lib/libgcrypt.so.11...done.
Loaded symbols for /usr/lib/libgcrypt.so.11
Reading symbols from /usr/lib/libgpg-error.so.0...done.
Loaded symbols for /usr/lib/libgpg-error.so.0
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/tls/libnsl.so.1...done.
Loaded symbols for /lib/tls/libnsl.so.1
Reading symbols from /lib/tls/libnss_files.so.2...done.
Loaded symbols for /lib/tls/libnss_files.so.2
Reading symbols from /lib/tls/libnss_dns.so.2...done.
Loaded symbols for /lib/tls/libnss_dns.so.2
Reading symbols from /lib/tls/libresolv.so.2...done.
Loaded symbols for /lib/tls/libresolv.so.2
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
#0  0x08051c47 in bitlbee_io_current_client_write (source=0x8111118, condition=G_IO_OUT, data=0x811bd88) at bitlbee.c:219
219             size = strlen( irc->sendbuffer );
(gdb) bt
#0  0x08051c47 in bitlbee_io_current_client_write (source=0x8111118, condition=G_IO_OUT, data=0x811bd88) at bitlbee.c:219
#1  0x40077eff in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#2  0x4004eb8c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#3  0x40051f6b in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#4  0x400522c7 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#5  0x0805e27e in main (argc=3, argv=0xbffffcf4, envp=0xbffffd04) at unix.c:119
(gdb) set print pretty on
(gdb) print *irc
$2 = {
  fd = 1852534389,
  status = 544110447,
  last_pong = 6.7961618339238155e+199,
  pinging = 540703092,
  sendbuffer = 0x3336357b <Address 0x3336357b out of bounds>,
  readbuffer = 0x30386366 <Address 0x30386366 out of bounds>,
  quit = 1647324473,
  sentbytes = 875390518,
  oldtime = 761553457,
  nick = 0x39376639 <Address 0x39376639 out of bounds>,
  user = 0x3232342d <Address 0x3232342d out of bounds>,
  host = 0x64393036 <Address 0x64393036 out of bounds>,
  realname = 0x66326166 <Address 0x66326166 out of bounds>,
  password = 0xa7d33 <Address 0xa7d33 out of bounds>,
  umode = "A\000\000\000unkn",
  myhost = 0x206e776f <Address 0x206e776f out of bounds>,
  mynick = 0x61706163 <Address 0x61706163 out of bounds>,
  channel = 0x696c6962 <Address 0x696c6962 out of bounds>,
  c_id = 540703092,
  is_private = 123 '{',
  last_target = 0x36633339 <Address 0x36633339 out of bounds>,
  queries = 0x37642d63,
  accounts = 0x342d6466,
  users = 0x2d356365,
  userhash = 0x31356439,
  watches = 0x3436612d,
  nicks = 0x33653437,
  help = 0x61356634,
  set = 0xa7d30,
  io_channel = 0x49,
  r_watch_source_id = 1076115672,
  w_watch_source_id = 1076115672,
  ping_source_id = 1074452736
}
(gdb)

