View Issue Details

IDProjectCategoryView StatusLast Update
0001385unrealircdpublic2003-11-25 21:58
Reportergauntlet Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionopen 
Product Version3.2-beta19 
Summary0001385: Total Random Crashes
DescriptionThe IRCD crashes without any apparent reason, i have tried to check the log file, and i have tried to use the gdb to get more information, i am not sure if this is the right information though: Core was generated by `ircd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libcrypt.so.2...done.
Reading symbols from /usr/lib/libz.so.2...done.
Reading symbols from /usr/lib/libc.so.4...done.
3rd party modules

Activities

codemastr

2003-11-25 19:47

reporter   ~0004113

Once gdb loads, you must type bt

gauntlet

2003-11-25 21:01

reporter   ~0004114

Here is more information after typing bt:
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/home/lyote/Unreal3.2/src/modules/m_svsnoop.so...done.
Reading symbols from /usr/home/lyote/Unreal3.2/src/modules/m_svso.so...done.
Reading symbols from /usr/home/lyote/Unreal3.2/src/modules/m_svsnline.so...
done.
Reading symbols from /usr/home/lyote/Unreal3.2/src/modules/m_tsctl.so...done.
Reading symbols from /usr/home/lyote/Unreal3.2/src/modules/commands.so...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0 0x28132d81 in r_debug_state () from /usr/libexec/ld-elf.so.1
(gdb) bt
#0 0x28132d81 in r_debug_state () from /usr/libexec/ld-elf.so.1
#1 0x807a486 in Module_Create (path_=0x82f4180 "src/modules/m_antidccbug.so")
    at modules.c:136
#2 0x808e062 in _conf_loadmodule (conf=0x82e7820, ce=0x8210b40)
    at s_conf.c:6186
#3 0x8085119 in load_conf (filename=0x810c9b3 "unrealircd.conf")
    at s_conf.c:1498
#4 0x8084e1c in init_conf (rootconf=0x810c9b3 "unrealircd.conf", rehash=1)
    at s_conf.c:1372
#5 0x808f83c in rehash (cptr=0x828d000, sptr=0x828d000, sig=0)
    at s_conf.c:6948
#6 0x8097e61 in m_rehash (cptr=0x828d000, sptr=0x828d000, parc=1,
    parv=0x81a7c80) at s_serv.c:3002
#7 0x807d3f7 in parse (cptr=0x828d000, buffer=0x828d0e4 "REHASH",
    bufend=0x828d0ea "") at parse.c:453
0000008 0x807bd54 in dopacket (cptr=0x828d000, buffer=0x81a8620 "REHASH\n",
    length=7) at packet.c:138
#9 0x8082502 in read_packet (cptr=0x828d000, rfd=0xbfbffa50) at s_bsd.c:1472
#10 0x8082d56 in read_message (delay=2, listp=0x81da740) at s_bsd.c:1927
#11 0x807911b in main (argc=1, argv=0xbfbffb88) at ircd.c:1390
(gdb) run
Starting program: /usr/home/lyote/Unreal3.2/src/ircd

syzop

2003-11-25 21:02

administrator   ~0004115

I think you forgot to recompile your (3rd party) modules after the upgrade :).

gauntlet

2003-11-25 21:11

reporter   ~0004116

i did compile them, should i remove the modules directory totally and recompile ?

syzop

2003-11-25 21:16

administrator   ~0004117

ls -al src/modules/m_antidccbug.so src/modules/commands.so [etc]
and check the dates :p

But yeah, you could also just remove them and recompile...

gauntlet

2003-11-25 21:19

reporter   ~0004118

here is the information i get from my other box which did not have the modules on it to start with, this box is Redhat 9:
#0 0x08090fe5 in SnomaskDel (sno=0x0) at umodes.c:339
#1 0x40093b54 in Mod_Unload (module_unload=0) at remotenick.c:124
#2 0x08067ed8 in Unload_all_loaded_modules () at modules.c:321
#3 0x080725bd in init_conf (rootconf=0x8098e33 "unrealircd.conf", rehash=1)
    at s_conf.c:1403
#4 0x0807cd94 in rehash (cptr=0x8147e00, sptr=0x8147e00, sig=1)
    at s_conf.c:6948
#5 0x080666de in main (argc=1069798242, argv=0x81485e0) at ircd.c:1413
#6 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6

syzop

2003-11-25 21:24

administrator   ~0004119

Could you try a clean UnrealIRCd dir ("make clean; make" is enough) WITHOUT any 3rd party modules and WITHOUT any source code modifications?

gauntlet

2003-11-25 21:25

reporter   ~0004120

yes i can im currently working on that right now

syzop

2003-11-25 21:26

administrator   ~0004121

Or actually, just do a real new directory, as mentioned in the upgrade instructions in the manual.

gauntlet

2003-11-25 21:39

reporter   ~0004122

there is a problem in a module somewhere i am in the process of zeroing it out so other users dont try to use it with this version

gauntlet

2003-11-25 21:44

reporter   ~0004123

third party module jointhrottle.so is buggy

syzop

2003-11-25 21:58

administrator   ~0004124

Ok, I suggest you notify the coder of that module then.

Issue History

Date Modified Username Field Change
2003-11-25 18:11 gauntlet New Issue
2003-11-25 19:47 codemastr Note Added: 0004113
2003-11-25 21:01 gauntlet Note Added: 0004114
2003-11-25 21:02 syzop Note Added: 0004115
2003-11-25 21:11 gauntlet Note Added: 0004116
2003-11-25 21:16 syzop Note Added: 0004117
2003-11-25 21:19 gauntlet Note Added: 0004118
2003-11-25 21:24 syzop Note Added: 0004119
2003-11-25 21:25 gauntlet Note Added: 0004120
2003-11-25 21:26 syzop Note Added: 0004121
2003-11-25 21:39 gauntlet Note Added: 0004122
2003-11-25 21:44 gauntlet Note Added: 0004123
2003-11-25 21:58 syzop Status new => closed
2003-11-25 21:58 syzop Note Added: 0004124