Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75002 - irssi memory leak issue solved with --with-gc
Summary: irssi memory leak issue solved with --with-gc
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-19 19:44 UTC by Matthew Kasa (RETIRED)
Modified: 2005-07-20 12:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Kasa (RETIRED) gentoo-dev 2004-12-19 19:44:08 UTC
irssi, at least 0.8.9-r1 and 0.8.10_rc5 suffer from a memory leak when scripts are loaded, presumably in Irssi.pm, which causes irssi to segfault with the error "Out of memory!" every few days.  This issue is solved by adding "--with-gc" to the configure arguments which causes garbage collection code to be included, thanks go to agaffney for that fix.
Comment 1 Matthew Kasa (RETIRED) gentoo-dev 2004-12-22 10:15:18 UTC
Further testing reveals adding --with-gc does not solve the issue, just slows it down.
Comment 2 Sven Wegener gentoo-dev 2005-05-17 08:32:52 UTC
sven     26697  0.6  4.3  21216 10848 pts/3    S+   Apr03 425:47 irssi

My irssi now runs for about 1.5 months and I don't have any memory leak problems
with 0.8.10_rc5-r1. 0.8.10_rc5 had a memory leak in its recode functions, that
should be fixed with -r1. Could you verify this please?
Comment 3 Sven Wegener gentoo-dev 2005-07-20 12:16:38 UTC
Sorry, unable to reproduce. I have 18 scripts loaded and I don't experience
memory leaks.