Bug 324174 - Crashed when pressing enter after edit
Summary: Crashed when pressing enter after edit
Status: RESOLVED DUPLICATE of bug 272631
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.6.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-08-28 15:40 UTC by George
Modified: 2013-08-29 10:45 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 George 2013-08-28 15:40:36 UTC
Application: kmymoney (4.6.3)
KDE Platform Version: 4.10.5 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.16-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

This is what I had been doing.
1) Downloaded a QFX file and imported it.
2) Began working on the imported items and it was working fine until
3) I needed to edit a charge that did not have a category, so I did that and when I pressed Accept, the crash happened. It happened 3 times in a row, so I began saving very often.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KMyMoney (kmymoney), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1e576aa780 (LWP 24250))]

Thread 2 (Thread 0x7f1e40a6f700 (LWP 24251)):
#0  0x00007f1e51b6287d in poll () from /lib64/libc.so.6
#1  0x00007f1e4d049aa4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f1e4d049bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f1e5372a2e6 in QEventDispatcherGlib::processEvents (this=0x7f1e3c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f1e536faadf in QEventLoop::processEvents (this=this@entry=0x7f1e40a6edd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1e536fad68 in QEventLoop::exec (this=0x7f1e40a6edd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1e535fd0f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007f1e536db29f in QInotifyFileSystemWatcherEngine::run (this=0x1a26c70) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f1e536000cc in QThreadPrivate::start (arg=0x1a26c70) at thread/qthread_unix.cpp:338
#9  0x00007f1e54857e0f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f1e51b6b7dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1e576aa780 (LWP 24250)):
[KCrash Handler]
#6  0x00007f1e5286708f in QWidget::testAttribute_helper (this=0x22e0ea0, attribute=Qt::WA_WState_Created) at kernel/qwidget.cpp:11068
#7  0x00007f1e410c6d4e in QFcitxInputContext::update() () from /usr/lib64/qt4/plugins/inputmethods/qtim-fcitx.so
#8  0x00007f1e5286a408 in QWidget::updateMicroFocus (this=0x1bf4280) at kernel/qwidget.cpp:11414
#9  0x00007f1e5371129f in QMetaObject::activate (sender=0x2b9b040, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff747089f0) at kernel/qobject.cpp:3548
#10 0x00007f1e52e905d5 in QLineControl::textChanged (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qlinecontrol_p.cpp:148
#11 0x00007f1e52c37960 in QLineControl::finishChange (this=this@entry=0x2b9b040, validateFromState=validateFromState@entry=-1, update=update@entry=true, edited=edited@entry=false) at widgets/qlinecontrol.cpp:660
#12 0x00007f1e52c37bec in QLineControl::internalSetText (this=0x2b9b040, txt=..., pos=<optimized out>, edited=false) at widgets/qlinecontrol.cpp:692
#13 0x00007f1e52c022f2 in QDateTimeEditPrivate::updateEdit (this=0x33b34c0) at widgets/qdatetimeedit.cpp:1682
#14 0x00007f1e52c08b37 in QDateTimeEdit::setDisplayFormat (this=this@entry=0x2f12460, format=...) at widgets/qdatetimeedit.cpp:904
#15 0x00007f1e52c093b4 in QDateTimeEditPrivate::init (this=0x33b34c0, var=...) at widgets/qdatetimeedit.cpp:2362
#16 0x00007f1e52c09627 in QDateTimeEdit::QDateTimeEdit (this=this@entry=0x2f12460, var=..., parserType=parserType@entry=QVariant::Date, parent=parent@entry=0x7fff74709120) at widgets/qdatetimeedit.cpp:216
#17 0x00007f1e52c0969f in QDateEdit::QDateEdit (this=0x2f12460, date=..., parent=0x7fff74709120) at widgets/qdatetimeedit.cpp:1614
#18 0x00007f1e54cc260f in KMyMoneyDateEdit (parent=0x7fff74709120, date=..., this=0x2f12460) at /usr/src/debug/kmymoney-4.6.3/kmymoney/widgets/kmymoneydateinput.h:48
#19 kMyMoneyDateInput::kMyMoneyDateInput (this=0x7fff74709120, parent=<optimized out>, flags=Qt::AlignLeft) at /usr/src/debug/kmymoney-4.6.3/kmymoney/widgets/kmymoneydateinput.cpp:121
#20 0x00000000005b306b in KMyMoneyTransactionForm::TransactionForm::slotSetTransaction (this=0x1c289d0, transaction=0x0) at /usr/src/debug/kmymoney-4.6.3/kmymoney/widgets/transactionform.cpp:245
#21 0x000000000050c9dd in KGlobalLedgerView::clear (this=this@entry=0x1bc8af0) at /usr/src/debug/kmymoney-4.6.3/kmymoney/views/kgloballedgerview.cpp:325
#22 0x000000000050e293 in KGlobalLedgerView::loadView (this=this@entry=0x1bc8af0) at /usr/src/debug/kmymoney-4.6.3/kmymoney/views/kgloballedgerview.cpp:373
#23 0x000000000051359f in KGlobalLedgerView::slotLoadView (this=this@entry=0x1bc8af0) at /usr/src/debug/kmymoney-4.6.3/kmymoney/views/kgloballedgerview.cpp:298
#24 0x00000000005136ce in KGlobalLedgerView::slotLeaveEditMode (this=0x1bc8af0, list=...) at /usr/src/debug/kmymoney-4.6.3/kmymoney/views/kgloballedgerview.cpp:1259
#25 0x0000000000513e89 in KGlobalLedgerView::qt_static_metacall (_o=0x1bc8af0, _c=<optimized out>, _id=<optimized out>, _a=0x7fff7470aca0) at /usr/src/debug/kmymoney-4.6.3/build/kmymoney/views/kgloballedgerview.moc:217
#26 0x00007f1e5371129f in QMetaObject::activate (sender=0x35b6830, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff7470aca0) at kernel/qobject.cpp:3548
#27 0x00000000006affb2 in TransactionEditor::finishEdit (this=this@entry=0x35b6830, _t1=...) at /usr/src/debug/kmymoney-4.6.3/build/kmymoney/dialogs/transactioneditor.moc:159
#28 0x00000000006b3141 in TransactionEditor::~TransactionEditor (this=0x35b6830, __in_chrg=<optimized out>) at /usr/src/debug/kmymoney-4.6.3/kmymoney/dialogs/transactioneditor.cpp:91
#29 0x00000000006b32e9 in StdTransactionEditor::~StdTransactionEditor (this=0x35b6830, __in_chrg=<optimized out>) at /usr/src/debug/kmymoney-4.6.3/kmymoney/dialogs/transactioneditor.cpp:726
#30 0x0000000000483bce in deleteTransactionEditor (this=0x1566a30) at /usr/src/debug/kmymoney-4.6.3/kmymoney/kmymoney.cpp:5194
#31 KMyMoneyApp::slotTransactionsEnter (this=0x1566a30) at /usr/src/debug/kmymoney-4.6.3/kmymoney/kmymoney.cpp:5258
#32 0x000000000049a5fa in KMyMoneyApp::qt_static_metacall (_o=0x1566a30, _c=60, _id=0, _a=0x0) at /usr/src/debug/kmymoney-4.6.3/build/kmymoney/kmymoney.moc:456
#33 0x00007f1e5371129f in QMetaObject::activate (sender=0x1690d30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff7470b2f0) at kernel/qobject.cpp:3548
#34 0x00007f1e52822662 in QAction::triggered (this=this@entry=0x1690d30, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#35 0x00007f1e52822850 in QAction::activate (this=0x1690d30, event=<optimized out>) at kernel/qaction.cpp:1257
#36 0x00007f1e52be283f in QAbstractButtonPrivate::click (this=this@entry=0x1c250f0) at widgets/qabstractbutton.cpp:530
#37 0x00007f1e52be2aec in QAbstractButton::mouseReleaseEvent (this=0x1c24ff0, e=0x7fff7470bba0) at widgets/qabstractbutton.cpp:1123
#38 0x00007f1e52c9ce1a in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:718
#39 0x00007f1e52878149 in QWidget::event (this=0x1c24ff0, event=0x7fff7470bba0) at kernel/qwidget.cpp:8375
#40 0x00007f1e5282886c in QApplicationPrivate::notify_helper (this=this@entry=0x1395160, receiver=receiver@entry=0x1c24ff0, e=e@entry=0x7fff7470bba0) at kernel/qapplication.cpp:4562
#41 0x00007f1e5282d54b in QApplication::notify (this=<optimized out>, receiver=0x1c24ff0, e=0x7fff7470bba0) at kernel/qapplication.cpp:4105
#42 0x00007f1e55cf27f6 in KApplication::notify (this=0x138cd60, receiver=0x1c24ff0, event=0x7fff7470bba0) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#43 0x00007f1e536fbd8e in QCoreApplication::notifyInternal (this=0x138cd60, receiver=0x1c24ff0, event=0x7fff7470bba0) at kernel/qcoreapplication.cpp:946
#44 0x00007f1e528296ab in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#45 QApplicationPrivate::sendMouseEvent (receiver=0x1c24ff0, event=0x7fff7470bba0, alienWidget=0x1c24ff0, nativeWidget=0x1bc8af0, buttonDown=0x7f1e532fd268 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#46 0x00007f1e528a3e94 in QETWidget::translateMouseEvent (this=this@entry=0x1bc8af0, event=event@entry=0x7fff7470c310) at kernel/qapplication_x11.cpp:4527
#47 0x00007f1e528a2c21 in QApplication::x11ProcessEvent (this=0x138cd60, event=0x7fff7470c310) at kernel/qapplication_x11.cpp:3650
#48 0x00007f1e528c8fa2 in x11EventSourceDispatch (s=0x13943a0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#49 0x00007f1e4d0497d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#50 0x00007f1e4d049b08 in ?? () from /usr/lib64/libglib-2.0.so.0
#51 0x00007f1e4d049bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#52 0x00007f1e5372a2c6 in QEventDispatcherGlib::processEvents (this=0x1365a70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#53 0x00007f1e528c8c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x00007f1e536faadf in QEventLoop::processEvents (this=this@entry=0x7fff7470c6e0, flags=...) at kernel/qeventloop.cpp:149
#55 0x00007f1e536fad68 in QEventLoop::exec (this=0x7fff7470c6e0, flags=...) at kernel/qeventloop.cpp:204
#56 0x00007f1e536ffa08 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#57 0x000000000045cf06 in runKMyMoney (splash=splash@entry=0x1549d40, a=0x138cd60) at /usr/src/debug/kmymoney-4.6.3/kmymoney/main.cpp:282
#58 0x000000000045b6df in main (argc=1, argv=0x7fff7470d1d8) at /usr/src/debug/kmymoney-4.6.3/kmymoney/main.cpp:181

Reported using DrKonqi
Comment 1 Cristian Oneț 2013-08-29 10:45:22 UTC
Although I couldn't reproduce this particular crash looking at the implementation of QFcitxInputContext::update() which uses the input context's focus widget this problem must be a duplicate of the input method related issue reported by BUG 272631.

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