Public bug reported:
A friend and I are seeing frequent gnome-shell crashes on Ubuntu 17.04
on 3 different computers. Here's an example:
Apr 12 22:35:00 ******** kernel: gnome-shell[2592]: segfault at 10 ip
00007f0e3ccc26d7 sp 00007ffdd31b4d90 error 4 in
libmozjs-38.so.0.0.0[7f0e3c93e000+6c7000]
I've analyzed the issue for a while and I actually believe I've found
the solution.
If I simply download the apt source package and build it using gcc
6.3.0, and then go to js/src and execute:
$ make check-jstests | grep -c UNEXPECTED-FAIL
49
Upon examination, those test failures are all because of segfaults.
If I rebuild and retests with gcc 5, all tests pass.
I've discovered that adding the flag -fno-strict-aliasing causes all of
the tests to pass with gcc 6.
** Affects: mozjs38 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1682631
Title:
gnome-shell crashes in libmozjs on x86_64
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mozjs38/+bug/1682631/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs