Bug 324447 - crashed on opening and/or closing application
Summary: crashed on opening and/or closing application
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.6.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords: drkonqi
: 326732 340552 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-03 09:57 UTC by timms.charles
Modified: 2017-07-02 07:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description timms.charles 2013-09-03 09:57:46 UTC
Application: kmymoney (4.6.3)
KDE Platform Version: 4.10.5
Qt Version: 4.8.4
Operating System: Linux 3.8.0-29-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed: Applicvation crashed upon opening file. Second attaempt at opening was successful. I was then able to entre two "charge" transactions. Application then crashed upon exit.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2e9dcff7c0 (LWP 13683))]

Thread 2 (Thread 0x7f2e83d73700 (LWP 13687)):
#0  0x00007f2e982163cd in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f2e93b461dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2e93b466ba in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2e8b5be4f6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f2e93b69eb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2e9aef2f8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f2e98222e1d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f2e9dcff7c0 (LWP 13683)):
[KCrash Handler]
#5  QDomElementPrivate::save (this=0x7aec270, s=..., depth=4, indent=1) at dom/qdom.cpp:4616
#6  0x00007f2e9a5eb02d in save (indent=1, depth=4, s=..., this=0x7aead60) at dom/qdom.cpp:1919
#7  QDomElementPrivate::save (this=0x7aead60, s=..., depth=3, indent=1) at dom/qdom.cpp:4652
#8  0x00007f2e9a5eb02d in save (indent=1, depth=3, s=..., this=0x7aea350) at dom/qdom.cpp:1919
#9  QDomElementPrivate::save (this=0x7aea350, s=..., depth=2, indent=1) at dom/qdom.cpp:4652
#10 0x00007f2e9a5eb02d in save (indent=1, depth=2, s=..., this=0x3d92cb0) at dom/qdom.cpp:1919
#11 QDomElementPrivate::save (this=0x3d92cb0, s=..., depth=1, indent=1) at dom/qdom.cpp:4652
#12 0x00007f2e9a5eb02d in save (indent=1, depth=1, s=..., this=0x4deae80) at dom/qdom.cpp:1919
#13 QDomElementPrivate::save (this=0x4deae80, s=..., depth=0, indent=1) at dom/qdom.cpp:4652
#14 0x00007f2e9a5e53e4 in QDomDocumentPrivate::saveDocument (this=0x52d5230, s=..., indent=1, encUsed=<optimized out>) at dom/qdom.cpp:6477
#15 0x00007f2e9a5eb9d3 in QDomDocument::toString (this=0x58661c0, indent=indent@entry=1) at dom/qdom.cpp:6853
#16 0x000000000078fb2f in MyMoneyStorageXML::writeFile (this=0x1187ee0, qf=0x16976c0, storage=<optimized out>) at /build/buildd/kmymoney-4.6.3/kmymoney/mymoney/storage/mymoneystoragexml.cpp:524
#17 0x00000000004a524e in KMyMoneyView::saveToLocalFile (this=this@entry=0x11f56f0, localFile=..., pWriter=pWriter@entry=0x1187ee0, plaintext=plaintext@entry=false, keyList=...) at /build/buildd/kmymoney-4.6.3/kmymoney/views/kmymoneyview.cpp:1190
#18 0x00000000004a6239 in KMyMoneyView::saveFile (this=0x11f56f0, url=..., keyList=...) at /build/buildd/kmymoney-4.6.3/kmymoney/views/kmymoneyview.cpp:1265
#19 0x000000000047de4f in KMyMoneyApp::slotFileSave (this=0xea8b80) at /build/buildd/kmymoney-4.6.3/kmymoney/kmymoney.cpp:1575
#20 0x000000000049570f in KMyMoneyApp::qt_static_metacall (_o=0xea8b80, _c=4294967295, _id=0, _a=0x7f2e984ea750) at /build/buildd/kmymoney-4.6.3/obj-x86_64-linux-gnu/kmymoney/kmymoney.moc:491
#21 0x00007f2e99dc40ef in QMetaObject::activate (sender=sender@entry=0xffb470, m=m@entry=0x7f2e9997c7a0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff44346060) at kernel/qobject.cpp:3539
#22 0x00007f2e98ed4152 in QAction::triggered (this=this@entry=0xffb470, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#23 0x00007f2e98ed5580 in QAction::activate (this=0xffb470, event=<optimized out>) at kernel/qaction.cpp:1257
#24 0x00007f2e992999ef in QAbstractButtonPrivate::click (this=this@entry=0x11be180) at widgets/qabstractbutton.cpp:530
#25 0x00007f2e99299c9c in QAbstractButton::mouseReleaseEvent (this=0xf34300, e=0x7fff44346910) at widgets/qabstractbutton.cpp:1123
#26 0x00007f2e9935677a in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:718
#27 0x00007f2e98f27a89 in QWidget::event (this=0xf34300, event=0x7fff44346910) at kernel/qwidget.cpp:8375
#28 0x00007f2e98eda8ec in QApplicationPrivate::notify_helper (this=this@entry=0xc36f90, receiver=receiver@entry=0xf34300, e=e@entry=0x7fff44346910) at kernel/qapplication.cpp:4567
#29 0x00007f2e98edda33 in QApplication::notify (this=<optimized out>, receiver=0xf34300, e=0x7fff44346910) at kernel/qapplication.cpp:4110
#30 0x00007f2e9c3671a6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#31 0x00007f2e99daf63e in QCoreApplication::notifyInternal (this=0xc28210, receiver=receiver@entry=0xf34300, event=event@entry=0x7fff44346910) at kernel/qcoreapplication.cpp:946
#32 0x00007f2e98ee0933 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xf34300, event=event@entry=0x7fff44346910, alienWidget=alienWidget@entry=0xf34300, nativeWidget=nativeWidget@entry=0x11b7580, buttonDown=buttonDown@entry=0x7f2e999b8308 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#34 0x00007f2e98f55ec4 in QETWidget::translateMouseEvent (this=this@entry=0x11b7580, event=event@entry=0x7fff44347090) at kernel/qapplication_x11.cpp:4631
#35 0x00007f2e98f54ef1 in QApplication::x11ProcessEvent (this=0xc28210, event=event@entry=0x7fff44347090) at kernel/qapplication_x11.cpp:3746
#36 0x00007f2e98f800b2 in x11EventSourceDispatch (s=0xc36ef0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x00007f2e93b45f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f2e93b46248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f2e93b46304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f2e99dde016 in QEventDispatcherGlib::processEvents (this=0xbf6ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#41 0x00007f2e98f801ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f2e99dae38f in QEventLoop::processEvents (this=this@entry=0x7fff44347460, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f2e99dae618 in QEventLoop::exec (this=this@entry=0x7fff44347460, flags=...) at kernel/qeventloop.cpp:204
#44 0x00007f2e99db3cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#45 0x00007f2e98ed8ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#46 0x0000000000457dd6 in runKMyMoney (splash=splash@entry=0xebdac0, a=0xc28210) at /build/buildd/kmymoney-4.6.3/kmymoney/main.cpp:282
#47 0x000000000045659f in main (argc=1, argv=0x7fff44347f58) at /build/buildd/kmymoney-4.6.3/kmymoney/main.cpp:181

Reported using DrKonqi
Comment 1 Cristian Oneț 2013-09-05 06:48:22 UTC
Could you save an anonymous version of your file check if the crash still happens with that file and attach it to this report? Otherwise we can't tell what exactly from your file is causing the crash while saving it.
Comment 2 Thomas Baumgart 2013-12-27 12:50:28 UTC
In case we don't receive the requested information we should close this one shortly.
Comment 3 Cristian Oneț 2014-07-31 09:34:43 UTC
*** Bug 326732 has been marked as a duplicate of this bug. ***
Comment 4 Cristian Oneț 2014-11-05 11:38:09 UTC
New report BUG 340552 so we need to investigate this.
Comment 5 Cristian Oneț 2014-11-05 11:38:19 UTC
*** Bug 340552 has been marked as a duplicate of this bug. ***
Comment 6 Cristian Oneț 2014-11-05 16:18:05 UTC
Could you please give some more information like how often does this happen, do you remember what you were doing before this happened? Also providing an anonymous file would be nice.
Comment 7 Cristian Oneț 2014-11-05 17:29:27 UTC
I've been looking a lot at this and the crash looks pretty strange everything similar (like BUG 160679) is caused by QDomNode objects which outlive the QDomDocument object that created them. But this is not true in our case since we use the same QDomDocument object to create all elements as the one used to obtain the XML string.

So any ideas would be welcome.
Comment 8 NSLW 2017-07-02 07:43:05 UTC
It seems that crashes are gone and 4.6.3 is old, so marking as unmaintained.