Bugs: ATTEMPTING TO FREE NULL PTR: tcl.c (356)

Robby robby at chat.be
Sat Dec 10 04:08:17 CST 2011


1) INFORMATION ABOUT YOUR EGGDROP
1.1) Eggdrop version:
1.6.21

1.2) Make type:
dynamic

1.3) List of any options passed to ./configure:
--with-handlen=9

1.4) List of patches and/or modules you use:
blowfish
dns
channels
server
ctcp
irc
notes
console
wire
gseen (a little bit modified to fix some bugs, no major changes that
        should cause this, I can always provide this version if needed)
=====================================================================
2) INFORMATION ABOUT TCL
2.1) Tcl library version:
8.5

2.2) Tcl library patchlevel: 3

2.3) Tcl scripts used:
alltools
action.fix
nickserv (self made)
ctcp (self made)
swhois
chatmon (self made)
=====================================================================
3) INFORMATION ABOUT THE OS

3.1) OS type:
Fedora

3.2) OS Version/Release: 10
=====================================================================
4) BUG DETAILS
4.1) The logged last context (example: Last context: userent.c/973 []):
*** ATTEMPTING TO FREE NULL PTR: tcl.c (356)
* Last context: tclhash.c/710 [Tcl proc: *bot:gseen_req, param:  $_bot1 
$_bot2 $_bot3]
* Please REPORT this BUG!
* Check doc/BUG-REPORT on how to do so.
* Wrote DEBUG
* SEGMENT VIOLATION -- CRASHING!

4.2) If the bot wrote to the file DEBUG, copy the text -contents- of
      that file here (NOTE: It should be about 20 lines of info, but it
      could be a few lines more):
Debug (eggdrop v1.6.21) written Sat Dec 10 01:56:35 2011
Full Patch List:
Tcl library: /usr/share/tcl8.5
Tcl version: 8.5.3 (header version 8.5.3)
Configure flags:  '--with-handlen=9'
Compile flags: gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H
Link flags: gcc
Strip flags: touch
Context: tclhash.c/721, []
          tclhash.c/721, []
          tclhash.c/706, []
          tclhash.c/710, [Tcl proc: *raw:PRIVMSG, param:  $_raw1 $_raw2 
$_raw3]
          tclhash.c/721, []
          tclhash.c/706, []
          tclhash.c/710, [Tcl proc: *raw:irc:msg, param:  $_raw1 $_raw2 
$_raw3]
          tclhash.c/706, []
          tclhash.c/710, [Tcl proc: chatbe:pubm:spam, param:  $_pubm1 
$_pubm2 $_pubm3 $_pubm4 $_pubm5]
          tclhash.c/721, []
          tclhash.c/721, []
          tclhash.c/706, []
          tclhash.c/710, [Tcl proc: *raw:PRIVMSG, param:  $_raw1 $_raw2 
$_raw3]
          tclhash.c/721, []
          tclhash.c/706, []
          tclhash.c/710 [Tcl proc: *bot:gseen_req, param:  $_bot1 $_bot2 
$_bot3]

SOCK ADDR     PORT  NICK      HOST              TYPE
---- -------- ----- --------- ----------------- ----
3    51A494DC 17073 (telnet)  *                 lstn  17073
4    00000000     0 (dns)                       dns   (ready)
8    5BD185A1  6660 (server)  xxx.xxx.xxx.xxx   serv  (lag: 0)
6    7F000001 20000 System    127.0.0.1         bot   flags: pucosgwliA
14   51A4947B  1613 Robby     bby at xxxxxxxxx.net chat  flags: cPtEp/0

Compiled without extensive memory debugging (sorry).
Open sockets: 3 (listen), 4 (passed on), 6, 8, 14, 15 (file), done.


4.3) Your comments and a description of the bug:
No idea what happened.

4.4) Can you cause the bug condition to repeat? If so, please outline
      step by step what causes the error:
No.

4.5) Do you have ideas on what is wrong that causes this error?
      Please list them:
 From what it looks to me it was triggered by another bot on the botnet
doing a seen request. But I'm not sure if the gseen module is really at 
fault here.

4.6) Do you have ideas on how to correct it?  Please list them:
No.

4.7) Other comments?
This bot is running for quite some time, this is the first time ever 
this happened.

4.8) If the bot dumped a 'core' file when it crashed, it would be *very*
      useful if you could paste gdb's output.
No core file, sorry.




More information about the Bugs mailing list