| View previous topic :: View next topic |
| Author |
Message |
doggie015 Voice
Joined: 14 Jan 2012 Posts: 2
|
Posted: Sat Jan 14, 2012 9:38 am Post subject: Eggdrop bot not launching! |
|
|
I recently compiled an eggdrop bot, set it up and tried to run it for the first time using ./eggbot -m eggbot.conf
I got this output
| Code: | Eggdrop v1.6.21 (C) 1997 Robey Pointer (C) 2011 Eggheads
[21:26:26] --- Loading eggdrop v1.6.21 (Sat Jan 14 2012)
[21:26:26] Listening at telnet port 9754 (all).
[21:26:26] Module loaded: blowfish
[21:26:26] * Last context: tclhash.c/242 []
[21:26:26] * Please REPORT this BUG!
[21:26:26] * Check doc/BUG-REPORT on how to do so.
[21:26:26] * Wrote DEBUG
[21:26:26] * SEGMENT VIOLATION -- CRASHING!
Segmentation fault |
Here are the content of DEBUG
| Code: | Debug (eggdrop v1.6.21) written Sat Jan 14 21:26:26 2012
Full Patch List:
Tcl library: ./lib/tcl8.5
Tcl version: 8.5.9 (header version 8.4.1)
Tcl is threaded
Configure flags: '--enable-strip'
Compile flags: gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H
Link flags: gcc
Strip flags: strip
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, []
tclhash.c/218, []
tclhash.c/242 []
SOCK ADDR PORT NICK HOST TYPE
---- -------- ----- --------- ----------------- ----
3 0A000001 9754 (telnet) * lstn 9754
4 00000000 0 (dns) dns (ready)
Compiled without extensive memory debugging (sorry).
Open sockets: 3 (listen), 4 (passed on), 5 (file), done. |
Does anyone here know how I can fix this? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat Jan 14, 2012 11:34 am Post subject: |
|
|
At a first glance, it seems you've linked your eggdrop different tcl-headers and libraries (library is 8.5.9, while the header-file is 8.4.1). This might be worth looking into for starters.
Unfortunately, there's not much else to tell without a backtrace (either on a coredump, or running eggdrop through gdb). _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
doggie015 Voice
Joined: 14 Jan 2012 Posts: 2
|
Posted: Sat Jan 14, 2012 7:23 pm Post subject: |
|
|
| Thanks! After removing the bot and doing a complete recompile and reinstall it seems to work... However despite the software itself appearing to work it cannot connect to the IRC server. It doesn't seem to be trying to connect, just listening on the port specified in eggdrop.conf and outputting a DNS lookup failed error |
|
| 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
|
|