View Issue Details

IDProjectCategoryView StatusLast Update
0001651unrealircdpublic2004-03-15 10:17
Reporterbrettroyles2004 Assigned To 
PrioritynormalSeveritycrashReproducibilityrandom
Status closedResolutionopen 
Product Version3.2-RC2 
Summary0001651: a server randomly killing a user then dieing
Descriptiona server will randomly kill a user :
example
*** Notice -- Received KILL message for [email protected] from hub.StandbyMe-chat.com Path: hub!hub.StandbyMe-chat.com (domt(?) <- xion.standbyme-chat.com[82.38.177.252])

then the ircd will just die , just has if some one did "kill -9 ircd.pid"
Steps To Reproduceit happens at random
Additional Informationcore file attached
3rd party modules

Activities

brettroyles2004

2004-03-14 14:33

reporter   ~0005482

output from gdb
(gdb) bt
#0 find_server_b64_or_real (
    name=0x426c3137006a3390 <Address 0x426c3137006a3390 out of bounds>)
    at aln.c:184
#1 0x0000000000441e67 in m_nick (cptr=0x6a3810, sptr=0x6a3810, parc=11,
    parv=0x60a420) at s_user.c:1312
#2 0x0000000000421d67 in parse (cptr=0x6a3810, buffer=0x6a393c "&",
    bufend=0x681150 "") at parse.c:440
#3 0x0000000000420dc6 in dopacket (cptr=0x6a3810,
    buffer=0x1 <Address 0x1 out of bounds>, length=1) at packet.c:138
#4 0x000000000042790d in read_packet (cptr=0x6a3810, rfd=0xbffff3e0)
    at s_bsd.c:1447
#5 0x00000000004280e1 in read_message (delay=1, listp=0x63cc60)
    at s_bsd.c:1937
#6 0x000000000041d7f9 in main (argc=2, argv=0xbffff568) at ircd.c:1431
(gdb)

codemastr

2004-03-14 14:38

reporter   ~0005483

Crash seems the same as 0001598 (this is an Athlon64). He's updating to current CVS, so this should help us determine if the changes worked...

brettroyles2004

2004-03-14 16:41

reporter   ~0005487

It crashed again , and I was using cvs version , here is gdb output
(gdb) bt
#0 find_server_quick_search (name=0x63b22d "xion.standbyme-chat.com")
    at aln.c:146
#1 0x000000000040edb1 in find_server_quickx (
    name=0x63b22d "xion.standbyme-chat.com", cptr=0x0) at aln.c:167
#2 0x0000000000445118 in sendto_serv_butone_token_opt (one=0x72e300,
    opt=1280, prefix=0x63b22d "xion.standbyme-chat.com",
    command=0x455d42 "SJOIN", token=0x459d07 "~",
    pattern=0x455d35 "%B %s :%s%s ") at send.c:784
#3 0x00000000004160e0 in join_channel (chptr=0x71ee20, cptr=0x72e300,
    sptr=0x72e300, flags=4) at channel.c:3639
#4 0x0000000000416889 in do_join (cptr=0x72e300, sptr=0x72e300,
    parc=774778414, parv=0x60a360) at channel.c:3931
#5 0x0000000000415f91 in m_join (cptr=0x72e300, sptr=0x72e300, parc=2,
    parv=0x60a360) at channel.c:3594
#6 0x0000000000421d67 in parse (cptr=0x72e300, buffer=0x72e42c "JOIN",
    bufend=0x6811d0 "") at parse.c:440
#7 0x0000000000420dc6 in dopacket (cptr=0x72e300, buffer=0x0, length=0)
    at packet.c:138
0000008 0x000000000042785e in read_packet (cptr=0x72e300, rfd=0x12) at s_bsd.c:1476
#9 0x00000000004280e1 in read_message (delay=1, listp=0x63cba0)
    at s_bsd.c:1937
#10 0x000000000041d7f9 in main (argc=2, argv=0xbffff568) at ircd.c:1431
(gdb)

codemastr

2004-03-14 16:42

reporter   ~0005488

That doesn't seem right, can you /info and give me the ReleaseID line?

brettroyles2004

2004-03-14 16:44

reporter   ~0005489

ReleaseID (1.1.1.1.2.1.2.36 2004/03/07 22:25:59)

syzop

2004-03-15 10:07

administrator   ~0005495

Dunnow if codemastr got back to you, but that's not the latest cvs you want, perhaps you checked out 'beta' and not 'devel' (which is only mentioned in the faq).
See http://www.vulnscan.org/UnrealIrcd/faq/#25 or just grab http://www.vulnscan.org/UnrealIrcd/cvs/Unr3.2-20040314.tar.gz :)

codemastr

2004-03-15 10:08

reporter   ~0005496

Yeah, I did, he has the latest running now.

syzop

2004-03-15 10:17

administrator   ~0005497

[*merge*]
Ok, good :).
If you still have any problems, please post a bugnote to 0001598 ('Opteron crashes when linked').
Thanks.

Issue History

Date Modified Username Field Change
2004-03-14 14:15 brettroyles2004 New Issue
2004-03-14 14:33 brettroyles2004 Note Added: 0005482
2004-03-14 14:38 codemastr Note Added: 0005483
2004-03-14 16:09 syzop Platform i386 => amd64 (opteron)
2004-03-14 16:10 syzop Platform amd64 (opteron) => amd64
2004-03-14 16:41 brettroyles2004 Note Added: 0005487
2004-03-14 16:42 codemastr Note Added: 0005488
2004-03-14 16:44 brettroyles2004 Note Added: 0005489
2004-03-15 10:07 syzop Note Added: 0005495
2004-03-15 10:08 codemastr Note Added: 0005496
2004-03-15 10:17 syzop Status new => closed
2004-03-15 10:17 syzop Note Added: 0005497