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

            Bug ID: 407446
           Summary: System Settings ->Notifications -> Applications,
                    pressing "Configure" causes a crash
           Product: frameworks-knotifyconfig
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: o...@geek.co.il
                CC: kdelibs-b...@kde.org, mklape...@kde.org
  Target Milestone: ---

SUMMARY

The "Applications" configuration option under the Notifications KCM ("Event
Notifications and Actions", not the confusingly identically titled "Other
Notifications" KCM), pressing the "Configure..." button causes an immediate
crash.


STEPS TO REPRODUCE
1. Open System Settings
2. Click the first "Notifications" icon
3. Click the "Configure..." button next the label "Applications"

OBSERVED RESULT

System Settings crashes

EXPECTED RESULT

Some dialog should probably open.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 5.15.80
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION

See backtrace:

```
Application: System Settings (systemsettings5), signal: Floating point
exception
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f917e29e6c0 (LWP 11510))]

Thread 7 (Thread 0x7f9161843700 (LWP 11533)):
#0  0x00007f9182aac729 in __GI___poll (fds=0x7f9154004e30, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f918080bcb6 in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7f9154004e30, timeout=<optimized out>, context=0x7f9154000bf0)
at ../../../glib/gmain.c:4228
#2  g_main_context_iterate (context=context@entry=0x7f9154000bf0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../../../glib/gmain.c:3922
#3  0x00007f918080bddc in g_main_context_iteration (context=0x7f9154000bf0,
may_block=may_block@entry=1) at ../../../glib/gmain.c:3988
#4  0x00007f918302d063 in QEventDispatcherGlib::processEvents
(this=0x7f9154000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f9182fd85bb in QEventLoop::exec (this=this@entry=0x7f9161842d40,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f9182e232c6 in QThread::exec (this=this@entry=0x564c89242410) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f918211fef5 in QQmlThreadPrivate::run (this=0x564c89242410) at
qml/ftw/qqmlthread.cpp:148
#8  0x00007f9182e24612 in QThreadPrivate::start (arg=0x564c89242410) at
thread/qthread_unix.cpp:361
#9  0x00007f918297b182 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#10 0x00007f9182ab8b1f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f91635ef700 (LWP 11519)):
#0  0x00007f9182aac729 in __GI___poll (fds=0x7f915c004e30, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f918080bcb6 in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7f915c004e30, timeout=<optimized out>, context=0x7f915c000bf0)
at ../../../glib/gmain.c:4228
#2  g_main_context_iterate (context=context@entry=0x7f915c000bf0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../../../glib/gmain.c:3922
#3  0x00007f918080bddc in g_main_context_iteration (context=0x7f915c000bf0,
may_block=may_block@entry=1) at ../../../glib/gmain.c:3988
#4  0x00007f918302d063 in QEventDispatcherGlib::processEvents
(this=0x7f915c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f9182fd85bb in QEventLoop::exec (this=this@entry=0x7f91635eed40,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f9182e232c6 in QThread::exec (this=this@entry=0x564c89286380) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f918211fef5 in QQmlThreadPrivate::run (this=0x564c89286380) at
qml/ftw/qqmlthread.cpp:148
#8  0x00007f9182e24612 in QThreadPrivate::start (arg=0x564c89286380) at
thread/qthread_unix.cpp:361
#9  0x00007f918297b182 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#10 0x00007f9182ab8b1f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f916db9d700 (LWP 11516)):
#0  0x00007f9182aac729 in __GI___poll (fds=0x7f9164004a30, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f918080bcb6 in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7f9164004a30, timeout=<optimized out>, context=0x7f9164000bf0)
at ../../../glib/gmain.c:4228
#2  g_main_context_iterate (context=context@entry=0x7f9164000bf0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../../../glib/gmain.c:3922
#3  0x00007f918080bddc in g_main_context_iteration (context=0x7f9164000bf0,
may_block=may_block@entry=1) at ../../../glib/gmain.c:3988
#4  0x00007f918302d063 in QEventDispatcherGlib::processEvents
(this=0x7f9164000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f9182fd85bb in QEventLoop::exec (this=this@entry=0x7f916db9cd40,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f9182e232c6 in QThread::exec (this=this@entry=0x564c88c60a60) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f918211fef5 in QQmlThreadPrivate::run (this=0x564c88c60a60) at
qml/ftw/qqmlthread.cpp:148
#8  0x00007f9182e24612 in QThreadPrivate::start (arg=0x564c88c60a60) at
thread/qthread_unix.cpp:361
#9  0x00007f918297b182 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#10 0x00007f9182ab8b1f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f9174ed9700 (LWP 11514)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x564c88a40b88) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x564c88a40b38,
cond=0x564c88a40b60) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x564c88a40b60, mutex=0x564c88a40b38) at
pthread_cond_wait.c:655
#3  0x00007f917550536b in cnd_wait (mtx=0x564c88a40b38, cond=0x564c88a40b60) at
../src/../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x564c88dfbc70) at
../src/util/u_queue.c:256
#5  0x00007f91755050d7 in impl_thrd_routine (p=<optimized out>) at
../src/../include/c11/threads_posix.h:87
#6  0x00007f918297b182 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#7  0x00007f9182ab8b1f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f9177d2d700 (LWP 11513)):
#0  0x00007f9182aac729 in __GI___poll (fds=0x7f9170004e30, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f918080bcb6 in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7f9170004e30, timeout=<optimized out>, context=0x7f9170000bf0)
at ../../../glib/gmain.c:4228
#2  g_main_context_iterate (context=context@entry=0x7f9170000bf0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../../../glib/gmain.c:3922
#3  0x00007f918080bddc in g_main_context_iteration (context=0x7f9170000bf0,
may_block=may_block@entry=1) at ../../../glib/gmain.c:3988
#4  0x00007f918302d063 in QEventDispatcherGlib::processEvents
(this=0x7f9170000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f9182fd85bb in QEventLoop::exec (this=this@entry=0x7f9177d2cd30,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f9182e232c6 in QThread::exec (this=this@entry=0x7f9183325d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f91832a5565 in QDBusConnectionManager::run (this=0x7f9183325d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#8  0x00007f9182e24612 in QThreadPrivate::start (arg=0x7f9183325d80 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:361
#9  0x00007f918297b182 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#10 0x00007f9182ab8b1f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f917d21b700 (LWP 11512)):
#0  0x00007f9182aac729 in __GI___poll (fds=fds@entry=0x7f917d21ac68,
nfds=nfds@entry=1, timeout=timeout@entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f918125a917 in poll (__timeout=-1, __nfds=1, __fds=0x7f917d21ac68)
at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x564c88968e60, cond=cond@entry=0x564c88968ea0,
vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:479
#3  0x00007f918125c53a in xcb_wait_for_event (c=c@entry=0x564c88968e60) at
../../src/xcb_in.c:697
#4  0x00007f917dbd06a8 in QXcbEventQueue::run (this=0x564c889754e0) at
qxcbeventqueue.cpp:228
#5  0x00007f9182e24612 in QThreadPrivate::start (arg=0x564c889754e0) at
thread/qthread_unix.cpp:361
#6  0x00007f918297b182 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#7  0x00007f9182ab8b1f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f917e29e6c0 (LWP 11510)):
[KCrash Handler]
#6  0x00007f9183aaee33 in QCommonStyle::subControlRect(QStyle::ComplexControl,
QStyleOptionComplex const*, QStyle::SubControl, QWidget const*) const () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007f9177d8a00e in Breeze::Style::scrollBarSubControlRect (widget=0x0,
subControl=<optimized out>, option=0x7ffecef33ad0, this=0x564c889a4770) at
./kstyle/breezestyle.cpp:2433
#8  Breeze::Style::scrollBarSubControlRect (this=0x564c889a4770,
option=0x7ffecef33ad0, subControl=<optimized out>, widget=0x0) at
./kstyle/breezestyle.cpp:2341
#9  0x00007f9183ac0c1b in
QCommonStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex
const*, QPainter*, QWidget const*) const () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f9177d8bd7f in Breeze::Style::drawScrollBarComplexControl
(this=0x564c889a4770, option=0x564c90c7bed0, painter=0x7ffecef33e40,
widget=0x0) at ./kstyle/breezestyle.cpp:6589
#11 0x00007f9177d8b994 in std::function<bool (Breeze::Style const&,
QStyleOptionComplex const*, QPainter*, QWidget
const*)>::operator()(Breeze::Style const&, QStyleOptionComplex const*,
QPainter*, QWidget const*) const (__args#3=<optimized out>, __args#2=<optimized
out>, __args#1=<optimized out>, __args#0=..., this=0x7ffecef33ce0) at
/usr/include/c++/8/bits/std_function.h:682
#12 Breeze::Style::drawComplexControl (this=0x564c889a4770,
element=QStyle::CC_ScrollBar, option=0x564c90c7bed0, painter=0x7ffecef33e40,
widget=0x0) at ./kstyle/breezestyle.cpp:979
#13 0x00007f916c59647e in KQuickStyleItem::paint
(this=this@entry=0x564c90c79d10, painter=painter@entry=0x7ffecef33e40) at
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleoption.h:689
#14 0x00007f916c596bac in KQuickStyleItem::updatePolish (this=0x564c90c79d10)
at ./plugin/kquickstyleitem.cpp:1720
#15 0x00007f91824c9463 in QQuickWindowPrivate::polishItems() () from
/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#16 0x00007f918277e0d5 in QQuickWidgetPrivate::render (this=0x564c9078d530,
needsSync=<optimized out>) at qquickwidget.cpp:284
#17 0x00007f918277e2b6 in QQuickWidgetPrivate::renderSceneGraph
(this=0x564c9078d530) at qquickwidget.cpp:339
#18 0x00007f9183003c5b in QObject::event (this=0x564c8c0213c0, e=<optimized
out>) at kernel/qobject.cpp:1241
#19 0x00007f9183a76feb in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f9182781e55 in QQuickWidget::event (this=0x564c8c0213c0,
e=0x7ffecef34420) at qquickwidget.cpp:1525
#21 0x00007f9183a37551 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f9183a3e930 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f9182fd98e9 in QCoreApplication::notifyInternal2
(receiver=0x564c8c0213c0, event=0x7ffecef34420) at
../../include/QtCore/5.12.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:322
#24 0x00007f918302c453 in QTimerInfoList::activateTimers (this=0x564c889a3720)
at kernel/qtimerinfo_unix.cpp:643
#25 0x00007f918302cca4 in timerSourceDispatch (source=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:182
#26 0x00007f918080baae in g_main_dispatch (context=0x7f9178004fd0) at
../../../glib/gmain.c:3189
#27 g_main_context_dispatch (context=context@entry=0x7f9178004fd0) at
../../../glib/gmain.c:3854
#28 0x00007f918080bd48 in g_main_context_iterate
(context=context@entry=0x7f9178004fd0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:3927
#29 0x00007f918080bddc in g_main_context_iteration (context=0x7f9178004fd0,
may_block=may_block@entry=1) at ../../../glib/gmain.c:3988
#30 0x00007f918302d047 in QEventDispatcherGlib::processEvents
(this=0x564c889b73e0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007f9182fd85bb in QEventLoop::exec (this=this@entry=0x7ffecef34680,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#32 0x00007f9182fe05e2 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#33 0x0000564c87e68639 in ?? ()
#34 0x00007f91829c1b6b in __libc_start_main (main=0x564c87e68250, argc=1,
argv=0x7ffecef348a8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffecef34898) at ../csu/libc-start.c:308
#35 0x0000564c87e686ba in _start ()
[Inferior 1 (process 11510) detached]
```

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

Reply via email to