Summary: | Crash using File->Save as database and select "QSQLite - SQLite Version 3" | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Burkhard Lück <lueck> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | yurchor |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Burkhard Lück
2011-10-07 09:37:04 UTC
Works without crash here: Application: kmymoney (4.6.90-svn1257676) KDE Platform Version: 4.6.5 (Mageia packages) Qt Version: 4.7.3 Operating System: Linux 2.6.38.8-desktop-5.mga i686 Distribution: Mageia 1.0 Could it be, that it is your local version of KURLRequestor? Why is it asserting "(mode & KFile::Files) == 0"? No wonder it crashes, as we call it with "mode = KFile::Files'. #11 0x00007f3a8842dc63 in qt_assert (assertion=0x7f3a8935b50d "(mode & KFile::Files) == 0", file=0x7f3a8935b4d8 "/home/kdedev/svn/kdelibs/kio/kfile/kurlrequester.cpp", line=394) at global/qglobal.cpp:2004 git status shows no local changes in my kdelibs checkout Well, it's not your personal copy, but looks like there has been a change in KDE. KUrlRequester does not like the setting we choose. Otherwise, this could have never worked: http://lxr.kde.org/source/kde/kdelibs/kio/kfile/kurlrequester.cpp#394 vs. http://lxr.kde.org/source/extragear/office/kmymoney-git/kmymoney/dialogs/kselectdatabasedlg.cpp#198 We need to figure out how to solve the problem. I just pushed a fix to use bitwise-or in combining the KFile::Mode flags into master. It fixed it for me. Please test. Git commit 1e4fe7995b3a43299ebd38d2375c8f00a98f22f7 by Fernando Vilas. Committed on 28/12/2011 at 20:11. Pushed by fvilas into branch 'master'. M +1 -1 kmymoney/dialogs/kselectdatabasedlg.cpp http://commits.kde.org/kmymoney/1e4fe7995b3a43299ebd38d2375c8f00a98f22f7 Git commit ffd054d7f9f3ee92cd9d63e05cbf6e3325f2cf44 by Thomas Baumgart, on behalf of Fernando Vilas. Committed on 28/12/2011 at 20:11. Pushed by tbaumgart into branch '4.6'. (cherry picked from commit 1e4fe7995b3a43299ebd38d2375c8f00a98f22f7) M +1 -1 kmymoney/dialogs/kselectdatabasedlg.cpp http://commits.kde.org/kmymoney/ffd054d7f9f3ee92cd9d63e05cbf6e3325f2cf44 |