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

            Bug ID: 521113
           Summary: Application crashes on change of display environment
                    (F keys)
    Classification: Plasma
           Product: plasmashell
      Version First 6.6.5
       Reported In:
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: Power management & brightness
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: 1.0

Application: org_kde_powerdevil (6.6.5)

ApplicationNotResponding [ANR]: false
Qt Version: 6.11.1
Frameworks Version: 6.26.0
Operating System: Linux 7.0.10-2-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 6.6.5 [CoredumpBackend]

-- Information about the crash:
The crashes (not only this application) occur when I switch from my graphical
environment to a console with Ctrl + Alt + F1 and going back. 

The crashes also happen for kactivimanagerd, KGlobal Shortcuts ,
kscreen_backend_launcher (or similar, message disappear quite fast) and
xembedsniproxy

Example from xembedsniproxy
Thread 1 (Thread 0x7faf3ac35ac0 (LWP 41095)):
[KCrash Handler]
#4  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::get
(this=<optimized out>, this=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/tools/qscopedpointer.h:111
#5  qGetPtrHelper<QScopedPointer<QObjectData,
QScopedPointerDeleter<QObjectData> > const> (ptr=..., ptr=...) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/global/qtclasshelpermacros.h:138
#6  QInputDevice::d_func (this=0x0) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/gui/kernel/qinputdevice.h:19
#7  QInputDevice::seatName (this=this@entry=0x0) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/gui/kernel/qinputdevice.cpp:255
#8  0x00007faf3a3ac42e in QXcbConnection::populateTouchDevices
(this=0x5596603b2c90, info=0x7faf2c005ad0, scrollingDeviceP=0x5596603e72d0,
used=0x7ffee2d87967) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp:658
#9  0x00007faf3a39b1a2 in QXcbConnection::xi2SetupSlavePointerDevice
(this=0x5596603b2c90, info=0x7faf2c005ad0, master=0x0) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp:409
#10 0x00007faf3a3aa952 in QXcbConnection::xi2HandleDeviceChangedEvent
(this=0x5596603b2c90, event=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp:1293
#11 0x00007faf3a39548d in QXcbConnection::handleXcbEvent
(this=this@entry=0x5596603b2c90, event=event@entry=0x55966041efd0) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/plugins/platforms/xcb/qxcbconnection.cpp:703
#12 0x00007faf3a397d2c in QXcbConnection::processXcbEvents
(this=0x5596603b2c90, flags=...) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/plugins/platforms/xcb/qxcbconnection.cpp:1088
#13 0x00007faf3a3b49b7 in xcbSourceDispatch (source=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:57
#14 0x00007faf3b8b24b6 in ?? () from /lib64/libglib-2.0.so.0
#15 0x00007faf3b8b5478 in ?? () from /lib64/libglib-2.0.so.0
#16 0x00007faf3b8b5ce0 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#17 0x00007faf3c2ac1a8 in QEventDispatcherGlib::processEvents
(this=0x5596603f87b0, flags=...) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/kernel/qeventdispatcher_glib.cpp:402
#18 0x00007faf3bfe9a33 in QEventLoop::exec (this=0x7ffee2d87f30, flags=...) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/global/qflags.h:78
#19 0x00007faf3bfdf083 in QCoreApplication::exec () at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/kernel/qcoreapplication.cpp:1457
#20 0x00007faf3c82f1f0 in QGuiApplication::exec () at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/gui/kernel/qguiapplication.cpp:2005
#21 0x0000559646b35292 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/plasma-workspace-6.6.5/xembed-sni-proxy/main.cpp:72

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDE Power Management System (org_kde_powerdevil), signal:
Segmentation fault

[New LWP 3773]
[New LWP 3845]
[New LWP 3838]
[New LWP 3847]
[New LWP 3846]
[New LWP 3907]
[New LWP 3908]
[New LWP 3835]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/libexec/org_kde_powerdevil'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fafb329d87c in __pthread_kill_implementation () from
/lib64/libc.so.6
[Current thread is 1 (Thread 0x7fafacff9d00 (LWP 3773))]
Using eu-unstrip to resolve modules.
add symbol table from file "/lib64/libc.so.6"
add symbol table from file "/lib64/libKF6Crash.so.6"
add symbol table from file "/lib64/libQt6Gui.so.6"
add symbol table from file
"/usr/lib64/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6"
add symbol table from file "/lib64/libglib-2.0.so.0"
add symbol table from file "/lib64/libQt6Core.so.6"
add symbol table from file "/usr/libexec/org_kde_powerdevil"
add symbol table from file "/lib64/libQt6DBus.so.6"
add symbol table from file "/lib64/libddcutil.so.5"
add symbol table from file "/lib64/libxcb.so.1"
add symbol table from file "/lib64/libgio-2.0.so.0"
[Current thread is 1 (Thread 0x7fafacff9d00 (LWP 3773))]

Thread 8 (Thread 0x7fafacb736c0 (LWP 3835)):
#0  0x00007fafb32a4252 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007fafb3297dd8 in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007fafb3297e31 in __syscall_cancel () from /lib64/libc.so.6
#3  0x00007fafb3311eb2 in ppoll () from /lib64/libc.so.6
#4  0x00007fafb2b3356f in ?? () from /lib64/libglib-2.0.so.0
#5  0x00007fafb2b33ce0 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#6  0x00007fafb3eac1a8 in QEventDispatcherGlib::processEvents
(this=0x7fafa8000880, flags=...) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/kernel/qeventdispatcher_glib.cpp:402
#7  0x00007fafb3be9a33 in QEventLoop::exec (this=0x7fafacb727f0, flags=...) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/global/qflags.h:78
#8  0x00007fafb3cf5855 in QThread::exec (this=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/thread/qthread.cpp:672
#9  0x00007fafb4cc0cde in ?? () from /lib64/libQt6DBus.so.6
#10 0x00007fafb3d90460 in QThreadPrivate::start (arg=0x7fafb4d4be40) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/thread/qthread_unix.cpp:466
#11 0x00007fafb329b8f0 in start_thread () from /lib64/libc.so.6
#12 0x00007fafb331fc2c in __clone3 () from /lib64/libc.so.6

Thread 7 (Thread 0x7fafa57fa6c0 (LWP 3908)):
#0  0x00007fafb32a4252 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007fafb3297dd8 in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007fafb32e7ede in clock_nanosleep@GLIBC_2.2.5 () from /lib64/libc.so.6
#3  0x00007fafb32f3f77 in nanosleep () from /lib64/libc.so.6
#4  0x00007fafb331f6b7 in usleep () from /lib64/libc.so.6
#5  0x00007fafb41652c5 in ?? () from /lib64/libddcutil.so.5
#6  0x00007fafb41767d8 in ?? () from /lib64/libddcutil.so.5
#7  0x00007fafb417d02c in ?? () from /lib64/libddcutil.so.5
#8  0x00007fafb2b65db1 in ?? () from /lib64/libglib-2.0.so.0
#9  0x00007fafb329b8f0 in start_thread () from /lib64/libc.so.6
#10 0x00007fafb331fc2c in __clone3 () from /lib64/libc.so.6

Thread 6 (Thread 0x7fafa5ffb6c0 (LWP 3907)):
#0  0x00007fafb331d7cd in syscall () from /lib64/libc.so.6
#1  0x00007fafb2b65afc in g_cond_wait_until () from /lib64/libglib-2.0.so.0
#2  0x00007fafb2af96cd in ?? () from /lib64/libglib-2.0.so.0
#3  0x00007fafb2af9d45 in g_async_queue_timeout_pop () from
/lib64/libglib-2.0.so.0
#4  0x00007fafb417b564 in ?? () from /lib64/libddcutil.so.5
#5  0x00007fafb2b65db1 in ?? () from /lib64/libglib-2.0.so.0
#6  0x00007fafb329b8f0 in start_thread () from /lib64/libc.so.6
#7  0x00007fafb331fc2c in __clone3 () from /lib64/libc.so.6

Thread 5 (Thread 0x7fafa6ffd6c0 (LWP 3846)):
#0  0x00007fafb32a4252 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007fafb3297dd8 in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007fafb3297e31 in __syscall_cancel () from /lib64/libc.so.6
#3  0x00007fafb3311eb2 in ppoll () from /lib64/libc.so.6
#4  0x00007fafb2b3356f in ?? () from /lib64/libglib-2.0.so.0
#5  0x00007fafb2b33ce0 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#6  0x00007fafb2b33d31 in ?? () from /lib64/libglib-2.0.so.0
#7  0x00007fafb2b65db1 in ?? () from /lib64/libglib-2.0.so.0
#8  0x00007fafb329b8f0 in start_thread () from /lib64/libc.so.6
#9  0x00007fafb331fc2c in __clone3 () from /lib64/libc.so.6

Thread 4 (Thread 0x7fafa67fc6c0 (LWP 3847)):
#0  0x00007fafb32a4252 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007fafb3297dd8 in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007fafb3297e31 in __syscall_cancel () from /lib64/libc.so.6
#3  0x00007fafb3311eb2 in ppoll () from /lib64/libc.so.6
#4  0x00007fafb2b3356f in ?? () from /lib64/libglib-2.0.so.0
#5  0x00007fafb2b33f2f in g_main_loop_run () from /lib64/libglib-2.0.so.0
#6  0x00007fafad53814a in gdbus_shared_thread_func (user_data=0x564910496bf0)
at ../gio/gdbusprivate.c:284
#7  0x00007fafb2b65db1 in ?? () from /lib64/libglib-2.0.so.0
#8  0x00007fafb329b8f0 in start_thread () from /lib64/libc.so.6
#9  0x00007fafb331fc2c in __clone3 () from /lib64/libc.so.6

Thread 3 (Thread 0x7fafa7fff6c0 (LWP 3838)):
#0  0x00007fafb32a4252 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007fafb3297dd8 in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007fafb3297e31 in __syscall_cancel () from /lib64/libc.so.6
#3  0x00007fafb331192a in poll () from /lib64/libc.so.6
#4  0x00007fafb4bb52a4 in ?? () from /lib64/libxcb.so.1
#5  0x00007fafb4bb6d4c in xcb_wait_for_event () from /lib64/libxcb.so.1
#6  0x00007fafacf4a068 in QXcbEventQueue::run (this=0x564910402d20) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/plugins/platforms/xcb/qxcbeventqueue.cpp:194
#7  0x00007fafb3d90460 in QThreadPrivate::start (arg=0x564910402d20) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/thread/qthread_unix.cpp:466
#8  0x00007fafb329b8f0 in start_thread () from /lib64/libc.so.6
#9  0x00007fafb331fc2c in __clone3 () from /lib64/libc.so.6

Thread 2 (Thread 0x7fafa77fe6c0 (LWP 3845)):
#0  0x00007fafb331d7cd in syscall () from /lib64/libc.so.6
#1  0x00007fafb2b65622 in g_cond_wait () from /lib64/libglib-2.0.so.0
#2  0x00007fafb2af9704 in ?? () from /lib64/libglib-2.0.so.0
#3  0x00007fafb2b66064 in ?? () from /lib64/libglib-2.0.so.0
#4  0x00007fafb2b65db1 in ?? () from /lib64/libglib-2.0.so.0
#5  0x00007fafb329b8f0 in start_thread () from /lib64/libc.so.6
#6  0x00007fafb331fc2c in __clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x7fafacff9d00 (LWP 3773)):
[KCrash Handler]
#4  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::get
(this=<optimized out>, this=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/tools/qscopedpointer.h:111
#5  qGetPtrHelper<QScopedPointer<QObjectData,
QScopedPointerDeleter<QObjectData> > const> (ptr=..., ptr=...) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/global/qtclasshelpermacros.h:138
#6  QInputDevice::d_func (this=0x0) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/gui/kernel/qinputdevice.h:19
#7  QInputDevice::seatName (this=this@entry=0x0) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/gui/kernel/qinputdevice.cpp:255
#8  0x00007fafacf4542e in QXcbConnection::populateTouchDevices
(this=0x564910403f60, info=0x7fafa0009960, scrollingDeviceP=0x564910436560,
used=0x7ffc75d4b187) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp:658
#9  0x00007fafacf341a2 in QXcbConnection::xi2SetupSlavePointerDevice
(this=0x564910403f60, info=0x7fafa0009960, master=0x0) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp:409
#10 0x00007fafacf43952 in QXcbConnection::xi2HandleDeviceChangedEvent
(this=0x564910403f60, event=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp:1293
#11 0x00007fafacf2e48d in QXcbConnection::handleXcbEvent
(this=this@entry=0x564910403f60, event=event@entry=0x5649105056d0) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/plugins/platforms/xcb/qxcbconnection.cpp:703
#12 0x00007fafacf30d2c in QXcbConnection::processXcbEvents
(this=0x564910403f60, flags=...) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/plugins/platforms/xcb/qxcbconnection.cpp:1088
#13 0x00007fafacf4d9b7 in xcbSourceDispatch (source=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:57
#14 0x00007fafb2b304b6 in ?? () from /lib64/libglib-2.0.so.0
#15 0x00007fafb2b33478 in ?? () from /lib64/libglib-2.0.so.0
#16 0x00007fafb2b33ce0 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#17 0x00007fafb3eac1d1 in QEventDispatcherGlib::processEvents
(this=0x564910443a60, flags=...) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/kernel/qeventdispatcher_glib.cpp:404
#18 0x00007fafb3be9a33 in QEventLoop::exec (this=0x7ffc75d4b750, flags=...) at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/global/qflags.h:78
#19 0x00007fafb3bdf083 in QCoreApplication::exec () at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/kernel/qcoreapplication.cpp:1457
#20 0x00007fafb442f1f0 in QGuiApplication::exec () at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/gui/kernel/qguiapplication.cpp:2005
#21 0x00005648e2aad288 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/powerdevil-6.6.5/daemon/powerdevilapp.cpp:142

Reported using DrKonqi

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

Reply via email to