| View previous topic :: View next topic |
| Author |
Message |
dcv873 Voice
Joined: 13 Nov 2011 Posts: 1
|
Posted: Sun Nov 13, 2011 12:22 pm Post subject: Eggdrop crashing |
|
|
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 |
|
 |
FightingNavyman Voice
Joined: 18 Jan 2011 Posts: 35
|
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sun Nov 13, 2011 1:44 pm Post subject: |
|
|
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 |
|
 |
|
|
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
|
|