Bugs: Eggdrop bug report

Sloggi at mip.sdu.dk Sloggi at mip.sdu.dk
Tue Jan 10 18:47:28 CST 2006


=====================================================================
              Eggheads Eggdrop 1.6 Bug Report Form
=====================================================================

By reporting bugs, you help to improve the quality of Eggdrop which
naturally results in a more stable bot. The more information you
provide, the easier and more likely it is for the dev team to fix the
bug. Please add everything that you think is important, in addition
to the information requested in this form. Thanks.

NOTE: First check http://www.eggheads.org/bugzilla/ to see if the
      bug you want to report is already fixed. Also, please upgrade
      to the latest eggdrop version to see if the bug is fixed before
      reporting.

Instructions:
[1]  Please complete as many fields as possible.
[2]  Email the completed report to: bugs at eggheads.org

DO NOT SEND HTML E-MAIL TO THE LISTS.

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

1.1) Eggdrop version:
     1.6.17

1.2) Make type:
     ( ) dynamic
     (x) static
     ( ) debug
     ( ) sdebug

1.3) List of any options passed to ./configure:

1.4) List of patches and/or modules you use:
     standard modules .. didnt modify anything or add anything
=====================================================================
2) INFORMATION ABOUT TCL

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

2.2) Tcl library patchlevel:
  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

	That is what ./configure gives me about the Tcl version
	checking for Tcl version... 7.4
	checking for Tcl patch level...
	checking for Tcl_Free in -ltcl... no

2.3) Tcl scripts used:
     [ ] alltools
     [ ] sentinel
     [ ] getops
     [ ] others - Please mention all others:

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

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

3.2) OS Version/Release: _____________

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

4.1) The logged last context (example: Last context: userent.c/973 []):


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 Jan 11 00:56:47 2006
Full Patch List:
STATICALLY LINKED
Tcl library: /usr/local/lib/tcl
Tcl version: 7.4b3 (header version *unknown*)
Compile flags: gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -DSTATIC
Link flags: gcc -pipe
Strip flags: touch
Context: tclhash.c/688, []
         tclhash.c/680, []
         tclhash.c/684, [Tcl proc: *raw:irc:notice, param:  $_raw1 $_raw2
$_raw3]
         tclhash.c/688, []
         tclhash.c/680, []
         tclhash.c/684, [Tcl proc: *raw:NOTICE, param:  $_raw1 $_raw2 $_raw3]
         tclhash.c/688, []
         tclhash.c/680, []
         tclhash.c/684, [Tcl proc: *raw:irc:notice, param:  $_raw1 $_raw2
$_raw3]
         tclhash.c/688, []
         tclhash.c/680, []
         tclhash.c/684, [Tcl proc: *raw:NOTICE, param:  $_raw1 $_raw2 $_raw3]
         tclhash.c/688, []
         tclhash.c/680, []
         tclhash.c/684, [Tcl proc: *raw:PING, param:  $_raw1 $_raw2 $_raw3]
         tclhash.c/688 []

SOCK ADDR     PORT  NICK      HOST              TYPE
---- -------- ----- --------- ----------------- ----
3    00000000     0 (dns)                       dns   (ready)
4    C178C96F  6668 (server)  irc.quakenet.org  serv  (lag: 0)

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


4.3) Your comments and a description of the bug:

This is the output when i use : ./eggdrop -mn myconf.conf

Eggdrop v1.6.17 (C) 1997 Robey Pointer (C) 2004 Eggheads
[01:34] Allocated bind table unld (flags 1)
[01:34] Allocated bind table time (flags 1)
[01:34] Allocated bind table note (flags 0)
[01:34] Allocated bind table nkch (flags 1)
[01:34] Allocated bind table load (flags 1)
[01:34] Allocated bind table link (flags 1)
[01:34] Allocated bind table filt (flags 1)
[01:34] Allocated bind table disc (flags 1)
[01:34] Allocated bind table dcc (flags 0)
[01:34] Allocated bind table chpt (flags 1)
[01:34] Allocated bind table chon (flags 1)
[01:34] Allocated bind table chof (flags 1)
[01:34] Allocated bind table chjn (flags 1)
[01:34] Allocated bind table chat (flags 1)
[01:34] Allocated bind table bot (flags 0)
[01:34] Allocated bind table bcst (flags 1)
[01:34] Allocated bind table away (flags 1)
[01:34] Allocated bind table act (flags 1)
[01:34] Allocated bind table evnt (flags 1)
[01:34] --- Loading eggdrop v1.6.17 (Wed Jan 11 2006)
[01:34] Module loaded: dns
[01:34] Module loaded: channels
[01:34] Allocated bind table wall (flags 1)
[01:34] Allocated bind table raw (flags 1)
[01:34] Allocated bind table notc (flags 1)
[01:34] Allocated bind table msgm (flags 1)
[01:34] Allocated bind table msg (flags 0)
[01:34] Allocated bind table flud (flags 1)
[01:34] Allocated bind table ctcr (flags 1)
[01:34] Allocated bind table ctcp (flags 1)
[01:34] Module loaded: server
[01:34] Module loaded: ctcp
[01:34] Allocated bind table topc (flags 1)
[01:34] Allocated bind table splt (flags 1)
[01:34] Allocated bind table sign (flags 1)
[01:34] Allocated bind table rejn (flags 1)
[01:34] Allocated bind table part (flags 1)
[01:34] Allocated bind table nick (flags 1)
[01:34] Allocated bind table mode (flags 1)
[01:34] Allocated bind table kick (flags 1)
[01:34] Allocated bind table join (flags 1)
[01:34] Allocated bind table pubm (flags 1)
[01:34] Allocated bind table pub (flags 0)
[01:34] Allocated bind table need (flags 1)
[01:34] Module loaded: irc
[01:34] LANG: Section loaded: console
[01:34] LANG: 10 messages of 15 lines loaded from
.../language/console.english.lang
[01:34] LANG: 10 adds, 0 updates to message table
[01:34] Module loaded: console          (with lang support)
[01:34] Module loaded: blowfish


STARTING BOT IN USERFILE CREATION MODE.
Telnet to the bot and enter 'NEW' as your nickname.
OR go to IRC and type:  /msg Br1tn3y hello
This will make the bot recognize you as the master.

[01:34] === Br1tn3y: 1 channels, 0 users.
[01:34] main: entering loop
[01:34] Trying server irc.quakenet.org:6668
[01:34] DNS resolved irc.quakenet.org to 62.73.33.48
[01:34] net: connect! sock 4
[01:34] Connected to irc.quakenet.org
[01:34] -NOTICE- *** Looking up your hostname
[01:34] -NOTICE- *** Checking Ident
[01:34] -NOTICE- *** Found your hostname
[01:34] -NOTICE- *** No ident response
[01:34] * Last context: tclhash.c/688 []
[01:34] * Please REPORT this BUG!
[01:34] * Check doc/BUG-REPORT on how to do so.
[01:34] * Wrote DEBUG
[01:34] * SEGMENT VIOLATION -- CRASHING!
Segmentation fault (core dumped)


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:

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

4.7) Other comments?

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.

GNU gdb 5.2.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...
Core was generated by `./eggdrop -mn eggdrop.conf'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libm.so.1...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libz.so...done.
Loaded symbols for /usr/lib/libz.so
Reading symbols from /usr/lib/libresolv.so.2...done.
Loaded symbols for /usr/lib/libresolv.so.2
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
#0  0xff0b3218 in strlen () from /usr/lib/libc.so.1
(gdb) bt
#0  0xff0b3218 in strlen () from /usr/lib/libc.so.1
#1  0x000cda94 in Tcl_SetVar2 ()
#2  0x000cd918 in Tcl_SetVar ()
#3  0x0004a4f8 in check_tcl_bind (tl=0x134be8, match=0xffbef960 "PING",
    atr=0x0, param=0xf28d0 " $_raw1 $_raw2 $_raw3", match_type=41)
    at tclhash.c:819
#4  0x000a421c in check_tcl_raw (from=0xf2ea8 "", code=0xffbef960 "PING",
    msg=0xffbef965 ":1294905728") at ../server.mod/servmsg.c:158
#5  0x000a6e2c in server_activity (idx=-4261536, msg=0xffbef965 ":1294905728",
    len=16) at ../server.mod/servmsg.c:1042
#6  0x0003d6c4 in main (argc=3, argv=0xffbefbdc) at ./main.c:991
(gdb)

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

End of bug report form - Thank you for helping us improve Eggdrop.





More information about the Bugs mailing list