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 crashing

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


Joined: 13 Nov 2011
Posts: 1

PostPosted: Sun Nov 13, 2011 12:22 pm    Post subject: Eggdrop crashing Reply with quote

I am using Cygwin on a Windows 7 machine (64 bit).

I downloaded the eggdrop 1.6.21 source from eggdrop.org to my machine and compiled it according to the instructions. I do not recall seeing any error messages during the compilation, and at the end, it said "Eggdrop compiled successfully".

After the "make install", I ended up with an eggdrop directory containing the executable (which was named eggdrop.exe) plus a bunch of DLLs in the modules subdirectory, the help documentation, etc.

Then I edited the eggdrop.conf file according to instructions on the eggdrop site.

Finally, I started the bot for the first time, using the command:

./eggdrop.exe -m eggdrop.conf

The bot did not start. Instead, I received an error message about a segmentation fault. The message said:

Code:
$ ./eggdrop.exe -m eggdrop.conf

Eggdrop v1.6.21 (C) 1997 Robey Pointer (C) 2011 Eggheads
[10:04:59] * Last context: main.c/969 []
[10:04:59] * Please REPORT this BUG!
[10:04:59] * Check doc/BUG-REPORT on how to do so.
[10:04:59] * Wrote DEBUG
[10:04:59] * SEGMENT VIOLATION -- CRASHING!
Segmentation fault


Since the message mentions that it wrote a file called DEBUG, I checked the directory and found a file named DEBUG. This is what the file says:

Code:
$ cat DEBUG
Debug (eggdrop v1.6.21) written Sun Nov 13 10:04:59 2011
Full Patch List:
Tcl library: D:/cygwin/../tcl8.4.1/library
Tcl version: 8.4.1 (header version 8.4.1)
Tcl is threaded
Configure flags:
Compile flags: gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H
Link flags: gcc
Strip flags: touch
Context: main.c/969, []
         main.c/969, []
         main.c/969, []
         main.c/969, []
         main.c/969, []
         main.c/969, []
         main.c/969, []
         main.c/969, []
         main.c/969, []
         main.c/969, []
         main.c/969, []
         main.c/969, []
         main.c/969, []
         main.c/969, []
         main.c/969, []
         main.c/969 []

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

Compiled without extensive memory debugging (sorry).
Open sockets: 3 (file), done.



I am very new to this and have no idea what any of this means. Could someone explain what has gone wrong?

Thanks.
Back to top
View user's profile Send private message
FightingNavyman
Voice


Joined: 18 Jan 2011
Posts: 35

PostPosted: Sun Nov 13, 2011 12:45 pm    Post subject: Reply with quote

if you want to run eggdrop on windows use Windrop

http://windrop.sourceforge.net/downloads.html

eggdrop itself is not good on windows
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sun Nov 13, 2011 1:44 pm    Post subject: Reply with quote

dcv873,
It's a problem with the tcl libraries included in cygwin (which is rather old anyway, 8.4.1). I'd suggest you get a fresh copy of a more recent version of tcl, and build it manually. Just make sure you then link your eggdrop with your version of tcl, not cygwin's (if needed, use the --with-tcllib and --with-tclinc options with the configure-script).

As for windrops, these days they're pretty much just pre-packaged cygwin builds, built against tcl8.5.10 and having the external libraries (libtcl8.5.dll and cygz.dll) included.
_________________
NML_375, idling at #eggdrop@IrcNET
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