Bug 484091 - Plasma crash after manually saving session, rebooting, and loggin in again
Summary: Plasma crash after manually saving session, rebooting, and loggin in again
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.27.5
Platform: Debian stable Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-03-20 17:26 UTC by Paul Stansell
Modified: 2025-06-15 13:57 UTC (History)
4 users (show)

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


Attachments
New crash information added by DrKonqi (12.22 KB, text/plain)
2024-07-08 05:11 UTC, deusexaethera@gmail.com
Details
New crash information added by DrKonqi (19.01 KB, text/plain)
2025-06-15 13:57 UTC, Paul Wood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Stansell 2024-03-20 17:26:17 UTC
Application: plasmashell (5.27.5)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.6.20+rpt-rpi-v8 aarch64
Windowing System: X11
Distribution: Debian GNU/Linux 12 (bookworm)
DrKonqi: 5.27.5 [CoredumpBackend]

-- Information about the crash:
I created and positioned three lxterminal windows, manually saved the session, rebooted, and loggin in again.  After loggin in only one of the lxterminal windows was displayed and two plasma crash report boxes were displayed (resumably one for each lxterminal that crashed).

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

           PID: 1941 (plasmashell)
           UID: 1000 (ps)
           GID: 1000 (ps)
        Signal: 11 (SEGV)
     Timestamp: Wed 2024-03-20 17:12:16 GMT (35s ago)
  Command Line: /usr/bin/plasmashell --no-respawn
    Executable: /usr/bin/plasmashell
 Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service
          Unit: user@1000.service
     User Unit: plasma-plasmashell.service
         Slice: user-1000.slice
     Owner UID: 1000 (ps)
       Boot ID: 8fe0f2dcfebf4beb8b298d5021992c88
    Machine ID: 23ee23e9e3ea4374a550a267e1611d16
      Hostname: kde
       Storage: /var/lib/systemd/coredump/core.plasmashell.1000.8fe0f2dcfebf4beb8b298d5021992c88.1941.1710954736000000.zst (present)
  Size on Disk: 7.8M
       Message: Process 1941 (plasmashell) of user 1000 dumped core.
                
                Module libsystemd.so.0 from deb systemd-252.22-1~deb12u1.arm64
                Module libudev.so.1 from deb systemd-252.22-1~deb12u1.arm64
                Stack trace of thread 1949:
                #0  0x0000007fb6600a10 __pthread_kill_implementation (libc.so.6 + 0x80a10)
                #1  0x0000007fb65ba76c __GI_raise (libc.so.6 + 0x3a76c)
                #2  0x0000007fb8e4506c _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x506c)
                #3  0x0000007fb95617b0 n/a (linux-vdso.so.1 + 0x7b0)
                #4  0x0000007fb95617b0 n/a (linux-vdso.so.1 + 0x7b0)
                #5  0x0000007fb66009fc __pthread_kill_implementation (libc.so.6 + 0x809fc)
                #6  0x0000007f940029e0 n/a (n/a + 0x0)
                ELF object binary architecture: AARCH64

[New LWP 1949]
[New LWP 1951]
[New LWP 1946]
[New LWP 1985]
[New LWP 1993]
[New LWP 1986]
[New LWP 1987]
[New LWP 1948]
[New LWP 1941]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/plasmashell --no-respawn'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __pthread_kill_implementation (threadid=548168523520, signo=signo@entry=11, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
[Current thread is 1 (Thread 0x7fa163df00 (LWP 1949))]
[Current thread is 1 (Thread 0x7fa163df00 (LWP 1949))]

Thread 9 (Thread 0x7fb9422500 (LWP 1941)):
[KCrash Handler]
#4  0x0000007fb8239304 in QV4::MemoryManager::collectFromJSStack(QV4::MarkStack*) const () from /lib/aarch64-linux-gnu/libQt5Qml.so.5
#5  0x0000007fb8239414 in QV4::MemoryManager::collectRoots(QV4::MarkStack*) () from /lib/aarch64-linux-gnu/libQt5Qml.so.5
#6  0x0000007fb82396a8 in QV4::MemoryManager::mark() () from /lib/aarch64-linux-gnu/libQt5Qml.so.5
#7  0x0000007fb823b218 in ?? () from /lib/aarch64-linux-gnu/libQt5Qml.so.5
#8  0x0000007fb823d188 in QV4::MemoryManager::allocString(unsigned long) () from /lib/aarch64-linux-gnu/libQt5Qml.so.5
#9  0x0000007fb82a8f00 in QV4::ExecutionEngine::newString(QString const&) () from /lib/aarch64-linux-gnu/libQt5Qml.so.5
#10 0x0000007fb832eb48 in ?? () from /lib/aarch64-linux-gnu/libQt5Qml.so.5
#11 0x0000007fb830b5e4 in QV4::QQmlContextWrapper::lookupScopeObjectProperty(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value*) () from /lib/aarch64-linux-gnu/libQt5Qml.so.5
#12 0x0000007fb54b40c0 in ?? ()
#13 0x0000007fb82e5304 in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib/aarch64-linux-gnu/libQt5Qml.so.5
#14 0x0000007fb82e5304 in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib/aarch64-linux-gnu/libQt5Qml.so.5
#15 0x000000557afcd310 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 8 (Thread 0x7fa1e4df00 (LWP 1948)):
#0  0x0000007fb65fb6d4 in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x557adc1b38) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x557adc1b38) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x557adc1b38, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x0000007fb65fe210 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x557adc1ae0, cond=0x557adc1b10) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x557adc1b10, mutex=0x557adc1ae0) at ./nptl/pthread_cond_wait.c:618
#5  0x0000007faa4a122c in ?? () from /usr/lib/aarch64-linux-gnu/dri/vc4_dri.so
#6  0x0000007faa45f5c4 in ?? () from /usr/lib/aarch64-linux-gnu/dri/vc4_dri.so
#7  0x0000007faa4a113c in ?? () from /usr/lib/aarch64-linux-gnu/dri/vc4_dri.so
#8  0x0000007fb65fee58 in start_thread (arg=0x7fcb2149d7) at ./nptl/pthread_create.c:442
#9  0x0000007fb6667f9c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79

Thread 7 (Thread 0x7f8cb3cf00 (LWP 1987)):
#0  0x0000007fb65fb6d4 in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x557ae91638) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x557ae91638) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x557ae91638, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x0000007fb65fe210 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x557ae915e0, cond=0x557ae91610) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x557ae91610, mutex=0x557ae915e0) at ./nptl/pthread_cond_wait.c:618
#5  0x0000007fb6a24e14 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/aarch64-linux-gnu/libQt5Core.so.5
#6  0x0000007fb896c2f0 in ?? () from /lib/aarch64-linux-gnu/libQt5Quick.so.5
#7  0x0000007fb896e5d0 in ?? () from /lib/aarch64-linux-gnu/libQt5Quick.so.5
#8  0x0000007fb6a1dfc0 in ?? () from /lib/aarch64-linux-gnu/libQt5Core.so.5
#9  0x0000007fb65fee58 in start_thread (arg=0x7fcb215be7) at ./nptl/pthread_create.c:442
#10 0x0000007fb6667f9c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79

Thread 6 (Thread 0x7f8db36f00 (LWP 1986)):
#0  0x0000007fb65fb6d4 in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7f8db365a0, op=137, expected=0, futex_word=0x7f88005418) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x7f8db365a0, clockid=-1235241292, expected=0, futex_word=0x7f88005418) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f88005418, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f8db365a0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x0000007fb65fe500 in __pthread_cond_wait_common (abstime=0x7f8db365a0, clockid=1, mutex=0x7f880053c0, cond=0x7f880053f0) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x7f880053f0, mutex=0x7f880053c0, abstime=0x7f8db365a0) at ./nptl/pthread_cond_wait.c:643
#5  0x0000007fb6a24d94 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/aarch64-linux-gnu/libQt5Core.so.5
#6  0x0000007fb6a21c94 in ?? () from /lib/aarch64-linux-gnu/libQt5Core.so.5
#7  0x0000007fb6a1dfc0 in ?? () from /lib/aarch64-linux-gnu/libQt5Core.so.5
#8  0x0000007fb65fee58 in start_thread (arg=0x7f8e3460b7) at ./nptl/pthread_create.c:442
#9  0x0000007fb6667f9c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79

Thread 5 (Thread 0x7f79b7ef00 (LWP 1993)):
#0  0x0000007fb6660d14 in pselect64_syscall (sigmask=<optimized out>, timeout=<optimized out>, exceptfds=0x0, writefds=0x0, readfds=0x7f79b764a8, nfds=5) at ../sysdeps/unix/sysv/linux/pselect.c:34
#1  __pselect (nfds=5, readfds=0x7f79b764a8, writefds=0x0, exceptfds=0x0, timeout=<optimized out>, sigmask=<optimized out>) at ../sysdeps/unix/sysv/linux/pselect.c:56
#2  0x0000007fb3d22ab0 in ?? () from /lib/aarch64-linux-gnu/libusbmuxd-2.0.so.6
#3  0x0000007fb3d23dc8 in ?? () from /lib/aarch64-linux-gnu/libusbmuxd-2.0.so.6
#4  0x0000007fb65fee58 in start_thread (arg=0x7fcb2143b7) at ./nptl/pthread_create.c:442
#5  0x0000007fb6667f9c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79

Thread 4 (Thread 0x7f8e346f00 (LWP 1985)):
#0  0x0000007fb665ded8 in __GI___poll (fds=0x7f88005810, nfds=1, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
#1  0x0000007fb51f7958 in ?? () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
#2  0x0000007fb51f7a84 in g_main_context_iteration () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
#3  0x0000007fb6c6eaa8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/aarch64-linux-gnu/libQt5Core.so.5
#4  0x0000007fb6c0b258 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/aarch64-linux-gnu/libQt5Core.so.5
#5  0x0000007fb6a1cab4 in QThread::exec() () from /lib/aarch64-linux-gnu/libQt5Core.so.5
#6  0x0000007fb88bb6d8 in ?? () from /lib/aarch64-linux-gnu/libQt5Quick.so.5
#7  0x0000007fb6a1dfc0 in ?? () from /lib/aarch64-linux-gnu/libQt5Core.so.5
#8  0x0000007fb65fee58 in start_thread (arg=0x7fcb2151b7) at ./nptl/pthread_create.c:442
#9  0x0000007fb6667f9c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79

Thread 3 (Thread 0x7fb0e7ef00 (LWP 1946)):
#0  0x0000007fb665ded4 in __GI___poll (fds=0x7fb0e7e528, nfds=1, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
#1  0x0000007fb919c2f0 in ?? () from /lib/aarch64-linux-gnu/libxcb.so.1
#2  0x0000007fb919e6ac in xcb_wait_for_event () from /lib/aarch64-linux-gnu/libxcb.so.1
#3  0x0000007fb11e18a8 in ?? () from /lib/aarch64-linux-gnu/libQt5XcbQpa.so.5
#4  0x0000007fb6a1dfc0 in ?? () from /lib/aarch64-linux-gnu/libQt5Core.so.5
#5  0x0000007fb65fee58 in start_thread (arg=0x7fcb215bc7) at ./nptl/pthread_create.c:442
#6  0x0000007fb6667f9c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79

Thread 2 (Thread 0x7f9bffef00 (LWP 1951)):
#0  0x0000007fb665ded8 in __GI___poll (fds=0x7f900025e0, nfds=1, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
#1  0x0000007fb51f7958 in ?? () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
#2  0x0000007fb51f7a84 in g_main_context_iteration () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
#3  0x0000007fb6c6eac4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/aarch64-linux-gnu/libQt5Core.so.5
#4  0x0000007fb6c0b258 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/aarch64-linux-gnu/libQt5Core.so.5
#5  0x0000007fb6a1cab4 in QThread::exec() () from /lib/aarch64-linux-gnu/libQt5Core.so.5
#6  0x0000007fb84c1b48 in ?? () from /lib/aarch64-linux-gnu/libQt5Qml.so.5
#7  0x0000007fb6a1dfc0 in ?? () from /lib/aarch64-linux-gnu/libQt5Core.so.5
#8  0x0000007fb65fee58 in start_thread (arg=0x7fcb214f17) at ./nptl/pthread_create.c:442
#9  0x0000007fb6667f9c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79

Thread 1 (Thread 0x7fa163df00 (LWP 1949)):
[KCrash Handler]
#5  __pthread_kill_implementation (threadid=548168523520, signo=signo@entry=11, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
#6  0x0000007fb6600a64 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#7  0x0000007fb65ba76c in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#8  <signal handler called>
#9  0x0000007fb665ded8 in __GI___poll (fds=0x7f940029e0, nfds=3, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
#10 0x0000007fb51f7958 in ?? () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
#11 0x0000007fb51f7a84 in g_main_context_iteration () from /lib/aarch64-linux-gnu/libglib-2.0.so.0
#12 0x0000007fb6c6eaa8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/aarch64-linux-gnu/libQt5Core.so.5
#13 0x0000007fb6c0b258 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/aarch64-linux-gnu/libQt5Core.so.5
#14 0x0000007fb6a1cab4 in QThread::exec() () from /lib/aarch64-linux-gnu/libQt5Core.so.5
#15 0x0000007fb75b8d40 in ?? () from /lib/aarch64-linux-gnu/libQt5DBus.so.5
#16 0x0000007fb6a1dfc0 in ?? () from /lib/aarch64-linux-gnu/libQt5Core.so.5
#17 0x0000007fb65fee58 in start_thread (arg=0x7fcb215c57) at ./nptl/pthread_create.c:442
#18 0x0000007fb6667f9c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79

Reported using DrKonqi
Comment 1 Nate Graham 2024-04-11 20:07:56 UTC
Cannot reproduce, no KDE code is implicated in what I can see from the backtrace, and the backtrace has no debug symbols for anything that would help. :(

If this crash is reproducible, could you please install debug symbols, reproduce the crash, and attach a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Thanks!
Comment 2 Bug Janitor Service 2024-04-26 03:46:28 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2024-05-11 03:45:54 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 4 deusexaethera@gmail.com 2024-07-08 05:11:04 UTC
Created attachment 171470 [details]
New crash information added by DrKonqi

plasmashell (5.27.5) using Qt 5.15.8

All I was doing was logging in on my Raspberry Pi running Pi OS (thus by definition an aarch64 platform). Unlike the title of the bug report, I didn't manually save my session, I have it automatically saved whenever I log out.

-- Backtrace (Reduced):
#4  0x0000007f8fba9304 in QV4::MemoryManager::collectFromJSStack(QV4::MarkStack*) const () from /lib/aarch64-linux-gnu/libQt5Qml.so.5
#5  0x0000007f8fba9414 in QV4::MemoryManager::collectRoots(QV4::MarkStack*) () from /lib/aarch64-linux-gnu/libQt5Qml.so.5
#6  0x0000007f8fba96a8 in QV4::MemoryManager::mark() () from /lib/aarch64-linux-gnu/libQt5Qml.so.5
[...]
#8  0x0000007f8fbad188 in QV4::MemoryManager::allocString(unsigned long) () from /lib/aarch64-linux-gnu/libQt5Qml.so.5
#9  0x0000007f8fc18f00 in QV4::ExecutionEngine::newString(QString const&) () from /lib/aarch64-linux-gnu/libQt5Qml.so.5
Comment 5 Paul Wood 2025-06-15 13:57:24 UTC
Created attachment 182288 [details]
New crash information added by DrKonqi

plasmashell (5.27.5) using Qt 5.15.8

Switched from KDE with Wayland to KDE with X11. The error occurs after login. I suspect something to do with fcitx5 and switching to a UK English keyboard layout. If I leave it to the default US English I didn't notice the issue. Also scrolling in Chrome and Firefox becomes erratic and unusable.

-- Backtrace (Reduced):
#4  0x00007fffb3f59304 in QV4::MemoryManager::collectFromJSStack(QV4::MarkStack*) const () from /lib/aarch64-linux-gnu/libQt5Qml.so.5
#5  0x00007fffb3f59414 in QV4::MemoryManager::collectRoots(QV4::MarkStack*) () from /lib/aarch64-linux-gnu/libQt5Qml.so.5
#6  0x00007fffb3f596a8 in QV4::MemoryManager::mark() () from /lib/aarch64-linux-gnu/libQt5Qml.so.5
[...]
#8  0x00007fffb3f5d188 in QV4::MemoryManager::allocString(unsigned long) () from /lib/aarch64-linux-gnu/libQt5Qml.so.5
#9  0x00007fffb3fc8f00 in QV4::ExecutionEngine::newString(QString const&) () from /lib/aarch64-linux-gnu/libQt5Qml.so.5