Systemsettings crash when interrupting kcm-language at loading

Bug #1270571 reported by KDEUSER56
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libqapt (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Crash if I close Systemsettings while kcm-language is loading, see http://ubuntuone.com/2elkr9n33oAARtr5Bfl0xU. (Triggered in video: clicked Locale and pressed Alt + F4 immediately.)

Reproducible with Kubuntu 13.10 and latest (01/19/14) Kubuntu 14.04 daily iso.

Initially this was reported here: https://bugs.kde.org/show_bug.cgi?id=329329 but Christoph Feck could not reproduce it and I was also unsuccessful reproducing it using Opensuse 13.1 (same KDE version), so this seems to be Kubuntu specific.

Backtrace:

Application: System Settings (systemsettings), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f47819bc7c0 (LWP 4801))]

Thread 2 (Thread 0x7f47642ad700 (LWP 4802)):
#0 0x00007f477e9a574d in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007f47778f2d34 in g_main_context_poll (priority=2147483647, n_fds=2, fds=0x7f475c002bb0, timeout=-1, context=0x7f475c0009a0) at /build/buildd/glib2.0-2.39.3/./glib/gmain.c:4008
#2 g_main_context_iterate (context=context@entry=0x7f475c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.39.3/./glib/gmain.c:3709
#3 0x00007f47778f2e3c in g_main_context_iteration (context=0x7f475c0009a0, may_block=1) at /build/buildd/glib2.0-2.39.3/./glib/gmain.c:3775
#4 0x00007f477f12d836 in QEventDispatcherGlib::processEvents (this=0x7f475c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5 0x00007f477f0ff09f in QEventLoop::processEvents (this=this@entry=0x7f47642acde0, flags=...) at kernel/qeventloop.cpp:149
#6 0x00007f477f0ff395 in QEventLoop::exec (this=this@entry=0x7f47642acde0, flags=...) at kernel/qeventloop.cpp:204
#7 0x00007f477effbc4f in QThread::exec (this=this@entry=0x1f0cd50) at thread/qthread.cpp:537
#8 0x00007f477f0e0813 in QInotifyFileSystemWatcherEngine::run (this=0x1f0cd50) at io/qfilesystemwatcher_inotify.cpp:265
#9 0x00007f477effe31f in QThreadPrivate::start (arg=0x1f0cd50) at thread/qthread_unix.cpp:349
#10 0x00007f4777dcc182 in start_thread (arg=0x7f47642ad700) at pthread_create.c:312
#11 0x00007f477e9b2b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f47819bc7c0 (LWP 4801)):
[KCrash Handler]
#6 KCMLocale::~KCMLocale (this=0x2ba5f00, __in_chrg=<optimized out>) at ../../../kcontrol/locale/kcmlocale.cpp:303
#7 0x00007f4764a902d9 in KCMLocale::~KCMLocale (this=0x2ba5f00, __in_chrg=<optimized out>) at ../../../kcontrol/locale/kcmlocale.cpp:312
#8 0x00007f477f117158 in QObjectPrivate::deleteChildren (this=this@entry=0x1d01d70) at kernel/qobject.cpp:1907
#9 0x00007f477fdbad37 in QWidget::~QWidget (this=0x2b6dc30, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#10 0x00007f47810d5fbb in KCModuleProxy::~KCModuleProxy (this=0x2b6dc30, __in_chrg=<optimized out>) at ../../kutils/kcmoduleproxy.cpp:209
#11 0x00007f47810d6069 in KCModuleProxy::~KCModuleProxy (this=0x2b6dc30, __in_chrg=<optimized out>) at ../../kutils/kcmoduleproxy.cpp:215
#12 0x00007f477f117158 in QObjectPrivate::deleteChildren (this=this@entry=0x2b1ed30) at kernel/qobject.cpp:1907
#13 0x00007f477fdbad37 in QWidget::~QWidget (this=0x1869b50, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#14 0x00007f477fdbb049 in QWidget::~QWidget (this=0x1869b50, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1703
#15 0x00007f477f117158 in QObjectPrivate::deleteChildren (this=this@entry=0x2b9adb0) at kernel/qobject.cpp:1907
#16 0x00007f477fdbad37 in QWidget::~QWidget (this=0x2b37490, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#17 0x00007f47801de649 in QScrollArea::~QScrollArea (this=0x2b37490, __in_chrg=<optimized out>) at widgets/qscrollarea.cpp:176
#18 0x00007f477f117158 in QObjectPrivate::deleteChildren (this=this@entry=0x1cfd370) at kernel/qobject.cpp:1907
#19 0x00007f477fdbad37 in QWidget::~QWidget (this=0x1cfd330, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#20 0x00007f4780aa7e2e in ~KPageStackedWidget (this=0x1cfd330, __in_chrg=<optimized out>) at ../../kdeui/paged/kpageview_p.h:37
#21 KPageStackedWidget::~KPageStackedWidget (this=0x1cfd330, __in_chrg=<optimized out>) at ../../kdeui/paged/kpageview_p.h:37
#22 0x00007f477f117158 in QObjectPrivate::deleteChildren (this=this@entry=0x1cfcd60) at kernel/qobject.cpp:1907
#23 0x00007f477fdbad37 in QWidget::~QWidget (this=0x1cfc370, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#24 0x00007f4780aaa8a9 in KPageWidget::~KPageWidget (this=0x1cfc370, __in_chrg=<optimized out>) at ../../kdeui/paged/kpagewidget.cpp:78
#25 0x00007f477f117158 in QObjectPrivate::deleteChildren (this=this@entry=0x1cfc860) at kernel/qobject.cpp:1907
#26 0x00007f477fdbad37 in QWidget::~QWidget (this=0x1cfc330, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#27 0x00007f4780eaeed9 in ModuleView::~ModuleView (this=0x1cfc330, __in_chrg=<optimized out>) at ../../../systemsettings/core/ModuleView.cpp:107
#28 0x00007f477f117158 in QObjectPrivate::deleteChildren (this=this@entry=0x1cfc450) at kernel/qobject.cpp:1907
#29 0x00007f477fdbad37 in QWidget::~QWidget (this=0x1cfc2d0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#30 0x00007f47801b6e49 in QStackedWidget::~QStackedWidget (this=0x1cfc2d0, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:196
#31 0x00007f477f117158 in QObjectPrivate::deleteChildren (this=this@entry=0x1a17590) at kernel/qobject.cpp:1907
#32 0x00007f477fdbad37 in QWidget::~QWidget (this=0x1a3c880, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#33 0x00007f47801b6e49 in QStackedWidget::~QStackedWidget (this=0x1a3c880, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:196
#34 0x00007f477f117158 in QObjectPrivate::deleteChildren (this=this@entry=0x1a18250) at kernel/qobject.cpp:1907
#35 0x00007f477fdbad37 in QWidget::~QWidget (this=0x1a18030, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#36 0x00007f4780b2f0b5 in KMainWindow::~KMainWindow (this=0x1a18030, __in_chrg=<optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:467
#37 0x000000000040bb1e in SettingsBase::~SettingsBase (this=0x1a18030, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../systemsettings/app/SettingsBase.cpp:69
#38 0x000000000040bb69 in SettingsBase::~SettingsBase (this=0x1a18030, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../systemsettings/app/SettingsBase.cpp:72
#39 0x00007f477f118c48 in QObject::event (this=this@entry=0x1a18030, e=e@entry=0x2198280) at kernel/qobject.cpp:1175
#40 0x00007f477fdbe55b in QWidget::event (this=this@entry=0x1a18030, event=event@entry=0x2198280) at kernel/qwidget.cpp:8846
#41 0x00007f47801789d3 in QMainWindow::event (this=this@entry=0x1a18030, event=event@entry=0x2198280) at widgets/qmainwindow.cpp:1478
#42 0x00007f4780b300b1 in KMainWindow::event (this=this@entry=0x1a18030, ev=ev@entry=0x2198280) at ../../kdeui/widgets/kmainwindow.cpp:1084
#43 0x00007f4780b67ae9 in KXmlGuiWindow::event (this=0x1a18030, ev=0x2198280) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#44 0x00007f477fd6ee2c in QApplicationPrivate::notify_helper (this=this@entry=0x18629f0, receiver=receiver@entry=0x1a18030, e=e@entry=0x2198280) at kernel/qapplication.cpp:4567
#45 0x00007f477fd754a0 in QApplication::notify (this=this@entry=0x7fff9173c9a0, receiver=receiver@entry=0x1a18030, e=e@entry=0x2198280) at kernel/qapplication.cpp:4353
#46 0x00007f4780a7baaa in KApplication::notify (this=0x7fff9173c9a0, receiver=0x1a18030, event=0x2198280) at ../../kdeui/kernel/kapplication.cpp:311
#47 0x00007f477f1004cd in QCoreApplication::notifyInternal (this=0x7fff9173c9a0, receiver=receiver@entry=0x1a18030, event=event@entry=0x2198280) at kernel/qcoreapplication.cpp:953
#48 0x00007f477f103b2d in sendEvent (event=0x2198280, receiver=0x1a18030) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x17ff1f0) at kernel/qcoreapplication.cpp:1577
#50 0x00007f477f103fd3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#51 0x00007f477f12df53 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#52 postEventSourceDispatch (s=0x1852f00) at kernel/qeventdispatcher_glib.cpp:280
#53 0x00007f47778f2b54 in g_main_dispatch (context=0x1853990) at /build/buildd/glib2.0-2.39.3/./glib/gmain.c:3068
#54 g_main_context_dispatch (context=context@entry=0x1853990) at /build/buildd/glib2.0-2.39.3/./glib/gmain.c:3643
#55 0x00007f47778f2d98 in g_main_context_iterate (context=context@entry=0x1853990, block=block@entry=0, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.39.3/./glib/gmain.c:3714
#56 0x00007f47778f2e3c in g_main_context_iteration (context=0x1853990, may_block=0) at /build/buildd/glib2.0-2.39.3/./glib/gmain.c:3775
#57 0x00007f477f12d815 in QEventDispatcherGlib::processEvents (this=0x18441a0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#58 0x00007f477fe10bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0x00007f477f10400f in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:1140
#60 0x00007f476338d453 in QApt::CacheBuildProgress::Update (this=<optimized out>) at /build/buildd/qapt-2.0.65/src/cache.cpp:34
#61 0x00007f476308bb9b in pkgDepCache::Update(OpProgress*) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#62 0x00007f476308bf7c in pkgDepCache::Init(OpProgress*) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#63 0x00007f47630b80c0 in pkgCacheFile::BuildDepCache(OpProgress*) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#64 0x00007f47630b8122 in pkgCacheFile::Open(OpProgress*, bool) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#65 0x00007f476338d3c3 in ReadOnlyOpen (Progress=<optimized out>, this=<optimized out>) at /usr/include/apt-pkg/cachefile.h:68
#66 QApt::Cache::open (this=<optimized out>) at /build/buildd/qapt-2.0.65/src/cache.cpp:79
#67 0x00007f4763388433 in QApt::Backend::reloadCache (this=this@entry=0x20b5900) at /build/buildd/qapt-2.0.65/src/backend.cpp:176
#68 0x00007f476338920e in QApt::Backend::init (this=this@entry=0x20b5900) at /build/buildd/qapt-2.0.65/src/backend.cpp:169
#69 0x00007f4764a93a17 in KCMLocale::KCMLocale (this=0x2ba5f00, parent=<optimized out>, args=...) at ../../../kcontrol/locale/kcmlocale.cpp:81
#70 0x00007f4764aa556b in KPluginFactory::createInstance<KCMLocale, QWidget> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/KDE/../kpluginfactory.h:477
#71 0x00007f477f8e2453 in KPluginFactory::create (this=0x1aee2e0, iface=0x7f4780be3360 <qt_meta_stringdata_KCModule> "KCModule", parentWidget=0x0, parent=0x2b6dc30, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:203
#72 0x00007f47810d18ce in create<KCModule> (args=..., keyword=..., parent=0x2b6dc30, parentWidget=0x0, this=0x1aee2e0) at ../../kdecore/util/kpluginfactory.h:531
#73 createInstance<KCModule> (error=0x7fff9173a520, args=..., parent=0x2b6dc30, parentWidget=0x0, this=0x1cd41c0) at ../../kdecore/services/kservice.h:573
#74 createInstance<KCModule> (error=0x7fff9173a520, args=..., parent=0x2b6dc30, this=0x1cd41c0) at ../../kdecore/services/kservice.h:550
#75 KCModuleLoader::loadModule (mod=..., report=report@entry=KCModuleLoader::Inline, parent=0x2b6dc30, args=...) at ../../kutils/kcmoduleloader.cpp:89
#76 0x00007f47810d6b1b in KCModuleProxyPrivate::loadModule (this=this@entry=0x2b0b2a0) at ../../kutils/kcmoduleproxy.cpp:107
#77 0x00007f47810d7235 in KCModuleProxy::realModule (this=this@entry=0x2b6dc30) at ../../kutils/kcmoduleproxy.cpp:83
#78 0x00007f47810d7633 in KCModuleProxy::showEvent (this=0x2b6dc30, ev=0x7fff9173ab60) at ../../kutils/kcmoduleproxy.cpp:198
#79 0x00007f477fdbe2a5 in QWidget::event (this=0x2b6dc30, event=0x7fff9173ab60) at kernel/qwidget.cpp:8594
#80 0x00007f477fd6ee2c in QApplicationPrivate::notify_helper (this=this@entry=0x18629f0, receiver=receiver@entry=0x2b6dc30, e=e@entry=0x7fff9173ab60) at kernel/qapplication.cpp:4567
#81 0x00007f477fd754a0 in QApplication::notify (this=this@entry=0x7fff9173c9a0, receiver=receiver@entry=0x2b6dc30, e=e@entry=0x7fff9173ab60) at kernel/qapplication.cpp:4353
#82 0x00007f4780a7baaa in KApplication::notify (this=0x7fff9173c9a0, receiver=0x2b6dc30, event=0x7fff9173ab60) at ../../kdeui/kernel/kapplication.cpp:311
#83 0x00007f477f1004cd in QCoreApplication::notifyInternal (this=0x7fff9173c9a0, receiver=receiver@entry=0x2b6dc30, event=event@entry=0x7fff9173ab60) at kernel/qcoreapplication.cpp:953
#84 0x00007f477fdbba0f in sendEvent (event=0x7fff9173ab60, receiver=0x2b6dc30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#85 QWidgetPrivate::show_helper (this=0x1d01d70) at kernel/qwidget.cpp:7556
#86 0x00007f477fdbb73c in QWidgetPrivate::show_recursive (this=<optimized out>) at kernel/qwidget.cpp:7427
#87 0x00007f477fdbb87a in QWidgetPrivate::showChildren (this=this@entry=0x2b1ed30, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:7864
#88 0x00007f477fdbb90f in QWidgetPrivate::show_helper (this=this@entry=0x2b1ed30) at kernel/qwidget.cpp:7503
#89 0x00007f477fdbd6b4 in QWidget::setVisible (this=0x1869b50, visible=<optimized out>) at kernel/qwidget.cpp:7778
#90 0x00007f477fdbb88e in show (this=0x1869b50) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:497
#91 QWidgetPrivate::showChildren (this=this@entry=0x2b9adb0, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:7866
#92 0x00007f477fdbb90f in QWidgetPrivate::show_helper (this=this@entry=0x2b9adb0) at kernel/qwidget.cpp:7503
#93 0x00007f477fdbd6b4 in QWidget::setVisible (this=0x2b37490, visible=<optimized out>) at kernel/qwidget.cpp:7778
#94 0x00007f477fda1462 in show (this=0x2b37490) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:497
#95 QStackedLayout::setCurrentIndex (this=0x1cfd690, index=1) at kernel/qstackedlayout.cpp:313
#96 0x00007f477fda160a in QStackedLayout::setCurrentWidget (this=<optimized out>, widget=widget@entry=0x2b37490) at kernel/qstackedlayout.cpp:368
#97 0x00007f47801b7027 in QStackedWidget::setCurrentWidget (this=<optimized out>, widget=widget@entry=0x2b37490) at widgets/qstackedwidget.cpp:295
#98 0x00007f4780aa788e in KPageViewPrivate::_k_pageSelected (this=0x1cfcd10, index=..., previous=...) at ../../kdeui/paged/kpageview.cpp:235
#99 0x00007f477f114868 in QMetaObject::activate (sender=sender@entry=0x192ada0, m=m@entry=0x7f4780837f90 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff9173afe0) at kernel/qobject.cpp:3539
#100 0x00007f47802b7877 in QItemSelectionModel::selectionChanged (this=this@entry=0x192ada0, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:165
#101 0x00007f47802bced1 in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x192ada0, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1544
#102 0x00007f47802bd6a3 in QItemSelectionModel::select (this=0x192ada0, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#103 0x00007f47802b86e8 in QItemSelectionModel::select (this=this@entry=0x192ada0, index=..., command=...) at itemviews/qitemselectionmodel.cpp:985
#104 0x00007f47802b7aa7 in QItemSelectionModel::setCurrentIndex (this=0x192ada0, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1174
#105 0x00007f4780aa6a2e in KPageViewPrivate::_k_rebuildGui (this=0x1cfcd10) at ../../kdeui/paged/kpageview.cpp:70
#106 0x00007f4780aa74e5 in KPageViewPrivate::_k_modelChanged (this=0x1cfcd10) at ../../kdeui/paged/kpageview.cpp:190
#107 0x00007f477f114868 in QMetaObject::activate (sender=sender@entry=0x1cfd250, m=m@entry=0x7f477f464630 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#108 0x00007f477f15e563 in QAbstractItemModel::layoutChanged (this=this@entry=0x1cfd250) at .moc/release-shared/moc_qabstractitemmodel.cpp:176
#109 0x00007f4780aac1b9 in KPageWidgetModel::addPage (this=0x1cfd250, item=item@entry=0x2144c60) at ../../kdeui/paged/kpagewidgetmodel.cpp:401
#110 0x00007f4780aaaa4d in KPageWidget::addPage (this=<optimized out>, item=item@entry=0x2144c60) at ../../kdeui/paged/kpagewidget.cpp:87
#111 0x00007f4780eb0975 in ModuleView::addModule (this=this@entry=0x1cfc330, module=0x1cbf818) at ../../../systemsettings/core/ModuleView.cpp:191
#112 0x00007f4780eb0c25 in ModuleView::loadModule (this=0x1cfc330, menuItem=...) at ../../../systemsettings/core/ModuleView.cpp:144
#113 0x00007f4765330758 in IconMode::changeModule (this=0x1cf9d50, activeModule=...) at ../../../systemsettings/icons/IconMode.cpp:146
#114 0x00007f477f114868 in QMetaObject::activate (sender=sender@entry=0x18394a0, m=m@entry=0x7f4780836580 <QAbstractItemView::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff9173b7c0) at kernel/qobject.cpp:3539
#115 0x00007f4780266295 in QAbstractItemView::activated (this=this@entry=0x18394a0, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:361
#116 0x00007f4780266510 in QAbstractItemView::mouseReleaseEvent (this=this@entry=0x18394a0, event=event@entry=0x7fff9173c150) at itemviews/qabstractitemview.cpp:1821
#117 0x00007f478028f6ee in QListView::mouseReleaseEvent (this=this@entry=0x18394a0, e=e@entry=0x7fff9173c150) at itemviews/qlistview.cpp:799
#118 0x00007f4780a55581 in KCategorizedView::mouseReleaseEvent (this=0x18394a0, event=0x7fff9173c150) at ../../kdeui/itemviews/kcategorizedview.cpp:1047
#119 0x00007f477fdbe50a in QWidget::event (this=this@entry=0x18394a0, event=event@entry=0x7fff9173c150) at kernel/qwidget.cpp:8376
#120 0x00007f478015ffee in QFrame::event (this=0x18394a0, e=0x7fff9173c150) at widgets/qframe.cpp:557
#121 0x00007f478026f5d3 in QAbstractItemView::viewportEvent (this=0x18394a0, event=0x7fff9173c150) at itemviews/qabstractitemview.cpp:1644
#122 0x00007f477f100636 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x18629f0, receiver=receiver@entry=0x1cfca80, event=event@entry=0x7fff9173c150) at kernel/qcoreapplication.cpp:1063
#123 0x00007f477fd6ee0c in QApplicationPrivate::notify_helper (this=this@entry=0x18629f0, receiver=receiver@entry=0x1cfca80, e=e@entry=0x7fff9173c150) at kernel/qapplication.cpp:4563
#124 0x00007f477fd755dd in QApplication::notify (this=this@entry=0x7fff9173c9a0, receiver=receiver@entry=0x1cfca80, e=e@entry=0x7fff9173c150) at kernel/qapplication.cpp:4110
#125 0x00007f4780a7baaa in KApplication::notify (this=0x7fff9173c9a0, receiver=0x1cfca80, event=0x7fff9173c150) at ../../kdeui/kernel/kapplication.cpp:311
#126 0x00007f477f1004cd in QCoreApplication::notifyInternal (this=0x7fff9173c9a0, receiver=receiver@entry=0x1cfca80, event=event@entry=0x7fff9173c150) at kernel/qcoreapplication.cpp:953
#127 0x00007f477fd74d93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#128 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1cfca80, event=event@entry=0x7fff9173c150, alienWidget=alienWidget@entry=0x1cfca80, nativeWidget=nativeWidget@entry=0x1a3c880, buttonDown=buttonDown@entry=0x7f4780856578 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#129 0x00007f477fde99cb in QETWidget::translateMouseEvent (this=this@entry=0x1a3c880, event=event@entry=0x7fff9173c4d0) at kernel/qapplication_x11.cpp:4634
#130 0x00007f477fde9269 in QApplication::x11ProcessEvent (this=0x7fff9173c9a0, event=event@entry=0x7fff9173c4d0) at kernel/qapplication_x11.cpp:3627
#131 0x00007f477fe10b02 in x11EventSourceDispatch (s=0x1844b70, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#132 0x00007f47778f2b54 in g_main_dispatch (context=0x1853990) at /build/buildd/glib2.0-2.39.3/./glib/gmain.c:3068
#133 g_main_context_dispatch (context=context@entry=0x1853990) at /build/buildd/glib2.0-2.39.3/./glib/gmain.c:3643
#134 0x00007f47778f2d98 in g_main_context_iterate (context=context@entry=0x1853990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.39.3/./glib/gmain.c:3714
#135 0x00007f47778f2e3c in g_main_context_iteration (context=0x1853990, may_block=1) at /build/buildd/glib2.0-2.39.3/./glib/gmain.c:3775
#136 0x00007f477f12d815 in QEventDispatcherGlib::processEvents (this=0x18441a0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#137 0x00007f477fe10bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#138 0x00007f477f0ff09f in QEventLoop::processEvents (this=this@entry=0x7fff9173c8a0, flags=...) at kernel/qeventloop.cpp:149
#139 0x00007f477f0ff395 in QEventLoop::exec (this=this@entry=0x7fff9173c8a0, flags=...) at kernel/qeventloop.cpp:204
#140 0x00007f477f104b69 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#141 0x00007f477fd6d37c in QApplication::exec () at kernel/qapplication.cpp:3828
#142 0x000000000040aadb in main (argc=5, argv=0x7fff9173cae8) at ../../../systemsettings/app/main.cpp:49

Tags: kubuntu trusty
Revision history for this message
Harald Sitter (apachelogger) wrote :

Totally looks like a qapt bug to be honest.

affects: kde-workspace (Ubuntu) → kde-runtime (Ubuntu)
Changed in kde-runtime (Ubuntu):
importance: Undecided → Medium
milestone: none → ubuntu-14.04
tags: added: kubuntu
Revision history for this message
KDEUSER56 (kdeuser56) wrote :

Comment by Christoph Feck in the original bug report:

"Crash caused by local event loop inside the KCMLocale constructor. The object is not fully created until the constructor returns. Running the event loop on the half-created object causes this crash."

Revision history for this message
Harald Sitter (apachelogger) wrote :

Yeah, it's a qapt bug, that I think I fixed for the next release. Alas, not quite sure when we are going to do the next release

quick back story:
to prevent the UI from blocking qapt started eventloop processing inside itself, which is sort of like multithreading except it's inside the same thread thus less prone to threading issues. however even without multiple threads it caues issues when an application is not prepared for this sort of behavior. in particular in the bug at hand due to the unblocked UI you were able to cause the quit signal (by closing the app) which caused a destruction while in fact the application was still constructing which is why it exploded. anyway, long story short we decided that this was nasty behavior and removed the unblocking which still seems to give resonable fast experience regardless.

affects: kde-runtime (Ubuntu) → qapt (Ubuntu)
Changed in qapt (Ubuntu):
status: New → Fix Committed
affects: qapt (Ubuntu) → libqapt (Ubuntu)
Changed in libqapt (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.