Summary: | Kexi crash while trying to open a file in Ark | ||
---|---|---|---|
Product: | [Applications] KEXI | Reporter: | Cyril <mail.pourri> |
Component: | KexiDB | Assignee: | Jarosław Staniek <staniek> |
Status: | CLOSED FIXED | ||
Severity: | crash | CC: | drbeams, ich_und_du64, marcelo.escobal |
Priority: | NOR | ||
Version: | 2.2.0 (KOffice 2.2.0) | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Possible fix for crash
The file that crashes Kexi |
Description
Cyril
2010-07-18 12:08:59 UTC
Could you email me example file to staniek(@)kde.org so I can investigate the crash? You can remove sensitive data if you want. SVN commit 1151238 by staniek: KexiDB *SQLite Driver **remove all sqlite_* macros, use sqlite3_* functions directly since we only support version 3 **use sqlite3_close() on sqlite3 structure instead of free(3) ***possible fix of crash in bug #245030 CCBUG:245030 M +5 -9 sqliteconnection.cpp M +2 -17 sqliteconnection_p.h M +1 -1 sqlitedriver.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1151238 SVN commit 1151239 by staniek: Port of r1151238 *SQLite Driver: use sqlite3_close() on sqlite3 structure instead of free(3) ***possible fix of crash in bug #245030 CCBUG:245030 M +1 -5 SqliteConnection.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1151239 Created attachment 49291 [details]
Possible fix for crash
For testing. This fix attempts to remove the crash. Please apply it using:
cd koffice/
patch -p0 < 2010-07-18-fix_crash_on_closing_sqlite.patch
Then rebuild directory koffice/kexi/kexidb and install it.
Please test if you can. The bug probably affects only architectures "bigger" than 32-bit. Thanks for your help! Created attachment 49330 [details]
The file that crashes Kexi
If you zip this file and try to open it, it crashed. If you can reproduce the bug, please try to open this file, and see if it works for you
SVN commit 1172694 by staniek: KexiDB *SQLite Driver *backport of r1151239: possible fix of crash in bug #245030 CCBUG:245030 M +1 -1 sqliteconnection.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1172694 *** Bug 249038 has been marked as a duplicate of this bug. *** *** Bug 250497 has been marked as a duplicate of this bug. *** *** Bug 251797 has been marked as a duplicate of this bug. *** *** Bug 251798 has been marked as a duplicate of this bug. *** At the moment Kexi does not support SQLite files created using other tools. 2.7 and newer displays message like presented below and gently exits: ""Database project "apps.doNotDelete.db" does not appear to have been created using Kexi and cannot be opened. It is an SQLite file created using other tools."" Closing the bug for now as fixed. Please let me know if you have any further requests. Thanks! |