Status: Untriaged
Owner: ----
Type: Bug
New issue 11615 by josha...@
gmail.com: EXC_BAD_ACCESS in Builtins_CallVarargs
https://bugs.chromium.org/p/v8/issues/detail?id=11615Version: 8.8.278.14
OS: macOS
Architecture: x64
. cd v8bug.
What steps will reproduce the problem?
1. clone
https://github.com/josharian/v8bug2. cd v8bug
3. go test
What is the expected output?
PASS
What do you see instead?
A panic from inside the Go runtime. Running the same thing under GDB yields this:
* thread #14, stop reason = EXC_BAD_ACCESS (code=2, address=0x700008caf000)
* frame #0: 0x0000000004b05321 bug.report.test`Builtins_CallVarargs + 97
frame #1: 0x0000000004b0ba2f bug.report.test`Builtins_InterpreterEntryTrampoline + 207
frame #2: 0x00001298000a903e
frame #3: 0x0000000004b0ba2f bug.report.test`Builtins_InterpreterEntryTrampoline + 207
frame #4: 0x0000000004b0ba2f bug.report.test`Builtins_InterpreterEntryTrampoline + 207
frame #5: 0x0000000004b0ba2f bug.report.test`Builtins_InterpreterEntryTrampoline + 207
frame #6: 0x0000000004b0ba2f bug.report.test`Builtins_InterpreterEntryTrampoline + 207
frame #7: 0x0000000004b0ba2f bug.report.test`Builtins_InterpreterEntryTrampoline + 207
frame #8: 0x0000000004b0969b bug.report.test`Builtins_JSEntryTrampoline + 91
frame #9: 0x0000000004b09478 bug.report.test`Builtins_JSEntry + 120
frame #10: 0x000000000424d9cf bug.report.test`v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) + 2863
frame #11: 0x000000000424ce86 bug.report.test`v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) + 230
frame #12: 0x0000000004131978 bug.report.test`v8::Script::Run(v8::Local<v8::Context>) + 456
frame #13: 0x000000000410381d bug.report.test`RunScript + 317
frame #14: 0x00000000041008ba bug.report.test`_cgo_872099a846a0_Cfunc_RunScript + 42
frame #15: 0x000000000406ea10 bug.report.test`runtime.asmcgocall + 112
frame #16: 0x00000000040fd245 bug.report.test`
rogchap.com/v8go._Cfunc_RunScript + 101
frame #17: 0x00000000040fdbe7 bug.report.test`
rogchap.com/v8go.(*Context).RunScript.func3 + 103
frame #18: 0x00000000040fda2a bug.report.test`
rogchap.com/v8go.(*Context).RunScript + 266
frame #19: 0x00000000040ffd25 bug.report.test`bug%2ereport.(*Doc).exec + 229
frame #20: 0x00000000041002f5 bug.report.test`bug%2ereport.Do + 1045
frame #21: 0x0000000004100439 bug.report.test`bug%2ereport.TestCrash + 25
frame #22: 0x00000000040c1e50 bug.report.test`testing.tRunner + 272
Please use labels and text to provide additional information.
My apologies for not writing a straight C reproducer. If you uncomment the printlns in x.go around line 63, it'll dump all executed javascript to stdout. (Any before any of that runs, automerge.js, included in that repo, also runs.)
Thanks.
--
You received this message because:
1. The project was configured to send all issue notifications to this address
You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings