Re: core dump

Joost Vunderink <[email protected]> Tue, 2 Dec 2003 17:10:35 +0100
Newsgroups gmane.network.irc.irssi.devel
Message-ID <[email protected]>
Robbie Vanbrabant wrote:

> I have a problem with a script I made today. The script works, but when I /quit after using it,
> irssi dumps core.

This probably has to do with a combination of using modules and irssi's not cleaning up
entirely properly.

> http://users.pandora.be/vanbrabant/robbie/soft/tmeter.pl

use LWP::UserAgent;
use HTTP::Cookies;

It's probably one of these causing the core dump.
I had the same problem when I put the line "use Storable;" in a script. As soon as that module
was used, irssi would segfault on quit.

> http://users.pandora.be/vanbrabant/robbie/files/gdb.log

From your trace I see it crashes in scripts_deinit which indicates the same thing I had.
So, patch irssi, or live with it :)

Regards,
Joost.

-- 
Joost Vunderink - http://www.garion.org/
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in email?