https://bugs.kde.org/show_bug.cgi?id=403520

            Bug ID: 403520
           Summary: [Wayland] System settings crashes after I cancel gtk
                    theme install and lclick "Discard" button in
                    apply/discard prompt
           Product: systemsettings
           Version: unspecified
          Platform: unspecified
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: bugsefor...@gmx.com
  Target Milestone: ---

Application: systemsettings5 (5.15.80)

Qt Version: 5.11.2
Frameworks Version: 5.54.0
Operating System: Linux 4.15.0-43-generic x86_64
Distribution: KDE neon Developer Edition

-- Information about the crash:
- What I was doing when the application crashed:
open system settings > apps style > gnome/gtk apps style
click "get new gnome/gtk apps styles" button
select "Install local theme...
click "Close" button
close system settings (apply/discard prompt shows up)
click "Discard" button
system settings crashes

The crash can be reproduced every time.

-- Backtrace:
Application: Configurações do Sistema (systemsettings5), signal: Segmentation
fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5bb727a840 (LWP 9930))]

Thread 3 (Thread 0x7f5b822a9700 (LWP 9952)):
#0  0x00007f5bb28630b4 in __GI___libc_read (fd=22, buf=0x7f5b822a8b9e,
nbytes=10) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f5b9705eff1 in pa_read () from
/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
#2  0x00007f5b974e29fe in pa_mainloop_prepare () from
/usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007f5b974e3470 in pa_mainloop_iterate () from
/usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f5b974e3530 in pa_mainloop_run () from
/usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f5b974f1399 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f5b9708e2a8 in ?? () from
/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
#7  0x00007f5badf726db in start_thread (arg=0x7f5b822a9700) at
pthread_create.c:463
#8  0x00007f5bb287488f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f5ba22ba700 (LWP 9932)):
#0  0x00007f5babbfa064 in g_mutex_unlock () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f5babbb3f49 in g_main_context_check () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5babbb44e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5babbb464c in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5bb31a26eb in QEventDispatcherGlib::processEvents
(this=0x7f5b9c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f5bb31469aa in QEventLoop::exec (this=this@entry=0x7f5ba22b9d30,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007f5bb2f7225a in QThread::exec (this=this@entry=0x7f5bb3861d60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread.cpp:525
#7  0x00007f5bb35e9e45 in QDBusConnectionManager::run (this=0x7f5bb3861d60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#8  0x00007f5bb2f7d17b in QThreadPrivate::start (arg=0x7f5bb3861d60 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:367
#9  0x00007f5badf726db in start_thread (arg=0x7f5ba22ba700) at
pthread_create.c:463
#10 0x00007f5bb287488f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f5bb727a840 (LWP 9930)):
[KCrash Handler]
#6  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data
(this=0xe8) at
../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:140
#7  qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at
../../include/QtCore/../../src/corelib/global/qglobal.h:1038
#8  QDialogButtonBox::d_func (this=0xe0) at widgets/qdialogbuttonbox.h:159
#9  QDialogButtonBox::button (this=0xe0,
which=which@entry=QDialogButtonBox::Close) at widgets/qdialogbuttonbox.cpp:829
#10 0x00007f5b87d8c673 in DialogInstaller::enableGUIThemeIconInstaller
(this=0x55a5d9a4a0f0) at ./src/dialog_installer.cpp:172
#11 0x00007f5bb317782f in QtPrivate::QSlotObjectBase::call (a=0x7ffccbc74200,
r=0x55a5d9a4a0f0, this=0x55a5d9ad79d0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#12 QMetaObject::activate (sender=0x55a5d9ad68c0, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3754
#13 0x00007f5bb4d32e79 in KJob::finished(KJob*, KJob::QPrivateSignal) () from
/usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#14 0x00007f5bb4d335e6 in KJob::~KJob() () from
/usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#15 0x00007f5b87d92d80 in Thread::~Thread (this=0x55a5d9ad68c0,
__in_chrg=<optimized out>) at
./obj-x86_64-linux-gnu/kcm_kdegtkconfig_autogen/UVLADIE3JM/../../../src/thread.h:32
#16 Thread::~Thread (this=0x55a5d9ad68c0, __in_chrg=<optimized out>) at
./obj-x86_64-linux-gnu/kcm_kdegtkconfig_autogen/UVLADIE3JM/../../../src/thread.h:32
#17 0x00007f5b87d8e022 in DialogInstaller::~DialogInstaller
(this=0x55a5d9a4a0f0, __in_chrg=<optimized out>) at
./src/dialog_installer.cpp:79
#18 0x00007f5b87d8e059 in DialogInstaller::~DialogInstaller
(this=0x55a5d9a4a0f0, __in_chrg=<optimized out>) at
./src/dialog_installer.cpp:81
#19 0x00007f5bb31752eb in QObjectPrivate::deleteChildren
(this=this@entry=0x55a5d9937220) at kernel/qobject.cpp:1997
#20 0x00007f5bb419f3dc in QWidget::~QWidget (this=0x55a5d992b120,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1705
#21 0x00007f5bb6085fe1 in KCModule::~KCModule() () from
/usr/lib/x86_64-linux-gnu/libKF5ConfigWidgets.so.5
#22 0x00007f5b87d81b29 in GTKConfigKCModule::~GTKConfigKCModule
(this=0x55a5d992b120, __in_chrg=<optimized out>) at
./src/gtkconfigkcmodule.cpp:162
#23 0x00007f5bb6c540d4 in KCModuleProxy::deleteClient() () from
/usr/lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#24 0x00007f5bb6c5417f in KCModuleProxy::~KCModuleProxy() () from
/usr/lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#25 0x00007f5bb6c54349 in KCModuleProxy::~KCModuleProxy() () from
/usr/lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#26 0x00007f5bb31752eb in QObjectPrivate::deleteChildren
(this=this@entry=0x55a5d9914c10) at kernel/qobject.cpp:1997
#27 0x00007f5bb419f3dc in QWidget::~QWidget (this=0x55a5d9914ae0,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1705
#28 0x00007f5bb419f629 in QWidget::~QWidget (this=0x55a5d9914ae0,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1729
#29 0x00007f5bb31752eb in QObjectPrivate::deleteChildren
(this=this@entry=0x55a5d938a250) at kernel/qobject.cpp:1997
#30 0x00007f5bb419f3dc in QWidget::~QWidget (this=0x55a5d9914b20,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1705
#31 0x00007f5bb42f01f9 in QScrollArea::~QScrollArea (this=0x55a5d9914b20,
__in_chrg=<optimized out>) at widgets/qscrollarea.cpp:172
#32 0x00007f5bb5796da3 in KPageWidgetItem::Private::~Private
(this=0x55a5d9919110, __in_chrg=<optimized out>) at
./src/kpagewidgetmodel.cpp:42
#33 KPageWidgetItem::~KPageWidgetItem (this=0x55a5d9918df0,
__in_chrg=<optimized out>) at ./src/kpagewidgetmodel.cpp:89
#34 0x00007f5bb5796e89 in KPageWidgetItem::~KPageWidgetItem
(this=0x55a5d9918df0, __in_chrg=<optimized out>) at
./src/kpagewidgetmodel.cpp:90
#35 0x00007f5bb579792b in PageItem::~PageItem (this=0x55a5d9912f30,
__in_chrg=<optimized out>) at ./src/kpagewidgetmodel.cpp:191
#36 0x00007f5bb579854c in KPageWidgetModel::removePage (this=0x55a5d95aaeb0,
item=<optimized out>) at ./src/kpagewidgetmodel.cpp:554
#37 0x00007f5bb5796757 in KPageWidget::removePage (this=<optimized out>,
item=<optimized out>) at ./src/kpagewidget.cpp:120
#38 0x00007f5bb6e90395 in ModuleView::closeModules (this=0x55a5d95746b0) at
./core/ModuleView.cpp:282
#39 0x00007f5b9989bf2e in IconMode::backToOverview (this=0x55a5d95ad760) at
./icons/IconMode.cpp:156
#40 0x00007f5bb3177715 in QMetaObject::activate
(sender=sender@entry=0x55a5d95abb30, signalOffset=<optimized out>,
local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffccbc74780)
at kernel/qobject.cpp:3771
#41 0x00007f5bb3177de7 in QMetaObject::activate
(sender=sender@entry=0x55a5d95abb30, m=m@entry=0x7f5bb482f840
<QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1,
argv=argv@entry=0x7ffccbc74780) at kernel/qobject.cpp:3633
#42 0x00007f5bb415e6b2 in QAction::triggered (this=this@entry=0x55a5d95abb30,
_t1=<optimized out>) at .moc/moc_qaction.cpp:376
#43 0x00007f5bb4160cec in QAction::activate (this=0x55a5d95abb30,
event=<optimized out>) at kernel/qaction.cpp:1166
#44 0x00007f5bb424b53b in QAbstractButtonPrivate::click (this=0x55a5d9350330)
at widgets/qabstractbutton.cpp:397
#45 0x00007f5bb424b79d in QAbstractButton::mouseReleaseEvent
(this=0x55a5d9648fc0, e=0x7ffccbc74c60) at widgets/qabstractbutton.cpp:1011
#46 0x00007f5bb433a3da in QToolButton::mouseReleaseEvent (this=<optimized out>,
e=<optimized out>) at widgets/qtoolbutton.cpp:622
#47 0x00007f5bb41a3a98 in QWidget::event (this=0x55a5d9648fc0,
event=0x7ffccbc74c60) at kernel/qwidget.cpp:9287
#48 0x00007f5bb424c96b in QAbstractButton::event
(this=this@entry=0x55a5d9648fc0, e=e@entry=0x7ffccbc74c60) at
widgets/qabstractbutton.cpp:968
#49 0x00007f5bb433a474 in QToolButton::event (this=0x55a5d9648fc0,
event=0x7ffccbc74c60) at widgets/qtoolbutton.cpp:985
#50 0x00007f5bb4164e1c in QApplicationPrivate::notify_helper
(this=this@entry=0x55a5d92028b0, receiver=receiver@entry=0x55a5d9648fc0,
e=e@entry=0x7ffccbc74c60) at kernel/qapplication.cpp:3727
#51 0x00007f5bb416cf87 in QApplication::notify (this=<optimized out>,
receiver=0x55a5d9648fc0, e=0x7ffccbc74c60) at kernel/qapplication.cpp:3203
#52 0x00007f5bb3148688 in QCoreApplication::notifyInternal2
(receiver=receiver@entry=0x55a5d9648fc0, event=event@entry=0x7ffccbc74c60) at
kernel/qcoreapplication.cpp:1048
#53 0x00007f5bb416b8d2 in QCoreApplication::sendEvent (event=<optimized out>,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#54 QApplicationPrivate::sendMouseEvent
(receiver=receiver@entry=0x55a5d9648fc0, event=event@entry=0x7ffccbc74c60,
alienWidget=alienWidget@entry=0x55a5d9648fc0, nativeWidget=0x55a5d92438c0,
buttonDown=buttonDown@entry=0x7f5bb485e850 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2695
#55 0x00007f5bb41bec13 in QWidgetWindow::handleMouseEvent
(this=this@entry=0x55a5d9356430, event=event@entry=0x7ffccbc75060) at
kernel/qwidgetwindow.cpp:658
#56 0x00007f5bb41c1229 in QWidgetWindow::event (this=0x55a5d9356430,
event=0x7ffccbc75060) at kernel/qwidgetwindow.cpp:280
#57 0x00007f5bb4164e1c in QApplicationPrivate::notify_helper
(this=this@entry=0x55a5d92028b0, receiver=receiver@entry=0x55a5d9356430,
e=e@entry=0x7ffccbc75060) at kernel/qapplication.cpp:3727
#58 0x00007f5bb416c3ef in QApplication::notify (this=0x7ffccbc753b0,
receiver=0x55a5d9356430, e=0x7ffccbc75060) at kernel/qapplication.cpp:3486
#59 0x00007f5bb3148688 in QCoreApplication::notifyInternal2
(receiver=receiver@entry=0x55a5d9356430, event=event@entry=0x7ffccbc75060) at
kernel/qcoreapplication.cpp:1048
#60 0x00007f5bb39687bb in QCoreApplication::sendSpontaneousEvent
(event=0x7ffccbc75060, receiver=0x55a5d9356430) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#61 QGuiApplicationPrivate::processMouseEvent (e=0x55a5d9afd7b0) at
kernel/qguiapplication.cpp:2082
#62 0x00007f5bb396a335 in QGuiApplicationPrivate::processWindowSystemEvent
(e=e@entry=0x55a5d9afd7b0) at kernel/qguiapplication.cpp:1817
#63 0x00007f5bb3942f5b in QWindowSystemInterface::sendWindowSystemEvents
(flags=...) at kernel/qwindowsysteminterface.cpp:1032
#64 0x00007f5ba65f673b in
QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#65 0x00007f5bb31469aa in QEventLoop::exec (this=this@entry=0x7ffccbc752d0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#66 0x00007f5bb314fb70 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1336
#67 0x000055a5d77ffe78 in main (argc=<optimized out>, argv=<optimized out>) at
./app/main.cpp:71

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to