This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Eggdrop cored, now cores at load.

General support and discussion of Eggdrop bots.
Post Reply
e
evidence
Voice
Posts: 3
Joined: Fri Jun 29, 2007 6:10 pm

Eggdrop cored, now cores at load.

Post by evidence »

I sent in an email in the official format to the bug report but haven't heard back in a week or so, here are the goods:

1) INFORMATION ABOUT YOUR EGGDROP
Nothing special aside from netbots

1.1) Eggdrop version:
1.6.18

1.2) Make type:
(X) debug

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

1.4) List of patches and/or modules you use:
blowfish.so*
channels.so*
compress.so*
console.so*
ctcp.so*
dns.so*
irc.so*
server.so*
share.so*
transfer.so*
uptime.so*

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

2.1) Tcl library version:
(X) 8.4

2.2) Tcl library patchlevel:
15

2.3) Tcl scripts used:
[X] alltools
[ ] sentinel
[ ] getops
[X] others - Please mention all others:
action.fix.tcl
netbots.tcl (cores even when not loaded)

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

3.1) OS type:
(X) FreeBSD

3.2) OS Version/Release:
6.2-STABLE

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

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

Which is this little buddy:

/* Initialise context list */
for (i = 0; i < 16; i++)
Context; #This is 731


4.2) If the bot wrote to the file DEBUG, copy the text -contents- of
that file here:

Debug (eggdrop v1.6.18) written Wed Jun 27 16:03:29 2007
Full Patch List:
Tcl library: *unknown*
Tcl version: 8.4.15 (header version 8.4.15)
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: main.c/731, []
main.c/731, []
main.c/731, []
main.c/731, []
main.c/731, []
main.c/731, []
main.c/731, []
main.c/731, []
main.c/731, []
main.c/731, []
main.c/731, []
main.c/731, []
main.c/731, []
main.c/731, []
main.c/731, []
main.c/731 []

SOCK ADDR PORT NICK HOST TYPE
---- -------- ----- --------- ----------------- ----

File 'language.c' accounted for 15476/15476 (ok)
File 'chanprog.c' accounted for 0/0 (ok)
File 'misc.c ' accounted for 3960/3960 (ok)
File 'userrec.c ' accounted for 0/0 (ok)
File 'net.c ' accounted for 0/0 (ok)
File 'dccutil.c ' accounted for 8560/8560 (ok)
File 'botnet.c ' accounted for 2200/2200 (ok)
File 'tcl.c ' accounted for 0/0 (ok)
File 'tclhash.c ' accounted for 0/0 (ok)
File 'tclmisc.c ' accounted for 0/0 (ok)
File 'modules.c ' accounted for 36/36 (ok)
File 'tcldcc.c ' accounted for 0/0 (ok)
File 'dns.c ' accounted for 0/0 (ok)
Module 'eggdrop ' accounted for 0/0 (ok)
--- End of debug memory list.
Open sockets: 3 (file), done.

4.3) Your comments and a description of the bug:
This happens on load, tried removing all save files and starting a
fresh bot (-m) to the same effect. All but my hub died randomly at
10:34PM (in unison), I did a rehash on my hub while messin around with
it the next day, and it did the same. The error they died on is the
same error I'm getting above when i './eggdrop [conf file]'. Also I
recompiled everything from scratch to make sure there were no
decrepencies (with make debug, also), no change.

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

4.5) Do you have ideas on what is wrong that causes this error?
Please list them:
I did a portupgrade end of the day June 25th which picked up a new
ports revision of TCL: tcl-8.4.15_2,1. Most likely something related to
this?

4.6) Do you have ideas on how to correct it? Please list them:
Rollback my TCL, but I figure if I'm having this trouble with the
standard current ports tree others will too.

4.7) Other comments?

4.8) If the bot dumped a 'core' file when it crashed:

(gdb) bt
#0 0x280fd161 in TclEmitForwardJump () from /usr/local/lib/libtcl84.so.1
#1 0x280f2e55 in TclCompileIfCmd () from /usr/local/lib/libtcl84.so.1
#2 0x280fc66d in TclCompileScript () from /usr/local/lib/libtcl84.so.1
#3 0x280fcac0 in TclSetByteCodeFromAny () from /usr/local/lib/libtcl84.so.1
#4 0x280fcc85 in SetByteCodeFromAny () from /usr/local/lib/libtcl84.so.1
#5 0x281377b5 in ProcCompileProc () from /usr/local/lib/libtcl84.so.1
#6 0x28137cf7 in TclObjInterpProc () from /usr/local/lib/libtcl84.so.1
#7 0x280dd142 in TclEvalObjvInternal () from /usr/local/lib/libtcl84.so.1
#8 0x280de9b2 in Tcl_EvalEx () from /usr/local/lib/libtcl84.so.1
#9 0x280dee4e in Tcl_Eval () from /usr/local/lib/libtcl84.so.1
#10 0x2814f640 in Tcl_Init () from /usr/local/lib/libtcl84.so.1
#11 0x08071f5f in init_tcl (argc=3, argv=0xbfbfcc20) at tcl.c:594
#12 0x08069f5d in main (argc=3, argv=0xbfbfecac) at ./main.c:806
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Recompile eggdrop and possibly tcl, don't use packages.
e
evidence
Voice
Posts: 3
Joined: Fri Jun 29, 2007 6:10 pm

Post by evidence »

I did recompile eggie 1.6.18 from source... many times. I use custom module configs and make debug. TCL is from ports, but if there is an issue with the TCL currently in the ports tree it's something that should be addressed.
e
evidence
Voice
Posts: 3
Joined: Fri Jun 29, 2007 6:10 pm

Post by evidence »

recent portsupgrade fixed the issue, unfrotunetly it doesn't log, i should have paid closer attention. I recall most of them being x11 related but that shouldn't effect eggdrop..
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

evidence wrote:I recall most of them being x11 related but that shouldn't effect eggdrop..
Definitely nothing to do with eggdrop.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Post Reply