Bugs: Eggheads Eggdrop 1.6 Bug Report Form

Brendan K Callahan brendan at 3whack.org
Wed Aug 17 23:37:19 CST 2005


=====================================================================
1) INFORMATION ABOUT YOUR EGGDROP

1.1) Eggdrop version:
      1.6.17

1.2) Make type: I have no clue, is there a way to find out? I simpl used  
make then make install
      ( ) dynamic
      ( ) static
      ( ) debug
      ( ) sdebug

1.3) List of any options passed to ./configure: none, used regular  
"./configure"

1.4) List of patches and/or modules you use:

=====================================================================
2) INFORMATION ABOUT TCL

2.1) Tcl library version:
      ( ) 7.0
      ( ) 7.1
      ( ) 7.2
      ( ) 7.3
      ( ) 7.4
      ( ) 7.5
      ( ) 7.6
      ( ) 8.0
      ( ) 8.1
      ( ) 8.2
      ( ) 8.3
      ( ) 8.4
      (X) 8.5
      ( ) Other - Which? ____

2.2) Tcl library patchlevel: a3
   eg; p1, p2, etc for Tcl versions up to 8.0p2
       or the 3rd part of the version number for 8.0.3 and newer

2.3) Tcl scripts used:
      [ ] alltools
      [ ] sentinel
      [ ] getops
      [X] others - Please mention all others:
PixelCat-2.0.tcl

=====================================================================
3) INFORMATION ABOUT THE OS

3.1) OS type:
      ( ) BeOS
      ( ) BSD/OS
      ( ) Cygwin
      ( ) Darwin/Mac OS X
      ( ) Dell SVR4
      ( ) FreeBSD
      ( ) HP-UX
      ( ) IRIX
      (X) Linux
      ( ) Lynx
      ( ) NetBSD
      ( ) NeXT
      ( ) OpenBSD
      ( ) OSF/Tru64
      ( ) QNX
      ( ) SINIX
      ( ) Solaris/SunOS
      ( ) Ultrix
      ( ) Other - Which? _____________

3.2) OS Version/Release: Mandriva SE 2005 (Mandrake 10.2)

=====================================================================
4) BUG DETAILS

4.1) The logged last context (example: Last context: userent.c/973 []):
[22:25] #PixelCat (+n) : [m/4 o/3 h/0 v/0 n/1 b/0 e/- I/-]
[22:25] thingamabobs a scredriver to Pix
[22:25] Length of passed argument 5
[22:25] botname detected @ position 4
[22:25] 0
[22:25] action == nomatch
[22:25] * Last context: tclhash.c/684 [Tcl proc: act:trigger, param:   
$_ctcpr1 $_ctcpr2 $_ctcpr3 $_ctcpr4 $_ctcpr5 $_ctcpr6]
[22:25] * Please REPORT this BUG!
[22:25] * Check doc/BUG-REPORT on how to do so.
[22:25] * Wrote DEBUG
[22:25] * SEGMENT VIOLATION -- CRASHING!
Connection closed by foreign host.


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.17) written Wed Aug 17 22:25:13 2005
Full Patch List:
Tcl library: /usr/lib/tcl8.4
Tcl version: 8.4.5 (header version 8.5a3)
Compile flags: gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H
Link flags: gcc -pipe
Strip flags: touch
Context: tclhash.c/680, []
          tclhash.c/684, [Tcl proc: *raw:PRIVMSG, param:  $_raw1 $_raw2  
$_raw3]
          tclhash.c/688, []
          tclhash.c/680, []
          tclhash.c/684, [Tcl proc: *dcc:rehash, param:  $_dcc1 $_dcc2  
$_dcc3]
          tclhash.c/688, []
          tclhash.c/680, []
          tclhash.c/684, [Tcl proc: *raw:PONG, param:  $_raw1 $_raw2 $_raw3]
          tclhash.c/688, []
          tclhash.c/680, []
          tclhash.c/684, [Tcl proc: <null>, param:  $_raw1 $_raw2 $_raw3]
          tclhash.c/688, []
          tclhash.c/680, []
          tclhash.c/684, [Tcl proc: *raw:irc:msg, param:  $_raw1 $_raw2  
$_raw3]
          tclhash.c/680, []
          tclhash.c/684 [Tcl proc: act:trigger, param:  $_ctcpr1 $_ctcpr2  
$_ctcpr3 $_ctcpr4 $_ctcpr5 $_ctcpr6]

SOCK ADDR     PORT  NICK      HOST              TYPE
---- -------- ----- --------- ----------------- ----
3    7F000001 22346 (users)   *                 lstn  22346
4    7F000001  4201 (bots)    *                 lstn  4201
5    00000000     0 (dns)                       dns   (ready)
7    C3C5AF15  6667 (server)  i.eu.undernet.org serv  (lag: 0)
9    7F000001  1559 AuntieChr telnet at localhost  chat  flags: cpTEp/0

Compiled without extensive memory debugging (sorry).
Open sockets: 3 (listen), 4 (listen), 5 (passed on), 7, 9, 11 (file), done.

4.3) Your comments and a description of the bug:
this is the tcl script that was triggered, before the bug happened:

if {$indicator == 1 && $name == 1} {
##### Kick him out if no match was found
		if {$action == "nomatch"} {
			set arg_local $arg
			set nick_local $nick
			add_nomatch
			return
}

proc add_nomatch {} {
	global nomatch_stream arg_local nick_local nomatch_local
	upvar #0 arg arg_local
	upvar #0 nick nick_local
	putlog "add_nomatch $nick_local '$arg_local'"
	set nomatch_stream [open nomatch.egt "a"]
	set nomatch_local "$nick_local : $arg_local"
	puts $nomatch_stream $nomatch_local
	close $nomatch_stream
	return
}

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

4.5) Do you have ideas on what is wrong that causes this error?
      Please list them:
      None

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

4.7) Other comments?
Please feel free to ask any questions, will answer if I can.

4.8) If the bot dumped a 'core' file when it crashed, it would be *very*
      useful if you could paste gdb's output during the following steps:
      First call gdb
          $ gdb eggdrop -c core
      and then enter 'bt' on gdb's command line:
          (gdb) bt
      Keep your core file for at least one week, so that the dev team
      can ask for further information if needed. However, don't send
      us the core file unless we ask for it.

      NOTE: If this is a bug you can reproduce, please compile with
            make debug and follow the above step. It can greatly help
            find and fix the bug.
	
/home/pixelcat/core: No such file or directory.
(gdb) bt
No stack.
(gdb) Quit


=====================================================================

I can also be reached on undernet as AuntieEm or AuntieChrist


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/



More information about the Bugs mailing list