> * 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).
Thanks for this hint! I checked the code and found at least one place with this problem. Sadly it is not related to the hanging statement. If anyone wants to try: patch is attached. Lars
Index: src/db.c =================================================================== --- src/db.c (Revision 3481) +++ src/db.c (Arbeitskopie) @@ -1274,7 +1274,7 @@ res = sqlite3_step (itemCheckStmt); - sqlite3_free (sql); + g_free (sql); sqlite3_finalize (itemCheckStmt); return (SQLITE_ROW == res);