Summary: | KMyMoney crashes when trying to open SQLite data file | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Robert Rathbone <rrathbone66> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | fvilas |
Priority: | NOR | ||
Version: | 4.6.1 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Robert Rathbone
2012-03-03 01:35:18 UTC
I think I remember fixing this in the last release cycle. The double semi-colon was the issue. Can you test with 4.6.2 to see if it still occurs? Spoke too soon... I just duplicated the error. Git commit 6af4b33df2476f568db852d96b99eb45eaa2e21f by Fernando Vilas. Committed on 03/03/2012 at 05:25. Pushed by fvilas into branch 'master'. Fix crash on opening SQLite database. M +0 -2 kmymoney/mymoney/storage/mymoneystoragesql.cpp http://commits.kde.org/kmymoney/6af4b33df2476f568db852d96b99eb45eaa2e21f Git commit 227cba74b84c55c3d8677f0c10e3f8e35c84e04e by Thomas Baumgart, on behalf of Fernando Vilas. Committed on 03/03/2012 at 05:25. Pushed by tbaumgart into branch '4.6'. Fix crash on opening SQLite database. (cherry picked from commit 6af4b33df2476f568db852d96b99eb45eaa2e21f) M +0 -2 kmymoney/mymoney/storage/mymoneystoragesql.cpp http://commits.kde.org/kmymoney/227cba74b84c55c3d8677f0c10e3f8e35c84e04e I downloaded the 4.6.2 source from Sourceforge.net and after jumping through all the hoops and cmake errors (had to install all the needed development tools) I was finally able to build KMyMoney 4.6.2 on my machine. Unfortunately, as you noted, it didn't solve the problem. However, I downloaded the new mymoneystoragesql.cpp file you committed and replaced the one I had and after building the app with the replacement file I'm happy to say that I was able to open my SQLite .kdbx file and catch up on my banking and bill paying. I did a "Save As..." to a .kmy as a precaution and closed the app and was able to reopen it without any issues. The app is even faster, although I'm not sure if that's due to my building it on a 64 bit machine or (more likely) to performance enhancements you guys have made between the 4.5.3 version I had through Kubuntu and the 4.6.2 version. Thanks for getting on top of things and fixing it so quickly! Robert Rathbone |