Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gnome 3 - failed to login after gcc update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
leonchik1976
Apprentice
Apprentice


Joined: 24 Jan 2010
Posts: 176

PostPosted: Wed Aug 22, 2018 6:35 pm    Post subject: Gnome 3 - failed to login after gcc update Reply with quote

After updating gcc to 8.2.0 from 7.3.0, and rebuilding the whole system (emerge @world -eq), i'm unable to login to gnome. After entering credentials, screen goes black for 1 second, and returns to login screen.
If i choose "GNOME on Wayland" - it works perfectly and i'm able to login.
But if i choose GNOME or "GNOME Classic" - it fails to login.
Any help would be appreciated.
Here is a log from Xorg.0.log:

Code:
[    17.870] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    17.870] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    17.872] (==) No Layout section.  Using the first Screen section.
[    17.872] (==) No screen section available. Using defaults.
[    17.872] (**) |-->Screen "Default Screen Section" (0)
[    17.872] (**) |   |-->Monitor "<default monitor>"
[    17.872] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    17.872] (==) Automatically adding devices
[    17.872] (==) Automatically enabling devices
[    17.872] (==) Automatically adding GPU devices
[    17.872] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    17.873] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[    17.873]    Entry deleted from font path.
[    17.873] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[    17.873]    Entry deleted from font path.
[    17.873] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    17.873]    Entry deleted from font path.
[    17.873] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    17.873]    Entry deleted from font path.
[    17.873] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[    17.873]    Entry deleted from font path.
[    17.873] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[    17.873]    Entry deleted from font path.
[    17.873] (==) FontPath set to:

[    17.873] (==) ModulePath set to "/usr/lib64/xorg/modules"
[    17.873] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    17.873] (II) Loader magic: 0x55e891679d00
[    17.873] (II) Module ABI versions:
[    17.873]    X.Org ANSI C Emulation: 0.4
[    17.873]    X.Org Video Driver: 24.0
[    17.873]    X.Org XInput driver : 24.1
[    17.873]    X.Org Server Extension : 10.0
[    17.873] (++) using VT number 2

[    17.875] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    17.876] (II) xfree86: Adding drm device (/dev/dri/card0)
[    17.878] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[    17.884] (--) PCI:*(0@0:15:0) 15ad:0405:15ad:0405 rev 0, Mem @ 0xf0000000/134217728, 0xfb800000/8388608, I/O @ 0x00002140/16, BIOS @ 0x????????/131072
[    17.884] (II) LoadModule: "glx"
[    17.884] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    17.886] (II) Module glx: vendor="X.Org Foundation"
[    17.887]    compiled for 1.20.1, module version = 1.0.0
[    17.887]    ABI class: X.Org Server Extension, version 10.0
[    17.887] (==) Matched vmware as autoconfigured driver 0
[    17.887] (==) Matched modesetting as autoconfigured driver 1
[    17.887] (==) Matched fbdev as autoconfigured driver 2
[    17.887] (==) Matched vesa as autoconfigured driver 3
[    17.887] (==) Assigned the driver to the xf86ConfigLayout
[    17.887] (II) LoadModule: "vmware"
[    17.887] (II) Loading /usr/lib64/xorg/modules/drivers/vmware_drv.so
[    17.887] (II) Module vmware: vendor="X.Org Foundation"
[    17.887]    compiled for 1.20.1, module version = 13.3.0
[    17.887]    Module class: X.Org Video Driver
[    17.887]    ABI class: X.Org Video Driver, version 24.0
[    17.887] (II) LoadModule: "modesetting"
[    17.887] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[    17.888] (II) Module modesetting: vendor="X.Org Foundation"
[    17.888]    compiled for 1.20.1, module version = 1.20.1
[    17.888]    Module class: X.Org Video Driver
[    17.888]    ABI class: X.Org Video Driver, version 24.0
[    17.888] (II) LoadModule: "fbdev"
[    17.888] (WW) Warning, couldn't open module fbdev
[    17.888] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    17.888] (II) LoadModule: "vesa"
[    17.888] (WW) Warning, couldn't open module vesa
[    17.888] (EE) Failed to load module "vesa" (module does not exist, 0)
[    17.888] (II) vmware: driver for VMware SVGA: vmware0405, vmware0710
[    17.888] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    17.888] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[    17.888] (WW) Falling back to old probe method for modesetting
[    17.888] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    17.888] (II) vmware(0): Driver was compiled without KMS- and 3D support.
[    17.888] (WW) vmware(0): Disabling 3D support.
[    17.888] (WW) vmware(0): Disabling Render Acceleration.
[    17.888] (WW) vmware(0): Disabling RandR12+ support.
[    17.888] (--) vmware(0): VMware SVGA regs at (0x2140, 0x2141)
[    17.888] (II) Loading sub module "vgahw"
[    17.888] (II) LoadModule: "vgahw"
[    17.888] (II) Loading /usr/lib64/xorg/modules/libvgahw.so
[    17.889] (II) Module vgahw: vendor="X.Org Foundation"
[    17.889]    compiled for 1.20.1, module version = 0.1.0
[    17.889]    ABI class: X.Org Video Driver, version 24.0
[    17.899] (EE)
[    17.899] (EE) Backtrace:
[    17.899] (EE) 0: /usr/libexec/Xorg (xorg_backtrace+0x4d) [0x55e8915eb65d]
[    17.899] (EE) 1: /usr/libexec/Xorg (0x55e891442000+0x1ad329) [0x55e8915ef329]
[    17.899] (EE) 2: /lib64/libpthread.so.0 (0x7efc19b73000+0x14a00) [0x7efc19b87a00]
[    17.899] (EE) 3: /usr/lib64/libpciaccess.so.0 (pci_io_write8+0x3) [0x7efc19ede9a3]
[    17.899] (EE) 4: /usr/lib64/xorg/modules/libvgahw.so (vgaHWSaveColormap+0x46) [0x7efc1a1ad926]
[    17.899] (EE) 5: /usr/lib64/xorg/modules/libvgahw.so (vgaHWSave+0x2d) [0x7efc1a1af94d]
[    17.899] (EE) 6: /usr/lib64/xorg/modules/drivers/vmware_drv.so (0x7efc1a1d0000+0x5162) [0x7efc1a1d5162]
[    17.899] (EE) 7: /usr/libexec/Xorg (InitOutput+0xa04) [0x55e8914d9764]
[    17.899] (EE) 8: /usr/libexec/Xorg (0x55e891442000+0x5b15e) [0x55e89149d15e]
[    17.899] (EE) 9: /lib64/libc.so.6 (__libc_start_main+0xeb) [0x7efc199c54cb]
[    17.899] (EE) 10: /usr/libexec/Xorg (_start+0x2a) [0x55e89148710a]
[    17.899] (EE)
[    17.899] (EE) Segmentation fault at address 0x8
[    17.899] (EE)
Fatal server error:
[    17.899] (EE) Caught signal 11 (Segmentation fault). Server aborting
[    17.899] (EE)
[    17.899] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.


[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14063

PostPosted: Thu Aug 23, 2018 2:08 am    Post subject: Reply with quote

Your X server is crashing with what appears to be a null pointer dereference. What is the output of emerge --info? What are the specific Gentoo package versions of the X server, X video drivers, etc.?
Back to top
View user's profile Send private message
leonchik1976
Apprentice
Apprentice


Joined: 24 Jan 2010
Posts: 176

PostPosted: Thu Aug 23, 2018 5:06 am    Post subject: Reply with quote

Code:
# emerge xorg-server xorg-drivers xf86-video-vmware -pqv
[ebuild   R   ] x11-base/xorg-server-1.20.1  USE="doc glamor ipv6 systemd udev wayland xorg -debug -dmx -kdrive -libressl -minimal (-selinux) -static-libs -unwind -xcsecurity -xephyr -xnest -xvfb"
[ebuild   R   ] x11-drivers/xf86-video-vmware-13.3.0
[ebuild   R   ] x11-base/xorg-drivers-1.20  INPUT_DEVICES="evdev -elographics -joystick -keyboard -libinput -mouse -synaptics -tslib -vmmouse -void -wacom" VIDEO_CARDS="vmware -amdgpu -ast -dummy -fbdev       (-freedreno) (-geode) -glint -i915 -i965 -intel -mga -nouveau -nv -nvidia (-omap) -qxl -r128 -radeon -radeonsi -siliconmotion (-tdfx) (-tegra) (-vc4) -vesa -via -virtualbox (-voodoo)"

# emerge --info
Portage 2.3.48 (python 3.6.6-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-8.2.0, glibc-2.27-r6, 4.18.3-gentoo x86_64)
=================================================================
System uname: Linux-4.18.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700_CPU_@_3.40GHz-with-gentoo-2.6
KiB Mem:     4042868 total,   2292032 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Wed, 22 Aug 2018 17:30:01 +0000
Head commit of repository gentoo: b307cbb1a37aefe0cc0e31ac1ad7374c87e107dc
sh bash 4.4_p23
ld GNU ld (Gentoo 2.31.1 p1) 2.31.1
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.6::gentoo, 3.7.0::gentoo
dev-util/cmake:           3.12.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo, 8.2.0-r2::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA google-chrome PUEL RAR Nero-EULA-US OPERA-2014 skype-4.0.0.7-copyright TeamViewer"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en he ru en_US he_IL ru_RU"
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"
USE="X a52 aac accessibility acl acpi alsa amd64 anacron audit berkdb bluetooth branding bzip2 cairo cdda cdio cdr cli client colord crypt cryptsetup cups curl cxx dbus device-mapper dri dts dvd dvdr eds emboss encode evo examples exif experimental fam flac fortran gd gdbm geoip gif glamor gles gnome gnome-keyring gnome-online-accounts go googledrive gpg gpm gstreamer gtk html http iconv icu idn introspection ipv6 iscsi java jpeg jpeg2k kerberos lcms ldap libkms libnotify libsecret libtirpc logrotate mad math mbox mdadm minizip mng modules mount mp3 mp4 mpeg mpx multilib multimon mysql nautilus ncurses networkmanager nls nptl nscd offensive ogg opengl openmp pam pango pcre pdf pdfimport perl png policykit postgres ppds pulseaudio python qrcode qt5 raw readline sdl seccomp slp spell sqlite ssl startup-notification svg symlink sync-plugin-portage systemd tcpd threads tiff tk tools tracker truetype udev udisks unicode upower usb vlc vorbis wayland wininst wxwidgets x264 xa xattr xcb xinerama xkb xml xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell wiki-publisher scripting-javascript" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby22 ruby23 ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="vmware" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5673
Location: Removed by Neddy

PostPosted: Sat Aug 25, 2018 12:06 pm    Post subject: Reply with quote

Did you rebuild your kernel
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4209
Location: Dallas area

PostPosted: Sat Aug 25, 2018 12:11 pm    Post subject: Reply with quote

From original post, I would imagine this might be your problem
Code:
    17.888] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)


which then caused the other cascading errors.

Edit to add: setting your display driver with appropriate options in xorg.conf might fix the problem.
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.1 (no-pie & modified) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
leonchik1976
Apprentice
Apprentice


Joined: 24 Jan 2010
Posts: 176

PostPosted: Sat Sep 01, 2018 9:49 am    Post subject: Reply with quote

I reinstalled the whole system - the same issue
Back to top
View user's profile Send private message
tom_brown
n00b
n00b


Joined: 28 Aug 2018
Posts: 3

PostPosted: Sun Sep 02, 2018 10:46 am    Post subject: Reply with quote

How about installing directly gcc 8.2.0? any log after the install?
Back to top
View user's profile Send private message
leonchik1976
Apprentice
Apprentice


Joined: 24 Jan 2010
Posts: 176

PostPosted: Sun Sep 02, 2018 11:55 am    Post subject: Reply with quote

when reinstalled the whole system, install new gcc was the first thing i did
Back to top
View user's profile Send private message
leonchik1976
Apprentice
Apprentice


Joined: 24 Jan 2010
Posts: 176

PostPosted: Wed Sep 26, 2018 3:14 pm    Post subject: Reply with quote

yesterday after emerge --sync, there was an update to gcc, and after updating gcc, reemerged the whole tree (emerge @world -e) and now everything works fine
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum