Closed Bug 1784749 Opened 3 years ago Closed 15 days ago

Intermittent Assertion failure: ownedTwoByteChars.get() == chars || memcmp(ownedTwoByteChars.get(), chars, length * sizeof(char16_t)) == 0, at /builds/worker/checkouts/gecko/js/src/vm/SharedImmutableStringsCache-inl.h:60

Categories

(Core :: JavaScript Engine: JIT, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, intermittent-failure)

Filed by: smolnar [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=387281811&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/fbHTZ8O2RZWnCgD_Yv04WA/runs/0/artifacts/public/logs/live_backing.log


INFO -  TEST-PASS | tests/jit-test/jit-test/tests/arguments/args6a.js | Success (code 0, args "--blinterp-eager") [0.1 s]
[task 2022-08-14T11:48:53.196Z] 11:48:53     INFO -  Assertion failure: ownedTwoByteChars.get() == chars || memcmp(ownedTwoByteChars.get(), chars, length * sizeof(char16_t)) == 0, at /builds/worker/checkouts/gecko/js/src/vm/SharedImmutableStringsCache-inl.h:60
[task 2022-08-14T11:48:53.199Z] 11:48:53     INFO -  #01: js::SharedImmutableTwoByteString js::SharedImmutableStringsCache::getOrCreate<bool js::ScriptSource::assignSource<char16_t>(JSContext*, JS::ReadOnlyCompileOptions const&, JS::SourceText<char16_t>&)::'lambda'()>(char16_t const*, unsigned long, char16_t)[/opt/worker/tasks/task_166047740994313/build/tests/bin/js +0x3094bb]
[task 2022-08-14T11:48:53.199Z] 11:48:53     INFO -  #02: bool js::ScriptSource::assignSource<char16_t>(JSContext*, JS::ReadOnlyCompileOptions const&, JS::SourceText<char16_t>&)[/opt/worker/tasks/task_166047740994313/build/tests/bin/js +0x308c2d]
[task 2022-08-14T11:48:53.199Z] 11:48:53     INFO -  #03: SourceAwareCompiler<char16_t>::createSourceAndParser(JSContext*, js::ErrorContext*)[/opt/worker/tasks/task_166047740994313/build/tests/bin/js +0x81adae]
[task 2022-08-14T11:48:53.199Z] 11:48:53     INFO -  #04: CompileStandaloneFunction(JSContext*, JS::ReadOnlyCompileOptions const&, JS::SourceText<char16_t>&, mozilla::Maybe<unsigned int> const&, js::frontend::FunctionSyntaxKind, js::GeneratorKind, js::FunctionAsyncKind, JS::Handle<js::Scope*>)[/opt/worker/tasks/task_166047740994313/build/tests/bin/js +0x7f15e9]
[task 2022-08-14T11:48:53.206Z] 11:48:53     INFO -  #05: js::frontend::CompileStandaloneFunction(JSContext*, JS::ReadOnlyCompileOptions const&, JS::SourceText<char16_t>&, mozilla::Maybe<unsigned int> const&, js::frontend::FunctionSyntaxKind)[/opt/worker/tasks/task_166047740994313/build/tests/bin/js +0x7f11f6]
[task 2022-08-14T11:48:53.207Z] 11:48:53     INFO -  #06: CreateDynamicFunction(JSContext*, JS::CallArgs const&, js::GeneratorKind, js::FunctionAsyncKind)[/opt/worker/tasks/task_166047740994313/build/tests/bin/js +0x2c09eb]
[task 2022-08-14T11:48:53.207Z] 11:48:53     INFO -  #07: js::Function(JSContext*, unsigned int, JS::Value*)[/opt/worker/tasks/task_166047740994313/build/tests/bin/js +0x2bfc8a]
[task 2022-08-14T11:48:53.207Z] 11:48:53     INFO -  #08: CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), js::CallReason, JS::CallArgs const&)[/opt/worker/tasks/task_166047740994313/build/tests/bin/js +0x108323]
[task 2022-08-14T11:48:53.207Z] 11:48:53     INFO -  #09: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)[/opt/worker/tasks/task_166047740994313/build/tests/bin/js +0x107b24]
[task 2022-08-14T11:48:53.208Z] 11:48:53     INFO -  #10: js::jit::DoCallFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICFallbackStub*, unsigned int, JS::Value*, JS::MutableHandle<JS::Value>)[/opt/worker/tasks/task_166047740994313/build/tests/bin/js +0xab61e7]
[task 2022-08-14T11:48:53.208Z] 11:48:53     INFO -  Exit code: -11
[task 2022-08-14T11:48:53.209Z] 11:48:53     INFO -  FAIL - bug1782468-ptrdiff-veclen.js
[task 2022-08-14T11:48:53.209Z] 11:48:53  WARNING -  TEST-UNEXPECTED-FAIL | tests/jit-test/jit-test/tests/bug1782468-ptrdiff-veclen.js | Assertion failure: ownedTwoByteChars.get() == chars || memcmp(ownedTwoByteChars.get(), chars, length * sizeof(char16_t)) == 0, at /builds/worker/checkouts/gecko/js/src/vm/SharedImmutableStringsCache-inl.h:60 (code -11, args "") [71.5 s]
[task 2022-08-14T11:48:53.212Z] 11:48:53     INFO -  INFO exit-status     : -11
[task 2022-08-14T11:48:53.221Z] 11:48:53     INFO -  INFO timed-out       : False
[task 2022-08-14T11:48:53.221Z] 11:48:53     INFO -  INFO stderr         2> Assertion failure: ownedTwoByteChars.get() == chars || memcmp(ownedTwoByteChars.get(), chars, length * sizeof(char16_t)) == 0, at /builds/worker/checkouts/gecko/js/src/vm/SharedImmutableStringsCache-inl.h:60
[task 2022-08-14T11:48:53.236Z] 11:48:53     INFO -  INFO stderr         2> #01: js::SharedImmutableTwoByteString js::SharedImmutableStringsCache::getOrCreate<bool js::ScriptSource::assignSource<char16_t>(JSContext*, JS::ReadOnlyCompileOptions const&, JS::SourceText<char16_t>&)::'lambda'()>(char16_t const*, unsigned long, char16_t)[/opt/worker/tasks/task_166047740994313/build/tests/bin/js +0x3094bb]
[task 2022-08-14T11:48:53.236Z] 11:48:53     INFO -  INFO stderr         2> #02: bool js::ScriptSource::assignSource<char16_t>(JSContext*, JS::ReadOnlyCompileOptions const&, JS::SourceText<char16_t>&)[/opt/worker/tasks/task_166047740994313/build/tests/bin/js +0x308c2d]
[task 2022-08-14T11:48:53.236Z] 11:48:53     INFO -  INFO stderr         2> #03: SourceAwareCompiler<char16_t>::createSourceAndParser(JSContext*, js::ErrorContext*)[/opt/worker/tasks/task_166047740994313/build/tests/bin/js +0x81adae]
[task 2022-08-14T11:48:53.236Z] 11:48:53     INFO -  INFO stderr         2> #04: CompileStandaloneFunction(JSContext*, JS::ReadOnlyCompileOptions const&, JS::SourceText<char16_t>&, mozilla::Maybe<unsigned int> const&, js::frontend::FunctionSyntaxKind, js::GeneratorKind, js::FunctionAsyncKind, JS::Handle<js::Scope*>)[/opt/worker/tasks/task_166047740994313/build/tests/bin/js +0x7f15e9]
[task 2022-08-14T11:48:53.236Z] 11:48:53     INFO -  INFO stderr         2> #05: js::frontend::CompileStandaloneFunction(JSContext*, JS::ReadOnlyCompileOptions const&, JS::SourceText<char16_t>&, mozilla::Maybe<unsigned int> const&, js::frontend::FunctionSyntaxKind)[/opt/worker/tasks/task_166047740994313/build/tests/bin/js +0x7f11f6]
[task 2022-08-14T11:48:53.236Z] 11:48:53     INFO -  INFO stderr         2> #06: CreateDynamicFunction(JSContext*, JS::CallArgs const&, js::GeneratorKind, js::FunctionAsyncKind)[/opt/worker/tasks/task_166047740994313/build/tests/bin/js +0x2c09eb]
[task 2022-08-14T11:48:53.236Z] 11:48:53     INFO -  INFO stderr         2> #07: js::Function(JSContext*, unsigned int, JS::Value*)[/opt/worker/tasks/task_166047740994313/build/tests/bin/js +0x2bfc8a]
[task 2022-08-14T11:48:53.236Z] 11:48:53     INFO -  INFO stderr         2> #08: CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), js::CallReason, JS::CallArgs const&)[/opt/worker/tasks/task_166047740994313/build/tests/bin/js +0x108323]
[task 2022-08-14T11:48:53.236Z] 11:48:53     INFO -  INFO stderr         2> #09: js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)[/opt/worker/tasks/task_166047740994313/build/tests/bin/js +0x107b24]
[task 2022-08-14T11:48:53.236Z] 11:48:53     INFO -  INFO stderr         2> #10: js::jit::DoCallFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICFallbackStub*, unsigned int, JS::Value*, JS::MutableHandle<JS::Value>)[/opt/worker/tasks/task_166047740994313/build/tests/bin/js +0xab61e7]
[task 2022-08-14T11:48:53.236Z] 11:48:53     INFO -  TEST-PASS | tests/jit-test/jit-test/tests/arguments/args7.js | Success (code 0, args "--ion-eager --ion-offthread-compile=off --more-compartments") [0.1 s]
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
No longer blocks: 1788454
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago2 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 2 years ago1 year ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 1 year ago15 days ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.