I use X inside of a qemu system on gentoo linux. Since version 21.1.3 and 21.1.4, I only get a crash with segmentation fault: [ 567.127] (II) qxl(0): PreInit complete [ 567.127] (II) UnloadModule: "modesetting" [ 567.127] (II) Unloading modesetting [ 567.127] (II) UnloadModule: "fbdev" [ 567.127] (II) Unloading fbdev [ 567.127] (II) UnloadSubModule: "fbdevhw" [ 567.127] (II) Unloading fbdevhw [ 567.127] (II) UnloadModule: "vesa" [ 567.127] (II) Unloading vesa [ 567.127] (EE) [ 567.127] (EE) Backtrace: [ 567.127] (EE) 0: X (xorg_backtrace+0x85) [0x56001923cb05] [ 567.127] (EE) 1: X (0x560019104000+0x13c7d5) [0x5600192407d5] [ 567.127] (EE) 2: /lib64/libc.so.6 (0x7fa8baf7b000+0x3dcd0) [0x7fa8bafb8cd0] [ 567.127] (EE) 3: X (xf86InitViewport+0x49) [0x560019257919] [ 567.127] (EE) 4: X (InitOutput+0xb30) [0x56001925d980] [ 567.127] (EE) 5: X (0x560019104000+0x75d14) [0x560019179d14] [ 567.127] (EE) 6: /lib64/libc.so.6 (0x7fa8baf7b000+0x291ec) [0x7fa8bafa41ec] [ 567.127] (EE) 7: /lib64/libc.so.6 (__libc_start_main+0x7c) [0x7fa8bafa429c] [ 567.127] (EE) 8: X (_start+0x21) [0x56001913e931] [ 567.127] (EE) [ 567.127] (EE) Segmentation fault at address 0x24 The last working release is 1.20.14-r1. Reproducible: Always
Why+is+the+title+written+like+this?
Oh, cause I had to again fish out the content from the dev console as I missed again the component (Which is always the same) and bugzilla is so stupid and would drop all I already described. And I just forgot to replace the + by spaces.
Could you include emerge --info?
Portage 3.0.30 (python 3.10.5-final-0, default/linux/amd64/17.1/hardened, gcc-11.3.0, glibc-2.34-r13, 5.17.0-gentoo-x86_64 x86_64) ================================================================= System uname: Linux-5.17.0-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7_CPU_960_@_3.20GHz-with-glibc2.34 KiB Mem: 6088060 total, 5483636 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 25 Jul 2022 16:30:01 +0000 Head commit of repository gentoo: 0e834bc7404bdad385bea92b40cf70a5eb1600f6 Timestamp of repository guru: Sun, 24 Jul 2022 22:47:49 +0000 Head commit of repository guru: 8afa30b566d9185a08b751ffe81331c9852c56e2 Timestamp of repository torbrowser: Sun, 24 Jul 2022 18:03:17 +0000 Head commit of repository torbrowser: a531613b4144aade7c8cba45a1aeb5fdba51a4f6 sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 ccache version 4.5.1 [enabled] app-misc/pax-utils: 1.3.4::gentoo app-shells/bash: 5.1_p16::gentoo dev-lang/perl: 5.34.1-r3::gentoo dev-lang/python: 2.7.18_p15::gentoo, 3.9.13::gentoo, 3.10.5::gentoo dev-lang/rust-bin: 1.60.0::gentoo dev-util/ccache: 4.5.1::gentoo dev-util/cmake: 3.22.4::gentoo dev-util/meson: 0.62.2::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/openrc: 0.44.10::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.37_p1-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/gcc: 11.3.0::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/llvm: 14.0.4::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r13::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: no guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo torbrowser location: /var/db/repos/torbrowser sync-type: git sync-uri: https://github.com/gentoo-mirror/torbrowser.git masters: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nehalem -O2 -pipe" 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/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /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" CXXFLAGS="-march=nehalem -O2 -pipe" DISTDIR="/usr/portage/distfiles" 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 buildpkg-live ccache 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 suidctl unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.fau.de/gentoo http://distfiles.gentoo.org" LANG="de_DE" LC_ALL="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/usr/portage/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" SHELL="/bin/zsh" USE="X acl amd64 bzip2 caps crypt hardened iconv jpeg libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre pie png readline seccomp split-usr ssl ssp threads udev unicode xattr xtpax zlib zsh-completion" 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" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse wacom" KERNEL="linux" L10N="de de-1901 de-DE" 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-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="dummy fbdev qxl vesa" 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, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, 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
Today I seen the following mask: --- !!! The following installed packages are masked: - x11-base/xorg-drivers-1.20-r2::gentoo (masked by: package.mask) /usr/portage/profiles/package.mask: # Matt Turner <mattst88@gentoo.org> (2022-08-29) # Unpatched security vulerabilities. Bug #857780. # Removal on 2022-09-29. - x11-base/xorg-server-1.20.14-r1::gentoo (masked by: package.mask) For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. --- As this packages are the last working inside qemu using qxl I strongly request to remove that masks and not removing that packages!
Can you report the issue upstream please?
How? I do not know how to report it upstream.
(In reply to Klaus Ethgen from comment #7) > How? I do not know how to report it upstream. https://x.org/wiki/ -> "Reporting problems, asking questions and getting help" -> "Check the issues for the xorg group in the freedesktop gitlab to report bugs against X.Org." (https://gitlab.freedesktop.org/groups/xorg/-/issues)
Please try the patches here: https://gitlab.freedesktop.org/xorg/driver/xf86-video-qxl/-/merge_requests/9
I seems to have no access to their gitlab issues as it is all empty for me. I also don't have an account there. Moreover, I am not native english speaker...
Could you show me that patch? https://gitlab.freedesktop.org/xorg/driver/xf86-video-qxl/-/merge_requests/9 doesn't show anything useful.
(In reply to Klaus Ethgen from comment #11) > Could you show me that patch? > https://gitlab.freedesktop.org/xorg/driver/xf86-video-qxl/-/merge_requests/9 > doesn't show anything useful. https://gitlab.freedesktop.org/xorg/driver/xf86-video-qxl/-/merge_requests/9.patch
(In reply to Klaus Ethgen from comment #11) > Could you show me that patch? > https://gitlab.freedesktop.org/xorg/driver/xf86-video-qxl/-/merge_requests/9 > doesn't show anything useful. This is probably because you have JavaScript disabled.
After applying the patch to /etc/portage/patches/x11-base/xf86-video-qxl-0.1.5_p20200205/9.patch I get the same error: [ 53.445] (EE) [ 53.445] (EE) Backtrace: [ 53.446] (EE) 0: X (xorg_backtrace+0x85) [0x5650794f1b15] [ 53.446] (EE) 1: X (0x5650793b9000+0x13c7e5) [0x5650794f57e5] [ 53.446] (EE) 2: /lib64/libc.so.6 (0x7fa4b8476000+0x3dcb0) [0x7fa4b84b3cb0] [ 53.446] (EE) 3: X (xf86InitViewport+0x49) [0x56507950c929] [ 53.446] (EE) 4: X (InitOutput+0xb30) [0x565079512990] [ 53.446] (EE) 5: X (0x5650793b9000+0x75d14) [0x56507942ed14] [ 53.446] (EE) 6: /lib64/libc.so.6 (0x7fa4b8476000+0x2920c) [0x7fa4b849f20c] [ 53.446] (EE) 7: /lib64/libc.so.6 (__libc_start_main+0x7c) [0x7fa4b849f2bc] [ 53.447] (EE) 8: X (_start+0x21) [0x5650793f3931] [ 53.447] (EE) [ 53.447] (EE) Segmentation fault at address 0x24 [ 53.447] (EE) Fatal server error: [ 53.447] (EE) Caught signal 11 (Segmentation fault). Server aborting [ 53.447] (EE) [ 53.447] (EE) And yes, I never allow javascript in webbrowser.
Hrmpf, I find out it is a different group. Lets try again.
So, After applying the patch to the right package (x11-drivers/xf86-video-qxl) it starts but the screen is only size 720x400 and is fully color ocker. The logfile shows now: [ 43.772] (EE) [ 43.772] (EE) Backtrace: [ 43.773] (EE) 0: X (xorg_backtrace+0x85) [0x56088924ab15] [ 43.773] (EE) 1: X (0x560889112000+0x13c7e5) [0x56088924e7e5] [ 43.773] (EE) 2: /lib64/libc.so.6 (0x7fd72ef40000+0x3dcb0) [0x7fd72ef7dcb0] [ 43.773] (EE) 3: /lib64/libc.so.6 (0x7fd72ef40000+0xaafc6) [0x7fd72efeafc6] [ 43.773] (EE) 4: /lib64/libc.so.6 (__strdup+0xf) [0x7fd72efda73f] [ 43.773] (EE) 5: X (XNFstrdup+0xe) [0x56088925102e] [ 43.773] (EE) 6: X (xf86DuplicateMode+0xa7) [0x560889296937] [ 43.773] (EE) 7: X (xf86DuplicateModes+0x3b) [0x5608892969ab] [ 43.773] (EE) 8: X (xf86ProbeOutputModes+0x14e) [0x56088928fe9e] [ 43.773] (EE) 9: X (0x560889112000+0x187f4f) [0x560889299f4f] [ 43.773] (EE) 10: X (RRGetInfo+0x84) [0x5608891c1084] [ 43.774] (EE) 11: X (ProcRRGetScreenInfo+0xb4) [0x5608891cb144] [ 43.774] (EE) 12: X (0x560889112000+0x721a5) [0x5608891841a5] [ 43.774] (EE) 13: X (0x560889112000+0x75ef4) [0x560889187ef4] [ 43.774] (EE) 14: /lib64/libc.so.6 (0x7fd72ef40000+0x2920c) [0x7fd72ef6920c] [ 43.774] (EE) 15: /lib64/libc.so.6 (__libc_start_main+0x7c) [0x7fd72ef692bc] [ 43.774] (EE) 16: X (_start+0x21) [0x56088914c931] [ 43.774] (EE) [ 43.774] (EE) Segmentation fault at address 0x0 [ 43.774] (EE) Fatal server error: [ 43.774] (EE) Caught signal 11 (Segmentation fault). Server aborting [ 43.774] (EE) [ 43.774] (EE) So, the patch is doing something but not working.
Does anything in https://bugs.gentoo.org/829759 help?
*** This bug has been marked as a duplicate of bug 829759 ***