Bug 339818 - Crash on config change
Summary: Crash on config change
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: git (master)
Platform: Mint (Ubuntu based) Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-09 13:29 UTC by allan
Modified: 2018-03-04 15:44 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 allan 2014-10-09 13:29:17 UTC
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:

This is identical to the incident reported on dev list on 7 Oct.
I was in the process of entering downloaded transactions.  I had Transaction form selected but wanted to exit that.
1) Selected config change
2) Selected Ledger view
3) Selected Use Ledger lens
4) Deselected Show Transaction form
5) Selected Apply
6) Crash occurred

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 0xb3920740 (LWP 5214))]

Thread 3 (Thread 0xaff0db40 (LWP 5215)):
#0  0xb43694c0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb436b943 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb436c2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb436c528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb540495f in QEventDispatcherGlib::processEvents (this=0xaf600468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0xb53d3823 in QEventLoop::processEvents (this=this@entry=0xaff0d258, flags=...) at kernel/qeventloop.cpp:149
#6  0xb53d3b49 in QEventLoop::exec (this=this@entry=0xaff0d258, flags=...) at kernel/qeventloop.cpp:204
#7  0xb52c023d in QThread::exec (this=this@entry=0x92d5d20) at thread/qthread.cpp:537
#8  0xb53b3c44 in QInotifyFileSystemWatcherEngine::run (this=0x92d5d20) at io/qfilesystemwatcher_inotify.cpp:265
#9  0xb52c2b6f in QThreadPrivate::start (arg=0x92d5d20) at thread/qthread_unix.cpp:349
#10 0xb4452f70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0xb4fce4ce in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xad773b40 (LWP 5239)):
#0  0xb7794424 in __kernel_vsyscall ()
#1  0xb4fdc152 in clock_gettime () from /lib/i386-linux-gnu/libc.so.6
#2  0xb531d8cc in do_gettime (frac=0xad772ff0, sec=0xad772fe8) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0xb54062a2 in updateCurrentTime (this=0xace026e4) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0xace026e4, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0xb540482b in timerSourcePrepareHelper (src=<optimized out>, timeout=0xad7730ec) at kernel/qeventdispatcher_glib.cpp:143
#7  0xb54048bd in timerSourcePrepare (source=0xace026b0, timeout=0xad7730ec) at kernel/qeventdispatcher_glib.cpp:176
#8  0xb436b9b3 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb436c2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb436c528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0xb540495f in QEventDispatcherGlib::processEvents (this=0xace00468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#12 0xb53d3823 in QEventLoop::processEvents (this=this@entry=0xad773258, flags=...) at kernel/qeventloop.cpp:149
#13 0xb53d3b49 in QEventLoop::exec (this=this@entry=0xad773258, flags=...) at kernel/qeventloop.cpp:204
#14 0xb52c023d in QThread::exec (this=this@entry=0xba00fa8) at thread/qthread.cpp:537
#15 0xb53b3c44 in QInotifyFileSystemWatcherEngine::run (this=0xba00fa8) at io/qfilesystemwatcher_inotify.cpp:265
#16 0xb52c2b6f in QThreadPrivate::start (arg=0xba00fa8) at thread/qthread_unix.cpp:349
#17 0xb4452f70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#18 0xb4fce4ce in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb3920740 (LWP 5214)):
[KCrash Handler]
#6  0xb5975426 in QWidget::style (this=this@entry=0xb6d6880) at kernel/qwidget.cpp:2707
#7  0xb5ca9a38 in updateWidgets (widgets=...) at styles/qstylesheetstyle.cpp:2601
#8  0xb5ca9ddf in QStyleSheetStyle::repolish (this=0x8daa590, app=0x8cf4bf0) at styles/qstylesheetstyle.cpp:2789
#9  0xb5934098 in QApplication::setStyleSheet (this=0x8cf4bf0, styleSheet=...) at kernel/qapplication.cpp:1428
#10 0x080924a3 in KMyMoneyApp::Private::setCustomColors (this=0x8e20d08) at /home/aga/GITH/kmymoney/kmymoney/kmymoney.cpp:6762
#11 0x080b2917 in KMyMoneyApp::slotUpdateConfiguration (this=this@entry=0x8e272b8) at /home/aga/GITH/kmymoney/kmymoney/kmymoney.cpp:2456
#12 0x080df969 in KMyMoneyApp::qt_static_metacall (_o=_o@entry=0x8e272b8, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=63, _a=0xbfcdd9b8) at /home/aga/GITH/kmymoney/build/kmymoney/moc_kmymoney.cpp:454
#13 0xb53ea0f7 in QMetaObject::activate (sender=0xbe634b8, m=0xb6e491ec <KConfigDialog::staticMetaObject>, local_signal_index=1, argv=0xbfcdd9b8) at kernel/qobject.cpp:3539
#14 0xb6b5f565 in KConfigDialog::settingsChanged(QString const&) () from /usr/lib/libkdeui.so.5
#15 0xb6b602c1 in KConfigDialog::KConfigDialogPrivate::_k_settingsChangedSlot() () from /usr/lib/libkdeui.so.5
#16 0xb6b60583 in ?? () from /usr/lib/libkdeui.so.5
#17 0xb53ea0f7 in QMetaObject::activate (sender=0xbef66c0, m=0xb6e49258 <KConfigDialogManager::staticMetaObject>, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3539
#18 0xb6b61335 in KConfigDialogManager::settingsChanged() () from /usr/lib/libkdeui.so.5
#19 0xb6b672f2 in KConfigDialogManager::updateSettings() () from /usr/lib/libkdeui.so.5
#20 0xb6b674e4 in ?? () from /usr/lib/libkdeui.so.5
#21 0xb53ea0f7 in QMetaObject::activate (sender=0xbe634b8, m=0xb6e49550 <KDialog::staticMetaObject>, local_signal_index=7, argv=0x0) at kernel/qobject.cpp:3539
#22 0xb6b6f345 in KDialog::applyClicked() () from /usr/lib/libkdeui.so.5
#23 0xb6b6fb56 in KDialog::slotButtonClicked(int) () from /usr/lib/libkdeui.so.5
#24 0xb6b716a8 in ?? () from /usr/lib/libkdeui.so.5
#25 0xb53ea0f7 in QMetaObject::activate (sender=sender@entry=0xc1e619c, m=m@entry=0xb553fe98 <QSignalMapper::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0xbfcddd58) at kernel/qobject.cpp:3539
#26 0xb53f1cf5 in QSignalMapper::mapped (this=this@entry=0xc1e619c, _t1=8) at .moc/release-shared/moc_qsignalmapper.cpp:114
#27 0xb53f1e42 in QSignalMapper::map (this=this@entry=0xc1e619c, sender=0xbcb39b0) at kernel/qsignalmapper.cpp:266
#28 0xb53f1ff8 in QSignalMapper::map (this=0xc1e619c) at kernel/qsignalmapper.cpp:257
#29 0xb53f2588 in QSignalMapper::qt_static_metacall (_o=0x17, _id=208096136, _a=0xbfcddeb8, _c=<optimized out>) at .moc/release-shared/moc_qsignalmapper.cpp:63
#30 0xb53ea0f7 in QMetaObject::activate (sender=sender@entry=0xbcb39b0, m=m@entry=0xb629eac8 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0xbfcddeb8) at kernel/qobject.cpp:3539
#31 0xb602d0ad in QAbstractButton::clicked (this=this@entry=0xbcb39b0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#32 0xb5d47ab1 in QAbstractButtonPrivate::emitClicked (this=this@entry=0xbe8c090) at widgets/qabstractbutton.cpp:548
#33 0xb5d48e37 in QAbstractButtonPrivate::click (this=this@entry=0xbe8c090) at widgets/qabstractbutton.cpp:541
#34 0xb5d48f3e in QAbstractButton::mouseReleaseEvent (this=0xbcb39b0, e=0xbfcde3a4) at widgets/qabstractbutton.cpp:1123
#35 0xb598a3fa in QWidget::event (this=this@entry=0xbcb39b0, event=event@entry=0xbfcde3a4) at kernel/qwidget.cpp:8376
#36 0xb5d49f42 in QAbstractButton::event (this=this@entry=0xbcb39b0, e=e@entry=0xbfcde3a4) at widgets/qabstractbutton.cpp:1082
#37 0xb5de4aec in QPushButton::event (this=0xbcb39b0, e=0xbfcde3a4) at widgets/qpushbutton.cpp:683
#38 0xb59307f4 in QApplicationPrivate::notify_helper (this=0x8cfbde0, receiver=receiver@entry=0xbcb39b0, e=0xbfcde3a4) at kernel/qapplication.cpp:4567
#39 0xb5938ea0 in QApplication::notify (this=0x8cf4bf0, receiver=0xbcb39b0, e=0xbfcde3a4) at kernel/qapplication.cpp:4110
#40 0xb6c1f1f4 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#41 0xb53d4e4a in QCoreApplication::notifyInternal (this=0x8cf4bf0, receiver=receiver@entry=0xbcb39b0, event=event@entry=0xbfcde3a4) at kernel/qcoreapplication.cpp:953
#42 0xb5936b53 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#43 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xbcb39b0, event=0xbfcde3a4, alienWidget=0xbcb39b0, nativeWidget=0xbe634b8, buttonDown=buttonDown@entry=0xb62a7ce4 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#44 0xb59ba778 in QETWidget::translateMouseEvent (this=0xbe634b8, event=event@entry=0xbfcde5cc) at kernel/qapplication_x11.cpp:4634
#45 0xb59b9ec5 in QApplication::x11ProcessEvent (this=0x8cf4bf0, event=event@entry=0xbfcde5cc) at kernel/qapplication_x11.cpp:3627
#46 0xb59e5524 in x11EventSourceDispatch (s=0x8cff848, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0xb436c1e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0xb436c468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0xb436c528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#50 0xb540493b in QEventDispatcherGlib::processEvents (this=this@entry=0x8ccdeb8, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#51 0xb59e55de in QGuiEventDispatcherGlib::processEvents (this=0x8ccdeb8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#52 0xb53d3823 in QEventLoop::processEvents (this=this@entry=0xbfcde888, flags=...) at kernel/qeventloop.cpp:149
#53 0xb53d3b49 in QEventLoop::exec (this=this@entry=0xbfcde888, flags=...) at kernel/qeventloop.cpp:204
#54 0xb53d98fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#55 0xb592ea24 in QApplication::exec () at kernel/qapplication.cpp:3828
#56 0x0808ccb1 in runKMyMoney (splash=splash@entry=0x8dd43b0, a=0x8cf4bf0) at /home/aga/GITH/kmymoney/kmymoney/main.cpp:282
#57 0x08089c64 in main (argc=1, argv=0xbfcdece4) at /home/aga/GITH/kmymoney/kmymoney/main.cpp:181

Possible duplicates by query: bug 209289.

Report to https://bugs.kde.org/

Reproducible: Sometimes

Steps to Reproduce:
1.As above
2.
3.

Actual Results:  
Crash

Expected Results:  
Changed config without crash
Comment 1 Thomas Baumgart 2014-10-09 14:21:56 UTC
I tried to duplicate the problem but it works for me. Lets get some more details about your environment. I have here:

thb@thb-nb:~$ kde4-config --version
Qt: 4.8.5
KDE Development Platform: 4.11.5

Style: Oxygen

I wonder about the style setting, because the crash happens to be in that area. Can that make a difference?
Comment 2 Cristian Oneț 2014-10-09 14:23:17 UTC
Judging by the call to setCustomColors it could be important to have custom colors enabled (system colors off).
Comment 3 allan 2014-10-09 14:32:45 UTC
(In reply to Thomas Baumgart from comment #1)
> I tried to duplicate the problem but it works for me. 

Remember, though, that it's very intemittent.  I had tried this numerous times between this week's crashes.
Lets get some more
> details about your environment. I have here:
> 
> thb@thb-nb:~$ kde4-config --version
> Qt: 4.8.5
> KDE Development Platform: 4.11.5

Here, it's -
Qt: 4.8.6
KDE Development Platform: 4.13.3 (as of this morning)
kde4-config: 1.0


> Style: Oxygen

Changed now to QtCurve

> I wonder about the style setting, because the crash happens to be in that
> area. Can that make a difference?
Comment 4 allan 2014-10-09 14:34:38 UTC
(In reply to Cristian Oneț from comment #2)
> Judging by the call to setCustomColors it could be important to have custom
> colors enabled (system colors off).

System colors were/are off.
Watch this space
Comment 5 Cristian Oneț 2014-10-18 09:35:57 UTC
I can't reproduce this with:
$ kde4-config --version
Qt: 4.8.5
Platforma de dezvoltare KDE: 4.12.5
kde4-config: 1.0

It could be a Qt 4.8.6 related issue, anyway we can't really do anything from kmymoney other then removing the feature that allows the customization of system colors.
Comment 6 Cristian Oneț 2015-04-06 10:53:07 UTC
Any news on this, does it still happen?