When starting newsbeuter 0.7 (and most likely older versions as well) with SQLite 3.5 or higher, while loading the cache files, a message like these appears: Loading articles from cache...*** glibc detected *** newsbeuter: free(): invalid pointer: 0x081e2fa8 *** or Loading articles from cache...*** glibc detected *** free(): invalid next size (normal): 0x0017cea0 *** A backtrace is printed, the program crashes. This problem is known upstream, and the fix is to either not use the broken SQLite versions, or to apply the one-line patch that can be found at: http://bereshit.synflood.at/~ak/newsbeuter-0.7-sqlite3.5.diff My suggestion would be to release net-news/newsbeuter-0.7-r1 with either the patch applied (preferred) or a limited SQLite DEPEND. Note that I didn't test the patch (I downgraded SQLite), but at least one other user confirmed that it's working, and it looks pretty simple and correct to me.
Hm, any link to mailinglist archive where this is discussed? I would like to know at least exact versions of sqlite which work without the patch and which don't - we need to apply the patch conditionally, depending on which version is installed. Is it sqlite-3.5 and newer?
http://code.google.com/p/newsbeuter/issues/detail?id=53 is the mainstream link
10 Jan 2008, official IRC channel (freenode #newsbeuter): 19:11 < Scytale> _ak: Would you mind to comment on http://bugs.gentoo.org/show_bug.cgi?id=203878 ? 19:30 < _ak> Scytale: the patch says it all. ;-) 19:32 < Scytale> I think that too. But I can tell the maintainer that its sqlite >= 3.5? 21:45 < _ak> yes. 21:46 < _ak> there was even a changelog somewhere on sqlite.org that they changed something reg. memory allocation.
Created attachment 141658 [details] ebuild with required sqlite patch The same happened to me on a freshly installed x86-system. The attached ebuild with the required patch fixes the problem for me ... Best regards Stefan
Created attachment 141660 [details, diff] The required patch itself And the patch itself of course :)
I'll update the ebuild during the weekend. Sorry, but I can't find time for this stuff sooner - too much reallife happening at once this week.
0.7-r1 with the patch committed to CVS. Thanks, Tim!
Reopen; get this stabilized because the stable dependencies are broken, you cannot use things like =dev-db/sqlite-3* <dev-db/sqlite-3.5 with slotted ebuilds... Calculating dependencies !!! Multiple versions within a single package slot have been !!! pulled into the dependency graph: ('ebuild', '/', 'dev-db/sqlite-3.4.1', 'merge') pulled in by ('ebuild', '/', 'net-news/newsbeuter-0.7', 'merge') ('ebuild', '/', 'dev-db/sqlite-3.5.3', 'merge') pulled in by ('ebuild', '/', 'net-news/newsbeuter-0.7', 'merge')
Ticho was retired (#59986), reassigning to maintainer-needed.
I think this bugreport is oudated as newsbeuter 1.3 uses >=sqlite-3.5:3 and is in the main tree #251570
Yes, time has already solved this problem. Thanks for asking.