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.

Seg fault on set keep-all-logs 1

Old posts that have not been replied to for several years.
Locked
s
stayka

Seg fault on set keep-all-logs 1

Post by stayka »

Hello people. I just spent about an hour in the forum searching for a thread on my problem, but either I was too blind to find one, or this hasn't come up before -_-

I have an eggdrop 1.6.15 running on Gentoo Linux 2.4.21, tcl version 8.3.4. (Quakenet, channel #agww, for the curious :-))

I'd like my bot to keep all logs, but as soon as I switch on the option

set keep-all-logs 1

in the .conf file, I get

/home/stlogger/eggdrop 227% ./eggdrop ST-Logger.conf
Eggdrop v1.6.15 (C) 1997 Robey Pointer (C) 2003 Eggheads
[11:21] --- Loading eggdrop v1.6.15 (Thu Jun 17 2004)
Segmentation fault

Unfortunately there is no further error output that might get me on the track of the problem...

As soon as I change the line to

set keep-all-logs 0

the bot starts without any problems and logs everything to agww.log as it should.

I'm somewhat at a loss here and hope some kind soul here is able to explain the problem to me and hopefully solve it...

Thanks a lot in advance!
Stayka
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

A couple things.. one, try upgrading to 1.6.16. We fixed one logging-related bug I know. Another thing... did you compile the bot with any odd optimization flags (had to ask since you said gentoo =P)? Did the bot write a DEBUG or "core" file? Try compiling with "make debug" and see if it will create either if not.

Wcc
s
stayka

Post by stayka »

Thanks a lot for your kind reply!

I just dl'd 1.6.16, and I will first try this. If the error vanished then, there would be no need to go to lengths to debug the old version (there was no core, and I would have to recompile it using debug anyway, so why not compile the new version first in hopes the problem is fixed :-) )

As for weird optimization - none I know of ^_^ I dl'd the eggdrop 1.6.15 from the website here, too and used the Makefile coming with it instead of emerging it via Gentoo emerge. And as for emerging 1.6.16 - last time I checked (that is, today) there was no 1.6.16 ebuild yet either.

I will definitely keep you updated, and thanks again.

Bb, Stayka
s
stayka

Post by stayka »

As promised the update:

eggdrop1.6.16 works without fault - and finally set keep-all-logs 1 does what it is supposed to do, too. Thanks a lot for the wonderful work with the 'bot!

Bb, Stayka

[/u]
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

no prob :)
Locked