Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667250 - dev-lang/spidermonkey-52.9.1_pre1 fails to start with memory access error.
Summary: dev-lang/spidermonkey-52.9.1_pre1 fails to start with memory access error.
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
Depends on:
Reported: 2018-09-28 19:07 UTC by Sven Müller
Modified: 2019-02-20 10:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

emerge --info (file_667250.txt,5.98 KB, text/plain)
2018-09-28 19:12 UTC, Sven Müller
build.log until qmerge phase (build.log.tar.xz,43.17 KB, application/x-xz)
2018-09-28 20:10 UTC, Sven Müller
strace js52 (file_667250.txt,14.77 KB, text/plain)
2019-02-14 20:02 UTC, Sven Müller
Can confirm the same thing on raspberry pi (emerge-info,6.61 KB, text/plain)
2019-02-20 10:48 UTC, Alexandru N. Barloiu

Note You need to log in before you can comment on or make changes to this bug.
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.