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 1.6.16 still dead - PART 2 :)

Old posts that have not been replied to for several years.
User avatar
cucciolo
Voice
Posts: 34
Joined: Wed Jun 02, 2004 11:08 am

Eggdrop 1.6.16 still dead - PART 2 :)

Post by cucciolo »

Well...new topic for old discussion.
Now i have make a more deep test.
With and without TCL loaded in conf, the problem is the same.

(1) Running egg without any TCL

#######@#######:~/Bot6.16$ ./eggdrop #######.conf

Eggdrop v1.6.16 (C) 1997 Robey Pointer (C) 2004 Eggheads
[18:23] --- Loading eggdrop v1.6.16 (Sun Jun 6 2004)
[18:23] Listening at telnet port ####### (all)
[18:23] Module loaded: channels
[18:23] Module loaded: server
[18:23] Module loaded: irc
[18:23] Module loaded: transfer (with lang support)
[18:23] Module loaded: share
[18:23] Module loaded: console (with lang support)
[18:23] Module loaded: blowfish
[18:23] Userfile loaded, unpacking...
[18:23] === #######: 10 channels, 146 users.
Launched into the background (pid: 21801)


(2) in party line i see this

[18:31] *** ATTEMPTING TO FREE NON-MALLOC'D PTR: share:share.c (147)
[18:31] *** ATTEMPTING TO FREE NON-MALLOC'D PTR: share:share.c (149)

[18:43] #CuCcioLo# debug
File 'language.c' accounted for 18534/18534 (ok)
File 'chanprog.c' accounted for 0/0 (ok)
File 'misc.c ' accounted for 14141/14141 (ok)
File 'userrec.c ' accounted for 52393/52393 (ok)
File 'net.c ' accounted for 0/0 (ok)
File 'dccutil.c ' accounted for 42120/42120 (ok)
File 'botnet.c ' accounted for 4965/4965 (ok)
File 'tcl.c ' accounted for 4703/4703 (ok)
File 'tclhash.c ' accounted for 15181/15181 (ok)
File 'tclmisc.c ' accounted for 0/0 (ok)
File 'modules.c ' accounted for 738/738 (ok)
File 'tcldcc.c ' accounted for 12/12 (ok)
File 'dns.c ' accounted for 0/0 (ok)
Module 'encryption' accounted for 4184/4184 (ok)
Module 'console ' accounted for 0/0 (ok)
Module 'share ' accounted for 540/540 (ok)
Module 'transfer ' accounted for 0/0 (ok)
Module 'irc ' accounted for 0/0 (ok)
Module 'server ' accounted for 74/74 (ok)
Module 'channels ' accounted for 318884/318884 (ok)
Module 'eggdrop ' accounted for 0/0 (ok)
--- End of debug memory list.
Open sockets: 3 (listen), 5, 6, 8, done.

(3) and after a while...

[18:44] * Last context: tclhash.c/688 []
[18:44] * Please REPORT this BUG!
[18:44] * Check doc/BUG-REPORT on how to do so.

(4) The DEBUG file contain the following WITH OR WITHOUT the TCL loaded :

Debug (eggdrop v1.6.16) written Sun Jun 6 18:44:00 2004
Full Patch List:
Tcl library: /usr/lib/tcl8.3
Tcl version: 8.3.3 (header version 8.3.3)
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/688, []
tclhash.c/680, []
tclhash.c/684, [Tcl proc: *dcc:debug, param: $_dcc1 $_dcc2 $_dcc3]
tclhash.c/688, []
tclhash.c/680, []
tclhash.c/684, [Tcl proc: *raw:irc:join, 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:join, param: $_raw1 $_raw2 $_raw3]
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 ######## 99999 (telnet) * lstn 99999
6 ######## 6667 (server) ######## serv (lag: 0)
8 ######## 99999 ######## ######## bot flags: pUcosgwlia
5 ######## 4627 CuCcioLo ######## chat flags: cpTEp/0

File 'language.c' accounted for 18534/18534 (ok)
File 'chanprog.c' accounted for 0/0 (ok)
File 'misc.c ' accounted for 14141/14141 (ok)
File 'userrec.c ' accounted for 52393/52393 (ok)
File 'net.c ' accounted for 0/0 (ok)
File 'dccutil.c ' accounted for 42120/42120 (ok)
File 'botnet.c ' accounted for 4965/4965 (ok)
File 'tcl.c ' accounted for 4644/4644 (ok)
File 'tclhash.c ' accounted for 15181/15181 (ok)
File 'tclmisc.c ' accounted for 0/0 (ok)
File 'modules.c ' accounted for 738/738 (ok)
File 'tcldcc.c ' accounted for 12/12 (ok)
File 'dns.c ' accounted for 0/0 (ok)
Module 'encryption' accounted for 4184/4184 (ok)
Module 'console ' accounted for 0/0 (ok)

(5) Obviously ##### and port '99999' are masked.

Any idea? :cry: :cry:
User avatar
cucciolo
Voice
Posts: 34
Joined: Wed Jun 02, 2004 11:08 am

Post by cucciolo »

mmm... no one post...or my problem is without solution or seems to be too stupid :mrgreen:
i'll renew the invite :

SOMEBODY CAN HELP ME ??? :P
P
Prutser

Re: Eggdrop 1.6.16 still dead - PART 2 :)

Post by Prutser »

cucciolo wrote:Well...new topic for old discussion.
[18:31] *** ATTEMPTING TO FREE NON-MALLOC'D PTR: share:share.c (147)
[18:31] *** ATTEMPTING TO FREE NON-MALLOC'D PTR: share:share.c (149)
Wow.. that's seriously scary stuff!
However, the code looks pretty clean so it shouldn't be too difficult to find.

Erik
User avatar
cucciolo
Voice
Posts: 34
Joined: Wed Jun 02, 2004 11:08 am

Post by cucciolo »

mmm
sorry but i don't understand what you say... :roll:
can you help me? :(
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Try not loading the share module. See what happens then.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
cucciolo
Voice
Posts: 34
Joined: Wed Jun 02, 2004 11:08 am

Post by cucciolo »

but if i don't load the share module, my userlist is not shared?
or this mod is used for other purpose (i.e. files...) ?
User avatar
KrzychuG
Master
Posts: 306
Joined: Sat Aug 16, 2003 2:51 pm
Location: Torun, Poland
Contact:

Post by KrzychuG »

Yes, your userfile won't be shared but if bots won't die then you will be sure that the problem is here.
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

Hey... the problem is that none of the members of our dev team can reproduce this, and, we've tried. Any chance you could run valgrind on this bot, and then send us the log when it crashes?

You can download valgrind from http://valgrind.kde.org/downloads.html ..

To run the bot, just use:

Code: Select all

 valgrind --num-callers=6 --error-limit=no --logfile=debug --leak-check=yes ./eggdrop 
And then, when the bot crashes, send me the "debug.pid*" files to wcc@techmonkeys.org.

The bot will run normally, but valgrind will log any memory errors it detects to the debug.pid* logfiles. We can't do this ourselves since we can't make it crash..

Wcc
User avatar
cucciolo
Voice
Posts: 34
Joined: Wed Jun 02, 2004 11:08 am

Post by cucciolo »

Thank you Wcc.
My logs and my situation are , obiously, true.
As soon as i can i will try the option you , very gently, give me.
Really thanks !!!
I really appreciate :D
User avatar
cucciolo
Voice
Posts: 34
Joined: Wed Jun 02, 2004 11:08 am

Post by cucciolo »

Code: Select all

checking for a supported CPU... ok (i386)
checking for a supported OS... no (freebsd4.10)
configure: error: Valgrind is Linux specific. Sorry
I think need a specific port for freebsd :roll: [/quote]
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

Hmm.. I'm not sure if there is a BSD version or not :/
M
Mtac

Post by Mtac »

cucciolo: have you ever head of ports ?

if they are installed you should be able to do the following
cd /usr/ports/devel/valgrind/ && make install clean (as root ofcourse)


/Mtac
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Code: Select all

3 ######## 99999 (telnet) * lstn 99999 
Is that port even available on that box? Maybe try something a bit more conservative?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

Guys this bug should be fixed in 1.6.17 CVS. If anyone that was experiancing the problem could give it a try, that'd be great. (See README for CVS instructions).
User avatar
cucciolo
Voice
Posts: 34
Joined: Wed Jun 02, 2004 11:08 am

Post by cucciolo »

Alchera : the 99999 port is masked by me for not leave original port number :wink: i'm paranoid :P in the conf are obviously though 1025
and 65535

Mtac : there's a port for FreeBSD but is considered unfinished, unstable and incomplete...

Wcc : in all our eggs there's an your TCL :wink:

Actually. due to the unsolvable problem, mines and the others ~100 eggdrop of our botnet still run on a 1.6.15 :(

Really thanks to all for interesting :lol:
Locked