Skip to content

Instantly share code, notes, and snippets.

@awinograd
Created June 20, 2016 23:52
Show Gist options
  • Save awinograd/72c1b6d09c777848f9eb975642170673 to your computer and use it in GitHub Desktop.
Save awinograd/72c1b6d09c777848f9eb975642170673 to your computer and use it in GitHub Desktop.
(gdb) walkstk
#0 {inline frame} @ 0x7f6c0368c5f7: raise()
#1 {inline frame} @ 0x7f6c0368c5f7: abort()
#2 0x7f6bdabf6430 @ 0x7f6c0368c5f7: HPHP::bt_handler() at /home/awinograd/build_hhvm/hhvm/hphp/runtime/base/crash-reporter.cpp:43
#3 {inline frame} @ 0x7f6c08c48100: __restore_rt()
#4 0x7f6bdabf6a00 @ 0x7f6c08c48100: HPHP::Func::validate() at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/func-inl.h:73
#5 0x7f6bdabf6a30 @ 0x056636d7: HPHP::Func::fromFuncId() at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/func.cpp:357
#6 0x7f6bdabf6a50 @ 0x05728433: HPHP::SrcKey::func() at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/srckey-inl.h:120
#7 0x7f6bdabf6cc0 @ 0x061ad17a: HPHP::jit::TransRec::print() at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/jit/trans-rec.cpp:146
#8 0x7f6bdabf6da0 @ 0x05f4f1eb: HPHP::jit::MCGenerator::dumpTCData() at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/jit/mc-generator.cpp:2216
#9 0x7f6bdabf6e00 @ 0x05f4ef54: HPHP::jit::MCGenerator::dumpTC() at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/jit/mc-generator.cpp:2180
#10 0x7f6bdabf7430 @ 0x05083578: HPHP::bt_handler() at /home/awinograd/build_hhvm/hhvm/hphp/runtime/base/crash-reporter.cpp:110
#11 {inline frame} @ 0x7f6c08c48100: __restore_rt()
#12 {inline frame} @ 0x7f6c08c48100: raise()
#13 {inline frame} @ 0x7f6c08c48100: abort()
#14 {inline frame} @ 0x7f6c08c48100: __assert_fail_base()
#15 {inline frame} @ 0x7f6c08c48100: __assert_fail()
#16 {inline frame} @ 0x7f6c08c48100: HPHP::Class::setSpecial() at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/class.cpp:1267
#17 {inline frame} @ 0x7f6c08c48100: HPHP::Class::Class(HPHP::PreClass*, HPHP::Class*, std::vector<HPHP::AtomicSharedPtrImpl<HPHP::Class, true>, std::allocator<HPHP::AtomicSharedPtrImpl<HPHP::Class, true> > >&&, unsigned int, unsigned int)() at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/class.cpp:1410
#18 {inline frame} @ 0x7f6c08c48100: HPHP::Class::newClass() at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/class.cpp:233
#19 {inline frame} @ 0x7f6c08c48100: HPHP::Unit::defClass() at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/unit.cpp:739
#20 {inline frame} @ 0x7f6c08c48100: HPHP::iopDefCls() at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/bytecode.cpp:5013
#21 {inline frame} @ 0x7f6c08c48100: HPHP::iopWrapper() at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/bytecode.cpp:6014
#22 {inline frame} @ 0x7f6c08c48100: HPHP::interpOneDefCls() at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/bytecode.cpp:6521
#23 {inline frame} @ 0x7f6c08c48100: <unknown>
#24 {inline frame} @ 0x7f6c08c48100: <unknown>
#25 {inline frame} @ 0x7f6c08c48100: <unknown>
#26 {inline frame} @ 0x7f6c08c48100: <unknown>
#27 {inline frame} @ 0x7f6c08c48100: <unknown>
#28 {inline frame} @ 0x7f6c08c48100: <unknown>
#29 0x7f6c037d5288 @ 0x7f6c08c48100: HPHP::jit::x64::enterTCImpl() at /home/awinograd/build_hhvm/hhvm/hphp/runtime/vm/jit/unique-stubs-x64.cpp:371
#30 0x253a732573257325 @ 0x4173257325203a75: <unknown>
Traceback (most recent call last):
File "/home/awinograd/hhvm/hphp/tools/gdb/gdbutils.py", line 55, in wrapped
return func(*args, **kwds)
File "/home/awinograd/hhvm/hphp/tools/gdb/stack.py", line 92, in invoke
fp = fp[0].cast(fp_type)
MemoryError: Cannot access memory at address 0x253a732573257325
Python Exception <class 'gdb.MemoryError'> Cannot access memory at address 0x253a732573257325:
Error occurred in Python command: Cannot access memory at address 0x253a732573257325
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment