Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: PANIC! Getting segfault with cs_nounregistered  (Read 4839 times)

0 Members and 1 Guest are viewing this topic.

Fussi

  • Guest
PANIC! Getting segfault with cs_nounregistered
« on: March 24, 2006, 06:43:23 PM »

I searched about 1 hour for the REASON why anope keeps crashing all the time.

Now the logfile tells me:
Code: [Select]
[Mar 24 19:19:18 2006] OperServ: Fussi: modload cs_nounregistered
[Mar 24 19:19:18 2006] Trying to load module [cs_nounregistered]
[Mar 24 19:19:18 2006] [cs_nounregistered.so] Loading...
[Mar 24 19:19:18 2006] [cs_nounregistered.so] Loaded successfully
[Mar 24 19:19:18 2006] [cs_nounregistered.so] For more info see /msg ChanServ HELP NOUNREG
[Mar 24 19:19:18 2006] Module loading status: 0
[Mar 24 19:19:44 2006] PANIC! buffer = :irc.XXX.de SJOIN !1493X0 #fdm :@[FDC]Comm|DominicNikoli[FDM]
.
.
.
[Mar 24 19:19:44 2006] Backtrace: Segmentation fault detected
[Mar 24 19:19:44 2006] Backtrace: report the following lines
[Mar 24 19:19:44 2006] Backtrace: Anope version 1.7.13 (951) build #1, compiled Mar 23 2006 21:53:50  TQM
[Mar 24 19:19:44 2006] Backtrace(1): /home/irc/v3/services17/services(sighandler+0xfb) [0x806e4eb]
[Mar 24 19:19:44 2006] Backtrace(2): /lib/i686/libpthread.so.0 [0x4008e96c]
[Mar 24 19:19:44 2006] Backtrace(3): /lib/i686/libc.so.6 [0x400fdaa8]
[Mar 24 19:19:44 2006] Backtrace(4): /home/irc/v3/services17/services(destroyModule+0x2a) [0x807246a]
[Mar 24 19:19:44 2006] Backtrace(5): /home/irc/v3/services17/services(delModule+0x87) [0x8072647]
[Mar 24 19:19:44 2006] Backtrace(6): /home/irc/v3/services17/services(modules_unload_all+0x53) [0x8072303]
[Mar 24 19:19:44 2006] Backtrace(7): /home/irc/v3/services17/services(sighandler+0x1ab) [0x806e59b]
[Mar 24 19:19:44 2006] Backtrace(8): /lib/i686/libpthread.so.0 [0x4008e96c]
[Mar 24 19:19:44 2006] Backtrace(9): /lib/i686/libc.so.6 [0x400fdaa8]
[Mar 24 19:19:44 2006] Backtrace: complete
[Mar 24 19:19:44 2006] Services terminating: Segmentation fault


It SEEMS that this module is causing a segfault. Has anyone the same problem with this module? I really need a way to prevent users to join unregistered channels.
Weird is, it works sometimes, and sometimes it causes a segfault.. o_O

So.. any idea?

Version is above, running on UnrealIRCd 3.2.4.
Modules on Anope: The common package that can be downloaded. Just cs_nounregistered is added.

Please help ;(
Logged

Fussi

  • Guest
(No subject)
« Reply #1 on: March 26, 2006, 12:15:31 PM »

After 2 days of searching, i stopped working on this module.
It seems that there is a hidden bug in the latest Anope release (1.7.13).
I tried the older module cs_forbidunreg.c and its exact the same. I dont get PANIC! messages anymore, services just quit. No error message, no segfault message, no backtrace log, nothing. Anope just quits.

I think i'll have to wait until the next version goes public
Logged

syzop

  • Guest
(No subject)
« Reply #2 on: April 14, 2006, 09:45:15 PM »

I had the same problem (on 1.7.x), thing was crashing constantly...
found the bug in it and have put the version with my fix here
Logged
Pages: [1]   Go Up