Bug 1446933 - d8 command dumps core
Summary: d8 command dumps core
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: v8
Version: 26
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-30 17:13 UTC by Sato Ichi
Modified: 2017-09-30 06:11 UTC (History)
4 users (show)

Fixed In Version: v8-6.2.91-4.fc26 v8-6.2.91-4.fc27
Clone Of:
Environment:
Last Closed: 2017-09-12 00:22:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
strace output (20.34 KB, text/plain)
2017-04-30 17:13 UTC, Sato Ichi
no flags Details

Description Sato Ichi 2017-04-30 17:13:39 UTC
Created attachment 1275298 [details]
strace output

Description of problem: Running the d8 command (part of the v8 package) causes a core dump in Fedora 25 x86_64.


Version-Release number of selected component (if applicable): 5.2.258-7.fc25


How reproducible: Run the d8 command in a terminal window.


Steps to Reproduce:
1. Open a terminal window.
2. Run the command 'd8' in the terminal window.


Actual results: The d8 command prints the following messages then dumps core:

Failed to open startup resource 'natives_blob.bin'.
Failed to open startup resource 'snapshot_blob.bin'.


#
# Fatal error in ../src/snapshot/natives-external.cc, line 122
# Check failed: holder_.
#

==== C stack trace ===============================

 1: V8_Fatal
 2: 0x7ff9255b1586
 3: v8::internal::Heap::CreateInitialObjects()
 4: v8::internal::Heap::CreateHeapObjects()
 5: v8::internal::Isolate::Init(v8::internal::Deserializer*)
 6: v8::Isolate::New(v8::Isolate::CreateParams const&)
 7: 0x408026
 8: __libc_start_main
 9: 0x40479a
Illegal instruction (core dumped)



Expected results: Running the d8 command should present the user with an interactive shell to run JavaScript commands.


Additional info: This behavior just started in Fedora 25. It was fine in Fedora 23 and 24. The two files mentioned in the error messages -- natives_blob.bin and 
snapshot_blob.bin -- are both in the /usr/lib64 directory:

$ ls -l /usr/lib64/natives_blob.bin /usr/lib64/snapshot_blob.bin
-rwxr-xr-x 1 root root 362894 Oct 17  2016 /usr/lib64/natives_blob.bin
-rwxr-xr-x 1 root root 764204 Oct 17  2016 /usr/lib64/snapshot_blob.bin

I have attached a stack trace using strace.

Comment 1 Sato Ichi 2017-08-19 16:50:47 UTC
The exact same problem exists in Fedora 26 x86_64 with the v8-5.2.258-11.fc26.x86_64 package.

Comment 2 Fedora Update System 2017-09-01 13:53:41 UTC
v8-6.2.91-4.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b8c52465ac

Comment 3 Fedora Update System 2017-09-01 13:53:50 UTC
v8-6.2.91-4.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4d29ea6643

Comment 4 Fedora Update System 2017-09-03 05:23:43 UTC
v8-6.2.91-4.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-b8c52465ac

Comment 5 Fedora Update System 2017-09-03 19:53:58 UTC
v8-6.2.91-4.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-4d29ea6643

Comment 6 Fedora Update System 2017-09-12 00:22:12 UTC
v8-6.2.91-4.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2017-09-30 06:11:39 UTC
v8-6.2.91-4.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.