On 10/11/07, Nico Golde <[EMAIL PROTECTED]> wrote: > Hi, > * Luis Rodrigo Gallardo Cruz <[EMAIL PROTECTED]> [2007-10-11 11:54]: > > tag 446050 help > > thanks > > > > The current version of liferea in Debian unstable (1.4.3-1), as well > > as the latest upstream version (1.4.5) fail if used together with > > libsqlite3-0 from experimental (3.5.1-1). The program works correctly > > with the versions in testing and unstable (3.4.2-1, 3.4.2-2). > > > > The following error mesage is printed to the console: > > > > *** glibc detected *** /usr/bin/liferea-bin: free(): invalid pointer: > > 0x08514040 *** > [...] > The reason might be the change in sqlite3_free. In prior > versions it did the same like free but now it does some > additional mutex stuff for example. Maybe some free needs to > be changed to sqlite3_free (you'll see in a backtrace).
This was the critical hint. Thanks again! Fixed upstream with Liferea release 1.4.5b. Patch against 1.4.5 is attached. Best Regards, Lars
Index: src/db.c =================================================================== --- src/db.c (Revision 3481) +++ src/db.c (Arbeitskopie) @@ -1304,7 +1304,7 @@ if (SQLITE_OK != res) debug2 (DEBUG_DB, "Create view failed (%s) SQL: %s", err, sql); - g_free (select); + sqlite3_free (select); sqlite3_free (sql); sqlite3_free (err); }