Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 810598 - kde-apps/yakuake-21.08.0 segfaults after closing a tab
Summary: kde-apps/yakuake-21.08.0 segfaults after closing a tab
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-27 04:48 UTC by Michael
Modified: 2021-09-01 07:56 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2021-08-27 04:48:59 UTC
Segfaults with 
[90405.040423] yakuake[31845]: segfault at 7400650008 ip 00007f9c53d9b9cf sp 00007fff95b74b58 error 4 in libQt5Widgets.so.5.15.2 (deleted)[7f9c53d60000+3ca000]
or
[200545.149933] yakuake[27219]: segfault at 557d342b3260 ip 00007f806c6f6a42 sp 00007ffe5b1f0028 error 4 in libQt5Widgets.so.5.15.2[7f806c6bb000+3cb000]
or
[200742.192609] yakuake[27774]: segfault at 55f0347ee870 ip 000055f0347ee870 sp 00007ffda94be5c8 error 15

I'm not exactly sure how to debug it in a meaningful way.

emerge --info
Portage 3.0.22 (python 3.9.6-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.3.0, glibc-2.33-r7, 5.14.0-rc7 x86_64)
=================================================================
System uname: Linux-5.14.0-rc7-x86_64-AMD_Ryzen_7_2700_Eight-Core_Processor-with-glibc2.33
KiB Mem:    24567196 total,   8526764 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 27 Aug 2021 03:51:25 +0000
Head commit of repository gentoo: 456ba415f3d3e382a4d67760a8e4f51f733d97ef

Timestamp of repository kde: Thu, 26 Aug 2021 17:36:49 +0000
sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0::gentoo
dev-lang/python:          2.7.18_p11::gentoo, 3.9.6_p1::gentoo
dev-util/cmake:           3.21.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.43.5::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.15.1-r2::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r7::gentoo
Repositories:

gentoo
    location: /mnt/portage/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000

local
    location: /mnt/portage/layman/local
    masters: gentoo
    priority: 0

kde
    location: /mnt/portage/layman/kde
    sync-type: laymansync
    sync-uri: https://github.com/gentoo-mirror/kde
    masters: gentoo
    priority: 50

palemoon
    location: /mnt/portage/layman/palemoon
    sync-type: laymansync
    sync-uri: https://github.com/deu/palemoon-overlay.git
    masters: gentoo
    priority: 50

rion
    location: /mnt/portage/layman/rion
    sync-type: laymansync
    sync-uri: https://github.com/rion-overlay/rion-overlay.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /mnt/portage/layman/steam-overlay
    sync-type: laymansync
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

torbrowser
    location: /mnt/portage/layman/torbrowser
    sync-type: laymansync
    sync-uri: git://github.com/MeisterP/torbrowser-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* AdobeFlash-10.1 skype-eula Q3AEULA AdobeFlash-10.3 skype-4.0.0.7-copyright AdobeFlash-11.x TeamViewer Oracle-BCLA-JavaSE OPERA-12 OPERA-2014"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
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="-mtune=generic -O2 -pipe"
DISTDIR="/home/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n "
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru ru_RU"
MAKEOPTS="-j16"
PKGDIR="/home/packages"
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"
USE="3dnow 3dnowext X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdr cli corefont crypt dbus declarative dri dts dvd dvdr elogind emboss encode exif ffmpeg flac fortran gdbm gif gpm gtk gui iconv icu idn introspection ip6 ipv6 jgp jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc mad matroska midi mmx mng mp3 mp4 mpeg multilib ncurses nls nptl offensive ogg opengl openmp pam pango pcre pdf plasma png policykit ppds private-headers pulseaudio qml qt qt3support qt5 rar readline samba sdl seccomp spell split-usr sse sse2 sse3 ssl startup-notification svg symlink taglib tcpd theora tiff truetype udev udisks unicode unrar upower usb utf8 vdpau vorbis widgets wxwidgets x264 xattr xcb xml xorg xv xvid zlib" ABI_X86="32 64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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="mmx mmxext sse sse2 sse3 3dnow" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="ru en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

Reproducible: Always
Comment 1 Michael 2021-08-27 04:56:02 UTC
The upstream bug report suggests that without https://github.com/KDE/konsole/commit/4a3cab03f5d853f4dd48531979fc3fb57dde5e2e it doesn't crash.
Comment 2 Andreas Sturmlechner gentoo-dev 2021-08-27 12:20:25 UTC
Please try again after rebuilding konsole with this user patch applied:

https://invent.kde.org/utilities/konsole/-/commit/2684bc7fa5ac0b740b3e8661c3a0ae0136fde0a7.patch
Comment 3 Michael 2021-08-27 18:08:42 UTC
(In reply to Andreas Sturmlechner from comment #2)
> Please try again after rebuilding konsole with this user patch applied:
> 
> https://invent.kde.org/utilities/konsole/-/commit/
> 2684bc7fa5ac0b740b3e8661c3a0ae0136fde0a7.patch

I just did, the patch works like a charm, no more crashes.
Comment 4 Sylvia 2021-08-27 19:25:51 UTC
I can confirm that same problem exists also with
yakuake-21.04.3
and kde-apps/konsole-21.04.3-r2


the patch for konsole suggested above seem to fix this problem.
Comment 5 Michael 2021-08-27 19:47:35 UTC
It's fixed upstream in 21.08.1
Comment 6 Larry the Git Cow gentoo-dev 2021-08-30 12:58:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d44e1110d380df8df6b397520eecb201fea4d6a

commit 1d44e1110d380df8df6b397520eecb201fea4d6a
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-08-30 12:17:00 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-08-30 12:58:20 +0000

    kde-apps/konsole: Only emit empty() in SessionFinished()
    
    ...when in TabbedNavigation mode.
    
    KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=441206
    Closes: https://bugs.gentoo.org/810598
    Package-Manager: Portage-3.0.22, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 ...ionFinished-only-in-TabbedNavigation-mode.patch | 53 ++++++++++++++++++++++
 ...21.04.3-r2.ebuild => konsole-21.04.3-r3.ebuild} |  1 +
 ...21.08.0-r4.ebuild => konsole-21.08.0-r5.ebuild} |  1 +
 3 files changed, 55 insertions(+)