Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929005 - x11-base/xorg-server-21.1.12 crashes w/ unaligned fastbin chunk detected
Summary: x11-base/xorg-server-21.1.12 crashes w/ unaligned fastbin chunk detected
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-09 13:16 UTC by selckin
Modified: 2024-04-12 17:26 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 selckin 2024-04-09 13:16:37 UTC
since updating to 21.1.12 it frequently crashes, stopped after downgrading (so far)

malloc_consolidate(): unaligned fastbin chunk detected
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x82) [0x55dd6951c752]
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x82) [0x55dd6951c752]
(EE) 1: /usr/bin/X (0x55dd693e2000+0x1453ad) [0x55dd695273ad]
(EE) 2: /usr/lib64/libc.so.6 (0x7f221979a000+0x3c390) [0x7f22197d6390]
(EE) 3: /usr/lib64/libc.so.6 (0x7f221979a000+0x8ccec) [0x7f2219826cec]
(EE) 4: /usr/lib64/libc.so.6 (gsignal+0x16) [0x7f22197d62e6]
(EE) 5: /usr/lib64/libc.so.6 (abort+0xd7) [0x7f22197be8f7]
(EE) 6: /usr/lib64/libc.so.6 (0x7f221979a000+0x259bb) [0x7f22197bf9bb]
(EE) 7: /usr/lib64/libc.so.6 (0x7f221979a000+0x96aa7) [0x7f2219830aa7]
(EE) 8: /usr/lib64/libc.so.6 (0x7f221979a000+0x975ec) [0x7f22198315ec]
(EE) 9: /usr/lib64/libc.so.6 (0x7f221979a000+0x99c98) [0x7f2219833c98]
(EE) 10: /usr/lib64/libc.so.6 (__libc_calloc+0xd8) [0x7f2219835f88]
(EE) 11: /usr/bin/X (0x55dd693e2000+0x68f4f) [0x55dd6944af4f]
(EE) 12: /usr/bin/X (0x55dd693e2000+0x30942) [0x55dd69412942]
(EE) 13: /usr/lib64/libc.so.6 (0x7f221979a000+0x26390) [0x7f22197c0390]
(EE) 14: /usr/lib64/libc.so.6 (__libc_start_main+0x89) [0x7f22197c0449]
(EE) 15: /usr/bin/X (_start+0x25) [0x55dd69412d65]
(EE)
(EE)
Fatal server error:
(EE) Caught signal 6 (Aborted). Server aborting
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org






       Message: Process 1876 (X) of user 1000 dumped core.

                Module libevdev.so.2 without build-id.
                Module libmtdev.so.1 without build-id.
                Module libinput.so.10 without build-id.
                Module libinput_drv.so without build-id.
                Module libpthread.so.0 without build-id.
                Module libwfb.so without build-id.
                Module libdl.so.2 without build-id.
                Module librt.so.1 without build-id.
                Module libxcb.so.1 without build-id.
                Module libX11.so.6 without build-id.
                Module libGLX.so.0 without build-id.
                Module libGLdispatch.so.0 without build-id.
                Module libmd.so.0 without build-id.
                Module libGL.so.1 without build-id.
                Module libbsd.so.0 without build-id.
                Module libglx.so without build-id.
                Module libgcc_s.so.1 without build-id.
                Module libpcre2-8.so.0 without build-id.
                Module libbrotlicommon.so.1 without build-id.
                Module libgraphite2.so.3 without build-id.
                Module libglib-2.0.so.0 without build-id.
                Module libgpg-error.so.0 without build-id.
                Module libbrotlidec.so.1 without build-id.
                Module libharfbuzz.so.0 without build-id.
                Module libpng16.so.16 without build-id.
                Module libzstd.so.1 without build-id.
                Module liblzma.so.5 without build-id.
                Module liblz4.so.1 without build-id.
                Module libgcrypt.so.20 without build-id.
                Module libcap.so.2 without build-id.
                Module libfreetype.so.6 without build-id.
                Module libfontenc.so.1 without build-id.
                Module libbz2.so.1 without build-id.
                Module libz.so.1 without build-id.
                Module ld-linux-x86-64.so.2 without build-id.
                Module libc.so.6 without build-id.
                Module libxcvt.so.0 without build-id.
                Module libdrm.so.2 without build-id.
                Module libudev.so.1 without build-id.
                Module libdbus-1.so.3 without build-id.
                Module libsystemd.so.0 without build-id.
                Module libxshmfence.so.1 without build-id.
                Module libXfont2.so.2 without build-id.
                Module libXdmcp.so.6 without build-id.
                Module libXau.so.6 without build-id.
                Module libcrypto.so.3 without build-id.
                Module libpciaccess.so.0 without build-id.
                Module libm.so.6 without build-id.
                Module libpixman-1.so.0 without build-id.
                Module Xorg without build-id.
                Stack trace of thread 1876:
                #0  0x00007fd2cb62bcec n/a (libc.so.6 + 0x8ccec)
                #1  0x00007fd2cb5db2e6 raise (libc.so.6 + 0x3c2e6)
                #2  0x00007fd2cb5c38f7 abort (libc.so.6 + 0x248f7)
                #3  0x00005644b4d3c8a0 OsAbort (Xorg + 0x13d8a0)
                #4  0x00005644b4d3e40c FatalError (Xorg + 0x13f40c)
                #5  0x00005644b4d44409 n/a (Xorg + 0x145409)
                #6  0x00007fd2cb5db390 n/a (libc.so.6 + 0x3c390)
                #7  0x00007fd2cb62bcec n/a (libc.so.6 + 0x8ccec)
                #8  0x00007fd2cb5db2e6 raise (libc.so.6 + 0x3c2e6)
                #9  0x00007fd2cb5c38f7 abort (libc.so.6 + 0x248f7)
                #10 0x00007fd2cb5c49bb n/a (libc.so.6 + 0x259bb)
                #11 0x00007fd2cb635aa7 n/a (libc.so.6 + 0x96aa7)
                #12 0x00007fd2cb63a1bc malloc (libc.so.6 + 0x9b1bc)
                #13 0x00005644b4cc65b5 n/a (Xorg + 0xc75b5)
                #14 0x00005644b4c2f942 n/a (Xorg + 0x30942)
                #15 0x00007fd2cb5c5390 n/a (libc.so.6 + 0x26390)
                #16 0x00007fd2cb5c5449 __libc_start_main (libc.so.6 + 0x26449)
                #17 0x00005644b4c2fd65 _start (Xorg + 0x30d65)

                Stack trace of thread 1895:
                #0  0x00007fd2cb626b7f n/a (libc.so.6 + 0x87b7f)
                #1  0x00007fd2cb62d2fa pthread_mutex_lock (libc.so.6 + 0x8e2fa)
                #2  0x00005644b4d31d95 n/a (Xorg + 0x132d95)
                #3  0x00005644b4d3c4f2 n/a (Xorg + 0x13d4f2)
                #4  0x00005644b4d38d59 n/a (Xorg + 0x139d59)
                #5  0x00007fd2cb62a002 n/a (libc.so.6 + 0x8b002)
                #6  0x00007fd2cb6a7a2c n/a (libc.so.6 + 0x108a2c)
                ELF object binary architecture: AMD x86-64


Reproducible: Sometimes




Portage 3.0.63 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop/systemd, gcc-13, glibc-2.39-r2, 6.7.10-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.7.10-gentoo-dist-x86_64-13th_Gen_Intel-R-_Core-TM-_i9-13900K-with-glibc2.39
KiB Mem:    32539216 total,   8176324 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 09 Apr 2024 07:00:00 +0000
Head commit of repository gentoo: 9a086e25fc82093b28b4c3698009a0557f6e7d91
Timestamp of repository guru: Mon, 08 Apr 2024 22:03:25 +0000
Head commit of repository guru: 6c25ac8553ebc30bb179da19eb262908eaa13051

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.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.1::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.9::gentoo, 3.12.2_p1::gentoo
dev-lang/rust:             1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.4::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.3::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.3::gentoo
sys-kernel/linux-headers:  6.8-r1::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.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

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

selckin
    location: /var/db/repos/selckin
    masters: gentoo
    priority: 100
    volatile: True

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=36864 -O2 -pipe -flto=7 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
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"
CXXFLAGS="-march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=36864 -O2 -pipe -flto=7 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 3 --quiet-build y"
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="-march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=36864 -O2 -pipe -flto=7 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-wait multilib-strict network-sandbox news noinfo parallel-fetch pid-sandbox pkgdir-index-trusted 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=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=36864 -O2 -pipe -flto=7 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
GENTOO_MIRRORS="http://gentoo.mirrors.ovh.net/gentoo-distfiles/ https://ftp.snt.utwente.nl/pub/os/linux/gentoo https://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ rsync://ftp.belnet.be/gentoo/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j32"
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="256-color X a52 aac acl acpi alsa alsa-plugin amd64 aom appindicator aufs bash-completion bluetooth branding brotli bzip2 cacert cairo cdr cet chromecast colord compositor compress-zstd corefonts crypt cryptsetup curl dav1d dbus declarative dga dist-kernel dracut dri dts dv dvb dvdr echo-cancel elfutils encode eufi exif extra faac faad fdk ffmpeg fido2 firmware flac fontconfig gdbm gdk-pixbuf gif gles2 gpm grimshot gsettings gstreamer gtk gtk3 gui harfbuzz iconv icu idn inotify introspection iosevka-aile iosevka-curly iosevka-curly-slab iosevka-etoile iosevka-slab iosevka-ss01 iosevka-ss02 iosevka-ss03 iosevka-ss04 iosevka-ss05 iosevka-ss06 iosevka-ss07 iosevka-ss08 iosevka-ss09 iosevka-ss10 iosevka-ss11 iosevka-ss12 iosevka-ss13 iosevka-ss14 iosevka-ss15 iosevka-ss16 iosevka-ss17 iosevka-ss18 iproute2 ipv6 jpeg kate kernel-install lcms libass libcaca libdrm libei libnotify librtmp libtiger libtirpc live lto lua lz4 lzip lzma mad matroska minizip mng mp3 mp4 mpeg mtp multilib musepack ncurses network nightly nls nvidia nvme ogg opencl opengl openh264 openmp opus osmesa overlay pam pango pcre pdf pipewire plaintext-password-storage png pnm policykit ppds pulseaudio python qml qt5 qt6 rar readline roc rtmp rustfmt screencast seccomp snappy sound spell spirv sqlite srt ssh ssl startup-notification svg systemd systemd-boot test-rust theora tiff tk toolame tray tremor truetype twolame udev udisks uefi unicode upower usb utils vaapi vala vdpau vim-pager vim-syntax vorbis vpx vulkan wallpapers webp websockets widgets wxwidgets x11-backend x264 x265 xattr xcb xcb-errors xft xkb xml xv xvid xvmc zip 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="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" 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="libinput" KERNEL="linux" L10N="en-US en-GB nl" 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_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="nvidia" 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, 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 Matt Turner gentoo-dev 2024-04-12 16:57:23 UTC
I suspect this is the same issue as was fixed by https://cgit.freedesktop.org/xorg/xserver/commit/?h=server-21.1-branch&id=b4ea6f9eb6b9dfb25e92f617889db21348710173

I'm asking upstream for confirmation. If it is, I'll make a 21.1.13 release and we'll stabilize that version for bug 928531.

Thanks a bunch for testing and filing bugs!
Comment 2 Larry the Git Cow gentoo-dev 2024-04-12 17:26:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f5fe70c41aa7cc3e88532b46e8842e3185b4b57

commit 7f5fe70c41aa7cc3e88532b46e8842e3185b4b57
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2024-04-12 17:24:43 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2024-04-12 17:26:20 +0000

    x11-base/xorg-server: Version bump to 21.1.13
    
    Closes: https://bugs.gentoo.org/929005
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-base/xorg-server/Manifest                   |   1 +
 x11-base/xorg-server/xorg-server-21.1.13.ebuild | 194 ++++++++++++++++++++++++
 2 files changed, 195 insertions(+)