Application: kmymoney (4.5.90-svn1196207) KDE Platform Version: 4.5.3 (KDE 4.5.3) (Compiled from sources) Qt Version: 4.6.3 Operating System: Linux 2.6.34-gentoo-r12 x86_64 Distribution (Platform): Gentoo Packages -- Information about the crash: - What I was doing when the application crashed: Saving the file to a folder where my user dos not have write permissions and I had the encryption option selected. The crash can be reproduced every time. -- Backtrace: Application: KMyMoney (kmymoney), signal: Segmentation fault [KCrash Handler] #6 0x00007f61ae7787b4 in QIODevice::isOpen() const () from /usr/lib64/qt4/libQtCore.so.4 #7 0x00007f61ae77103a in QFile::handle() const () from /usr/lib64/qt4/libQtCore.so.4 #8 0x0000000000902abb in KGPGFile::close (this=0x2c6d210) at /home/cristi/documente/dezvoltare/kmymoney/libkgpgfile/kgpgfile.cpp:195 #9 0x0000000000902241 in KGPGFile::~KGPGFile (this=0x2c6d210, __in_chrg=<value optimized out>) at /home/cristi/documente/dezvoltare/kmymoney/libkgpgfile/kgpgfile.cpp:92 #10 0x00000000004e96d4 in KMyMoneyView::saveToLocalFile (this=0x116c410, localFile=..., pWriter=0x2c11ae0, plaintext=false, keyList=...) at /home/cristi/documente/dezvoltare/kmymoney/kmymoney/views/kmymoneyview.cpp:1061 #11 0x00000000004ea8f8 in KMyMoneyView::saveFile (this=0x116c410, url=..., keyList=...) at /home/cristi/documente/dezvoltare/kmymoney/kmymoney/views/kmymoneyview.cpp:1161 #12 0x000000000049b8a6 in KMyMoneyApp::slotFileSaveAs (this=0xf5bbc0) at /home/cristi/documente/dezvoltare/kmymoney/kmymoney/kmymoney.cpp:1728 #13 0x00000000004ca79d in KMyMoneyApp::qt_metacall (this=0xf5bbc0, _c=QMetaObject::InvokeMetaMethod, _id=114, _a=0x7fff13e531b0) at /home/cristi/documente/dezvoltare/kmymoney-build/kmymoney/kmymoney.moc:518 #14 0x00007f61ae7f5226 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #15 0x00007f61ad945212 in QAction::triggered(bool) () from /usr/lib64/qt4/libQtGui.so.4 #16 0x00007f61ad94727b in QAction::activate(QAction::ActionEvent) () from /usr/lib64/qt4/libQtGui.so.4 #17 0x00007f61add650b1 in ?? () from /usr/lib64/qt4/libQtGui.so.4 #18 0x00007f61add6ac22 in ?? () from /usr/lib64/qt4/libQtGui.so.4 #19 0x00007f61b0a3607e in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5 #20 0x00007f61ad9a14e1 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #21 0x00007f61add6cdeb in QMenu::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #22 0x00007f61ad94b40c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #23 0x00007f61ad95212b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #24 0x00007f61b0958c86 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #25 0x00007f61ae7e202b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #26 0x00007f61ad951252 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt4/libQtGui.so.4 #27 0x00007f61ad9d19ae in ?? () from /usr/lib64/qt4/libQtGui.so.4 #28 0x00007f61ad9d01ca in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #29 0x00007f61ad9fa132 in ?? () from /usr/lib64/qt4/libQtGui.so.4 #30 0x00007f61a8604ecf in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #31 0x00007f61a8608d08 in ?? () from /usr/lib/libglib-2.0.so.0 #32 0x00007f61a8608ebc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #33 0x00007f61ae80b593 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #34 0x00007f61ad9f9d2e in ?? () from /usr/lib64/qt4/libQtGui.so.4 #35 0x00007f61ae7e0982 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #36 0x00007f61ae7e0d54 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #37 0x00007f61ae7e59cb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4 #38 0x0000000000484c8f in main (argc=1, argv=0x7fff13e55618) at /home/cristi/documente/dezvoltare/kmymoney/kmymoney/main.cpp:260 Reported using DrKonqi
SVN commit 1196290 by conet: BUG: 256750 If the open fails for any reason signal this so that when closing the file we will not try to close a file that was never opened. M +12 -4 kgpgfile.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1196290
SVN commit 1196293 by conet: BUG: 256750 If the open fails for any reason signal this so that when closing the file we will not try to close a file that was never opened. Merged into the stable branch. M +12 -4 kgpgfile.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1196293
*** Bug 296459 has been marked as a duplicate of this bug. ***