All pastes #281794 Raw Edit

hybserv core

public text v1 · immutable
#281794 ·published 2006-12-17 01:40 UTC
rendered paste body
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 <Address 0xe0ea20ec out of bounds>
        c = -48 '&#1087;'
        bytes = 24
#1  0x1c01dec1 in notice (from=0x7f9c3160 "NickServ", nick=0x7fef3f44 "KILL") at misc.c:253
        format = 0xcfbc5fd0 "&#1051; &#1049;&#1070;D?&#1054;\177k&#1105;"
        finalstr = ' ' <repeats 21 times>, "2) #adrenalin\000:\000Kill Protection, NoExpire, AutoMask, Secure, AllowMemos, MemoNotify", '\0' <repeats 12 times>, "\001\000\000\0008]&#9578;&#1086;hBG\a$&#9556;x\203C&#9556;x\203N&#9556;x\203\000\000\000\000\n\000\000\000\000\000\000\000h\\22$<@'", '\0' <repeats 128 times>, "&#9554;&#1087;0\"", '\0' <repeats 12 times>, "&#9554;&#1087;0\"&#1108;2?'&#1066;&#1066;&#1066;&#1066;$<@'a_&#9578;&#1086;\030_&#9578;&#1086;&#9559;^&#9578;&#1086;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 <repeats 31 times>}}
        writefds = {fds_bits = {0 <repeats 32 times>}}
        last_ts = 1166214130
#8  0x1c01a66c in main (argc=658643416, argv=0xcfbc669c) at hybserv.c:286
        mypid = -809738288
        line = "&#1094;\004\000\000N\005\000\000Z\004\000\000\000\000\000\000&#1091;\001\000\000_\006\000_&#1074;\003\000\000\000\000\000\000B\001\000\000&#1081;&#1061;?\a\"\004\000\000&#1088;\004\000\000\203\005\000\000;\f\000\034^&#9563;\003_\000\000\000\000\204][\nTU[\nS&#1056;?\a\"&#9553;&#1061;\204Li&#9578;&#1086;&#1065;\177[\n\234&#1105;&#1061;s\026Y\004\000\000\000\000\000\204][\nTU[\n&#1028;&#1108;&#1061;\2044&#9553;&#1061;\204pi&#9578;&#1086;&#1065;\177[\n\234&#1105;&#1061;\204I&#1056;?\aL&#1057;\t\v0\00---Type <return> to continue, or q <return> to quit---
0\000m&#9567;i&#9578;&#1086;\\i&#9578;&#1086;`i&#9578;&#1086;&#1044;&#1095;?\a\022\035\b\000\000\000\000\000\001\000\000\000T&#9554;&#1061;\204D!\003\000\000\000\000\000\204][\nTU[\n&#1028;&#1108;&#1061;\2044&#9553;&#1061;\204&#1102;i&#9578;&#1086;"...
        pid = -809738288
        rlim = {rlim_cur = 9223372036854775807, rlim_max = 9223372036854775807}
        pidfile = (FILE *) 0x274219d8
        uid = 3485230748
        euid = 3485229008