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

            Bug ID: 521590
           Summary: Gwenview and Okular crash Plasma session constantly
    Classification: Frameworks and Libraries
           Product: kwayland
      Version First 5.248.0
       Reported In:
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: critical
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

STEPS TO REPRODUCE
1. Open a few images with Gwenview (or slide through them in folder) and
observe a crash at random point, same for Okular
2. Session automatically restores after the crash with "A display has been
connected" message

OBSERVED RESULT

Process 5053 (gwenview) of user 1000 dumped core.

Module libgomp.so.1 from deb gcc-14-14.2.0-4ubuntu2~24.04.1.amd64
Module libsystemd.so.0 from deb systemd-255.4-1ubuntu8.16.amd64
Module libudev.so.1 from deb systemd-255.4-1ubuntu8.16.amd64
Module libzstd.so.1 from deb libzstd-1.5.5+dfsg2-2build1.1.amd64
Module libgcc_s.so.1 from deb gcc-14-14.2.0-4ubuntu2~24.04.1.amd64
Module libstdc++.so.6 from deb gcc-14-14.2.0-4ubuntu2~24.04.1.amd64
Stack trace of thread 5053:
#0  0x000077614b09eb2c __pthread_kill_implementation (libc.so.6 + 0x9eb2c)
#1  0x000077614b04527e __GI_raise (libc.so.6 + 0x4527e)
#2  0x000077614f61af6a _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 +
0x7f6a)
#3  0x000077614b045330 __restore_rt (libc.so.6 + 0x45330)
#4  0x000077614aaa4644 _ZNK15QtWaylandClient19QWaylandInputDevice7pointerEv
(libQt6WaylandClient.so.6 + 0xf1644)
#5  0x000077614aab15ce
_ZN15QtWaylandClient23QWaylandNativeInterface28nativeResourceForIntegrationERK10QByteArray
(libQt6WaylandClient.so.6 + 0xfe5ce)
#6  0x000077614f420180 _ZN8Gwenview15WaylandGestures4initEv
(libgwenviewlib.so.5 + 0x220180)
#7  0x000077614f41fe85 _ZZN8Gwenview15WaylandGesturesC4EP7QObjectENKUlvE_clEv
(libgwenviewlib.so.5 + 0x21fe85)
#8  0x000077614f421181
_ZZN9QtPrivate11FunctorCallISt16integer_sequenceImJEENS_4ListIJEEEvZN8Gwenview15WaylandGesturesC4EP7QObjectEUlvE_E4callERS9_PPvENKUlvE_clEv
(libgwenviewlib.so.5 + 0x221181)
#9  0x000077614f42135c call_internal<void,
QtPrivate::FunctorCall<std::integer_sequence<long unsigned int>,
QtPrivate::List<>, void,
Gwenview::WaylandGestures::WaylandGestures(QObject*)::<lambda()>
>::call(Gwenview::WaylandGestures::WaylandGestures(QObject*)::<lambda()>&,
void**)::<lambda()> > (libgwenviewlib.so.5 + 0x22135c)
#10 0x000077614f4211c6 call (libgwenviewlib.so.5 + 0x2211c6)
#11 0x000077614f4210f3 call<QtPrivate::List<>, void> (libgwenviewlib.so.5 +
0x2210f3)
#12 0x000077614f420f4a impl (libgwenviewlib.so.5 + 0x220f4a)
#13 0x000077614bcd8f1d _ZN9QtPrivate15QSlotObjectBase4callEP7QObjectPPv
(libQt6Core.so.6 + 0x4d8f1d)
#14 0x000077614bcd8f1d _ZN9QtPrivate15QSlotObjectBase4callEP7QObjectPPv
(libQt6Core.so.6 + 0x4d8f1d)
#15 0x000077614aa91b59
_ZN15QtWaylandClient15QWaylandDisplay13globalRemovedERKNS0_14RegistryGlobalE
(libQt6WaylandClient.so.6 + 0xdeb59)
#16 0x000077614aa97caf _ZN15QtWaylandClient15QWaylandDisplay9reconnectEv
(libQt6WaylandClient.so.6 + 0xe4caf)
#17 0x000077614bc75787 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x475787)
#18 0x000077614d47586a
_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 +
0x67586a)
#19 0x000077614bd19778 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent
(libQt6Core.so.6 + 0x519778)
#20 0x000077614bd19a1a
_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData
(libQt6Core.so.6 + 0x519a1a)
#21 0x000077614baf1107 postEventSourceDispatch (libQt6Core.so.6 + 0x2f1107)
#22 0x0000776147f14585 n/a (libglib-2.0.so.0 + 0x5d585)
#23 0x0000776147f73977 n/a (libglib-2.0.so.0 + 0xbc977)
#24 0x0000776147f13a23 g_main_context_iteration (libglib-2.0.so.0 + 0x5ca23)
#25 0x000077614baef760
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt6Core.so.6 + 0x2ef760)
#26 0x000077614bd2450b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE
(libQt6Core.so.6 + 0x52450b)
#27 0x000077614bd1c3d8 _ZN16QCoreApplication4execEv (libQt6Core.so.6 +
0x51c3d8)
#28 0x00005714f92b96c5 main (gwenview + 0xb56c5)
#29 0x000077614b02a1ca __libc_start_call_main (libc.so.6 + 0x2a1ca)
#30 0x000077614b02a28b __libc_start_main_impl (libc.so.6 + 0x2a28b)
#31 0x00005714f924cbe5 _start (gwenview + 0x48be5)

Stack trace of thread 5057:
#0  0x000077614b098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
#1  0x000077614b09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
#2  0x000077614bb3a25b _ZN21QWaitConditionPrivate4waitE14QDeadlineTimer
(libQt6Core.so.6 + 0x33a25b)
#3  0x000077614f3cde51 _ZN8Gwenview18ThumbnailGenerator3runEv
(libgwenviewlib.so.5 + 0x1cde51)
#4  0x000077614bbe9c9c _ZN14QThreadPrivate5startEPv (libQt6Core.so.6 +
0x3e9c9c)
#5  0x000077614b09caa4 start_thread (libc.so.6 + 0x9caa4)
#6  0x000077614b129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 5061:
#0  0x000077614b098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
#1  0x000077614b09bc8e __pthread_cond_wait_common (libc.so.6 + 0x9bc8e)
#2  0x000077614bb3a1e8
_ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt6Core.so.6 +
0x33a1e8)
#3  0x000077614bc28362 _ZN17QThreadPoolThread3runEv (libQt6Core.so.6 +
0x428362)
#4  0x000077614bbe9c9c _ZN14QThreadPrivate5startEPv (libQt6Core.so.6 +
0x3e9c9c)
#5  0x000077614b09caa4 start_thread (libc.so.6 + 0x9caa4)
#6  0x000077614b129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 5058:
#0  0x000077614b098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
#1  0x000077614b09bc8e __pthread_cond_wait_common (libc.so.6 + 0x9bc8e)
#2  0x000077614bb3a1e8
_ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt6Core.so.6 +
0x33a1e8)
#3  0x000077614bc28362 _ZN17QThreadPoolThread3runEv (libQt6Core.so.6 +
0x428362)
#4  0x000077614bbe9c9c _ZN14QThreadPrivate5startEPv (libQt6Core.so.6 +
0x3e9c9c)
#5  0x000077614b09caa4 start_thread (libc.so.6 + 0x9caa4)
#6  0x000077614b129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 5054:
#0  0x000077614b11b4fd __GI___poll (libc.so.6 + 0x11b4fd)
#1  0x0000776147f738ce n/a (libglib-2.0.so.0 + 0xbc8ce)
#2  0x0000776147f13a23 g_main_context_iteration (libglib-2.0.so.0 + 0x5ca23)
#3  0x000077614baef760
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt6Core.so.6 + 0x2ef760)
#4  0x000077614bd2450b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE
(libQt6Core.so.6 + 0x52450b)
#5  0x000077614bc27e23 _ZN7QThread4execEv (libQt6Core.so.6 + 0x427e23)
#6  0x000077614cde173e _ZN22QDBusConnectionManager3runEv (libQt6DBus.so.6 +
0xa873e)
#7  0x000077614bbe9c9c _ZN14QThreadPrivate5startEPv (libQt6Core.so.6 +
0x3e9c9c)
#8  0x000077614b09caa4 start_thread (libc.so.6 + 0x9caa4)
#9  0x000077614b129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 5060:
#0  0x000077614b098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
#1  0x000077614b09bc8e __pthread_cond_wait_common (libc.so.6 + 0x9bc8e)
#2  0x000077614bb3a1e8
_ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt6Core.so.6 +
0x33a1e8)
#3  0x000077614bc28362 _ZN17QThreadPoolThread3runEv (libQt6Core.so.6 +
0x428362)
#4  0x000077614bbe9c9c _ZN14QThreadPrivate5startEPv (libQt6Core.so.6 +
0x3e9c9c)
#5  0x000077614b09caa4 start_thread (libc.so.6 + 0x9caa4)
#6  0x000077614b129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 5062:
#0  0x000077614b098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
#1  0x000077614b09bc8e __pthread_cond_wait_common (libc.so.6 + 0x9bc8e)
#2  0x000077614bb3a1e8
_ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt6Core.so.6 +
0x33a1e8)
#3  0x000077614bc28362 _ZN17QThreadPoolThread3runEv (libQt6Core.so.6 +
0x428362)
#4  0x000077614bbe9c9c _ZN14QThreadPrivate5startEPv (libQt6Core.so.6 +
0x3e9c9c)
#5  0x000077614b09caa4 start_thread (libc.so.6 + 0x9caa4)
#6  0x000077614b129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 5063:
#0  0x000077614b098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
#1  0x000077614b09bc8e __pthread_cond_wait_common (libc.so.6 + 0x9bc8e)
#2  0x000077614bb3a1e8
_ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt6Core.so.6 +
0x33a1e8)
#3  0x000077614bc28362 _ZN17QThreadPoolThread3runEv (libQt6Core.so.6 +
0x428362)
#4  0x000077614bbe9c9c _ZN14QThreadPrivate5startEPv (libQt6Core.so.6 +
0x3e9c9c)
#5  0x000077614b09caa4 start_thread (libc.so.6 + 0x9caa4)
#6  0x000077614b129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 5065:
#0  0x000077614b098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
#1  0x000077614b09bc8e __pthread_cond_wait_common (libc.so.6 + 0x9bc8e)
#2  0x000077614bb3a1e8
_ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt6Core.so.6 +
0x33a1e8)
#3  0x000077614bc28362 _ZN17QThreadPoolThread3runEv (libQt6Core.so.6 +
0x428362)
#4  0x000077614bbe9c9c _ZN14QThreadPrivate5startEPv (libQt6Core.so.6 +
0x3e9c9c)
#5  0x000077614b09caa4 start_thread (libc.so.6 + 0x9caa4)
#6  0x000077614b129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 5066:
#0  0x000077614b098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
#1  0x000077614b09bc8e __pthread_cond_wait_common (libc.so.6 + 0x9bc8e)
#2  0x000077614bb3a1e8
_ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt6Core.so.6 +
0x33a1e8)
#3  0x000077614bc28362 _ZN17QThreadPoolThread3runEv (libQt6Core.so.6 +
0x428362)
#4  0x000077614bbe9c9c _ZN14QThreadPrivate5startEPv (libQt6Core.so.6 +
0x3e9c9c)
#5  0x000077614b09caa4 start_thread (libc.so.6 + 0x9caa4)
#6  0x000077614b129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 5064:
#0  0x000077614b098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
#1  0x000077614b09bc8e __pthread_cond_wait_common (libc.so.6 + 0x9bc8e)
#2  0x000077614bb3a1e8
_ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt6Core.so.6 +
0x33a1e8)
#3  0x000077614bc28362 _ZN17QThreadPoolThread3runEv (libQt6Core.so.6 +
0x428362)
#4  0x000077614bbe9c9c _ZN14QThreadPrivate5startEPv (libQt6Core.so.6 +
0x3e9c9c)
#5  0x000077614b09caa4 start_thread (libc.so.6 + 0x9caa4)
#6  0x000077614b129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 5070:
#0  0x000077614b11ba30 __GI_ppoll (libc.so.6 + 0x11ba30)
#1  0x000077614bbe67f9 ppoll (libQt6Core.so.6 + 0x3e67f9)
#2  0x0000776149ce12f1
_ZNK26QNativeSocketEnginePrivate12nativeSelectE14QDeadlineTimerbbPbS1_
(libQt6Network.so.6 + 0xd32f1)
#3  0x0000776149db7133
_ZN19QNativeSocketEngine18waitForReadOrWriteEPbS0_bb14QDeadlineTimerS0_
(libQt6Network.so.6 + 0x1a9133)
#4  0x0000776149daf7f9 _ZN15QAbstractSocket16waitForReadyReadEi
(libQt6Network.so.6 + 0x1a17f9)
#5  0x000077614e25cdb0 n/a (libKF6KIOCore.so.6 + 0x5cdb0)
#6  0x000077614e262e0e n/a (libKF6KIOCore.so.6 + 0x62e0e)
#7  0x000077614e2f8b78 n/a (libKF6KIOCore.so.6 + 0xf8b78)
#8  0x000077614e41715b n/a (libKF6KIOCore.so.6 + 0x21715b)
#9  0x000077614bbe9c9c _ZN14QThreadPrivate5startEPv (libQt6Core.so.6 +
0x3e9c9c)
#10 0x000077614b09caa4 start_thread (libc.so.6 + 0x9caa4)
#11 0x000077614b129c6c __clone3 (libc.so.6 + 0x129c6c)

Stack trace of thread 5067:
#0  0x000077614b098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
#1  0x000077614b09bc8e __pthread_cond_wait_common (libc.so.6 + 0x9bc8e)
#2  0x000077614bb3a1e8
_ZN21QWaitConditionPrivate13wait_relativeE14QDeadlineTimer (libQt6Core.so.6 +
0x33a1e8)
#3  0x000077614bc28362 _ZN17QThreadPoolThread3runEv (libQt6Core.so.6 +
0x428362)
#4  0x000077614bbe9c9c _ZN14QThreadPrivate5startEPv (libQt6Core.so.6 +
0x3e9c9c)
#5  0x000077614b09caa4 start_thread (libc.so.6 + 0x9caa4)
#6  0x000077614b129c6c __clone3 (libc.so.6 + 0x129c6c)
ELF object binary architecture: AMD x86-64

EXPECTED RESULT

I would expect them not to crash.

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 6.7.0
KDE Frameworks Version: 6.27
Qt Version: 6.11.1

ADDITIONAL INFO

Processor: AMD Ryzen 9 9955HX 
GPUs: AMD Integrated + NVIDIA 5070ti 12GB VRAM
The behavior is the same with/without NVIDIA drivers.

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

Reply via email to