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 1.6.4 on Solaris -- core dumping

Old posts that have not been replied to for several years.
Locked
j
j0ker

Post by j0ker »

I have a Ultra Sparc 10 running Solars 8. I just installed and compiled eggdrop1.6.4.

I installed it using the following commands:

export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib

./configure --with-tcllib=/usr/local/lib/libtcl.so --with-tclinc=/usr/local/include/tcl.h

vi Makefile
# make modules
SHLIB_CC = gcc -pipe -fPIC
SHLIB_LD = gcc -pipe -shared -fPIC -fpic

make config
make static
make install

I run the eggdrop and I get this:
[jumpstart]/export/home/fierce/eggdrop:>./eggdrop fierce.cfg

Eggdrop v1.6.4 (C)1997 Robey Pointer (C)2001 Eggheads
[21:30] --- Loading eggdrop v1.6.4 (Thu Nov 15 2001)
[21:30] Listening at telnet port 8801 (bots)
[21:30] Listening at telnet port 8802 (users)
[21:30] Module loaded: channels
[21:30] Module loaded: server
[21:30] Module loaded: ctcp
[21:30] Module loaded: irc
[21:30] Module loaded: transfer
[21:30] Module loaded: share
[21:30] Module loaded: notes (with lang support)
[21:30] Module loaded: console (with lang support)
[21:30] Module loaded: blowfish
[21:30] Userinfo TCL v1.06 by ButchBub, Beldin, Kirk, guppy, Ernst, and Dude loaded for: URL BF GF IRL EMAIL DOB.
[21:30] use '.help userinfo' for commands.
[21:30] *** Botnet Takeover v1.0 by --=={ WIZ }==--
[21:30] *** Botnet.tcl 0.1 by #egghelp@efnet loaded
[21:30] NetOps 1.0 loaded
[21:30] J0ker Anti-Idle V1.0 loaded
[21:30] Userfile loaded, unpacking...
[21:30] === fierce: 6 channels, 24 users.
Launched into the background (pid: 19720)

The bot then promptly dies and produces this DEBUG file:
[jumpstart]/export/home/fierce/eggdrop:>cat DEBUG
Debug (eggdrop v1.6.4) written Thu Nov 15 21:30:49 2001
Full Patch List:
STATICALLY LINKED
Tcl library: /usr/local/lib/tcl8.3
Tcl version: 8.3 (header version 8.3)
Tcl patchlevel: 8.3.3 (header patchlevel 8.3.3)
Compile flags: gcc -pipe -g -O2 -I.. -I.. -DHAVE_CONFIG_H -DSTATIC
Link flags : gcc -pipe
Strip flags : touch
Context: main.c/700, []
main.c/700, []
main.c/700, []
main.c/700, []
main.c/700, []
main.c/700, []
main.c/700, []
main.c/700, []
main.c/700, []
main.c/700, []
main.c/700, []
main.c/700, []
main.c/700, []
main.c/700, []
tclhash.c/212, []
tclhash.c/235 []

SOCK ADDR PORT NICK HOST TYPE
---- -------- ----- --------- ----------------- ----
7 0A0000F0 8801 (bots) * lstn 8801
9 0A0000F0 8802 (users) * lstn 8802
10 407B78C3 8885 j0000ker 64.123.120.195 conn bot
11 C6A3D83C 6667 (server) irc.arcti.ca conn (lag: 0)

Compiled without extensive memory debugging (sorry).
Open sockets: 7 (listen), 9 (listen), 10 (connecting) (strong), 11 (connecting) (outbuf: 00004C), 12 (file), done.

It also dumps a core file.

Any help ANYONE can provide would be appriciated!

Thanks!!!


S
SniperAC

Post by SniperAC »

Can you get 1.6.6 eggdrop?
I think that the best stable one right now
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

remove the -O2 from all Makefiles and compile again, this should fix the problem
j
j0ker

Post by j0ker »

Removing the -O2 fixed it. Much thanks!
g
galaxyboy

Post by galaxyboy »

Erm, thej0ker, you own a server yourself or you purchased the eggdrop?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Installing solaris yourself, or using a shell providers solaris system will not change the results of this problem. This happens on all solaris systems, and it's a simple fix.
S
Sphinx

Post by Sphinx »

I'm glad I found this thread - I am trying to get 1.6.8 working on Solaris 7 and get exactly the same crash in log and DEBUG...

However I can't seem to find an -02 or -O2 in Makefile or Makefile.in - before or after running ./configure

Am I missing something? I would be extremely grateful for any help.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Use 1.6.8 and run ./configure with the --disable-optimisation flag.

I am very tired, and the brain aint working too good, so confirm the spelling with a "./configure --help"
S
Sphinx

Post by Sphinx »

thanks buddy I will try this and cross my fingers.....
S
Sphinx

Post by Sphinx »

Excellent - that did the trick...

I genuflect your general direction, sir! :smile:

Locked