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 + ipv6 patch crashes..

General support and discussion of Eggdrop bots.
Post Reply
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

eggdrop + ipv6 patch crashes..

Post by Ofloo »

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...
[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!
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
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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: Select all

 tag when posting logs, code
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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.
Post Reply