Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 700692 - net-libs/nodejs-12.13.0 - ../deps/v8/src/wasm/wasm-memory.h:47:59: internal compiler error: Segmentation fault
Summary: net-libs/nodejs-12.13.0 - ../deps/v8/src/wasm/wasm-memory.h:47:59: internal c...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-19 15:02 UTC by Frank Krömmelbein
Modified: 2020-03-25 23:42 UTC (History)
0 users

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


Attachments
nodejs-12.13.0.tar.gz (nodejs-12.13.0.tar.gz,40.27 KB, application/gzip-compressed-tar)
2019-11-19 15:04 UTC, Frank Krömmelbein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Krömmelbein 2019-11-19 15:02:42 UTC
Update failed for me with:

In file included from [01m[K../deps/v8/src/wasm/wasm-engine.h:13[m[K,
                 from [01m[K../deps/v8/src/objects/js-array-buffer-inl.h:13[m[K,
                 from [01m[K../deps/v8/src/wasm/wasm-objects-inl.h:15[m[K,
                 from [01m[K../deps/v8/src/objects/shared-function-info-inl.h:16[m[K,
                 from [01m[K../deps/v8/src/objects/templates-inl.h:12[m[K,
                 from [01m[K../deps/v8/src/objects/map-inl.h:21[m[K,
                 from [01m[K../deps/v8/src/objects/name-inl.h:11[m[K,
                 from [01m[K../deps/v8/src/objects/string-inl.h:14[m[K,
                 from [01m[K../deps/v8/src/heap/factory-inl.h:18[m[K,
                 from [01m[K../deps/v8/src/objects/lookup-inl.h:11[m[K,
                 from [01m[K../deps/v8/src/objects/objects-inl.h:32[m[K,
                 from [01m[K../deps/v8/src/codegen/source-position-table.cc:7[m[K:
[01m[K../deps/v8/src/wasm/wasm-memory.h:47:59:[m[K [01;31m[Kinternal compiler error: [m[KSegmentation fault
   47 |         : memory_object(memory_object), isolate(isolate) {[01;31m[K}[m[K
      |                                                           [01;31m[K^[m[K
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make: *** [tools/v8_gypfiles/v8_base_without_compiler.target.mk:610: /var/tmp/portage/net-libs/nodejs-12.13.0/work/node-v12.13.0/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/codegen/source-position-table.o] Error 1

I have tried it 3 times in a row, each time the same error occured. I then checked upstream and found that today a new version 12.13.1 was released:
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V12.md#12.13.1

I tried then this new release from my overlay and this worked for me:
net-libs/nodejs-12.13.1::mylocal was built with the following:
USE="icu npm snapshot ssl -debug -doc -inspector -systemtap -test" ABI_X86="(64)" CPU_FLAGS_X86="sse2"
FEATURES="protect-owned news binpkg-dostrip collision-protect parallel-fetch assume-digests unmerge-orphans config-protect-if-modified network-sandbox pid-sandbox unknown-features-warn userfetch binpkg-docompress distlocks multilib-strict userpriv preserve-libs sandbox fixlafiles ipc-sandbox ebuild-locks merge-sync sfperms xattr binpkg-logs usersync usersandbox unmerge-logs strict"

I am aware that the "internal compiler error: Segmentation fault" often indicates a hardware problem, but in the last 2-3 days I have been able to execute several thousand emerge operations on this computer, and these without any abnormalities.

Reproducible: Always
Comment 1 Frank Krömmelbein 2019-11-19 15:04:23 UTC
Created attachment 596766 [details]
nodejs-12.13.0.tar.gz
Comment 2 Larry the Git Cow gentoo-dev 2019-11-20 12:15:20 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb81d50bcc7f9ace19aaabe9c4993c7fd33d7caa

commit cb81d50bcc7f9ace19aaabe9c4993c7fd33d7caa
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2019-11-20 12:05:42 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2019-11-20 12:15:13 +0000

    net-libs/nodejs: Version 12.13.1
    
    Package-Manager: Portage-2.3.79, Repoman-2.3.18
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=700692
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-libs/nodejs/Manifest              |   1 +
 net-libs/nodejs/nodejs-12.13.1.ebuild | 208 ++++++++++++++++++++++++++++++++++
 2 files changed, 209 insertions(+)