bash-3.1$ gdb hybserv hybserv.core GNU gdb 6.3 Copyright 2004 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 "i386-unknown-openbsd3.9"... Core was generated by `hybserv'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libc.so.39.0...done. Loaded symbols for /usr/lib/libc.so.39.0 Reading symbols from /usr/libexec/ld.so...done. Loaded symbols for /usr/libexec/ld.so #0 vsprintf_irc (str=0xcfbc5ba8 "#adrenalin", format=0x3c00a352 "", args=0xcfbc5fd4 "D?О\177kё") at sprintf_irc.c:281 281 if ((*str = *p1)) (gdb) bt #0 vsprintf_irc (str=0xcfbc5ba8 "#adrenalin", format=0x3c00a352 "", args=0xcfbc5fd4 "D?О\177kё") at sprintf_irc.c:281 #1 0x1c01dec1 in notice (from=0x7f9c3160 "NickServ", nick=0x7fef3f44 "KILL") at misc.c:253 #2 0x1c0244c1 in n_info (lptr=0x84e4ca40, ac=2, av=0x80066d00) at nickserv.c:4559 #3 0x1c01ecda in ns_process (nick=0x3c0526c1 "KILL", command=0x3c015924 "\234\003") at nickserv.c:320 #4 0x1c0306fb in s_privmsg (ac=4, av=0x3c0260a0) at server.c:1459 #5 0x1c02f62d in ProcessInfo (arc=4, arv=0x3c0260a0) at server.c:150 #6 0x1c034772 in ReadHub () at sock.c:865 #7 0x1c0344de in ReadSocketInfo () at sock.c:655 #8 0x1c01a66c in main (argc=658643416, argv=0xcfbc669c) at hybserv.c:286 #0 vsprintf_irc (str=0xcfbc5ba8 "#adrenalin", format=0x3c00a352 "", args=0xcfbc5fd4 "D?О\177kё") at sprintf_irc.c:281 p1 = 0xe0ea20ec
c = -48 'п' bytes = 24 #1 0x1c01dec1 in notice (from=0x7f9c3160 "NickServ", nick=0x7fef3f44 "KILL") at misc.c:253 format = 0xcfbc5fd0 "Л ЙЮD?О\177kё" finalstr = ' ' , "2) #adrenalin\000:\000Kill Protection, NoExpire, AutoMask, Secure, AllowMemos, MemoNotify", '\0' , "\001\000\000\0008]╪оhBG\a$╔x\203C╔x\203N╔x\203\000\000\000\000\n\000\000\000\000\000\000\000h\\22$<@'", '\0' , "╒п0\"", '\0' , "╒п0\"є2?'ЪЪЪЪ$<@'a_╪о\030_╪о╗^╪оO"... nptr = (struct NickInfo *) 0xcfbc5fd0 #2 0x1c0244c1 in n_info (lptr=0x84e4ca40, ac=2, av=0x80066d00) at nickserv.c:4559 tmpchan = (struct aChannelPtr *) 0x84e4ca40 nptr = (struct NickInfo *) 0x80066d00 realptr = (struct NickInfo *) 0x2 tmpnick = (struct NickInfo *) 0x80066d00 online = 1 isadmin = 0 isowner = 1 #3 0x1c01ecda in ns_process (nick=0x3c0526c1 "KILL", command=0x3c015924 "\234\003") at nickserv.c:320 acnt = 2 arv = (char **) 0x817a0780 cptr = (struct Command *) 0x3c015924 lptr = (struct Luser *) 0x7fef3f34 nptr = (struct NickInfo *) 0xcfbc5fd0 #4 0x1c0306fb in s_privmsg (ac=4, av=0x3c0260a0) at server.c:1459 who = 0x3c0526c1 "KILL" command = 0x3c0526d8 "info" issecured = 0 lptr = (struct Luser *) 0x7fef3f34 serviceptr = (struct Luser *) 0x8a5b5104 proceedpub = 0 proceedsvs = (struct Luser *) 0x0 #5 0x1c02f62d in ProcessInfo (arc=4, arv=0x3c0260a0) at server.c:150 stptr = (struct ServCommand *) 0x3c0160c8 index = 1 #6 0x1c034772 in ReadHub () at sock.c:865 length = -521527060 ch = 0x3c04e6e1 "\r\n" linech = 0x3c00a352 "" #7 0x1c0344de in ReadSocketInfo () at sock.c:655 currload = -nan(0x400000) htm_count = 2083283264 SelectResult = -809738288 TimeOut = {tv_sec = 0, tv_usec = 200} dccptr = (struct DccUser *) 0x7c2c6140 tempport = (struct PortInfo *) 0x7c2c6140 readfds = {fds_bits = {4, 0 }} writefds = {fds_bits = {0 }} last_ts = 1166214130 #8 0x1c01a66c in main (argc=658643416, argv=0xcfbc669c) at hybserv.c:286 mypid = -809738288 line = "ц\004\000\000N\005\000\000Z\004\000\000\000\000\000\000у\001\000\000_\006\000_в\003\000\000\000\000\000\000B\001\000\000йХ?\a\"\004\000\000р\004\000\000\203\005\000\000;\f\000\034^╛\003_\000\000\000\000\204][\nTU[\nSР?\a\"║Х\204Li╪оЩ\177[\n\234ёХs\026Y\004\000\000\000\000\000\204][\nTU[\nЄєХ\2044║Х\204pi╪оЩ\177[\n\234ёХ\204IР?\aLС\t\v0\00---Type to continue, or q to quit--- 0\000m╟i╪о\\i╪о`i╪оДч?\a\022\035\b\000\000\000\000\000\001\000\000\000T╒Х\204D!\003\000\000\000\000\000\204][\nTU[\nЄєХ\2044║Х\204юi╪о"... pid = -809738288 rlim = {rlim_cur = 9223372036854775807, rlim_max = 9223372036854775807} pidfile = (FILE *) 0x274219d8 uid = 3485230748 euid = 3485229008