[kde] [Bug 495285] New: Removing a drawing tablet crashes random KDE apps

Violet bugzilla_noreply at kde.org
Thu Oct 24 08:16:37 BST 2024


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

            Bug ID: 495285
           Summary: Removing a drawing tablet crashes random KDE apps
    Classification: I don't know
           Product: kde
           Version: unspecified
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: larsona+kde at outlook.com
  Target Milestone: ---

SUMMARY
Sometimes, removing a drawing tablet will crash one or multiple KDE apps. A lot
of the time it's usually kwin, but occasionally it will be something else, such
as plasmashell or plasma-browser-integration-host, and the most recent time,
the crash handler itself. (which is why I'm writing this). 

STEPS TO REPRODUCE
1. Power off my drawing tablet (Wacom Intuos CTH-480)

OBSERVED RESULT
One or two crash windows pop up, sometimes my taskbar will disappear
momentarily. 
These are from seemingly unrelated KDE apps. 
Thankfully, krita never seems to be among them, and I've been running into this
issue for long enough without knowing what it was that it should have happened
by now.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.3-lqx2-1-lqx (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-8700K CPU @ 3.70GHz
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2

BACKTRACE
Application: plasma-browser-integration-host (plasma-browser-integration-host),
signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}
Downloading separate debug info for /usr/bin/plasma-browser-integration-host...

warning: Can't open file /memfd:kwin-dmabuf-feedback-table (deleted) during
file-backed mapping note processing
[New LWP 1105377]
[New LWP 1105383]
[New LWP 1105389]
[New LWP 1105390]
Downloading separate debug info for /usr/lib/libvorbisfile.so.3...
Downloading separate debug info for /usr/lib/libvorbis.so.0...
Downloading separate debug info for /usr/lib/libnvidia-glsi.so.560.35.03...
Downloading separate debug info for /usr/lib/libnvidia-eglcore.so.560.35.03...
Downloading separate debug info for /usr/lib/libnvidia-gpucomp.so.560.35.03...
Downloading separate debug info for /usr/lib/libnvidia-egl-xcb.so.1...
Downloading separate debug info for /usr/lib/libnvidia-egl-xlib.so.1...
Downloading separate debug info for /usr/lib/libnvidia-allocator.so.1...
Downloading separate debug info for system-supplied DSO at 0x75fdcae9a000...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/bin/plasma-browser-integration-host
/usr/lib/mozilla/native-messaging-host'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo at entry=11, no_tid=no_tid at entry=0) at pthread_kill.c:44
44            return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO
(ret) : 0;
[Current thread is 1 (Thread 0x75fdc2148ec0 (LWP 1105377))]

Cannot QML trace cores :(
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:516: DeprecationWarning:
datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in
a future version. Use timezone-aware objects to represent datetimes in UTC:
datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
  boot_time =
datetime.utcfromtimestamp(psutil.boot_time()).strftime('%Y-%m-%dT%H:%M:%S')
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:533: DeprecationWarning:
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future
version. Use timezone-aware objects to represent datetimes in UTC:
datetime.datetime.now(datetime.UTC).
  'timestamp': datetime.utcnow().isoformat(),
[Current thread is 1 (Thread 0x75fdc2148ec0 (LWP 1105377))]

Thread 4 (Thread 0x75fdbbe006c0 (LWP 1105390)):
#0  0x000075fdc8d1a63d in __GI___poll (fds=fds at entry=0x75fdbbdffb20,
nfds=nfds at entry=2, timeout=timeout at entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000075fdc7d6e417 in poll (__fds=0x75fdbbdffb20, __nfds=2, __timeout=-1)
at /usr/include/bits/poll2.h:44
#2  QtWaylandClient::EventThread::run (this=0x6537a4cdad00) at
/usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:182
#3  0x000075fdc94d840f in operator() (__closure=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:335
#4  (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:263
#5  QThreadPrivate::start (arg=0x6537a4cdad00) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:294
#6  0x000075fdc8ca339d in start_thread (arg=<optimized out>) at
pthread_create.c:447
#7  0x000075fdc8d2849c in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x75fdc0c006c0 (LWP 1105389)):
#0  0x000075fdc8c9fa19 in __futex_abstimed_wait_common64 (private=0,
futex_word=0x6537a4d1e4a0, expected=0, op=393, abstime=0x0, cancel=true) at
futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word at entry=0x6537a4d1e4a0,
expected=expected at entry=0, clockid=clockid at entry=0, abstime=abstime at entry=0x0,
private=private at entry=0, cancel=cancel at entry=true) at futex-internal.c:87
#2  0x000075fdc8c9fa9f in __GI___futex_abstimed_wait_cancelable64
(futex_word=futex_word at entry=0x6537a4d1e4a0, expected=expected at entry=0,
clockid=clockid at entry=0, abstime=abstime at entry=0x0, private=private at entry=0) at
futex-internal.c:139
#3  0x000075fdc8ca2479 in __pthread_cond_wait_common (cond=0x6537a4d1e478,
mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x6537a4d1e478, mutex=<optimized out>) at
pthread_cond_wait.c:618
#5  0x000075fdc94dd030 in QWaitConditionPrivate::wait (this=0x6537a4d1e450,
deadline=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:102
#6  QWaitCondition::wait (this=this at entry=0x6537a4c48610,
mutex=mutex at entry=0x6537a4c48608, deadline=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:180
#7  0x000075fdc7d6e3af in QtWaylandClient::EventThread::waitForReading
(this=0x6537a4c485d0) at
/usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:216
#8  QtWaylandClient::EventThread::run (this=0x6537a4c485d0) at
/usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:177
#9  0x000075fdc94d840f in operator() (__closure=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:335
#10 (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:263
#11 QThreadPrivate::start (arg=0x6537a4c485d0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:294
#12 0x000075fdc8ca339d in start_thread (arg=<optimized out>) at
pthread_create.c:447
#13 0x000075fdc8d2849c in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x75fdc1c006c0 (LWP 1105383)):
#0  0x000075fdc8d1abb0 in __GI_ppoll (fds=fds at entry=0x6537a4c18620,
nfds=nfds at entry=2, timeout=<optimized out>, timeout at entry=0x0,
sigmask=sigmask at entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#1  0x000075fdc75df227 in ppoll (__fds=0x6537a4c18620, __nfds=2, __timeout=0x0,
__ss=0x0) at /usr/include/bits/poll2.h:101
#2  g_main_context_poll_unlocked (priority=<optimized out>,
context=0x75fdbc000cb0, timeout_usec=<optimized out>, fds=0x6537a4c18620,
n_fds=2) at ../glib/glib/gmain.c:4591
#3  g_main_context_iterate_unlocked.isra.0
(context=context at entry=0x75fdbc000cb0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4268
#4  0x000075fdc757ba55 in g_main_context_iteration (context=0x75fdbc000cb0,
may_block=1) at ../glib/glib/gmain.c:4338
#5  0x000075fdc95bf71d in QEventDispatcherGlib::processEvents
(this=0x75fdbc000ba0, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:396
#6  0x000075fdc9364566 in QEventLoop::processEvents (this=0x75fdc1bffae0,
flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#7  QEventLoop::exec (this=0x75fdc1bffae0, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:191
#8  0x000075fdc9457072 in QThread::exec (this=this at entry=0x75fdca1b6b20
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#9  0x000075fdca12b79e in QDBusConnectionManager::run (this=0x75fdca1b6b20
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-base/qtbase/src/dbus/qdbusconnectionmanager.cpp:144
#10 0x000075fdc94d840f in operator() (__closure=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:335
#11 (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:263
#12 QThreadPrivate::start (arg=0x75fdca1b6b20
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:294
#13 0x000075fdc8ca339d in start_thread (arg=<optimized out>) at
pthread_create.c:447
#14 0x000075fdc8d2849c in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x75fdc2148ec0 (LWP 1105377)):
[KCrash Handler]
#5  0x000075fdc7db9c9e in non-virtual thunk to
QtWaylandClient::QWaylandTabletPadV2::zwp_tablet_pad_v2_removed() () at
/usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylandtabletv2_p.h:149
#6  0x000075fdc666d596 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#7  0x000075fdc666a00e in ffi_call_int (cif=cif at entry=0x7fffe251adb0,
fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>,
closure=closure at entry=0x0) at ../src/x86/ffi64.c:673
#8  0x000075fdc666cbd3 in ffi_call (cif=cif at entry=0x7fffe251adb0, fn=<optimized
out>, rvalue=rvalue at entry=0x0, avalue=avalue at entry=0x7fffe251ae80) at
../src/x86/ffi64.c:710
#9  0x000075fdca0ee8b0 in wl_closure_invoke
(closure=closure at entry=0x75fdac004000, target=<optimized out>,
target at entry=0x75fdac004400, opcode=opcode at entry=7, data=<optimized out>,
flags=1) at ../wayland-1.23.1/src/connection.c:1228
#10 0x000075fdca0ef139 in dispatch_event (display=display at entry=0x6537a4c12840,
queue=queue at entry=0x6537a4c12938) at
../wayland-1.23.1/src/wayland-client.c:1674
#11 0x000075fdca0ef553 in dispatch_queue (display=0x6537a4c12840,
queue=0x6537a4c12938) at ../wayland-1.23.1/src/wayland-client.c:1820
#12 wl_display_dispatch_queue_pending (display=0x6537a4c12840,
queue=0x6537a4c12938) at ../wayland-1.23.1/src/wayland-client.c:2062
#13 0x000075fdc7d6e266 in QtWaylandClient::QWaylandDisplay::flushRequests
(this=<optimized out>) at
/usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:227
#14 0x000075fdc93a348a in QObject::event (this=0x6537a4c12620,
e=0x75fdb4001bd0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1419
#15 0x000075fdca4fe31a in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x6537a4c12620, e=0x75fdb4001bd0) at
/usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3294
#16 0x000075fdc93585a8 in QCoreApplication::notifyInternal2
(receiver=0x6537a4c12620, event=event at entry=0x75fdb4001bd0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1165
#17 0x000075fdc9359035 in QCoreApplication::sendEvent (receiver=<optimized
out>, event=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1609
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x6537a4c0bab0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1965
#19 0x000075fdc95c23fc in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1797
#20 postEventSourceDispatch (s=0x6537a4c78870) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#21 0x000075fdc757c559 in g_main_dispatch (context=0x75fdbc000f30) at
../glib/glib/gmain.c:3357
#22 0x000075fdc75df157 in g_main_context_dispatch_unlocked
(context=0x75fdbc000f30) at ../glib/glib/gmain.c:4208
#23 g_main_context_iterate_unlocked.isra.0
(context=context at entry=0x75fdbc000f30, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4273
#24 0x000075fdc757ba55 in g_main_context_iteration (context=0x75fdbc000f30,
may_block=1) at ../glib/glib/gmain.c:4338
#25 0x000075fdc95bf71d in QEventDispatcherGlib::processEvents
(this=0x6537a4c106d0, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:396
#26 0x000075fdc9364566 in QEventLoop::processEvents (this=0x7fffe251b540,
flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#27 QEventLoop::exec (this=0x7fffe251b540, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:191
#28 0x000075fdc9359a2f in QCoreApplication::exec () at
/usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#29 0x000065377b6330cb in ??? ()
#30 0x000075fdc8c34e08 in __libc_start_call_main
(main=main at entry=0x65377b631e70, argc=argc at entry=3,
argv=argv at entry=0x7fffe251b918) at ../sysdeps/nptl/libc_start_call_main.h:58
#31 0x000075fdc8c34ecc in __libc_start_main_impl (main=0x65377b631e70, argc=3,
argv=0x7fffe251b918, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffe251b908) at ../csu/libc-start.c:360
#32 0x000065377b6334e5 in ??? ()

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list