Bug 313560 - Kmymoney segfaulted in split transaction editor
Summary: Kmymoney segfaulted in split transaction editor
Status: RESOLVED DUPLICATE of bug 282240
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.6.2
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-20 14:25 UTC by Micha Lenk
Modified: 2013-01-21 14:08 UTC (History)
1 user (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 Micha Lenk 2013-01-20 14:25:12 UTC
Application: kmymoney (4.6.2)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 3.2.0-4-amd64 x86_64
Distribution: Debian GNU/Linux 7.0 (wheezy)

-- Information about the crash:
- What I was doing when the application crashed:
I tried to edit a split transaction. As the dialog didn't fit into my small display, I had some hard time clicking into the right input widget. Unfortunately I don't know exactly where I clicked when, nor how often...

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#5  0x0000000000000000 in ?? ()
#6  0x00007f12b9ea5845 in QStyleSheetStyle::event (this=0x3e5cb40, e=0x7fff41991df0) at styles/qstylesheetstyle.cpp:5798
#7  0x00007f12b9b8870c in QApplicationPrivate::notify_helper (this=this@entry=0xf9fa40, receiver=receiver@entry=0x3e5cb40, e=e@entry=0x7fff41991df0) at kernel/qapplication.cpp:4556
#8  0x00007f12b9b8cb8a in QApplication::notify (this=0xf94710, receiver=0x3e5cb40, e=0x7fff41991df0) at kernel/qapplication.cpp:4417
#9  0x00007f12bd086886 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#10 0x00007f12baa5bb5e in QCoreApplication::notifyInternal (this=0xf94710, receiver=0x3e5cb40, event=0x7fff41991df0) at kernel/qcoreapplication.cpp:915
#11 0x00007f12b9b8722c in sendEvent (event=0x7fff41991df0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#12 QApplicationPrivate::setFocusWidget (focus=0x0, reason=Qt::OtherFocusReason) at kernel/qapplication.cpp:2259
#13 0x00007f12b9bc68d4 in clearFocus (this=0x3f071a0) at kernel/qwidget.cpp:6542
#14 QWidget::clearFocus (this=0x3f071a0) at kernel/qwidget.cpp:6526
#15 0x00007f12b9bd2106 in QWidget::~QWidget (this=0x3f071a0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1608
#16 0x0000000000599209 in kMyMoneyLineEdit::~kMyMoneyLineEdit (this=0x3f071a0, __in_chrg=<optimized out>) at /build/kmymoney-88IE8G/kmymoney-4.6.2/kmymoney/widgets/kmymoneylineedit.cpp:71
#17 0x00007f12baa70a58 in QObject::event (this=0x3f071a0, e=<optimized out>) at kernel/qobject.cpp:1176
#18 0x00007f12b9bd769a in QWidget::event (this=0x3f071a0, event=0x42a1400) at kernel/qwidget.cpp:8830
#19 0x00007f12b9f90ac7 in QLineEdit::event (this=0x3f071a0, e=0x42a1400) at widgets/qlineedit.cpp:1524
#20 0x00007f12bd135ee8 in KLineEdit::event(QEvent*) () from /usr/lib/libkdeui.so.5
#21 0x00007f12b9b8870c in QApplicationPrivate::notify_helper (this=this@entry=0xf9fa40, receiver=receiver@entry=0x3f071a0, e=e@entry=0x42a1400) at kernel/qapplication.cpp:4556
#22 0x00007f12b9b8cb8a in QApplication::notify (this=0xf94710, receiver=0x3f071a0, e=0x42a1400) at kernel/qapplication.cpp:4417
#23 0x00007f12bd086886 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#24 0x00007f12baa5bb5e in QCoreApplication::notifyInternal (this=0xf94710, receiver=receiver@entry=0x3f071a0, event=event@entry=0x42a1400) at kernel/qcoreapplication.cpp:915
#25 0x00007f12baa5f9e1 in sendEvent (event=0x42a1400, receiver=0x3f071a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xf6c1f0) at kernel/qcoreapplication.cpp:1539
#27 0x00007f12baa8a0e3 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#28 postEventSourceDispatch (s=s@entry=0xf9e0e0) at kernel/qeventdispatcher_glib.cpp:279
#29 0x00007f12b46c5355 in g_main_dispatch (context=0xf9dfd0) at /build/glib2.0-7fLB_j/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:2539
#30 g_main_context_dispatch (context=context@entry=0xf9dfd0) at /build/glib2.0-7fLB_j/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3075
#31 0x00007f12b46c5688 in g_main_context_iterate (context=context@entry=0xf9dfd0, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /build/glib2.0-7fLB_j/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3146
#32 0x00007f12b46c5744 in g_main_context_iteration (context=0xf9dfd0, may_block=1) at /build/glib2.0-7fLB_j/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3207
#33 0x00007f12baa8a276 in QEventDispatcherGlib::processEvents (this=0xf6dad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#34 0x00007f12b9c2983e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f12baa5a8af in QEventLoop::processEvents (this=this@entry=0x7fff41992b30, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f12baa5ab38 in QEventLoop::exec (this=0x7fff41992b30, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007f12ba03c358 in QDialog::exec (this=0x3f09fd0) at dialogs/qdialog.cpp:554
#38 0x000000000069ef00 in KSplitTransactionDlg::exec (this=0x3f09fd0) at /build/kmymoney-88IE8G/kmymoney-4.6.2/kmymoney/dialogs/ksplittransactiondlg.cpp:172
#39 0x00000000006b5ad7 in StdTransactionEditor::slotEditSplits (this=0x3ba5650) at /build/kmymoney-88IE8G/kmymoney-4.6.2/kmymoney/dialogs/transactioneditor.cpp:1901
#40 0x00000000006bcb42 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /build/kmymoney-88IE8G/kmymoney-4.6.2/obj-x86_64-linux-gnu/kmymoney/dialogs/transactioneditor.moc:305
#41 StdTransactionEditor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /build/kmymoney-88IE8G/kmymoney-4.6.2/obj-x86_64-linux-gnu/kmymoney/dialogs/transactioneditor.moc:299
#42 0x00007f12baa7154f in QMetaObject::activate (sender=0x17f42e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff419932a0) at kernel/qobject.cpp:3547
#43 0x00007f12ba1edf32 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#44 0x00007f12b9f4206e in QAbstractButtonPrivate::emitClicked (this=this@entry=0x1d6bbd0) at widgets/qabstractbutton.cpp:548
#45 0x00007f12b9f428a0 in QAbstractButtonPrivate::click (this=this@entry=0x1d6bbd0) at widgets/qabstractbutton.cpp:541
#46 0x00007f12b9f42b0c in QAbstractButton::mouseReleaseEvent (this=0x17f42e0, e=0x7fff41993b40) at widgets/qabstractbutton.cpp:1123
#47 0x00007f12b9bd7e10 in QWidget::event (this=0x17f42e0, event=0x7fff41993b40) at kernel/qwidget.cpp:8371
#48 0x00007f12b9b8870c in QApplicationPrivate::notify_helper (this=this@entry=0xf9fa40, receiver=receiver@entry=0x17f42e0, e=e@entry=0x7fff41993b40) at kernel/qapplication.cpp:4556
#49 0x00007f12b9b8d3eb in QApplication::notify (this=<optimized out>, receiver=0x17f42e0, e=0x7fff41993b40) at kernel/qapplication.cpp:4099
#50 0x00007f12bd086886 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#51 0x00007f12baa5bb5e in QCoreApplication::notifyInternal (this=0xf94710, receiver=0x17f42e0, event=0x7fff41993b40) at kernel/qcoreapplication.cpp:915
#52 0x00007f12b9b8954b in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#53 QApplicationPrivate::sendMouseEvent (receiver=0x17f42e0, event=0x7fff41993b40, alienWidget=0x17f42e0, nativeWidget=0x17bbc90, buttonDown=0x7f12ba65e2a8, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3167
#54 0x00007f12b9c03fc4 in QETWidget::translateMouseEvent (this=this@entry=0x17bbc90, event=event@entry=0x7fff419942b0) at kernel/qapplication_x11.cpp:4523
#55 0x00007f12b9c02d51 in QApplication::x11ProcessEvent (this=0xf94710, event=0x7fff419942b0) at kernel/qapplication_x11.cpp:3646
#56 0x00007f12b9c29bc2 in x11EventSourceDispatch (s=s@entry=0xfa3d30, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#57 0x00007f12b46c5355 in g_main_dispatch (context=0xf9dfd0) at /build/glib2.0-7fLB_j/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:2539
#58 g_main_context_dispatch (context=context@entry=0xf9dfd0) at /build/glib2.0-7fLB_j/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3075
#59 0x00007f12b46c5688 in g_main_context_iterate (context=context@entry=0xf9dfd0, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /build/glib2.0-7fLB_j/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3146
#60 0x00007f12b46c5744 in g_main_context_iteration (context=0xf9dfd0, may_block=1) at /build/glib2.0-7fLB_j/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3207
#61 0x00007f12baa8a276 in QEventDispatcherGlib::processEvents (this=0xf6dad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#62 0x00007f12b9c2983e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#63 0x00007f12baa5a8af in QEventLoop::processEvents (this=this@entry=0x7fff41994680, flags=...) at kernel/qeventloop.cpp:149
#64 0x00007f12baa5ab38 in QEventLoop::exec (this=0x7fff41994680, flags=...) at kernel/qeventloop.cpp:204
#65 0x00007f12baa5fcf8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#66 0x000000000045cdb6 in runKMyMoney (splash=splash@entry=0x11ff540, a=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /build/kmymoney-88IE8G/kmymoney-4.6.2/kmymoney/main.cpp:282
#67 0x000000000045b57f in main (argc=1, argv=0x7fff41995178) at /build/kmymoney-88IE8G/kmymoney-4.6.2/kmymoney/main.cpp:181

Possible duplicates by query: bug 307688.

Reported using DrKonqi
Comment 1 Micha Lenk 2013-01-20 14:27:45 UTC
I guess the NULL pointer in the focus argument of some functions needs some improved handling.
Comment 2 Micha Lenk 2013-01-20 17:25:41 UTC
I just forwarded this bug also to the Debian Bug Tracker:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698578

Just for the records, the following package versions were installed when the crash happened:

Version of kmymoney package:
ii  kmymoney          4.6.2-3.2

Versions of packages kmymoney depends on:
ii  kde-runtime       4:4.8.4-2
ii  kdepim-runtime    4:4.4.11.1-6
ii  kmymoney-common   4.6.2-3.2
ii  libalkimia4       4.3.2-1.1
ii  libaqbanking34    5.0.24-3
ii  libc6             2.13-37
ii  libgcc1           1:4.7.2-5
ii  libgmp10          2:5.0.5+dfsg-2
ii  libgpgme++2       4:4.8.4-2
ii  libgwengui-qt4-0  4.3.3-1
ii  libgwenhywfar60   4.3.3-1
ii  libical0          0.48-2
ii  libkabc4          4:4.8.4-2
ii  libkcmutils4      4:4.8.4-4
ii  libkdecore5       4:4.8.4-4
ii  libkdeui5         4:4.8.4-4
ii  libkfile4         4:4.8.4-4
ii  libkholidays4     4:4.8.4-2
ii  libkhtml5         4:4.8.4-4
ii  libkio5           4:4.8.4-4
ii  libofx4           1:0.9.4-2.1
ii  libqt4-dbus       4:4.8.2+dfsg-9
ii  libqt4-network    4:4.8.2+dfsg-9
ii  libqt4-sql        4:4.8.2+dfsg-9
ii  libqt4-svg        4:4.8.2+dfsg-9
ii  libqt4-xml        4:4.8.2+dfsg-9
ii  libqtcore4        4:4.8.2+dfsg-9
ii  libqtgui4         4:4.8.2+dfsg-9
ii  libstdc++6        4.7.2-5

Versions of packages kmymoney recommends:
pn  gpg-agent     <none>
ii  pinentry-qt4  0.8.1-1
Comment 3 Cristian Oneț 2013-01-21 14:08:04 UTC

*** This bug has been marked as a duplicate of bug 282240 ***