Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Help diagnosing PANIC! buffer  (Read 2545 times)

0 Members and 1 Guest are viewing this topic.

Legend

  • Anope User
  • Offline Offline
  • Posts: 1
Help diagnosing PANIC! buffer
« on: April 25, 2008, 12:07:18 AM »

Hello,

My services crashed this morning after a user typed /chanserv access #channel del 10. The user was attempting to remove entry 10 from the access list.

Here's some activity from the services logs. Notice how services logs display the PANIC! buffer error by itself; the next event (me starting services) occurred a few hours later:

[Apr 24 01:13:39 2008] PANIC! buffer = :J0E PRIVMSG chanserv@services.purplesurge.com :access #PRS-Staff del 10
[Apr 24 04:57:39 2008] Loading IRCD Protocol Module: [unreal32]
[Apr 24 04:57:39 2008] status:
  • [Module, Okay - No Error]
[Apr 24 04:57:39 2008] Loading Encryption Module: [enc_none]
[Apr 24 04:57:39 2008] status:
  • [Module, Okay - No Error]
[Apr 24 04:57:39 2008] Anope 1.7.21 (1341) (ircd protocol: UnrealIRCd 3.2+) starting up
[Apr 24 04:57:40 2008] ms_rsend requested unload...
[Apr 24 04:57:40 2008] debug: trying to load core module [ms_rsend]
[Apr 24 04:57:40 2008] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Apr 24 04:57:40 2008] debug: trying to load core module [os_killclones]
[Apr 24 04:57:40 2008] debug: status: [4][Module Error, File does not exist]
[Apr 24 04:57:40 2008] Databases loaded
[Apr 24 04:57:40 2008] Info: Reflecting database records.
[Apr 24 04:57:40 2008] Connected to Server 1 (**.**.**.**:8088)
[Apr 24 04:57:40 2008] trying to load [cs_appendtopic]
[Apr 24 04:57:40 2008] [cs_appendtopic] Loaded successfully
[Apr 24 04:57:40 2008] status:
  • [Module, Okay - No Error]
[Apr 24 04:57:40 2008] trying to load [cs_enforce]
[Apr 24 04:57:40 2008] status:
  • [Module, Okay - No Error]
[Apr 24 04:57:40 2008] trying to load [cs_enforce]
[Apr 24 04:57:40 2008] status:
  • [Module, Okay - No Error]
[Apr 24 04:57:40 2008] trying to load [ns_maxemail]
[Apr 24 04:57:40 2008] status:
  • [Module, Okay - No Error]
[Apr 24 04:57:40 2008] trying to load [ns_noop]
[Apr 24 04:57:40 2008] status: [4][Module Error, File does not exist]
[Apr 24 04:57:40 2008] trying to load [os_info]
[Apr 24 04:57:40 2008] os_info: Loading configuration directives...
[Apr 24 04:57:40 2008] os_info: OSInfoDBName is not defined in Services configuration file, using default os_info.db
[Apr 24 04:57:40 2008] os_info: Directive OSInfoDBName loaded (os_info.db)...
[Apr 24 04:57:40 2008] status:
  • [Module, Okay - No Error]
[Apr 24 04:57:40 2008] trying to load [os_notinchanlist]
[Apr 24 04:57:40 2008] [^Bos_notinchanlist^B] Loading module... [Status: 0]
[Apr 24 04:57:40 2008] [^Bos_notinchanlist^B] Command added. For more info: /OperServ HELP NOTINCHANLIST
[Apr 24 04:57:40 2008] status:
  • [Module, Okay - No Error]
[Apr 24 04:57:40 2008] trying to load [os_client]
[Apr 24 04:57:40 2008] status: [4][Module Error, File does not exist]
[Apr 24 04:57:41 2008] Server ******.purplesurge.com is done syncing
[Apr 24 04:57:41 2008] Server ******.purplesurge.com is done syncing
[Apr 24 04:57:41 2008] Server ******.purplesurge.com is done syncing
[Apr 24 04:57:41 2008] Server ******.purplesurge.com is done syncing
[Apr 24 04:57:41 2008] Server ******.purplesurge.com is done syncing
[Apr 24 04:57:41 2008] Server ******.purplesurge.com is done syncing
[Apr 24 04:57:41 2008] Server ******.purplesurge.com is done syncing

Other information that may be helpful:

- Unreal3.2.7
- Anope-1.7.21
- Running on FreeBSD 4.11-STABLE
- RAW is disabled in services.conf

Here are the loaded modules:

-OperServ- Current Module list:
-
-OperServ- Module: cs_appendtopic [$Id: cs_appendtopic.c 1332 2008-01-04 10:43:21Z geniusdex $] [Supported]
-
-OperServ- Module: cs_enforce [$Id: cs_enforce.c 1335 2008-01-06 13:38:15Z geniusdex $] [Supported]
-
-OperServ- Module: enc_none [$Id$] [Encryption]
-
-OperServ- Module: ns_maxemail [$Id: ns_maxemail.c 1332 2008-01-04 10:43:21Z geniusdex $] [Supported]
-
-OperServ- Module: os_info [$Id: os_info.c 1332 2008-01-04 10:43:21Z geniusdex $] [Supported]
-
-OperServ- Module: os_notinchanlist [2.3] [3rd]
-
-OperServ- Module: unreal32 [$Id: unreal32.c 1291 2007-08-30 20:59:14Z drstein $] [Protocol]
-
-OperServ- 7 Modules loaded.

Any ideas what caused this PANIC! buffer? This is certainly not an everyday occurrence, but I would like to prevent it from happening again if possible.

[Edited on 24-4-2008 by Legend]
Logged

katsklaw

  • Guest
(No subject)
« Reply #1 on: April 25, 2008, 12:23:23 AM »

actually none of the log is helpful as we can't see what anope logged other than the panic. It's more helpful to have the results of a backtrace. For now set debug to 'on' with /os set debug on and see if you can reproduce the panic.

If you can then search the logs for more details. IF anope dumps a core, run gdb services services.core from the ~/services directory and at the gdb prompt type: bt full and paste the output.

[Edited on 24-4-2008 by katsklaw]
Logged
Pages: [1]   Go Up