Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927152 - kde-plasma/plasma-workspace-6.0.2: plasmashell crashes on screen unlock
Summary: kde-plasma/plasma-workspace-6.0.2: plasmashell crashes on screen unlock
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks: 926828
  Show dependency tree
 
Reported: 2024-03-16 21:42 UTC by jy6x2b32pie9
Modified: 2024-04-20 13:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Backtrace from core dump (file_927152.txt,3.84 KB, text/plain)
2024-03-16 21:45 UTC, jy6x2b32pie9
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jy6x2b32pie9 2024-03-16 21:42:11 UTC
Plasmashell crashes on wayland and x11 with core dump.
My system is a laptop with external monitor attached, build-in display disabled. After unlock, if system was with external monitor turned off for duration of screen lock, plasma shell crashes in 50% of causes.

Can't reproduce with plasmashell spawned with --replace.


Reproducible: Sometimes

Steps to Reproduce:

1. Turn off display. (workaround for kscreen bug that prevents lock screen from turning monitor off)
2. Wait until screen locks.
3. Turn on monitor.
4. Unlock monitor.
Actual Results:  
Roughly in 50% of all boots, plasmashell crashes, makes a core dump. Screen is black, wallpaper is gone, panel is gone. Krunner and other applications work.

Expected Results:  
Plasma works, panel is on screen, wallpaper is visible.

Laptop LENOVO V15 G2 ALC

Portage 3.0.63 (python 3.12.2-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-13, glibc-2.39-r2, 6.8.1-gentoo x86_64)
=================================================================
System uname: Linux-6.8.1-gentoo-x86_64-AMD_Ryzen_7_5700U_with_Radeon_Graphics-with-glibc2.39
KiB Mem:    15714088 total,    386784 free
KiB Swap:   16777212 total,  13279740 free
Timestamp of repository gentoo: Sat, 16 Mar 2024 08:15:00 +0000
Head commit of repository gentoo: 9fbd94d535866efbf5d566269c33107b2cb39d0f
Timestamp of repository guru: Sat, 16 Mar 2024 06:03:14 +0000
Head commit of repository guru: ba8ac6916956f8332ec441196d6b3ac67b15ba9d

Timestamp of repository steam-overlay: Fri, 15 Mar 2024 21:03:58 +0000
Head commit of repository steam-overlay: e01d021389d2d9eb6ac88d559c83a8f5a7b54982

sh bash 5.2_p26
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.3::gentoo
dev-build/libtool:         2.4.7-r2::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust-bin:         1.76.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.0::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo, 18.1.0::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.0::gentoo
sys-kernel/linux-headers:  6.7::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

Installed sets: @fonts, @hyprland, @kde
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -ggdb -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -ggdb -ftree-vectorize"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=native -ggdb -ftree-vectorize"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -ggdb -ftree-vectorize"
GENTOO_MIRRORS="https://ftp.heanet.ie/mirrors/gentoo.org/     https://mirror.yandex.ru/gentoo-distfiles/     https://mirror1.sox.rs/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en ru en_US ru_RU"
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/zsh"
USE="X a52 aac acl acpi activities alsa amd64 appindicator audit avahi bluetooth branding bzip2 cairo caps cdr cjk cli crypt cups dbus declarative dri dri3 dts dvd dvdr egl elogind encode epub evdev exif flac flatpak fontconfig fortran gdbm gegl gif gpm graphite gtk gui iconv icu ipv6 jemalloc jpeg kde kdesu kf6compat kwallet lcms libass libdrm libnotify libtirpc lto lz4 lzma lzo mad magic mime mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nls ogg opengl openmp openssl pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 rar readline samba screencast sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg test-rust tiff tpm truetype ttf udev udisks uefi unicode upower usb vaapi vdpau vorbis vulkan wayland webp webrtc-aec widgets wifi wxwidgets x264 x265 xattr xcb xft xinerama xml xv xvid zeroconf zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="synaptics libinput joystick evdev" KERNEL="linux" L10N="ru en en-US ru-RU ja" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_12 python3_11" RUBY_TARGETS="ruby33" VIDEO_CARDS="amdgpu radeonsi radeon lavapipe" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 jy6x2b32pie9 2024-03-16 21:45:26 UTC
Created attachment 887777 [details]
Backtrace from core dump
Comment 2 Andreas Sturmlechner gentoo-dev 2024-03-17 08:00:39 UTC
Rebuild without Qt6/Frameorks/Plasma without lto and reproduce the crash, then file this bug upstream please.
Comment 3 jy6x2b32pie9 2024-03-17 12:07:04 UTC
Well, those are two bugs! There's crash without core that produced error log and is worth reporting upstream.

[16::03:42.779] unknown: removing output "HDMI-A-1"
[16::03:42.779] unknown: removing output "HDMI-A-1"
[16::03:42.781] unknown: Creating a fake screen in order for Qt not to crash
[16::03:42.781] unknown: Creating a fake screen in order for Qt not to crash
[16::03:42.781] unknown: handleScreenAdded QScreen(0x55e3250558d0, name="") QRect(0,0 0x0)
[16::03:42.781] unknown: handleScreenAdded QScreen(0x55e3250558d0, name="") QRect(0,0 0x0)
[16::03:42.785] unknown: handleScreenRemoved QScreen(0x55e324616350, name="HDMI-A-1")
[16::03:42.785] unknown: handleScreenRemoved QScreen(0x55e324616350, name="HDMI-A-1")
[16::03:42.795] unknown: Exposed with no visual parent. Window positioning broken.
[16::03:42.795] unknown: Exposed with no visual parent. Window positioning broken.
[16::03:42.798] unknown: Exposed with no visual parent. Window positioning broken.
[16::03:42.798] unknown: Exposed with no visual parent. Window positioning broken.
[16::03:43.210] unknown: adding output 70
[16::03:43.210] unknown: adding output 70
[16::03:43.212] unknown: handleScreenAdded QScreen(0x55e3275eb5e0, name="HDMI-A-1") QRect(0,0 1920x1080)
[16::03:43.212] unknown: handleScreenAdded QScreen(0x55e3275eb5e0, name="HDMI-A-1") QRect(0,0 1920x1080)
[16::03:43.212] unknown: handleScreenRemoved QScreen(0x55e3250558d0, name="")
[16::03:43.212] unknown: handleScreenRemoved QScreen(0x55e3250558d0, name="")
[16::03:50.721] unknown: requesting unexisting screen available rect -1
[16::03:50.721] unknown: requesting unexisting screen available rect -1

Reporting upstream. Also, rebuilding without LTO.
Comment 4 jy6x2b32pie9 2024-03-17 12:21:33 UTC
Upstream bug:
https://bugs.kde.org/show_bug.cgi?id=483825