[Kmymoney-devel] Crash after changing config plus another possibly related glitch

Allan agander93 at gmail.com
Tue Oct 7 17:12:21 UTC 2014


I had a crash yesterday, similar to one or two similar over the last few 
months, where unfortunately it was inconvenient to follow up at the 
time, and where it was deemed unlikely to be useful.  This time I 
managed to get a bit more information.

I was in Ledger view and wanted to use the transaction form.  The crash 
occurred, I think, when I clicked apply.

Application: kmymoney (4.6.90-9e8bc5e02a)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic i686
Distribution: Linux Mint 17 Qiana

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

I've seen a few of these before when attempting to edit config, but it 
was inconvenient to pursue.   I can't say they were identical though.

The crash can be reproduced sometimes.

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

Thread 3 (Thread 0xafec3b40 (LWP 31396)):
#0  0xb440a0be in pthread_mutex_lock () from 
/lib/i386-linux-gnu/libpthread.so.0
#1  0xb4f908b4 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb4366100 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4320879 in g_main_context_prepare () from 
/lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb43212df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb4321528 in g_main_context_iteration () from 
/lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb53b995f in QEventDispatcherGlib::processEvents (this=0xaf500468, 
flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0xb5388823 in QEventLoop::processEvents (this=this at entry=0xafec3258, 
flags=...) at kernel/qeventloop.cpp:149
#8  0xb5388b49 in QEventLoop::exec (this=this at entry=0xafec3258, 
flags=...) at kernel/qeventloop.cpp:204
#9  0xb527523d in QThread::exec (this=this at entry=0x99894e0) at 
thread/qthread.cpp:537
#10 0xb5368c44 in QInotifyFileSystemWatcherEngine::run (this=0x99894e0) 
at io/qfilesystemwatcher_inotify.cpp:265
#11 0xb5277b6f in QThreadPrivate::start (arg=0x99894e0) at 
thread/qthread_unix.cpp:349
#12 0xb4407f70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0xb4f834ce in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xada57b40 (LWP 31438)):
#0  0xb7749424 in __kernel_vsyscall ()
#1  0xb4f7456b in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb433020b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb43213e8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4321528 in g_main_context_iteration () from 
/lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb53b995f in QEventDispatcherGlib::processEvents (this=0xad100468, 
flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0xb5388823 in QEventLoop::processEvents (this=this at entry=0xada57258, 
flags=...) at kernel/qeventloop.cpp:149
#7  0xb5388b49 in QEventLoop::exec (this=this at entry=0xada57258, 
flags=...) at kernel/qeventloop.cpp:204
#8  0xb527523d in QThread::exec (this=this at entry=0xc3ff518) at 
thread/qthread.cpp:537
#9  0xb5368c44 in QInotifyFileSystemWatcherEngine::run (this=0xc3ff518) 
at io/qfilesystemwatcher_inotify.cpp:265
#10 0xb5277b6f in QThreadPrivate::start (arg=0xc3ff518) at 
thread/qthread_unix.cpp:349
#11 0xb4407f70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb4f834ce in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb38d5740 (LWP 31395)):
[KCrash Handler]
#6  0xb592a426 in QWidget::style (this=this at entry=0xc1d4ab8) at 
kernel/qwidget.cpp:2707
#7  0xb5c5ea38 in updateWidgets (widgets=...) at 
styles/qstylesheetstyle.cpp:2601
#8  0xb5c5eddf in QStyleSheetStyle::repolish (this=0x97ba2e8, 
app=0x9692bf0) at styles/qstylesheetstyle.cpp:2789
#9  0xb58e9098 in QApplication::setStyleSheet (this=0x9692bf0, 
styleSheet=...) at kernel/qapplication.cpp:1428
#10 0x080924a3 in KMyMoneyApp::Private::setCustomColors (this=0x98e8968) 
at /home/aga/GITH/kmymoney/kmymoney/kmymoney.cpp:6762
#11 0x080b2917 in KMyMoneyApp::slotUpdateConfiguration 
(this=this at entry=0x97ebab0) at 
/home/aga/GITH/kmymoney/kmymoney/kmymoney.cpp:2456
#12 0x080df969 in KMyMoneyApp::qt_static_metacall 
(_o=_o at entry=0x97ebab0, _c=_c at entry=QMetaObject::InvokeMetaMethod, 
_id=63, _a=0xbfe0d028) at 
/home/aga/GITH/kmymoney/build/kmymoney/moc_kmymoney.cpp:454
#13 0xb539f0f7 in QMetaObject::activate (sender=0xc29ace8, m=0xb6dfe1ec 
<KConfigDialog::staticMetaObject>, local_signal_index=1, 
argv=0xbfe0d028) at kernel/qobject.cpp:3539
#14 0xb6b14565 in KConfigDialog::settingsChanged(QString const&) () from 
/usr/lib/libkdeui.so.5
#15 0xb6b152c1 in 
KConfigDialog::KConfigDialogPrivate::_k_settingsChangedSlot() () from 
/usr/lib/libkdeui.so.5
#16 0xb6b15583 in ?? () from /usr/lib/libkdeui.so.5
#17 0xb539f0f7 in QMetaObject::activate (sender=0xce2feb0, m=0xb6dfe258 
<KConfigDialogManager::staticMetaObject>, local_signal_index=0, 
argv=0x0) at kernel/qobject.cpp:3539
#18 0xb6b16335 in KConfigDialogManager::settingsChanged() () from 
/usr/lib/libkdeui.so.5
#19 0xb6b1c2f2 in KConfigDialogManager::updateSettings() () from 
/usr/lib/libkdeui.so.5
#20 0xb6b1c4e4 in ?? () from /usr/lib/libkdeui.so.5
#21 0xb539f0f7 in QMetaObject::activate (sender=0xc29ace8, m=0xb6dfe550 
<KDialog::staticMetaObject>, local_signal_index=7, argv=0x0) at 
kernel/qobject.cpp:3539
#22 0xb6b24345 in KDialog::applyClicked() () from /usr/lib/libkdeui.so.5
#23 0xb6b24b56 in KDialog::slotButtonClicked(int) () from 
/usr/lib/libkdeui.so.5
#24 0xb6b266a8 in ?? () from /usr/lib/libkdeui.so.5
#25 0xb539f0f7 in QMetaObject::activate (sender=sender at entry=0xaeb07e4, 
m=m at entry=0xb54f4e98 <QSignalMapper::staticMetaObject>, 
local_signal_index=local_signal_index at entry=0, 
argv=argv at entry=0xbfe0d3c8) at kernel/qobject.cpp:3539
#26 0xb53a6cf5 in QSignalMapper::mapped (this=this at entry=0xaeb07e4, 
_t1=8) at .moc/release-shared/moc_qsignalmapper.cpp:114
#27 0xb53a6e42 in QSignalMapper::map (this=this at entry=0xaeb07e4, 
sender=0xbf096d0) at kernel/qsignalmapper.cpp:266
#28 0xb53a6ff8 in QSignalMapper::map (this=0xaeb07e4) at 
kernel/qsignalmapper.cpp:257
#29 0xb53a7588 in QSignalMapper::qt_static_metacall (_o=0x0, 
_id=177174208, _a=0xbfe0d528, _c=<optimized out>) at 
.moc/release-shared/moc_qsignalmapper.cpp:63
#30 0xb539f0f7 in QMetaObject::activate (sender=sender at entry=0xbf096d0, 
m=m at entry=0xb6253ac8 <QAbstractButton::staticMetaObject>, 
local_signal_index=local_signal_index at entry=2, 
argv=argv at entry=0xbfe0d528) at kernel/qobject.cpp:3539
#31 0xb5fe20ad in QAbstractButton::clicked (this=this at entry=0xbf096d0, 
_t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#32 0xb5cfcab1 in QAbstractButtonPrivate::emitClicked 
(this=this at entry=0xcba19c8) at widgets/qabstractbutton.cpp:548
#33 0xb5cfde37 in QAbstractButtonPrivate::click 
(this=this at entry=0xcba19c8) at widgets/qabstractbutton.cpp:541
#34 0xb5cfdf3e in QAbstractButton::mouseReleaseEvent (this=0xbf096d0, 
e=0xbfe0da14) at widgets/qabstractbutton.cpp:1123
#35 0xb593f3fa in QWidget::event (this=this at entry=0xbf096d0, 
event=event at entry=0xbfe0da14) at kernel/qwidget.cpp:8376
#36 0xb5cfef42 in QAbstractButton::event (this=this at entry=0xbf096d0, 
e=e at entry=0xbfe0da14) at widgets/qabstractbutton.cpp:1082
#37 0xb5d99aec in QPushButton::event (this=0xbf096d0, e=0xbfe0da14) at 
widgets/qpushbutton.cpp:683
#38 0xb58e57f4 in QApplicationPrivate::notify_helper (this=0x9699de0, 
receiver=receiver at entry=0xbf096d0, e=0xbfe0da14) at 
kernel/qapplication.cpp:4567
#39 0xb58edea0 in QApplication::notify (this=0x9692bf0, 
receiver=0xbf096d0, e=0xbfe0da14) at kernel/qapplication.cpp:4110
#40 0xb6bd41f4 in KApplication::notify(QObject*, QEvent*) () from 
/usr/lib/libkdeui.so.5
#41 0xb5389e4a in QCoreApplication::notifyInternal (this=0x9692bf0, 
receiver=receiver at entry=0xbf096d0, event=event at entry=0xbfe0da14) at 
kernel/qcoreapplication.cpp:953
#42 0xb58ebb53 in sendEvent (event=<optimized out>, receiver=<optimized 
out>) at 
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#43 QApplicationPrivate::sendMouseEvent 
(receiver=receiver at entry=0xbf096d0, event=0xbfe0da14, 
alienWidget=0xbf096d0, nativeWidget=0xc29ace8, 
buttonDown=buttonDown at entry=0xb625cce4 <qt_button_down>, 
lastMouseReceiver=..., spontaneous=spontaneous at entry=true) at 
kernel/qapplication.cpp:3178
#44 0xb596f778 in QETWidget::translateMouseEvent (this=0xc29ace8, 
event=event at entry=0xbfe0dc3c) at kernel/qapplication_x11.cpp:4634
#45 0xb596eec5 in QApplication::x11ProcessEvent (this=0x9692bf0, 
event=event at entry=0xbfe0dc3c) at kernel/qapplication_x11.cpp:3627
#46 0xb599a524 in x11EventSourceDispatch (s=0x969d848, callback=0x0, 
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0xb43211e3 in g_main_context_dispatch () from 
/lib/i386-linux-gnu/libglib-2.0.so.0
#48 0xb4321468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0xb4321528 in g_main_context_iteration () from 
/lib/i386-linux-gnu/libglib-2.0.so.0
#50 0xb53b993b in QEventDispatcherGlib::processEvents 
(this=this at entry=0x966beb8, flags=...) at 
kernel/qeventdispatcher_glib.cpp:434
#51 0xb599a5de in QGuiEventDispatcherGlib::processEvents 
(this=0x966beb8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#52 0xb5388823 in QEventLoop::processEvents (this=this at entry=0xbfe0def8, 
flags=...) at kernel/qeventloop.cpp:149
#53 0xb5388b49 in QEventLoop::exec (this=this at entry=0xbfe0def8, 
flags=...) at kernel/qeventloop.cpp:204
#54 0xb538e8fe in QCoreApplication::exec () at 
kernel/qcoreapplication.cpp:1225
#55 0xb58e3a24 in QApplication::exec () at kernel/qapplication.cpp:3828
#56 0x0808ccb1 in runKMyMoney (splash=splash at entry=0x97ae6e8, 
a=0x9692bf0) at /home/aga/GITH/kmymoney/kmymoney/main.cpp:282
#57 0x08089c64 in main (argc=1, argv=0xbfe0e354) at 
/home/aga/GITH/kmymoney/kmymoney/main.cpp:181

The reporter indicates this bug may be a duplicate of or related to bug 
209289.

Possible duplicates by query: bug 209289.

Today, doing a similar thing, this time there was no crash, but the 
Ledger view was cleared, apart from column headers and Reconcile state 
and Investment value.  A left click in the body of the ledger 
resurrected the display, apart from not having changed to the 
Transaction form.  I was able to get those without further problem this 
time.  This also has happened before, from time to time.

I'll raise a bug later.

Allan



More information about the KMyMoney-devel mailing list