View Issue Details

IDProjectCategoryView StatusLast Update
0001222unrealircdpublic2003-09-01 19:41
ReporterRocko Assigned To 
PrioritynormalSeveritycrashReproducibilityunable to reproduce
Status closedResolutionopen 
OSDebian WoodyOS Version2.4.22 
Product Version3.2-beta17 
Summary0001222: Crash when unloading modules
DescriptionWell, I used the modul m_adwords.so, and the IRCd did crash, when unloading that modul.
I know, that you don't support custom modules, but I'm not sure, if it is a bug in Unreal, because the IRCd crashed when I unload the module.
Additional InformationProgram terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from src/modules/commands.so...done.
Loaded symbols for src/modules/commands.so
Reading symbols from src/modules/defizzer.so...done.
Loaded symbols for src/modules/defizzer.so
Reading symbols from src/modules/m_adwords.so...done.
Loaded symbols for src/modules/m_adwords.so
#0 HookDel (hook=0x8398060) at modules.c:937
937 for (p = Hooks[hook->type]; p; p = p->next) {
(gdb) bt
#0 HookDel (hook=0x8398060) at modules.c:937
#1 0x40197828 in Mod_Unload (module_unload=0) at m_adwords.c:219
#2 0x0807d48e in Unload_all_loaded_modules () at modules.c:322
#3 0x08087465 in init_conf (rootconf=0x8116041 "unrealircd.conf", rehash=1) at
#4 0x080917e0 in rehash (cptr=0x82a9998, sptr=0x82a9998, sig=0) at s_conf.c:650
#5 0x08099921 in m_rehash (cptr=0x82a9998, sptr=0x82a9998, parc=1, parv=0x81bbf
#6 0x0807f88b in parse (cptr=0x82a9998, buffer=0x82a9a7c "REHASH", bufend=0x82a
#7 0x0807e478 in dopacket (cptr=0x82a9998, buffer=0x81bc8c0 "REHASH\n", length=
0000008 0x08084cf9 in read_packet (cptr=0x82a9998, rfd=0xbffffa6c) at s_bsd.c:1472
#9 0x080854d3 in read_message (delay=1, listp=0x81d02e0) at s_bsd.c:1927
#10 0x0807bcb8 in main (argc=1, argv=0xbffffbc4) at ircd.c:1368
TagsNo tags attached.
3rd party modules

Activities

syzop

2003-08-31 15:51

administrator   ~0003547

(in gdb)
p *Hooks
p *p

Rocko

2003-08-31 16:23

reporter   ~0003552

(gdb) p *Hooks
$1 = (Hook *) 0x0
(gdb) p *p
Cannot access memory at address 0x3f4d0e8c
(gdb)

codemastr

2003-09-01 19:41

reporter   ~0003563

That crash was caused by an unofficial, unsupported module. Try contacting its author, not us.

Issue History

Date Modified Username Field Change
2003-08-31 09:42 Rocko New Issue
2003-08-31 16:23 Rocko Note Added: 0003552
2003-09-01 19:41 codemastr Status new => closed
2003-09-01 19:41 codemastr Note Added: 0003563