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 crashing

General support and discussion of Eggdrop bots.
Post Reply
d
dcv873
Voice
Posts: 1
Joined: Sun Nov 13, 2011 12:11 pm

Eggdrop crashing

Post by dcv873 »

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

$ ./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: Select all

$ 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.
F
FightingNavyman
Voice
Posts: 35
Joined: Tue Jan 18, 2011 12:39 pm

Post by FightingNavyman »

if you want to run eggdrop on windows use Windrop

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

eggdrop itself is not good on windows
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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