Bug 419761 - DiscoverNotifier crashed on Wayland when I swtiched to "Extend to left" multi-monitor mode
Summary: DiscoverNotifier crashed on Wayland when I swtiched to "Extend to left" multi...
Status: RESOLVED DUPLICATE of bug 419749
Alias: None
Product: Discover
Classification: Applications
Component: Notifier (show other bugs)
Version: 5.18.3
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-06 20:49 UTC by Patrick Silva
Modified: 2020-04-06 21:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-04-06 20:49:59 UTC
SUMMARY
I was using Wayland session with an external monitor connected to hdmi port, then I switched from "Swith to external monitor" to "Extend to left" multi-monitor mode and plasma shown 4 crash notifications at the same time: power devil, kactivitymanagerd, policykit kde agent and this one.

EXPECTED RESULT
no crash

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.18.80
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.1


Thread 6 (Thread 0x7f38b0178700 (LWP 1494)):
#0  0x00007f38cea45c96 in __libc_send (fd=fd@entry=5, buf=buf@entry=0x7f38b0176e60, len=len@entry=32, flags=flags@entry=0)
    at ../sysdeps/unix/sysv/linux/send.c:28
#1  0x00007f38d13fc381 in (anonymous namespace)::ProcessNetlinkRequest<getInterfaces(int, char*)::<lambda(ifinfomsg*, size_t)> >::operator() (bufsize=8192, this=<optimized out>, func=..., buf=0x7f38a8011038 "\024", hdr=0x7f38b0176e60, sock=5) at kernel/qnetworkinterface_linux.cpp:163
#2  0x00007f38d13fc381 in (anonymous namespace)::processNetlinkRequest<getInterfaces(int, char*)::<lambda(ifinfomsg*, size_t)> > (l=..., bufsize=8192, buf=0x7f38a8011038 "\024", hdr=0x7f38b0176e60, sock=5) at kernel/qnetworkinterface_linux.cpp:218
#3  0x00007f38d13fc381 in getInterfaces (buf=0x7f38a8011038 "\024", sock=5) at kernel/qnetworkinterface_linux.cpp:274
#4  0x00007f38d13fc381 in QNetworkInterfaceManager::scan() (this=<optimized out>) at kernel/qnetworkinterface_linux.cpp:446
#5  0x00007f38d13edc35 in QNetworkInterfaceManager::allInterfaces() (this=<optimized out>) at kernel/qnetworkinterface.cpp:118
#6  0x00007f38d13ee484 in QNetworkInterface::allInterfaces() () at kernel/qnetworkinterface.cpp:876
#7  0x00007f38af532986 in QGenericEngine::doRequestUpdate() (this=0x55c49fae58c0) at qgenericengine.cpp:286
#8  0x00007f38cf350b06 in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const (this=this@entry=0x7f38b0177430, object=object@entry=0x55c49fae58c0, connectionType=Qt::DirectConnection, 
    connectionType@entry=Qt::AutoConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:2294
#9  0x00007f38cf3529f8 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) (obj=0x55c49fae58c0, member=member@entry=0x7f38d1479f25 "requestUpdate", type=type@entry=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1515
#10 0x00007f38d13da74b in QMetaObject::invokeMethod(QObject*, char const*, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=0x7f38d1479f25 "requestUpdate", obj=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:461
#11 0x00007f38d13da74b in QNetworkConfigurationManagerPrivate::pollEngines() (this=0x55c49fac21f0) at bearer/qnetworkconfigmanager_p.cpp:493
#12 0x00007f38d146e585 in QNetworkConfigurationManagerPrivate::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qnetworkconfigmanager_p.cpp:132
#13 0x00007f38cf379dc9 in doActivate<false>(QObject*, int, void**) (sender=0x7f38a8010590, signal_index=3, argv=0x7f38b01779e0)
    at kernel/qobject.cpp:3882
#14 0x00007f38cf3748a2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x7f38a8010590, m=m@entry=0x7f38cf80cd00 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7f38b01779e0) at kernel/qobject.cpp:3930
#15 0x00007f38cf37dba7 in QTimer::timeout(QTimer::QPrivateSignal) (this=this@entry=0x7f38a8010590, _t1=...) at .moc/moc_qtimer.cpp:205
#16 0x00007f38cf37df08 in QTimer::timerEvent(QTimerEvent*) (this=0x7f38a8010590, e=<optimized out>) at kernel/qtimer.cpp:257
#17 0x00007f38cf371df3 in QObject::event(QEvent*) (this=0x7f38a8010590, e=0x7f38b0177b50) at kernel/qobject.cpp:1361
#18 0x00007f38cf33eda1 in doNotify (event=0x7f38b0177b50, receiver=0x7f38a8010590) at kernel/qcoreapplication.cpp:1182
#19 0x00007f38cf33eda1 in QCoreApplication::notify(QObject*, QEvent*) (event=<optimized out>, receiver=<optimized out>, this=<optimized out>)
    at kernel/qcoreapplication.cpp:1168
#20 0x00007f38cf33eda1 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7f38a8010590, event=0x7f38b0177b50)
    at kernel/qcoreapplication.cpp:1092
#21 0x00007f38cf39d549 in QTimerInfoList::activateTimers() (this=0x7f38a8004ce0) at kernel/qtimerinfo_unix.cpp:643
#22 0x00007f38cf39dd11 in timerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#23 0x00007f38c9b2c417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f38c9b2c650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f38c9b2c6dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f38cf39e0bc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f38a8000b20, flags=...)
    at kernel/qeventdispatcher_glib.cpp:423
#27 0x00007f38cf33d63a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f38b0177da0, flags=..., flags@entry=...)
    at kernel/qeventloop.cpp:225
#28 0x00007f38cf14e317 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:536
#29 0x00007f38cf14f7ec in QThreadPrivate::start(void*) (arg=0x55c49fac4430) at thread/qthread_unix.cpp:342
#30 0x00007f38cbcca6db in start_thread (arg=0x7f38b0178700) at pthread_create.c:463
#31 0x00007f38cea4488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f38ae67b700 (LWP 1496)):
#0  0x00007f38c9b28674 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f38c9b2c257 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f38c9b2c650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f38c9b2c962 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f38bd7d5276 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007f38c9b54175 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f38cbcca6db in start_thread (arg=0x7f38ae67b700) at pthread_create.c:463
#7  0x00007f38cea4488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f38bebbb700 (LWP 1236)):
#0  0x00007f38cea53750 in __libc_disable_asynccancel () at ../sysdeps/unix/sysv/linux/x86_64/cancellation.S:92
#1  0x00007f38cea330c9 in __GI___libc_read (fd=5, buf=0x7f38bebbab60, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#2  0x00007f38c9b712b0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f38c9b2c0b7 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f38c9b2c570 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f38c9b2c6dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f38cf39e0db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f38b8000b20, flags=...)
    at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f38cf33d63a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f38bebbad70, flags=..., flags@entry=...)
    at kernel/qeventloop.cpp:225
#8  0x00007f38cf14e317 in QThread::exec() (this=this@entry=0x7f38cfd43da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>)
    at thread/qthread.cpp:536
#9  0x00007f38cfacb555 in QDBusConnectionManager::run() (this=0x7f38cfd43da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>)
    at qdbusconnection.cpp:179
#10 0x00007f38cf14f7ec in QThreadPrivate::start(void*) (arg=0x7f38cfd43da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>)
    at thread/qthread_unix.cpp:342
#11 0x00007f38cbcca6db in start_thread (arg=0x7f38bebbb700) at pthread_create.c:463
#12 0x00007f38cea4488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f38d2465800 (LWP 1215)):
#0  0x00007f38cea37bf9 in __GI___poll (fds=fds@entry=0x7ffe2d95dc48, nfds=nfds@entry=1, timeout=timeout@entry=1000)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f38d18e4d64 in poll (__timeout=1000, __nfds=1, __fds=0x7ffe2d95dc48) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007f38d18e4d64 in pollDrKonqiSocket(pid_t, int) (pid=1685, sockfd=4) at ./src/kcrash.cpp:948
#3  0x00007f38d18e5361 in startProcessInternal(int, char const**, bool, bool) (argc=argc@entry=20, argv=argv@entry=0x7ffe2d95dde0, waitAndExit=waitAndExit@entry=true, directly=directly@entry=false) at ./src/kcrash.cpp:723
#4  0x00007f38d18e5bde in KCrash::startProcess(int, char const**, bool) (argc=argc@entry=20, argv=argv@entry=0x7ffe2d95dde0, waitAndExit=waitAndExit@entry=true) at ./src/kcrash.cpp:676
#5  0x00007f38d18e6107 in KCrash::defaultCrashHandler(int) (sig=11) at ./src/kcrash.cpp:574
#6  0x00007f38ce961f20 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007f38c353eca9 in QtWayland::wl_output::handle_geometry(void*, wl_output*, int, int, int, int, int, char const*, char const*, int) (data=0x55c49fa10a70, object=0x55c49fa10b10, x=1920, y=0, physical_width=310, physical_height=170, subpixel=0, make=0x55c49fb28960 "LG Display", model=0x55c49fb28970 "LVDS-1-desconhecido", transform=0) at qwayland-wayland.cpp:2212
#8  0x00007f38c2a17dae in ffi_call_unix64 () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#9  0x00007f38c2a1771f in ffi_call () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#10 0x00007f38c30a6e24 in wl_closure_invoke (closure=closure@entry=0x55c49fb28870, flags=flags@entry=1, target=<optimized out>, 
    target@entry=0x55c49fa10b10, opcode=opcode@entry=0, data=<optimized out>) at ../src/connection.c:1006
#11 0x00007f38c30a3659 in dispatch_event (display=display@entry=0x55c49fa0e870, queue=<optimized out>) at ../src/wayland-client.c:1427
#12 0x00007f38c30a4b24 in dispatch_queue (queue=0x55c49fa0e938, display=0x55c49fa0e870) at ../src/wayland-client.c:1573
#13 0x00007f38c30a4b24 in wl_display_dispatch_queue_pending (display=0x55c49fa0e870, queue=0x55c49fa0e938) at ../src/wayland-client.c:1815
#14 0x00007f38c30a4b7c in wl_display_dispatch_pending (display=<optimized out>) at ../src/wayland-client.c:1878
#15 0x00007f38c351b642 in QtWaylandClient::QWaylandDisplay::flushRequests() (this=0x55c49fa0e6d0) at qwaylanddisplay.cpp:208
#16 0x00007f38cf379dc9 in doActivate<false>(QObject*, int, void**) (sender=0x55c49fa40320, signal_index=3, argv=0x7ffe2d95ea20)
    at kernel/qobject.cpp:3882
#17 0x00007f38cf3748a2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55c49fa40320, m=m@entry=0x7f38cf80cbc0 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe2d95ea20)
    at kernel/qobject.cpp:3930
#18 0x00007f38cf37d5c8 in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) (this=this@entry=0x55c49fa40320, _t1=<optimized out>, _t2=...) at .moc/moc_qsocketnotifier.cpp:141
#19 0x00007f38cf37d982 in QSocketNotifier::event(QEvent*) (this=0x55c49fa40320, e=0x7ffe2d95ecf0) at kernel/qsocketnotifier.cpp:266
#20 0x00007f38d07598bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=
    0x55c49fa06940, receiver=receiver@entry=0x55c49fa40320, e=e@entry=0x7ffe2d95ecf0) at kernel/qapplication.cpp:3684
#21 0x00007f38d0760ac0 in QApplication::notify(QObject*, QEvent*) (this=0x7ffe2d95efe0, receiver=0x55c49fa40320, e=0x7ffe2d95ecf0)
    at kernel/qapplication.cpp:3430
#22 0x00007f38cf33edb8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55c49fa40320, event=0x7ffe2d95ecf0)
    at kernel/qcoreapplication.cpp:1092
#23 0x00007f38cf33ef8e in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=event@entry=0x7ffe2d95ecf0)
    at kernel/qcoreapplication.cpp:1487
#24 0x00007f38cf39ec88 in socketNotifierSourceDispatch(GSource*, GSourceFunc, gpointer) (source=0x55c49fa40690)
    at kernel/qeventdispatcher_glib.cpp:107
#25 0x00007f38c9b2c417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f38c9b2c650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f38c9b2c6dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f38cf39e0bc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55c49fa36940, flags=...)
    at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007f38cf33d63a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe2d95ef10, flags=..., flags@entry=...)
    at kernel/qeventloop.cpp:225
#30 0x00007f38cf346db0 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1400
#31 0x000055c49ecd2fe7 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./notifier/main.cpp:91

Thread 2 (Thread 0x7f389686c700 (LWP 1546)):
#0  0x00007f38cea330b4 in __GI___libc_read (fd=34, buf=0x7f389686bce0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f38c9b712b0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f38c9b2c0b7 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f38c9b2c570 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f38c9b2c6dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f389504936d in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#6  0x00007f38c9b54175 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f38cbcca6db in start_thread (arg=0x7f389686c700) at pthread_create.c:463
#8  0x00007f38cea4488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f38aee7c700 (LWP 1495)):
#0  0x00007f38c9b31ea1 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f38c9b32f3c in g_log_default_handler () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f38c9b331c2 in g_logv () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f38c9b3331f in g_log () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f38bd81a947 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007f38bd81a9f5 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f38c9b2c285 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f38c9b2c650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f38c9b2c6dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f38c9b2c721 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f38c9b54175 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f38cbcca6db in start_thread (arg=0x7f38aee7c700) at pthread_create.c:463
#12 0x00007f38cea4488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Comment 1 David Edmundson 2020-04-06 21:05:29 UTC

*** This bug has been marked as a duplicate of bug 419749 ***