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 bot not launching!

General support and discussion of Eggdrop bots.
Post Reply
d
doggie015
Voice
Posts: 2
Joined: Sat Jan 14, 2012 9:33 am

Eggdrop bot not launching!

Post by doggie015 »

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

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

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?
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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
d
doggie015
Voice
Posts: 2
Joined: Sat Jan 14, 2012 9:33 am

Post by doggie015 »

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