Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 667250

Summary: dev-lang/spidermonkey-52.9.1_pre1 fails to start with memory access error.
Product: Gentoo Linux Reporter: Sven Müller <musv>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED OBSOLETE    
Severity: normal CC: arm, axl
Priority: Normal    
Version: unspecified   
Hardware: ARM   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log until qmerge phase
strace js52
Can confirm the same thing on raspberry pi

Description Sven Müller 2018-09-28 19:07:59 UTC
spidermonkey compiles and install fine. But when I start it, it fails with a really weird error: 

root ~> js52
Assertion failure: !joinable(), at /var/tmp/portage/dev-lang/spidermonkey-52.9.1_pre1/work/mozjs-52.9.1pre1/js/src/threading/Thread.h:122
memory access error

The addressed directory is the used temporary directory, when compiling the package. 

The error occurs on my ARM Nas. On my x86_64 system it works as expected.
Comment 1 Sven Müller 2018-09-28 19:12:18 UTC
Created attachment 548134 [details]
emerge --info
Comment 2 Sven Müller 2018-09-28 20:10:48 UTC
Created attachment 548142 [details]
build.log until qmerge phase
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2018-11-17 16:50:51 UTC
I only have access to one arm system, and I can't reproduce on that.  Maybe the ARM arch team can help me out here?
Comment 4 Sven Müller 2019-02-14 20:02:00 UTC
Created attachment 565414 [details]
strace js52

The strace output. Maybe it helps somehow.
Comment 5 Alexandru N. Barloiu 2019-02-20 10:48:21 UTC
Created attachment 565940 [details]
Can confirm the same thing on raspberry pi

I played around with the useflags custom optimization, custom cflags and system-icu to no avail. Regardless of how it is compiled, js52 --shell throws out that error.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-24 11:29:15 UTC
spidermonkey <78 is no longer in tree. The codebase has changed substantially since then, so closing.