You are not logged in.

#1 2015-12-24 21:45:40

bnd
Member
Registered: 2015-12-24
Posts: 2

[SOLVED] Gnome 3.18.3 crash: "Oh no! Something has gone wrong."

Hi All,

I recently build a computer with an intel 6600k and an nVidia gtx 970. I just finished my first arch installation, running through the wiki. I installed the nvidia drivers from the nvidia package in the repo, added intel microcode update support to systemd, and installed x.

I can boot into lightdm, but upon login gnome just has the message "Oh no! Something has gone wrong". I am able to startx from virtual console and ~/.xsession-errors is empty. I'm pretty noob to linux so any help would be appreciated.

Thanks!

Last edited by bnd (2015-12-30 02:45:14)

Offline

#2 2015-12-24 22:18:49

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] Gnome 3.18.3 crash: "Oh no! Something has gone wrong."


Jin, Jîyan, Azadî

Offline

#3 2015-12-25 14:01:27

Zabell
Member
Registered: 2014-04-21
Posts: 14

Re: [SOLVED] Gnome 3.18.3 crash: "Oh no! Something has gone wrong."

He does not have an Optimus system with that desktop CPU and GPU.

This is a problem with Skylake and glibc 2.22, the lock elision is causing some problems with pthreads or something.
I have the same problem, there is no "real" solution. The workaround is to compile glibc with the lock elision flag removed.

The bug is listed with ID: 46064
Fedora have a patch that works: http://pkgs.fedoraproject.org/cgit/glib … atch?h=f23

I am currently running Fedora 23 with Nvidia drivers which is working great with their custom patch.

Offline

#4 2015-12-25 21:55:29

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: [SOLVED] Gnome 3.18.3 crash: "Oh no! Something has gone wrong."

Zabell wrote:

He does not have an Optimus system with that desktop CPU and GPU.

This is a problem with Skylake and glibc 2.22, the lock elision is causing some problems with pthreads or something.
I have the same problem, there is no "real" solution. The workaround is to compile glibc with the lock elision flag removed.

The bug is listed with ID: 46064
Fedora have a patch that works: http://pkgs.fedoraproject.org/cgit/glib … atch?h=f23

I am currently running Fedora 23 with Nvidia drivers which is working great with their custom patch.

Looking at glib.spec from glibc-2.22-6.fc23.src.rpm

# Enable lock elision support for these architectures
#
# At the moment lock elision is disabled on x86_64 until there's a CPU that
# would actually benefit from enabling it.  Intel released a microcode update
# to disable HLE and RTM at boot and the Fedora kernel now applies it early
# enough that keeping lock elision enabled should be harmless, but we have
# disabled it anyway as a conservative measure.
%define lock_elision_arches s390 s390x

Would seem to indicate lock elision is disabled on x86_64 for fc23

%ifarch %{lock_elision_arches}
		--enable-lock-elision \
%endif

Seems to confirm the above

# Disable rwlock elision if --enable-lock-elision is not used.
Patch0052: glibc-disable-rwlock-elision.patch

So patch seems to be addressing a different issue

Offline

#5 2015-12-27 23:51:37

StefanoPhysX
Member
Registered: 2015-12-27
Posts: 1

Re: [SOLVED] Gnome 3.18.3 crash: "Oh no! Something has gone wrong."

bnd wrote:

Hi All,

I recently build a computer with an intel 6600k and an nVidia gtx 970. I just finished my first arch installation, running through the wiki. I installed the nvidia drivers from the nvidia package in the repo, added intel microcode update support to systemd, and installed x.

I can boot into lightdm, but upon login gnome just has the message "Oh no! Something has gone wrong". I am able to startx from virtual console and ~/.xsession-errors is empty. I'm pretty noob to linux so any help would be appreciated.

Thanks!

Hi, I have a similar hardware: i7-6700 and nvidia 970m. I installed nvidia proprietary drivers and gnome. When I start X, either with startx or gdm, I have the same error. KDE works ok and also gnome when using nouveau works ok.
I fixed the problem by compiling glibc without the flag: --enable-lock-elision in the PKGBUILD of this package as suggested in:
https://forum.manjaro.org/index.php?topic=28097.0

Now gnome starts both with gdm and startx.

Offline

#6 2015-12-29 23:08:24

bnd
Member
Registered: 2015-12-24
Posts: 2

Re: [SOLVED] Gnome 3.18.3 crash: "Oh no! Something has gone wrong."

Hey all,

Thanks for the help. I am trying to rebuld glibc and lib32-glibc with ABS but I am having some difficulty. I copied both packages from /var/abs and edited the PKGBUILD to exclude the --enable-lock-elision flag. But when I build I keep getting an error over missing GPG signatures, however I have gone through the GnuPG setup wiki and added and signed the missing keys to my public keyring. Anyone familiar with ABS flow have any suggestions?

Script started on Tue 29 Dec 2015 02:33:15 PM PST
[user@arch glibc]$ makepkg
==> Making package: glibc 2.22-3 (Tue Dec 29 14:33:21 PST 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found glibc-2.22.tar.xz
  -> Found glibc-2.22.tar.xz.sig
  -> Found glibc-2.22-roundup.patch
  -> Found locale.gen.txt
  -> Found locale-gen
==> Validating source files with md5sums...
    glibc-2.22.tar.xz ... Passed
    glibc-2.22.tar.xz.sig ... Skipped
    glibc-2.22-roundup.patch ... Passed
    locale.gen.txt ... Passed
    locale-gen ... Passed
==> Verifying source file signatures with gpg...
    glibc-2.22.tar.xz ... FAILED (unknown public key 25EF0A436C2A4AFF)
==> ERROR:[0;10m[1m One or more PGP signatures could not be verified!
[user@arch glibc]$ gpg --list-keys
/home/user/.gnupg/pubring.kbx
-----------------------------
pub   rsa2048/6C2A4AFF 2011-07-13 [expires: 2016-07-11]
uid         [  full  ] Carlos O'Donell <omit>
uid         [  full  ] Carlos O'Donell (Work) <omit>
sub   rsa2048/849CEC7C 2011-07-13 [expires: 2016-07-11]

pub   rsa2048/72ED1640 2015-12-29
uid         [ultimate] kdrobers <omit>
sub   rsa2048/631806E6 2015-12-29

[user@arch glibc]$ exit
exit

Script done on Tue 29 Dec 2015 02:33:48 PM PST

EDIT: I figured out my error. I had previously overwritten the GPGHOME variable in my makepkg.conf to use pacman public keyring and not my own. I was able to build glibc and boot into gnome and emacs doesn't segfault on exit anymore so I will mark the issue as fixed. I assume I need to enable multlib and build the 32 bit package the same way in order to get steam to work, correct?

Last edited by bnd (2015-12-30 02:44:01)

Offline

Board footer

Powered by FluxBB