Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880711 - gnome-base/gnome-control-center-43.1: SIGSEGV when loading available wallpapers
Summary: gnome-base/gnome-control-center-43.1: SIGSEGV when loading available wallpapers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal critical (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-10 08:49 UTC by Jan Henke
Modified: 2022-12-05 15:17 UTC (History)
1 user (show)

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 Jan Henke 2022-11-10 08:49:53 UTC
After updating gnome-control-center to 43.1 it crashes every time when loading all the available wallpapers.

Backtrace:
Thread 1 "gnome-control-c" received signal SIGSEGV, Segmentation fault.
0x00007ffff6284b2b in ?? () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff6284b2b in  () at /lib64/libc.so.6
#1  0x00007ffff7c8f03c in node_find_closest (haystack=0x7fffe405a330, needle=needle@entry=0x7fffe406ad80, end=0x7fffe4075030, iter_cmp=iter_cmp@entry=0x7ffff7c8ee90 <iter_compare>, cmp_data=cmp_data@entry=0x7fffffffd8d0) at ../glib-2.74.1/glib/gsequence.c:1844
#2  0x00007ffff7c90cb4 in node_insert_sorted (cmp_data=0x7fffffffd8d0, iter_cmp=0x7ffff7c8ee90 <iter_compare>, end=<optimized out>, new=0x7fffe406ad80, node=<optimized out>) at ../glib-2.74.1/glib/gsequence.c:2082
#3  g_sequence_insert_sorted_iter (seq=seq@entry=0x555555c6fa50, data=data@entry=0x7fffe0026600, iter_cmp=iter_cmp@entry=0x7ffff7c8ee90 <iter_compare>, cmp_data=cmp_data@entry=0x7fffffffd8d0) at ../glib-2.74.1/glib/gsequence.c:1053
#4  0x00007ffff7c90dc8 in g_sequence_insert_sorted (seq=0x555555c6fa50, data=0x7fffe0026600, cmp_func=cmp_func@entry=0x5555555c5780 <sort_func>, cmp_data=cmp_data@entry=0x0) at ../glib-2.74.1/glib/gsequence.c:746
#5  0x00007ffff7e82ab9 in g_list_store_insert_sorted (store=store@entry=0x555555c5b300 [GListStore], item=item@entry=0x7fffe0026600, compare_func=compare_func@entry=0x5555555c5780 <sort_func>, user_data=user_data@entry=0x0) at ../glib-2.74.1/gio/gliststore.c:337
#6  0x00005555555c5899 in load_wallpapers (key=0x0, source=<optimized out>, item=0x7fffe0026600 [CcBackgroundItem]) at ../gnome-control-center-43.1/panels/background/bg-wallpapers-source.c:77
#7  item_added (self=<optimized out>, item=0x7fffe0026600 [CcBackgroundItem]) at ../gnome-control-center-43.1/panels/background/bg-wallpapers-source.c:94
#11 0x00007ffff7d8c0f7 in <emit signal ??? on instance 0x555555c5b080 [CcBackgroundXml]> (instance=<optimized out>, signal_id=signal_id@entry=232, detail=detail@entry=0) at ../glib-2.74.1/gobject/gsignal.c:3606
    #8  0x00007ffff7d725a8 in g_closure_invoke (closure=0x555555c69070, return_value=return_value@entry=0x0, n_param_values=2, param_values=param_values@entry=0x7fffffffdb00, invocation_hint=invocation_hint@entry=0x7fffffffda80) at ../glib-2.74.1/gobject/gclosure.c:832
    #9  0x00007ffff7d8554a in signal_emit_unlocked_R (node=node@entry=0x555555c65140, detail=detail@entry=0, instance=instance@entry=0x555555c5b080, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffdb00)
    at ../glib-2.74.1/gobject/gsignal.c:3796
    #10 0x00007ffff7d8bf0d in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffdcb0) at ../glib-2.74.1/gobject/gsignal.c:3549
#12 0x00005555555becb7 in idle_emit (xml=0x555555c5b080 [CcBackgroundXml]) at ../gnome-control-center-43.1/panels/background/cc-background-xml.c:123
#13 0x00007ffff7c74b76 in g_main_dispatch (context=0x55555588e6d0) at ../glib-2.74.1/glib/gmain.c:3444
#14 g_main_context_dispatch (context=0x55555588e6d0) at ../glib-2.74.1/glib/gmain.c:4162
#15 0x00007ffff7c75060 in g_main_context_iterate (context=context@entry=0x55555588e6d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.74.1/glib/gmain.c:4238
#16 0x00007ffff7c7510f in g_main_context_iteration (context=context@entry=0x55555588e6d0, may_block=may_block@entry=1) at ../glib-2.74.1/glib/gmain.c:4303
#17 0x00007ffff7e9ab1d in g_application_run (application=0x555555889110 [CcApplication], argc=argc@entry=1, argv=argv@entry=0x7fffffffe098) at ../glib-2.74.1/gio/gapplication.c:2571
#18 0x00005555555b0864 in main (argc=1, argv=0x7fffffffe098) at ../gnome-control-center-43.1/shell/main.c:60


Reproducible: Always

Steps to Reproduce:
1. Open gnome-control-center
2. Open the tab for choosing the wallpaper

Actual Results:  
The application crashes due to a segment violation

Expected Results:  
The application loads all installed wallpapers and allows the user to choose one.

emerge --info                                                                                                                                                                                                                                                      
Portage 3.0.38.1 (python 3.10.8-final-0, default/linux/amd64/17.1/desktop/gnome, gcc-11.3.0, glibc-2.35-r8, 5.15.75-gentoo-dist x86_64)
=================================================================
System uname: Linux-5.15.75-gentoo-dist-x86_64-Intel-R-_Core-TM-_i9-8950HK_CPU_@_2.90GHz-with-glibc2.35
KiB Mem:    32622296 total,  13468592 free
KiB Swap:   16777212 total,  16777212 free
Head commit of repository personal-overlay: b8295ab4f577aa6bd32adb6ed89921f4264c1cbf

Timestamp of repository gentoo: Thu, 10 Nov 2022 08:03:32 +0000
Head commit of repository gentoo: 7930532f8d953ad6457698bb9aa2e903ef015dcd

Timestamp of repository guru: Wed, 09 Nov 2022 00:02:02 +0000
Head commit of repository guru: 59070191d103e568b7fc14455e39c20de0210a74

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r4::gentoo
dev-lang/python:           3.10.8_p2::gentoo, 3.11.0_p1::gentoo
dev-lang/rust-bin:         1.64.0-r1::gentoo
dev-util/cmake:            3.24.2::gentoo
dev-util/meson:            0.63.2-r1::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.45.2-r1::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r2::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           13.0.1::gentoo, 14.0.6-r1::gentoo, 15.0.3::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             13.0.1-r1::gentoo, 14.0.6-r1::gentoo, 15.0.3::gentoo
sys-devel/llvm:            13.0.1::gentoo, 14.0.6-r2::gentoo, 15.0.3::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r8::gentoo
Repositories:

personal-overlay
    location: /var/db/repos/personal-overlay
    sync-type: git
    sync-uri: https://github.com/janhenke/personal-overlay
    masters: gentoo
    priority: -1500

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    sync-git-verify-commit-signature: true

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CC="clang"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXX="clang++"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --autounmask=y --autounmask-write=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 XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live 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="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de de_DE en en_GB"
MAKEOPTS="-j12"
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 alsa amd64 appindicator avif bluetooth bzip2 cairo cdda cdr clang cli client colord crypt cups dbus dist-kernel dri dts dvd dvdr eds elogind encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gui heif iconv icu introspection ipv6 jpeg jumbo-build lcms libglvnd libnotify libsecret libtirpc llvm-libunwind lto mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl ogg opencl opengl openmp pam pango pcre pdf pic pie png policykit ppds pulseaudio qt5 readline screencast sdl seccomp spell split-usr ssl ssp startup-notification static-pie svg symlink sysprof system-llvm test-rust threads tiff tracker truetype udev udisks unicode upower usb v4l vaapi vdpau vim-syntax vorbis vulkan wayland webp wxwidgets x264 xattr xcb xml xv xvid zeroconf zlib zsh-completion zstd" ABI_X86="64" ADA_TARGET="gnat_2020" 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 aes avx avx2 f16c fma3 pclmul popcnt sse3 sse4_1 sse4_2 ssse3" 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="libinput" KERNEL="linux" L10N="de de-DE en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="BPF NVPTX WebAssembly" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="i965 intel iris" 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:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-10 08:51:39 UTC
Could you report this upstream & link it here?
Comment 2 Jan Henke 2022-11-10 09:15:34 UTC
Upstream bug linked. The immediate crash is worked around by bug 877511. The crash is investigated in the upstream bug.
Comment 3 Pacho Ramos gentoo-dev 2022-12-05 15:17:10 UTC
The crash was fixed with:
https://gitlab.gnome.org/GNOME/gnome-control-center/-/commit/a9312cdea384260ca725852c2222c2ca808e9f2b

That is included in gnome-control-center-43.1