Bugs: Eggdrop 1.6.17+misccleanups

Piotr Majka charvel at link.pl
Tue Jun 15 02:45:35 CST 2004


1) INFORMATION ABOUT YOUR EGGDROP

1.1) Eggdrop version:
      1.6.17+misccleanups

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

1.3) List of any options passed to ./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
      ( ) Other - Which? ____

2.2) Tcl library patchlevel: 6
   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
      [ ] others - Please mention all others:
 	netbots
=====================================================================
3) INFORMATION ABOUT THE OS

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

3.2) OS Version/Release: 2.4.25

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

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+misccleanups) written Mon Jun 14 23:12:16 2004
Full Patch List:  CVS 1087175629 misccleanups
Tcl library: /usr/share/tcl8.4
Tcl version: 8.4.6 (header version 8.4.6)
Compile flags: gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -g3 
-DDEBUG_ASSERT -DDEBUG_MEM
Link flags: gcc -pipe -g
Strip flags: touch
Context: tclhash.c/680, []
          tclhash.c/684, [Tcl proc: clone_remove, param:  $_p1 $_p2 $_p3 $_p4 $_p5]
          tclhash.c/688, []
          tclhash.c/680, []
          tclhash.c/684, [Tcl proc: stats_part, param:  $_p1 $_p2 $_p3 $_p4 $_p5]
          tclhash.c/688, []
          tclhash.c/680, []
          tclhash.c/684, [Tcl proc: sl_pflood, param:  $_p1 $_p2 $_p3 $_p4 $_p5]
          tclhash.c/688, []
          tclhash.c/680, []
          tclhash.c/684, [Tcl proc: bop_unsetneed, param:  $_p1 $_p2 $_p3 $_p4 $_p5]
          tclhash.c/688, []
          tclhash.c/688, []
          tclhash.c/680, []
          tclhash.c/684, [Tcl proc: <null>, param:  $_raw1 $_raw2 $_raw3]
          tclhash.c/688 []
SOCK ADDR     PORT  NICK      HOST              TYPE
---- -------- ----- --------- ----------------- ----
3    D4A0FB1B  4500 (telnet)  *                 lstn  4500
5    C1DB1CF2  6667 (server)  warszawa.irc.pl   serv  (lag: 3)
12   3E6FED2B 35536 bot1   43-237.crowley.pl bot   flags: pUCosgwliA
11   C375AD28  4228 bot2   howlingaliens.com bot   flags: pUCosgwliA
7    D4A0FB02 36460 user1   user at host   chat  flags: cPtEp/0
8    D999B706 10372 bot3     cziken.cepter.net bot   flags: pUCosgwliA
10   5115C47E 16070 bot4    y.kanal.krakow.pl bot   flags: pUCosgwliA
13   C3965D0B 36675 bot5 talni.panowie.com bot   flags: pUCosgwliA
17   C37527CE  3386 bot6    tpnet.cool.waw.pl bot   flags: pUCosgwliA
6    D4F42282 52601 bot7  iper at netsystem.pl bot   flags: pUCosgwliA
14   3E6FD933  1256 bot8      bot at server.pl   bot   flags: pUCosgwliA
15   C22A2B28 52775 bot9   ewinne.serwery.pl bot   flags: pUCosgwliA

File 'language.c' accounted for 23061/23061 (ok)
File 'chanprog.c' accounted for 315/315 (ok)
File 'misc.c    ' accounted for 13445/13445 (ok)
File 'userrec.c ' accounted for 90236/90236 (ok)
File 'net.c     ' accounted for 0/0 (ok)
File 'dccutil.c ' accounted for 43368/43368 (ok)
File 'botnet.c  ' accounted for 2549/2549 (ok)
File 'tcl.c     ' accounted for 5504/5504 (ok)
File 'tclhash.c ' accounted for 34567/34567 (ok)
File 'tclmisc.c ' accounted for 60/60 (ok)
File 'modules.c ' accounted for 1080/1080 (ok)
File 'tcldcc.c  ' accounted for 12/12 (ok)
File 'dns.c     ' accounted for 0/0 (ok)
Module 'assoc     ' accounted for 0/0 (ok)
Module 'encryption' accounted for 12552/12552 (ok)
Module 'console   ' accounted for 0/0 (ok)
Module 'notes     ' accounted for 0/0 (ok)
Module 'filesys   ' accounted for 0/0 (ok)
Module 'compress  ' accounted for 0/0 (ok)


4.3) Your comments and a description of the bug:

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.

$ gdb eggdrop-1.6.17 core
[cut]
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
#0  0x005d8566 in delay_expmem () at ../share.mod/share.c:181
181           size += strlen(d->mask) + 1;
(gdb) bt
#0  0x005d8566 in delay_expmem () at ../share.mod/share.c:181
#1  0x005deef3 in share_expmem () at ../share.mod/share.c:2115
#2  0x0806a4f8 in strncasecmp ()
#3  0x08068309 in strncasecmp ()
#4  0x0806851f in strncasecmp ()
#5  <signal handler called>
#6  0x08054c7c in strncasecmp ()
#7  0x005cd200 in localeTable () from 
/home/users/maxikaz/Eggdrop/modules/irc.so
#8  0x005c5f28 in me_op (chan=0x21) at ../irc.mod/irc.c:351
#9  0x005b71d1 in real_add_mode (chan=0x21, plus=64 '@', mode=-48 'Đ',
     op=0x1f05892f <Address 0x1f05892f out of bounds>) at mode.c:190
#10 0x005d841c in check_delay () at ../share.mod/share.c:136
#11 0x080695a9 in strncasecmp ()
#12 0x00234a67 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) list
176       struct delay_mode *d = NULL;
177
178       for (d = delay_head; d; d = d->next) {
179
180         if (d->mask)
181           size += strlen(d->mask) + 1;
182
183         size += sizeof(struct delay_mode);
184       }
185
(gdb)


-- 
Piotr "Charvel" Majka | PGP & GPG Public Key: finger charvel at link.pl | Uin: 20873695
GCM d- s-:- a- C++ UL++++ P+ L+++ E--- W+ N+++ !o !K w--- !O M V- PS+ PE !Y
PGP+ t--- !5 X R tv- b !DI D+ G++ e h r y++**


More information about the Bugs mailing list