GNOME Shell received SIGSEGV from /usr/lib/libmozjs185.so.0 at startup (i.e. /usr/bin/gnome-shell --replace)
Created attachment 328486 [details, diff] jemalloc patch for ia64
Created attachment 328488 [details, diff] static string changes
The JS engine assumes that all allocated pointers have their high 17 bits clear which ia64's mmap doesn't support directly. The needed changes also require changes in static strings allocation (in fact, disabling it on ia64). This bug was fixed in JS engine in Firefox (see https://bugzilla.mozilla.org/show_bug.cgi?id=589735). Changes were thus ported to SpiderMonkey (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659186#53). Please review the corresponding patches to fix Gentoo's spidermonkey-1.8.5-r1 (https://bugs.gentoo.org/attachment.cgi?id=328486 and https://bugs.gentoo.org/attachment.cgi?id=328488). Dear maintainers, this issue has been reported upstream (see https://bugzilla.mozilla.org/show_bug.cgi?id=808512). However, it seems rather unmaintained these days. The proposed patches thus probably need to also be applied to other spidermonkey-1.8.5-r?.ebuilds, as well as other spidermonkey-?.?.?-r?.ebuilds. Thanks.
The easier way to reproduce is simply executing spidermonkey's 'js' binary, it segfaults. I've reproduced the same on 1.8.7-r3, let's see what happens with the patches.
(In reply to comment #4) > The easier way to reproduce is simply executing spidermonkey's 'js' binary, > it segfaults. > > I've reproduced the same on 1.8.7-r3, let's see what happens with the > patches. If your testing of the patches is fine please land them.
Fixed in 1.8.5, since one of the patches doesn't apply on 1.8.7, i'm closing this bug and opening a new one for 1.8.7, bug 450582. Thanks Émeric for all the information and let's continue investigating on 1.8.7. Meanwhile we have a working 1.8.5.