egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

eggdrop + ipv6 patch crashes..

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Ofloo
Owner


Joined: 13 May 2003
Posts: 953
Location: Belguim

PostPosted: Thu Dec 15, 2005 6:26 am    Post subject: eggdrop + ipv6 patch crashes.. Reply with quote

bot crashes when sending a file true dccsend..

The system that the bot is compiled on is FREEBSD5.4 tryed both gmake and make both same results...

Quote:
[11:15] <Ofloo> .tcl dccsend text/motd ofloo
[11:15] <IPv6bot> [11:15] * Last context: tclhash.c/684 [Tcl proc: *dcc:tcl, param: $_dcc1 $_dcc2 $_dcc3]
[11:15] <IPv6bot> [11:15] * Please REPORT this BUG!
[11:15] <IPv6bot> [11:15] * Check doc/BUG-REPORT on how to do so.
[11:15] <IPv6bot> [11:15] * Wrote DEBUG
[11:15] <IPv6bot> [11:15] * SEGMENT VIOLATION -- CRASHING!


Quote:
Debug (eggdrop v1.6.17-ipv6) written Thu Dec 15 11:15:36 2005
Full Patch List:
Tcl library: /usr/local/lib/tcl8.4
Tcl version: 8.4.11 (header version 8.4.11)
Tcl is threaded
Compile flags: gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H
Link flags: gcc -pipe
Strip flags: touch
Context: tclhash.c/688, []
tclhash.c/688, []
tclhash.c/680, []
tclhash.c/684, [Tcl proc: *chon:console:chon, param: $_chonof1 $_chonof2]
tclhash.c/688, []
tclhash.c/680, []
tclhash.c/684, [Tcl proc: *chon:notes, param: $_chonof1 $_chonof2]
tclhash.c/688, []
tclhash.c/680, []
tclhash.c/684, [Tcl proc: *chon:channels:chon, param: $_chonof1 $_chonof2]
tclhash.c/688, []
tclhash.c/680, []
tclhash.c/684, [Tcl proc: *dcc:tcl, param: $_dcc1 $_dcc2 $_dcc3]
tclhash.c/688, []
tclhash.c/680, []
tclhash.c/684 [Tcl proc: *dcc:tcl, param: $_dcc1 $_dcc2 $_dcc3]

SOCK ADDR PORT NICK HOST TYPE
---- -------- ----- --------- ----------------- ----
7 53D95F52 60000 (telnet) * lstn 60000
8 00000000 0 (dns) dns (ready)
10 00000000 6667 (server) rc.ipv6.ofloo.org serv (lag: 0)
12 53D95F56 5463 Ofloo e.opers.ofloo.net chat flags: cPtEp/0

Compiled without extensive memory debugging (sorry).
Open sockets: 7 (listen), 8 (passed on), 10, 12, 13 (file), done.

_________________
XplaiN but think of me as stupid
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Wed Dec 28, 2005 4:36 am    Post subject: Reply with quote

kind of makes you wonder if they'll ever fix that tclhash thing... 90% of all crashes occur there

I guess not
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Fri Aug 04, 2006 2:50 pm    Post subject: Reply with quote

Actually, assuming you're using the patch posted here on egghelp.org, the bug is in the patch...
The flaw is that the author failed to notice there's been a few functions added to the global lookup table since 1.6.13, thus trying to add the "getprotocol" function on an already-occupied slot. This results in a few functions being unintensionally relocated, whereas the macros in mod/module.h are'nt updated. This is also why these bots often crash when linked into a botnet

Context: tclhash.c/688 will show up anytime the bot crashes after a binding has been triggered and sucessfully executed.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber