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 Problem

General support and discussion of Eggdrop bots.
Post Reply
S
Sener
Voice
Posts: 2
Joined: Thu Jul 29, 2010 8:45 am

Eggdrop Problem

Post by Sener »

hi
My problem is bot dumps core.
My eggdrop version is eggdrop 1.6.19
I am using tcl-8.4.13-4.el5.i386
Server info: Quad 9400 - 2gb Ram - SolusVM VPS
GCC Version : gcc-c++-4.1.2-48.el5.i386


The core file is:

Code: Select all

-bash-3.2$ gdb eggdrop -c core.11559
GNU gdb 6.6
Copyright (C) 2006 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 "i686-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
Reading symbols from /usr/lib/libtcl8.4.so...done.
Loaded symbols for /usr/lib/libtcl8.4.so
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libdns.so.26...done.
Loaded symbols for /usr/lib/libdns.so.26
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Loaded symbols for /lib/libnss_files.so.2
Core was generated by `./eggdrop -m oyun.conf'.
Program terminated with signal 6, Aborted.
#0  0x00c5c7f2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) bt
#0  0x00c5c7f2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00375df0 in raise () from /lib/libc.so.6
#2  0x00377701 in abort () from /lib/libc.so.6
#3  0x007969f7 in Tcl_PanicVA () from /usr/lib/libtcl8.4.so
#4  0x00796a27 in Tcl_Panic () from /usr/lib/libtcl8.4.so
#5  0x00746327 in Tcl_Realloc () from /usr/lib/libtcl8.4.so
#6  0x007a467a in Tcl_SetObjLength () from /usr/lib/libtcl8.4.so
#7  0x0077e5a1 in ?? () from /usr/lib/libtcl8.4.so
#8  0x0077ea4e in ?? () from /usr/lib/libtcl8.4.so
#9  0x00784f5d in Tcl_ReadObjCmd () from /usr/lib/libtcl8.4.so
#10 0x00740ecb in TclEvalObjvInternal () from /usr/lib/libtcl8.4.so
#11 0x0076de25 in ?? () from /usr/lib/libtcl8.4.so
#12 0x00771bec in TclCompEvalObj () from /usr/lib/libtcl8.4.so
#13 0x0079ebcc in TclObjInterpProc () from /usr/lib/libtcl8.4.so
#14 0x00740ecb in TclEvalObjvInternal () from /usr/lib/libtcl8.4.so
#15 0x0076de25 in ?? () from /usr/lib/libtcl8.4.so
#16 0x00771bec in TclCompEvalObj () from /usr/lib/libtcl8.4.so
#17 0x0079ebcc in TclObjInterpProc () from /usr/lib/libtcl8.4.so
#18 0x00740ecb in TclEvalObjvInternal () from /usr/lib/libtcl8.4.so
#19 0x00741487 in Tcl_EvalEx () from /usr/lib/libtcl8.4.so
#20 0x0074178c in Tcl_Eval () from /usr/lib/libtcl8.4.so
#21 0x080779fc in do_tcl (whatzit=0xbfe6a0cc "timer9571",
    script=0x9df4840 "tgnextq") at tcl.c:702
#22 0x08056df7 in do_check_timers (stack=0x8096a70) at chanprog.c:620
#23 0x0806d548 in core_secondly () at ./main.c:528
#24 0x0806e4c5 in main (argc=3, argv=0xbfe6abe4) at ./main.c:948
How can i fix this?
t
thommey
Halfop
Posts: 76
Joined: Tue Apr 01, 2008 2:59 pm

Post by thommey »

Could you add what happens when you try to start ./eggdrop -n? (if this is the first time you start eggdrop, ./eggdrop -nm)
S
Sener
Voice
Posts: 2
Joined: Thu Jul 29, 2010 8:45 am

Post by Sener »

Code: Select all

-bash-3.2$ ./eggdrop -nm oyun.conf

Eggdrop v1.6.19 (C) 1997 Robey Pointer (C) 2008 Eggheads
[18:51] Allocated bind table unld (flags 1)
[18:51] Allocated bind table time (flags 1)
[18:51] Allocated bind table note (flags 0)
[18:51] Allocated bind table nkch (flags 1)
[18:51] Allocated bind table load (flags 1)
[18:51] Allocated bind table link (flags 1)
[18:51] Allocated bind table filt (flags 1)
[18:51] Allocated bind table disc (flags 1)
[18:51] Allocated bind table dcc (flags 0)
[18:51] Allocated bind table chpt (flags 1)
[18:51] Allocated bind table chon (flags 1)
[18:51] Allocated bind table chof (flags 1)
[18:51] Allocated bind table chjn (flags 1)
[18:51] Allocated bind table chat (flags 1)
[18:51] Allocated bind table bot (flags 0)
[18:51] Allocated bind table bcst (flags 1)
[18:51] Allocated bind table away (flags 1)
[18:51] Allocated bind table act (flags 1)
[18:51] Allocated bind table evnt (flags 1)
[18:51] --- Loading eggdrop v1.6.19 (Thu Jul 29 2010)
[18:51] Module loaded: dns
[18:51] Module loaded: channels
[18:51] Allocated bind table wall (flags 1)
[18:51] Allocated bind table raw (flags 1)
[18:51] Allocated bind table notc (flags 1)
[18:51] Allocated bind table msgm (flags 1)
[18:51] Allocated bind table msg (flags 0)
[18:51] Allocated bind table flud (flags 1)
[18:51] Allocated bind table ctcr (flags 1)
[18:51] Allocated bind table ctcp (flags 1)
[18:51] Module loaded: server
[18:51] Module loaded: ctcp
[18:51] Allocated bind table topc (flags 1)
[18:51] Allocated bind table splt (flags 1)
[18:51] Allocated bind table sign (flags 1)
[18:51] Allocated bind table rejn (flags 1)
[18:51] Allocated bind table part (flags 1)
[18:51] Allocated bind table nick (flags 1)
[18:51] Allocated bind table mode (flags 1)
[18:51] Allocated bind table kick (flags 1)
[18:51] Allocated bind table join (flags 1)
[18:51] Allocated bind table pubm (flags 1)
[18:51] Allocated bind table pub (flags 0)
[18:51] Allocated bind table need (flags 1)
[18:51] Module loaded: irc
[18:51] LANG: Section loaded: notes
[18:51] LANG: 42 messages of 47 lines loaded from ./language/notes.english.lang
[18:51] LANG: 42 adds, 0 updates to message table
[18:51] Module loaded: notes            (with lang support)
[18:51] LANG: Section loaded: console
[18:51] LANG: 10 messages of 15 lines loaded from ./language/console.english.lang
[18:51] LANG: 10 adds, 0 updates to message table
[18:51] Module loaded: console          (with lang support)
[18:51] Module loaded: blowfish
[18:51] Listening at telnet port 3233 (all).
[18:51] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[18:51] use '.help userinfo' for commands.
[18:51] Soru bankanizda 23705 soru bulunmakta
[18:51] Userfile loaded, unpacking...
USERFILE ALREADY EXISTS (drop the '-m')
t
thommey
Halfop
Posts: 76
Joined: Tue Apr 01, 2008 2:59 pm

Post by thommey »

Ok, you should do it without -m then, just ./eggdrop -n .. and paste it up to the point where it crashes (to the end)
t
thommey
Halfop
Posts: 76
Joined: Tue Apr 01, 2008 2:59 pm

Post by thommey »

Actually, giving that backtrace a second look, it's pretty obvious what's happens. Eggdrop runs out of memory. A tcl script requests more memory and it fails to allocate that. I can imagine that it takes a while for that to happen, so you don't need to paste it. Your system simply does not have enough memory to run that script. If it's leaking memory, you could go try and solve it - but if it doesn't you need more RAM at that shell.
Post Reply