Bug 428421 - kdeconnectd crashes when turning off HDMI screen in Wayland session
Summary: kdeconnectd crashes when turning off HDMI screen in Wayland session
Status: RESOLVED DUPLICATE of bug 426293
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-10-29 10:07 UTC by Christian Hartmann
Modified: 2020-10-29 13:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Hartmann 2020-10-29 10:07:53 UTC
Application: kdeconnectd (1.4.0)

Qt Version: 5.15.1
Frameworks Version: 5.75.0
Operating System: Linux 5.9.1-1-default x86_64
Windowing system: Wayland
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed: 

I turned of my screen which is connected via HDMI. When I turn it back on, I see this crash. It only happens when I'm using plasma-wayland session.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Connect-Dienst (kdeconnectd), signal: Aborted

[New LWP 9975]
[New LWP 9978]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f0c469c3e7f in poll () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f0c44ab1840 (LWP 9957))]

Thread 3 (Thread 0x7f0c3bfff640 (LWP 9978)):
#0  0x00007f0c469bf8dc in read () from /lib64/libc.so.6
#1  0x00007f0c4565b3ff in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f0c4560eb0e in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f0c4560ef65 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f0c4560f0df in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f0c46f865cb in QEventDispatcherGlib::processEvents (this=0x7f0c34000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f0c46f2da1b in QEventLoop::exec (this=this@entry=0x7f0c3bffecc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f0c46d4e7ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f0c46d4f911 in QThreadPrivate::start (arg=0x561b26f17310) at thread/qthread_unix.cpp:329
#9  0x00007f0c46049eb1 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f0c469ceccf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f0c4181d640 (LWP 9975)):
#0  0x00007f0c469c3e7f in poll () from /lib64/libc.so.6
#1  0x00007f0c4560efbe in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f0c4560f0df in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f0c46f865cb in QEventDispatcherGlib::processEvents (this=0x7f0c3c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f0c46f2da1b in QEventLoop::exec (this=this@entry=0x7f0c4181cc70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f0c46d4e7ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f0c47233a27 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f0c46d4f911 in QThreadPrivate::start (arg=0x7f0c472a0d80) at thread/qthread_unix.cpp:329
#8  0x00007f0c46049eb1 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f0c469ceccf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f0c44ab1840 (LWP 9957)):
[KCrash Handler]
#4  0x00007f0c4690c641 in raise () from /lib64/libc.so.6
#5  0x00007f0c468f5538 in abort () from /lib64/libc.so.6
#6  0x00007f0c46d14c37 in qt_message_fatal (message=<synthetic pointer>..., context=...) at global/qlogging.cpp:1914
#7  QMessageLogger::fatal (this=this@entry=0x7ffff7dd6810, msg=msg@entry=0x7f0c42c6d0f8 "The Wayland connection experienced a fatal error: %s") at global/qlogging.cpp:893
#8  0x00007f0c42bf6d80 in QtWaylandClient::QWaylandDisplay::checkError (this=<optimized out>) at /usr/include/qt5/QtCore/qlogging.h:90
#9  0x00007f0c42bf6dce in QtWaylandClient::QWaylandDisplay::flushRequests (this=0x561b26e806b0) at qwaylanddisplay.cpp:222
#10 0x00007f0c46f65680 in doActivate<false> (sender=0x561b26eabe70, signal_index=3, argv=argv@entry=0x7ffff7dd6950) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#11 0x00007f0c46f5e9a0 in QMetaObject::activate (sender=sender@entry=0x561b26eabe70, m=m@entry=0x7f0c47212b00 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffff7dd6950) at kernel/qobject.cpp:3946
#12 0x00007f0c46f68a7f in QSocketNotifier::activated (this=this@entry=0x561b26eabe70, _t1=..., _t2=<optimized out>, _t3=...) at .moc/moc_qsocketnotifier.cpp:178
#13 0x00007f0c46f6927b in QSocketNotifier::event (this=0x561b26eabe70, e=0x7ffff7dd6a60) at kernel/qsocketnotifier.cpp:302
#14 0x00007f0c47b0c14f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x561b26eabe70, e=0x7ffff7dd6a60) at kernel/qapplication.cpp:3630
#15 0x00007f0c46f2f05a in QCoreApplication::notifyInternal2 (receiver=0x561b26eabe70, event=0x7ffff7dd6a60) at ../../include/QtCore/5.15.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#16 0x00007f0c46f87165 in socketNotifierSourceDispatch (source=0x561b26eb3d90) at kernel/qeventdispatcher_glib.cpp:107
#17 0x00007f0c4560eca7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#18 0x00007f0c4560f028 in ?? () from /usr/lib64/libglib-2.0.so.0
#19 0x00007f0c4560f0df in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f0c46f865af in QEventDispatcherGlib::processEvents (this=0x561b26eb5c00, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#21 0x00007f0c46f2da1b in QEventLoop::exec (this=this@entry=0x7ffff7dd6c70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#22 0x00007f0c46f35c90 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#23 0x0000561b25aac967 in main (argc=<optimized out>, argv=0x7ffff7dd6d18) at /usr/src/debug/kdeconnect-kde-20.08.2-1.1.x86_64/daemon/kdeconnectd.cpp:183
[Inferior 1 (process 9957) detached]

Possible duplicates by query: bug 424911, bug 423951, bug 423132, bug 417285, bug 414922.

Reported using DrKonqi
Comment 2 Nicolas Fella 2020-10-29 13:16:15 UTC

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