View Issue Details

IDProjectCategoryView StatusLast Update
0002773unrealircdpublic2006-01-26 10:23
ReporterTrocotronic Assigned Tosyzop  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSubuntuOS Version2.6.15-14
Product Version3.2.4 
Fixed in Version3.2.4 
Summary0002773: Crash bug with localhost connections
DescriptionTalking with a friend, he has experimented this core when he is trying to connect to his localhost wircd, /server 127.0.0.1

=================== START HERE ======================
BACKTRACE:
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
Core was generated by `/home/mad/Unreal/src/ircd'.
Program terminated with signal 11, Segmentation fault.

warning: Can't read pathname for load map: Input/output error.
#0 unreal_free_hostent (he=0x0) at res.c:536
536 MyFree(he->h_name);
#0 unreal_free_hostent (he=0x0) at res.c:536
#1 0x08054bd4 in check_client (cptr=0x8161d40, username=0x0) at s_bsd.c:737
#2 0xb7deab9c in _register_user (cptr=0x8161d40, sptr=0x8161d40,
    nick=0x8161d69 "MaD", username=0x81620fc "oscur", umode=0x0, virthost=0x0,
    ip=0x0) at m_nick.c:845
#3 0xb7dc543e in m_nospoof (cptr=0x8161d40, sptr=0x8161d40, parc=2,
    parv=0x811be20) at m_pingpong.c:187
#4 0xb7dc55e2 in m_pong (cptr=0x8161d40, sptr=0x8161d40, parc=0,
    parv=0x811be20) at m_pingpong.c:211
#5 0x08066d74 in parse (cptr=0x8161d40, buffer=0x8161e24 "PONG",
    bufend=0x8161e32 "") at parse.c:440
#6 0x08065cfd in dopacket (cptr=0x8161d40,
    buffer=0x80ae100 "PONG :B5382E6B\r", length=0) at packet.c:138
#7 0x0805676f in read_message (delay=1, listp=0x8132780) at s_bsd.c:1503
0000008 0x080623bd in main (argc=<value optimized out>, argv=0xbffa25f4)
    at ircd.c:1564

#0 unreal_free_hostent (he=0x0) at res.c:536
536 MyFree(he->h_name);
---Type <return> to continue, or q <return> to quit---

0x8134580 <backupbuf>: "PONG :B5382E6B"

#0 unreal_free_hostent (he=0x0) at res.c:536
No locals.
#1 0x08054bd4 in check_client (cptr=0x8161d40, username=0x0) at s_bsd.c:737
        sockname = "127.0.0.1", '\0' <repeats 54 times>
        hp = <value optimized out>
        i = <value optimized out>
#2 0xb7deab9c in _register_user (cptr=0x8161d40, sptr=0x8161d40,
    nick=0x8161d69 "MaD", username=0x81620fc "oscur", umode=0x0, virthost=0x0,
    ip=0x0) at m_nick.c:845
        bconf = <value optimized out>
        parv = {0x8161d69 "MaD", 0x0, 0x0}
        tmpstr = <value optimized out>
        stripuser = "{\uffff\uffff*\036\026\b\000\000\000"
        u1 = <value optimized out>
        olduser = "\026\b@\035\026\b\030\"\uffff\uffff\237"
        userbad = "\uffff", '\0' <repeats 19 times>
        ubad = <value optimized out>
        xx = <value optimized out>
        user = (anUser *) 0x81620e0
        nsptr = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        i = <value optimized out>
        mo = '\0' <repeats 11 times>, "\a\000\000\000\001\000\000\000\005\000\000\0004\uffff\uffff\uffff\000\000\000\000\uffffY\uffff\uffff\uffffY\uffff\uffff\uffff \uffff\uffff\uffff \uffff\uffff1\uffff\u6dfc \uffff\uffffB5382E6B\000\000\000\000\uffff\uffff\uffff\uffff\uffffY\uffff\uffff&q\022\b\uffff\"\uffff\uffff\001\000\000\000\uffff#\uffff\uffff\022\203\uffff\uffffm\203\t\b\uffff\"\uffff\uffff&q\022\b\000\000\000\000\001\200\uffff\uffff&q\022\bP\000\000\000&q\022\b\uffff\uffff\uffffC\002\000\000\000P\000\000\000P\000\000\000\uffff\uffff\uffff\uffff", '\0' <repeats 20 times>, "\uffff\202\uffff0\000\000\000\000*Z\uffffV\000\000\000\uffff\000\000\000\000r\237\uffff\uffff[5\217\226\uffff\006\r(\uffff>\002\220\uffff\uffff\uffff\uffff\022\uffff7%"...
        tkllayer = {0x812d7e9 "irc.redmundial.org", 0xb7df6ea9 "+",
  0xb7df8e83 "z", 0xb7df77d9 "*", 0x0, 0x0, 0x0, 0x0, 0x0}
        savetkl = (aTKline *) 0x0
        tlds = <value optimized out>
GCC: gcc versión 4.0.3 20060115 (prerelease) (Ubuntu 4.0.2-7ubuntu1)
UNAME: Linux madito 2.6.15-14-686 #1 SMP PREEMPT Wed Jan 25 16:05:50 UTC 2006 i686 GNU/Linux
UNREAL: Unreal3.2.4-rc1 build 1.1.1.1.2.1.2.1.2.2234.2.439 2006/01/26 14:02:20
CORE: -rw------- 1 mad mad 1302528 2006-01-26 15:54 core
=================== STOP HERE ======================
TagsNo tags attached.
3rd party modules

Activities

syzop

2006-01-26 10:23

administrator   ~0011063

Thanks, fixed in .441 / will be in rc2.

Issue History

Date Modified Username Field Change
2006-01-26 10:02 Trocotronic New Issue
2006-01-26 10:23 syzop Status new => resolved
2006-01-26 10:23 syzop Fixed in Version => 3.2.4
2006-01-26 10:23 syzop Resolution open => fixed
2006-01-26 10:23 syzop Assigned To => syzop
2006-01-26 10:23 syzop Note Added: 0011063