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

            Bug ID: 405405
           Summary: kde-gtk-config crashes after I try to install a local
                    gtk2 theme
           Product: systemsettings
           Version: 5.15.3
          Platform: Archlinux Packages
                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.3)

Qt Version: 5.12.1
Frameworks Version: 5.56.0
Operating System: Linux 5.0.0-arch1-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
go to https://store.kde.org/p/1160290
download the tar.gz. file under "File" tab
open kde-gtk-config kcm
click "Get new gnome/gtk application styles" > "Install a local theme..."
in step 1, select the tar.gz that you file downloaded
the error "This gtk theme cannot be installed" appears below the file path
click "Close" button
close system settings
plasma shows crash notification

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5e5e862840 (LWP 1186))]

Thread 5 (Thread 0x7f5e4d018700 (LWP 1192)):
#0  0x00007f5e63bfa774 in __GI___libc_read (nbytes=16, buf=0x7f5e4d017b20,
fd=12) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007f5e63bfa774 in __GI___libc_read (fd=12, buf=0x7f5e4d017b20,
nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f5e5fe61961 in read (__nbytes=16, __buf=0x7f5e4d017b20,
__fd=<optimized out>, __fd=<optimized out>, __buf=<optimized out>,
__nbytes=<optimized out>) at /usr/include/bits/unistd.h:44
#3  0x00007f5e5fe61961 in g_wakeup_acknowledge (wakeup=0x7f5e500039a0) at
../glib/glib/gwakeup.c:210
#4  0x00007f5e5feb1e40 in g_main_context_check
(context=context@entry=0x7f5e44000bf0, max_priority=2147483647,
fds=fds@entry=0x7f5e44004a30, n_fds=n_fds@entry=1) at ../glib/glib/gmain.c:3705
#5  0x00007f5e5feb3636 in g_main_context_iterate
(context=context@entry=0x7f5e44000bf0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:3924
#6  0x00007f5e5feb377e in g_main_context_iteration (context=0x7f5e44000bf0,
may_block=may_block@entry=1) at ../glib/glib/gmain.c:3988
#7  0x00007f5e64133d04 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7f5e44000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007f5e640dcb2c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f5e4d017d40, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0x00007f5e63f20569 in QThread::exec() (this=this@entry=0x559c6b905950) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0x00007f5e632ae969 in QQmlThreadPrivate::run() (this=0x559c6b905950) at
/home/strangiato/qt5-declarative/src/qtdeclarative-everywhere-src-5.12.1/src/qml/qml/ftw/qqmlthread.cpp:148
#11 0x00007f5e63f2196c in QThreadPrivate::start(void*) (arg=0x559c6b905950) at
thread/qthread_unix.cpp:361
#12 0x00007f5e625c9a9d in start_thread (arg=<optimized out>) at
pthread_create.c:486
#13 0x00007f5e63c09af3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f5e55a84700 (LWP 1189)):
#0  0x00007f5e625cfafc in futex_wait_cancelable (private=0, expected=0,
futex_word=0x559c6b2fb6c8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f5e625cfafc in __pthread_cond_wait_common (abstime=0x0,
mutex=0x559c6b2fb678, cond=0x559c6b2fb6a0) at pthread_cond_wait.c:502
#2  0x00007f5e625cfafc in __pthread_cond_wait (cond=0x559c6b2fb6a0,
mutex=0x559c6b2fb678) at pthread_cond_wait.c:655
#3  0x00007f5e560a6c94 in cnd_wait (mtx=0x559c6b2fb678, cond=0x559c6b2fb6a0) at
../mesa-18.3.4/src/../include/c11/threads_posix.h:155
#4  0x00007f5e560a6c94 in util_queue_thread_func
(input=input@entry=0x559c6b3d9bc0) at ../mesa-18.3.4/src/util/u_queue.c:270
#5  0x00007f5e560a69b8 in impl_thrd_routine (p=<optimized out>) at
../mesa-18.3.4/src/../include/c11/threads_posix.h:87
#6  0x00007f5e625c9a9d in start_thread (arg=<optimized out>) at
pthread_create.c:486
#7  0x00007f5e63c09af3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f5e57fff700 (LWP 1188)):
#0  0x00007f5e63bfa76b in __GI___libc_read (nbytes=16, buf=0x7f5e57ffeb10,
fd=7) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007f5e63bfa76b in __GI___libc_read (fd=7, buf=0x7f5e57ffeb10,
nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f5e5fe61961 in read (__nbytes=16, __buf=0x7f5e57ffeb10,
__fd=<optimized out>, __fd=<optimized out>, __buf=<optimized out>,
__nbytes=<optimized out>) at /usr/include/bits/unistd.h:44
#3  0x00007f5e5fe61961 in g_wakeup_acknowledge (wakeup=0x559c6b30b4b0) at
../glib/glib/gwakeup.c:210
#4  0x00007f5e5feb1e40 in g_main_context_check
(context=context@entry=0x7f5e50000bf0, max_priority=2147483647,
fds=fds@entry=0x7f5e50004e30, n_fds=n_fds@entry=1) at ../glib/glib/gmain.c:3705
#5  0x00007f5e5feb3636 in g_main_context_iterate
(context=context@entry=0x7f5e50000bf0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:3924
#6  0x00007f5e5feb377e in g_main_context_iteration (context=0x7f5e50000bf0,
may_block=may_block@entry=1) at ../glib/glib/gmain.c:3988
#7  0x00007f5e64133d04 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7f5e50000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007f5e640dcb2c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7f5e57ffed30, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0x00007f5e63f20569 in QThread::exec() (this=this@entry=0x7f5e64423080
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0x00007f5e643a7ba6 in QDBusConnectionManager::run() (this=0x7f5e64423080
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#11 0x00007f5e63f2196c in QThreadPrivate::start(void*) (arg=0x7f5e64423080
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:361
#12 0x00007f5e625c9a9d in start_thread (arg=<optimized out>) at
pthread_create.c:486
#13 0x00007f5e63c09af3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f5e5da70700 (LWP 1187)):
#0  0x00007f5e63bfebf1 in __GI___poll (fds=0x7f5e5da6fc78, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f5e6258a630 in  () at /usr/lib/libxcb.so.1
#2  0x00007f5e6258c2db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f5e5e419949 in QXcbEventQueue::run() (this=0x559c6b2c3640) at
qxcbeventqueue.cpp:228
#4  0x00007f5e63f2196c in QThreadPrivate::start(void*) (arg=0x559c6b2c3640) at
thread/qthread_unix.cpp:361
#5  0x00007f5e625c9a9d in start_thread (arg=<optimized out>) at
pthread_create.c:486
#6  0x00007f5e63c09af3 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f5e5e862840 (LWP 1186)):
[KCrash Handler]
#6  0x00007f5e6410d32d in QObject::disconnect(QObject const*, char const*,
QObject const*, char const*) (sender=0x559c6bcaf150, signal=0x0,
receiver=0x7f5e58007230, method=0x0) at kernel/qobject.cpp:2996
#7  0x00007f5e4377f52d in  () at /usr/lib/qt/plugins/kcm_kdegtkconfig.so
#8  0x00007f5e4377f5f9 in  () at /usr/lib/qt/plugins/kcm_kdegtkconfig.so
#9  0x00007f5e641067ab in QObjectPrivate::deleteChildren()
(this=this@entry=0x559c6ba5e4f0) at kernel/qobject.cpp:2006
#10 0x00007f5e64b7f28f in QWidget::~QWidget() (this=0x559c6ba4df80,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1702
#11 0x00007f5e654ac762 in KCModule::~KCModule() () at
/usr/lib/libKF5ConfigWidgets.so.5
#12 0x00007f5e43773769 in  () at /usr/lib/qt/plugins/kcm_kdegtkconfig.so
#13 0x00007f5e656844e4 in KCModuleProxy::deleteClient() () at
/usr/lib/libKF5KCMUtils.so.5
#14 0x00007f5e65684590 in KCModuleProxy::~KCModuleProxy() () at
/usr/lib/libKF5KCMUtils.so.5
#15 0x00007f5e6568475a in KCModuleProxy::~KCModuleProxy() () at
/usr/lib/libKF5KCMUtils.so.5
#16 0x00007f5e641067ab in QObjectPrivate::deleteChildren()
(this=this@entry=0x559c6ba49c10) at kernel/qobject.cpp:2006
#17 0x00007f5e64b7f28f in QWidget::~QWidget() (this=0x559c6ba49950,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1702
#18 0x00007f5e64b7f4aa in QWidget::~QWidget() (this=0x559c6ba49950,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1564
#19 0x00007f5e641067ab in QObjectPrivate::deleteChildren()
(this=this@entry=0x559c6b97fea0) at kernel/qobject.cpp:2006
#20 0x00007f5e64b7f28f in QWidget::~QWidget() (this=0x559c6ba49b20,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1702
#21 0x00007f5e64cd561a in QScrollArea::~QScrollArea() (this=0x559c6ba49b20,
__in_chrg=<optimized out>) at widgets/qscrollarea.cpp:170
#22 0x00007f5e641067ab in QObjectPrivate::deleteChildren()
(this=this@entry=0x559c6b4d1630) at kernel/qobject.cpp:2006
#23 0x00007f5e64b7f28f in QWidget::~QWidget() (this=0x559c6b743e40,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1702
#24 0x00007f5e653cb10e in  () at /usr/lib/libKF5WidgetsAddons.so.5
#25 0x00007f5e641067ab in QObjectPrivate::deleteChildren()
(this=this@entry=0x559c6b7448a0) at kernel/qobject.cpp:2006
#26 0x00007f5e64b7f28f in QWidget::~QWidget() (this=0x559c6b72bfc0,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1702
#27 0x00007f5e653b405a in KPageWidget::~KPageWidget() () at
/usr/lib/libKF5WidgetsAddons.so.5
#28 0x00007f5e641067ab in QObjectPrivate::deleteChildren()
(this=this@entry=0x559c6b744550) at kernel/qobject.cpp:2006
#29 0x00007f5e64b7f28f in QWidget::~QWidget() (this=0x559c6b74b5b0,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1702
#30 0x00007f5e656c4f8a in ModuleView::~ModuleView() (this=0x559c6b74b5b0,
__in_chrg=<optimized out>) at
/usr/src/debug/systemsettings-5.15.3/core/ModuleView.cpp:115
#31 0x00007f5e641067ab in QObjectPrivate::deleteChildren()
(this=this@entry=0x559c6b473bd0) at kernel/qobject.cpp:2006
#32 0x00007f5e64b7f28f in QWidget::~QWidget() (this=0x559c6b74b4e0,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1702
#33 0x00007f5e64ceb67a in QStackedWidget::~QStackedWidget()
(this=0x559c6b74b4e0, __in_chrg=<optimized out>) at
widgets/qstackedwidget.cpp:145
#34 0x00007f5e641067ab in QObjectPrivate::deleteChildren()
(this=this@entry=0x559c6b3579d0) at kernel/qobject.cpp:2006
#35 0x00007f5e64b7f28f in QWidget::~QWidget() (this=0x559c6b345d50,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1702
#36 0x00007f5e64ceb67a in QStackedWidget::~QStackedWidget()
(this=0x559c6b345d50, __in_chrg=<optimized out>) at
widgets/qstackedwidget.cpp:145
#37 0x00007f5e641067ab in QObjectPrivate::deleteChildren()
(this=this@entry=0x559c6b351a70) at kernel/qobject.cpp:2006
#38 0x00007f5e64b7f28f in QWidget::~QWidget() (this=0x559c6b33aa80,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1702
#39 0x00007f5e655c6e55 in KMainWindow::~KMainWindow() () at
/usr/lib/libKF5XmlGui.so.5
#40 0x0000559c6a67a38f in SettingsBase::~SettingsBase() (this=0x559c6b33aa80,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
/usr/include/c++/8.2.1/bits/atomic_base.h:303
#41 0x0000559c6a67a3f9 in SettingsBase::~SettingsBase() (this=0x559c6b33aa80,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
/usr/src/debug/systemsettings-5.15.3/app/SettingsBase.cpp:74
#42 0x00007f5e64109171 in QObject::event(QEvent*)
(this=this@entry=0x559c6b33aa80, e=e@entry=0x559c6bf64930) at
kernel/qobject.cpp:1251
#43 0x00007f5e64b8401c in QWidget::event(QEvent*)
(this=this@entry=0x559c6b33aa80, event=event@entry=0x559c6bf64930) at
kernel/qwidget.cpp:9363
#44 0x00007f5e64c91015 in QMainWindow::event(QEvent*) (this=0x559c6b33aa80,
event=0x559c6bf64930) at widgets/qmainwindow.cpp:1339
#45 0x00007f5e655c93dc in KMainWindow::event(QEvent*) () at
/usr/lib/libKF5XmlGui.so.5
#46 0x00007f5e656145c6 in KXmlGuiWindow::event(QEvent*) () at
/usr/lib/libKF5XmlGui.so.5
#47 0x00007f5e64b42e24 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=this@entry=0x559c6b2a4690, receiver=receiver@entry=0x559c6b33aa80,
e=e@entry=0x559c6bf64930) at kernel/qapplication.cpp:3753
#48 0x00007f5e64b4a6e1 in QApplication::notify(QObject*, QEvent*)
(this=0x7fff7df41360, receiver=0x559c6b33aa80, e=0x559c6bf64930) at
kernel/qapplication.cpp:3500
#49 0x00007f5e640dde99 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x559c6b33aa80, event=0x559c6bf64930) at
../../include/QtCore/5.12.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:322
#50 0x00007f5e640e0f38 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0x559c6b29bbb0) at
kernel/qcoreapplication.cpp:1799
#51 0x00007f5e64134714 in postEventSourceDispatch(GSource*, GSourceFunc,
gpointer) (s=0x559c6b2f7c70) at kernel/qeventdispatcher_glib.cpp:276
#52 0x00007f5e5feb17bf in g_main_dispatch (context=0x7f5e58004fd0) at
../glib/glib/gmain.c:3189
#53 0x00007f5e5feb17bf in g_main_context_dispatch
(context=context@entry=0x7f5e58004fd0) at ../glib/glib/gmain.c:3854
#54 0x00007f5e5feb3739 in g_main_context_iterate
(context=context@entry=0x7f5e58004fd0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:3927
#55 0x00007f5e5feb377e in g_main_context_iteration (context=0x7f5e58004fd0,
may_block=may_block@entry=1) at ../glib/glib/gmain.c:3988
#56 0x00007f5e64133ce9 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x559c6b3073f0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#57 0x00007f5e640dcb2c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fff7df41280, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#58 0x00007f5e640e4e36 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#59 0x0000559c6a677464 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at /usr/src/debug/systemsettings-5.15.3/app/main.cpp:71
[Inferior 1 (process 1186) detached]

Reported using DrKonqi

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

Reply via email to