Bug 448785

Summary: plasma(wayland) crash every time at login
Product: [Unmaintained] ksplash Reporter: nuletbip
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: fabian, nate, nicolas.fella, plasma-bugs-null
Priority: NOR Keywords: drkonqi
Version First Reported In: 5.23.90   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: one of the coredumps
drkonqui coredumps
drkonqi coredumps (2)
plasmashell gdb log
plasmashell gdb log 2
ksplash gdb log

Description nuletbip 2022-01-19 18:31:23 UTC
Application: plasmashell (5.23.90)

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.13.0-19-generic x86_64
Windowing System: Wayland
Distribution: Ubuntu Jammy Jellyfish (development branch)
DrKonqi: 5.23.90 [KCrashBackend]

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


- Custom settings of the application:

MSI GF65 thin UE/ nvidia 510.39.01 driver/ubuntu 22.04/ RTX 3060/wayland

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted

[KCrash Handler]
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140608405473728) at pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=140608405473728) at pthread_kill.c:80
#6  __GI___pthread_kill (threadid=140608405473728, signo=signo@entry=6) at pthread_kill.c:91
#7  0x00007fe1f6320476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007fe1f63067b7 in __GI_abort () at abort.c:79
#9  0x00007fe1f67abba3 in QMessageLogger::fatal(char const*, ...) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fe1f49e8354 in QtWaylandClient::QWaylandDisplay::checkError() const () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#11 0x00007fe1f49e906a in QtWaylandClient::QWaylandDisplay::flushRequests() () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#12 0x00007fe1f6a0bdd8 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fe1f6a2d802 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fe1f69d2deb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007fe1f69db374 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x000055694c62fdae in ?? ()
#17 0x00007fe1f6307fd0 in __libc_start_call_main (main=main@entry=0x55694c62ef50, argc=argc@entry=1, argv=argv@entry=0x7ffdbd096868) at ../sysdeps/nptl/libc_start_call_main.h:58
#18 0x00007fe1f630807d in __libc_start_main_impl (main=0x55694c62ef50, argc=1, argv=0x7ffdbd096868, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdbd096858) at ../csu/libc-start.c:409
#19 0x000055694c62fed5 in ?? ()
[Inferior 1 (process 1478) detached]

The reporter indicates this bug may be a duplicate of or related to bug 444014.

Possible duplicates by query: bug 447117, bug 446922, bug 446351, bug 446195, bug 445778.

Reported using DrKonqi
Comment 1 Nicolas Fella 2022-01-19 23:26:19 UTC
Can you please check the logs for error messages?
Comment 2 Nate Graham 2022-01-20 22:43:35 UTC
Is kwin_wayland also crashing? This backtrace often means "we crashed because KWin crashed". Can you check `coredumpctl` for kwin_wayland crash logs, and attach the most recent one, if you find any?
Comment 3 nuletbip 2022-01-21 22:24:42 UTC
(In reply to Nicolas Fella from comment #1)
> Can you please check the logs for error messages?

(In reply to Nate Graham from comment #2)
> Is kwin_wayland also crashing? This backtrace often means "we crashed
> because KWin crashed". Can you check `coredumpctl` for kwin_wayland crash
> logs, and attach the most recent one, if you find any?

Hi,

How can I test it?
Comment 4 Nate Graham 2022-01-21 22:29:16 UTC
Like I said:

> Can you check `coredumpctl` for kwin_wayland crash
> logs, and attach the most recent one, if you find any?


`coredumpctl` is a command line program you will need to run in a terminal window.
Comment 5 nuletbip 2022-01-21 22:30:15 UTC
Created attachment 145731 [details]
one of the coredumps
Comment 6 nuletbip 2022-01-21 22:32:12 UTC
Created attachment 145732 [details]
drkonqui coredumps
Comment 7 nuletbip 2022-01-21 22:33:20 UTC
Created attachment 145733 [details]
drkonqi coredumps (2)
Comment 8 nuletbip 2022-01-21 22:35:23 UTC
(In reply to Nate Graham from comment #4)
> Like I said:
> 
> > Can you check `coredumpctl` for kwin_wayland crash
> > logs, and attach the most recent one, if you find any?
> 
> 
> `coredumpctl` is a command line program you will need to run in a terminal
> window.

Hi,

I still have another coredump for plasmashell but it's too big (6Mo)
Comment 9 Nate Graham 2022-01-24 16:34:26 UTC
We don't need the whole coredump; you use it to generate a backtrace, which is a simple piece of text. https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl may help. Sorry, I probably should have provided that link earlier.
Comment 10 nuletbip 2022-01-29 14:41:27 UTC
Created attachment 146043 [details]
plasmashell gdb log

plasmashell gdb log
Comment 11 nuletbip 2022-01-29 14:41:50 UTC
Created attachment 146044 [details]
plasmashell gdb log 2
Comment 12 nuletbip 2022-01-29 14:42:19 UTC
Created attachment 146045 [details]
ksplash gdb log
Comment 13 nuletbip 2022-01-29 14:44:46 UTC
(In reply to Nate Graham from comment #9)
> We don't need the whole coredump; you use it to generate a backtrace, which
> is a simple piece of text.
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl
> may help. Sorry, I probably should have provided that link earlier.

Hi,

I have just upload backtraces.

I hope it'will help.

regards.

Vincent
Comment 14 Nate Graham 2022-01-31 17:37:37 UTC
                Stack trace of thread 189503:
                #0  0x00007f4a44909808 __pthread_kill_implementation (libc.so.6 + 0x9a808)
                #1  0x00007f4a448b5476 __GI_raise (libc.so.6 + 0x46476)
                #2  0x00007f4a401dd57c _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x857c)
                #3  0x00007f4a448b5520 __restore_rt (libc.so.6 + 0x46520)
                #4  0x00007f4a44909808 __pthread_kill_implementation (libc.so.6 + 0x9a808)
                #5  0x00007f4a448b5476 __GI_raise (libc.so.6 + 0x46476)
                #6  0x00007f4a4489b7b7 __GI_abort (libc.so.6 + 0x2c7b7)
                #7  0x00007f4a44d40ba3 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x90ba3)
                #8  0x00007f4a441c6354 _ZNK15QtWaylandClient15QWaylandDisplay10checkErrorEv (libQt5WaylandClient.so.5 + 0x7a354)
                #9  0x00007f4a441c706a _ZN15QtWaylandClient15QWaylandDisplay13flushRequestsEv (libQt5WaylandClient.so.5 + 0x7b06a)
                #10 0x00007f4a44fa0dd8 n/a (libQt5Core.so.5 + 0x2f0dd8)
                #11 0x00007f4a44fc2802 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x312802)
                #12 0x00007f4a44f67deb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b7deb)
                #13 0x00007f4a44f70374 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2c0374)
                #14 0x000055d540de3d6b n/a (ksplashqml + 0x4d6b)
                #15 0x00007f4a4489cfd0 __libc_start_call_main (libc.so.6 + 0x2dfd0)
                #16 0x00007f4a4489d07d __libc_start_main_impl (libc.so.6 + 0x2e07d)
                #17 0x000055d540de3dc5 n/a (ksplashqml + 0x4dc5)

We're somewhere in KSplash. Unfortuntely we don't have enough debug symbols to know more than that. Can you install debug symbols for ksplash and do it again?
Comment 15 Fabian Vogt 2022-02-01 07:58:40 UTC
The backtrace means it printed an error message with helpful info. Please get that from either the journal or ~/.local/share/sddm/wayland-session.log.
Comment 16 Bug Janitor Service 2022-02-16 04:36:49 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 17 Bug Janitor Service 2022-03-03 04:35: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!