Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error in ../../src/objects/tagged-impl.h, line 92 #288

Closed
ghost opened this issue Oct 26, 2020 · 5 comments
Closed

Fatal error in ../../src/objects/tagged-impl.h, line 92 #288

ghost opened this issue Oct 26, 2020 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Oct 26, 2020

Describe the bug
This issue shows up when using the rebase-to-tip branch (#273). Several cases fail with this same error (see related cases below). rebase-to-tip has been merged, so this occurs on our main branch, riscv64.

To Reproduce
Steps to reproduce the behavior:

  1. Checkout rebase-to-tip
  2. Follow standard build procedure
  3. Run the test:
out/riscv64.sim/cctest test-orderedhashtable/OrderedNameDictionaryHandlerInsertion --random-seed=-1445372902 --nohard-abort --enable-slow-asserts --verify-heap --testing-d8-test-runner

Expected behavior
I expected this test to pass.

Errors/Logs

#
# Fatal error in ../../src/objects/tagged-impl.h, line 92
# Debug check failed: kCanBeWeak || (!IsSmi() == (((static_cast<i::Tagged_t>(ptr_) & ::i::kHeapObjectTagMask) == ::i::kHeapObjectTag))).
#
#
#
#FailureMessage Object: 0x7ffe7a706260
==== C stack trace ===============================

    /v8/out/riscv64.sim/cctest(+0x4057313) [0x563a35285313]
    /v8/out/riscv64.sim/cctest(+0x40562ed) [0x563a352842ed]
    /v8/out/riscv64.sim/cctest(+0x3dba483) [0x563a34fe8483]
    /v8/out/riscv64.sim/cctest(+0x3db9f55) [0x563a34fe7f55]
    /v8/out/riscv64.sim/cctest(+0x1c9ebc8) [0x563a32eccbc8]
    /v8/out/riscv64.sim/cctest(+0x264ad1f) [0x563a33878d1f]
    /v8/out/riscv64.sim/cctest(+0x1ca598c) [0x563a32ed398c]
    /v8/out/riscv64.sim/cctest(+0x1c9df07) [0x563a32ecbf07]
    /v8/out/riscv64.sim/cctest(+0x1c9d890) [0x563a32ecb890]
    /v8/out/riscv64.sim/cctest(+0x17c158a) [0x563a329ef58a]
    /v8/out/riscv64.sim/cctest(+0x1259efe) [0x563a32487efe]
    /v8/out/riscv64.sim/cctest(+0x125be7e) [0x563a32489e7e]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f986eabcb97]
    /v8/out/riscv64.sim/cctest(_start+0x2a) [0x563a32487c6a]
Aborted (core dumped)

Related failures:

  • cctest/test-orderedhashtable/OrderedNameDictionaryHandlerDeletion
  • cctest/test-orderedhashtable/SmallOrderedNameDictionaryDetailsAtAndDetailsAtPut
  • cctest/test-orderedhashtable/SmallOrderedNameDictionaryInsertion
  • cctest/test-orderedhashtable/SmallOrderedNameDictionaryInsertion
  • cctest/test-orderedhashtable/SmallOrderedNameDictionaryFindEntry
  • cctest/test-orderedhashtable/SmallOrderedNameDictionaryDeleteEntry
  • cctest/test-orderedhashtable/SmallOrderedNameDictionarySetEntry
  • cctest/test-orderedhashtable/SmallOrderedNameDictionaryValueAtAndValueAtPut
@ghost ghost added the bug Something isn't working label Oct 26, 2020
@luyahan luyahan self-assigned this Oct 27, 2020
@luyahan
Copy link
Collaborator

luyahan commented Oct 27, 2020

On mips64el.debug of upstream , it also appears this fatal error.

@luyahan
Copy link
Collaborator

luyahan commented Oct 29, 2020

I add log:

  constexpr  bool IsStrong() const {
    printf("%lx\n",ptr_);
    printf("%d,%d\n",IsSmi(),HAS_STRONG_HEAP_OBJECT_TAG(ptr_));
    CONSTEXPR_DCHECK(kCanBeWeak ||
                     (!IsSmi() == HAS_STRONG_HEAP_OBJECT_TAG(ptr_)));
    return kCanBeWeak ? HAS_STRONG_HEAP_OBJECT_TAG(ptr_) : !IsSmi();
  }

output:

deadffffffffffff
0,0


#
# Fatal error in ../../src/objects/tagged-impl.h, line 94
# Debug check failed: kCanBeWeak || (!IsSmi() == (((static_cast<i::Tagged_t>(ptr_) & ::i::kHeapObjectTagMask) == ::i::kHeapObjectTag))).
#
#
#
#FailureMessage Object: 0x7ffef8a4f5f0
==== C stack trace ===============================

@luyahan
Copy link
Collaborator

luyahan commented Oct 30, 2020

@luyahan
Copy link
Collaborator

luyahan commented Oct 30, 2020

ghost pushed a commit that referenced this issue Nov 3, 2020
@ghost ghost changed the title TIP: Fatal error in ../../src/objects/tagged-impl.h, line 92 Fatal error in ../../src/objects/tagged-impl.h, line 92 Nov 4, 2020
ghost pushed a commit that referenced this issue Nov 11, 2020
ghost pushed a commit that referenced this issue Dec 3, 2020
ghost pushed a commit that referenced this issue Dec 9, 2020
@luyahan
Copy link
Collaborator

luyahan commented Dec 10, 2020

Branch upstream don't occurs this fatal.

@ghost ghost closed this as completed Dec 10, 2020
ghost pushed a commit that referenced this issue Jan 13, 2021
ghost pushed a commit that referenced this issue Jan 26, 2021
ghost pushed a commit that referenced this issue Feb 1, 2021
ghost pushed a commit that referenced this issue Feb 3, 2021
ghost pushed a commit that referenced this issue Feb 9, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant