Skip to content

Instantly share code, notes, and snippets.

@josharian
Created April 13, 2021 16:20
Show Gist options
  • Save josharian/0a3bdf5d7e0ec49bfeb1fbf0c473022b to your computer and use it in GitHub Desktop.
Save josharian/0a3bdf5d7e0ec49bfeb1fbf0c473022b to your computer and use it in GitHub Desktop.
v8 lldb output
(lldb) bt
* thread #14, stop reason = EXC_BAD_ACCESS (code=2, address=0x70000228b000)
* frame #0: 0x0000000004b88761 bug.report.test`Builtins_CallVarargs + 97
frame #1: 0x0000000004b8fb81 bug.report.test`Builtins_InterpreterEntryTrampoline + 225
frame #2: 0x000007740009a3e2
frame #3: 0x0000000004b8fb81 bug.report.test`Builtins_InterpreterEntryTrampoline + 225
frame #4: 0x0000000004b8fb81 bug.report.test`Builtins_InterpreterEntryTrampoline + 225
frame #5: 0x0000000004b8fb81 bug.report.test`Builtins_InterpreterEntryTrampoline + 225
frame #6: 0x0000000004b8fb81 bug.report.test`Builtins_InterpreterEntryTrampoline + 225
frame #7: 0x0000000004b8fb81 bug.report.test`Builtins_InterpreterEntryTrampoline + 225
frame #8: 0x0000000004b8dc3b bug.report.test`Builtins_JSEntryTrampoline + 91
frame #9: 0x0000000004b8d9c3 bug.report.test`Builtins_JSEntry + 131
frame #10: 0x000000000426a1e9 bug.report.test`v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) + 2937
frame #11: 0x0000000004269659 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>*) + 233
frame #12: 0x0000000004144ac5 bug.report.test`v8::Script::Run(v8::Local<v8::Context>) + 789
frame #13: 0x0000000004115397 bug.report.test`RunScript + 311
frame #14: 0x00000000041122da bug.report.test`_cgo_ee9a8b2443b2_Cfunc_RunScript + 42
frame #15: 0x000000000406fdd0 bug.report.test`runtime.asmcgocall + 112
frame #16: 0x000000000403f4e0 bug.report.test`runtime.startTheWorldWithSema + 576
frame #17: 0x000000000410ef4d bug.report.test`rogchap.com/v8go._Cfunc_RunScript + 77
frame #18: 0x00000000041109ee bug.report.test`rogchap.com/v8go.(*Context).RunScript.func3 + 110
frame #19: 0x000000000410f636 bug.report.test`rogchap.com/v8go.(*Context).RunScript + 278
frame #20: 0x0000000004111605 bug.report.test`bug%2ereport.(*Doc).exec + 197
frame #21: 0x0000000004111c27 bug.report.test`bug%2ereport.Do + 1191
frame #22: 0x0000000004111d65 bug.report.test`bug%2ereport.TestCrash + 37
frame #23: 0x00000000040d0f4f bug.report.test`testing.tRunner + 239
frame #24: 0x0000000004070141 bug.report.test`runtime.goexit + 1
frame #25: 0x00000000041109ee bug.report.test`rogchap.com/v8go.(*Context).RunScript.func3 + 110
frame #26: 0x000000000410f636 bug.report.test`rogchap.com/v8go.(*Context).RunScript + 278
frame #27: 0x0000000004111605 bug.report.test`bug%2ereport.(*Doc).exec + 197
frame #28: 0x0000000004111c27 bug.report.test`bug%2ereport.Do + 1191
frame #29: 0x0000000004111d65 bug.report.test`bug%2ereport.TestCrash + 37
frame #30: 0x00000000040d0f4f bug.report.test`testing.tRunner + 239
frame #31: 0x0000000004070141 bug.report.test`runtime.goexit + 1
frame #32: 0x000000000410f636 bug.report.test`rogchap.com/v8go.(*Context).RunScript + 278
frame #33: 0x0000000004111605 bug.report.test`bug%2ereport.(*Doc).exec + 197
frame #34: 0x0000000004111c27 bug.report.test`bug%2ereport.Do + 1191
frame #35: 0x0000000004111d65 bug.report.test`bug%2ereport.TestCrash + 37
frame #36: 0x00000000040d0f4f bug.report.test`testing.tRunner + 239
frame #37: 0x0000000004070141 bug.report.test`runtime.goexit + 1
frame #38: 0x0000000004111605 bug.report.test`bug%2ereport.(*Doc).exec + 197
frame #39: 0x0000000004111c27 bug.report.test`bug%2ereport.Do + 1191
frame #40: 0x0000000004111d65 bug.report.test`bug%2ereport.TestCrash + 37
frame #41: 0x00000000040d0f4f bug.report.test`testing.tRunner + 239
frame #42: 0x0000000004070141 bug.report.test`runtime.goexit + 1
frame #43: 0x0000000004111c27 bug.report.test`bug%2ereport.Do + 1191
frame #44: 0x0000000004111d65 bug.report.test`bug%2ereport.TestCrash + 37
frame #45: 0x00000000040d0f4f bug.report.test`testing.tRunner + 239
frame #46: 0x0000000004070141 bug.report.test`runtime.goexit + 1
frame #47: 0x0000000004111d65 bug.report.test`bug%2ereport.TestCrash + 37
frame #48: 0x00000000040d0f4f bug.report.test`testing.tRunner + 239
frame #49: 0x0000000004070141 bug.report.test`runtime.goexit + 1
frame #50: 0x00000000040d0f4f bug.report.test`testing.tRunner + 239
frame #51: 0x0000000004070141 bug.report.test`runtime.goexit + 1
frame #52: 0x0000000004070141 bug.report.test`runtime.goexit + 1
(lldb) register read --all
General Purpose Registers:
rax = 0x0000000000000000
rbx = 0x0000077419602119
rcx = 0x0000000000013882
rdx = 0x0000077408b42181
rdi = 0x00000774081d6ea5
rsi = 0x00000774081cf4ad
rbp = 0x000070000230b5d0
rsp = 0x000070000226f100
r8 = 0x000070000226f110
r9 = 0x00000000000037de
r10 = 0x0000077408b42181
r11 = 0x000007740960df81
r12 = 0x0000000000000019
r13 = 0x0000077400000000
r14 = 0x0000000000013882
r15 = 0x0000077419602119
rip = 0x0000000004b88761 bug.report.test`Builtins_CallVarargs + 97
rflags = 0x0000000000010212
cs = 0x000000000000002b
fs = 0x0000000000000000
gs = 0x0000000000000000
eax = 0x00000000
ebx = 0x19602119
ecx = 0x00013882
edx = 0x08b42181
edi = 0x081d6ea5
esi = 0x081cf4ad
ebp = 0x0230b5d0
esp = 0x0226f100
r8d = 0x0226f110
r9d = 0x000037de
r10d = 0x08b42181
r11d = 0x0960df81
r12d = 0x00000019
r13d = 0x00000000
r14d = 0x00013882
r15d = 0x19602119
ax = 0x0000
bx = 0x2119
cx = 0x3882
dx = 0x2181
di = 0x6ea5
si = 0xf4ad
bp = 0xb5d0
sp = 0xf100
r8w = 0xf110
r9w = 0x37de
r10w = 0x2181
r11w = 0xdf81
r12w = 0x0019
r13w = 0x0000
r14w = 0x3882
r15w = 0x2119
ah = 0x00
bh = 0x21
ch = 0x38
dh = 0x21
al = 0x00
bl = 0x19
cl = 0x82
dl = 0x81
dil = 0xa5
sil = 0xad
bpl = 0xd0
spl = 0x00
r8l = 0x10
r9l = 0xde
r10l = 0x81
r11l = 0x81
r12l = 0x19
r13l = 0x00
r14l = 0x82
r15l = 0x19
Floating Point Registers:
fctrl = 0x037f
fstat = 0x0000
ftag = 0x0000
fop = 0x0000
fioff = 0x00000000
fiseg = 0x0000
fooff = 0x00000000
foseg = 0x0000
mxcsr = 0x00001fa1
mxcsrmask = 0x0000ffff
stmm0 = {0x37 0xcd 0x02 0x00 0x00 0x00 0x00 0x00 0xff 0xff}
stmm1 = {0xef 0x1b 0x35 0xed 0xff 0xff 0x01 0x00 0xff 0xff}
stmm2 = {0xff 0xff 0x01 0x00 0x00 0x00 0x00 0x00 0xff 0xff}
stmm3 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
stmm4 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
stmm5 = {0x84 0xff 0x73 0xff 0x00 0x00 0x00 0x00 0xff 0xff}
stmm6 = {0x76 0x76 0xc1 0x14 0x00 0x00 0x00 0x00 0xff 0xff}
stmm7 = {0x00 0x00 0x70 0xff 0x00 0x00 0x00 0x00 0xff 0xff}
ymm0 = {0xaf 0xde 0xad 0x0b 0xad 0xde 0xad 0x1b 0xaf 0xde 0xad 0x0b 0xad 0xde 0xad 0x1b 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
ymm1 = {0x08 0x09 0x0a 0x0b 0x0c 0x0d 0x0e 0x0f 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
ymm2 = {0xaf 0xde 0xad 0x0b 0xad 0xde 0xad 0x1b 0xaf 0xde 0xad 0x0b 0xad 0xde 0xad 0x1b 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
ymm3 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
ymm4 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
ymm5 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
ymm6 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
ymm7 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
ymm8 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
ymm9 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
ymm10 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
ymm11 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
ymm12 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
ymm13 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
ymm14 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
ymm15 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
xmm0 = {0xaf 0xde 0xad 0x0b 0xad 0xde 0xad 0x1b 0xaf 0xde 0xad 0x0b 0xad 0xde 0xad 0x1b}
xmm1 = {0x08 0x09 0x0a 0x0b 0x0c 0x0d 0x0e 0x0f 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07}
xmm2 = {0xaf 0xde 0xad 0x0b 0xad 0xde 0xad 0x1b 0xaf 0xde 0xad 0x0b 0xad 0xde 0xad 0x1b}
xmm3 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
xmm4 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
xmm5 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
xmm6 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
xmm7 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
xmm8 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
xmm9 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
xmm10 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
xmm11 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
xmm12 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
xmm13 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
xmm14 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
xmm15 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00}
Exception State Registers:
trapno = 0x0000000e
err = 0x00000006
faultvaddr = 0x000070000228b000
(lldb) memory read -s8 -fx -c64 0x000070000226f100
0x70000226f100: 0x0000000004b8fb81 0x0000077408b42181
0x70000226f110: 0x0000077400000000 0x0000077400000000
0x70000226f120: 0x0000077408b522d1 0x0000077408b522e9
0x70000226f130: 0x0000077408b52301 0x0000077408b52319
0x70000226f140: 0x0000077408b52331 0x0000077408b52349
0x70000226f150: 0x0000077408b52361 0x0000077408b52379
0x70000226f160: 0x0000077408b52391 0x0000077408b523a9
0x70000226f170: 0x0000077408b523c1 0x0000077408b523d9
0x70000226f180: 0x0000077408b523f1 0x0000077408b52409
0x70000226f190: 0x0000077408b52421 0x0000077408b52439
0x70000226f1a0: 0x0000077408b52451 0x0000077408b52469
0x70000226f1b0: 0x0000077408b52481 0x0000077408b52499
0x70000226f1c0: 0x0000077408b524b1 0x0000077408b524c9
0x70000226f1d0: 0x0000077408b524e1 0x0000077408b524f9
0x70000226f1e0: 0x0000077408b52511 0x0000077408b52529
0x70000226f1f0: 0x0000077408b52541 0x0000077408b52559
0x70000226f200: 0x0000077408b52571 0x0000077408b52589
0x70000226f210: 0x0000077408b525a1 0x0000077408b525b9
0x70000226f220: 0x0000077408b525d1 0x0000077408b525e9
0x70000226f230: 0x0000077408b52601 0x0000077408b52619
0x70000226f240: 0x0000077408b52631 0x0000077408b52649
0x70000226f250: 0x0000077408b52661 0x0000077408b52679
0x70000226f260: 0x0000077408b52691 0x0000077408b526a9
0x70000226f270: 0x0000077408b526c1 0x0000077408b526d9
0x70000226f280: 0x0000077408b526f1 0x0000077408b52709
0x70000226f290: 0x0000077408b52721 0x0000077408b52739
0x70000226f2a0: 0x0000077408b52751 0x0000077408b52769
0x70000226f2b0: 0x0000077408b52781 0x0000077408b52799
0x70000226f2c0: 0x0000077408b527b1 0x0000077408b527c9
0x70000226f2d0: 0x0000077408b527e1 0x0000077408b527f9
0x70000226f2e0: 0x0000077408b52811 0x0000077408b52829
0x70000226f2f0: 0x0000077408b52841 0x0000077408b52859
(lldb) memory read -s8 -fx -c64 0x000070000226f000
0x70000226f000: 0x0000000000000000 0x0000000000000000
0x70000226f010: 0x0000000000000000 0x0000000000000000
0x70000226f020: 0x0000000000000000 0x0000000000000000
0x70000226f030: 0x0000000000000000 0x0000000000000000
0x70000226f040: 0x0000000000000000 0x0000000000000000
0x70000226f050: 0x0000000000000000 0x0000000000000000
0x70000226f060: 0x0000000000000000 0x0000000000000000
0x70000226f070: 0x0000000000000000 0x0000000000000000
0x70000226f080: 0x0000000000000000 0x0000000000000000
0x70000226f090: 0x0000000000000000 0x0000000000000000
0x70000226f0a0: 0x0000000000000000 0x0000000000000000
0x70000226f0b0: 0x0000000000000000 0x0000000000000000
0x70000226f0c0: 0x0000000000000000 0x0000000000000000
0x70000226f0d0: 0x0000000000000000 0x0000000000000000
0x70000226f0e0: 0x0000000000000000 0x0000000000000000
0x70000226f0f0: 0x0000000000000000 0x0000000000000000
0x70000226f100: 0x0000000004b8fb81 0x0000077408b42181
0x70000226f110: 0x0000077400000000 0x0000077400000000
0x70000226f120: 0x0000077408b522d1 0x0000077408b522e9
0x70000226f130: 0x0000077408b52301 0x0000077408b52319
0x70000226f140: 0x0000077408b52331 0x0000077408b52349
0x70000226f150: 0x0000077408b52361 0x0000077408b52379
0x70000226f160: 0x0000077408b52391 0x0000077408b523a9
0x70000226f170: 0x0000077408b523c1 0x0000077408b523d9
0x70000226f180: 0x0000077408b523f1 0x0000077408b52409
0x70000226f190: 0x0000077408b52421 0x0000077408b52439
0x70000226f1a0: 0x0000077408b52451 0x0000077408b52469
0x70000226f1b0: 0x0000077408b52481 0x0000077408b52499
0x70000226f1c0: 0x0000077408b524b1 0x0000077408b524c9
0x70000226f1d0: 0x0000077408b524e1 0x0000077408b524f9
0x70000226f1e0: 0x0000077408b52511 0x0000077408b52529
0x70000226f1f0: 0x0000077408b52541 0x0000077408b52559
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment