Skip to content

Instantly share code, notes, and snippets.

@ptarjan
Created April 11, 2014 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ptarjan/10433295 to your computer and use it in GitHub Desktop.
Save ptarjan/10433295 to your computer and use it in GitHub Desktop.
Breakpoint 2, mprotect () at ../sysdeps/unix/syscall-template.S:81
81 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
(gdb) bt
#0 mprotect () at ../sysdeps/unix/syscall-template.S:81
#1 0x0000000007f9d319 in HPHP::CodeCache::unprotect (this=0x7ffff0deae00) at hphp/util/code-cache.cpp:184
#2 0x0000000006d839e8 in HPHP::JIT::Lease::acquire (this=0xe5b87e0 <HPHP::JIT::Translator::s_writeLease>, blocking=false) at hphp/runtime/vm/jit/write-lease.cpp:94
#3 0x0000000006d83ba7 in HPHP::JIT::LeaseHolderBase::LeaseHolderBase (this=0x7fffffffbbe0, l=..., acquire=HPHP::JIT::ACQUIRE) at hphp/runtime/vm/jit/write-lease.cpp:129
#4 0x00000000067d38e3 in HPHP::JIT::LeaseHolder::LeaseHolder (this=0x7fffffffbbe0, l=...) at ./hphp/runtime/vm/jit/write-lease.h:101
#5 0x0000000006d2d119 in HPHP::JIT::MCGenerator::createTranslation (this=0x7ffff0deae00, args=...) at hphp/runtime/vm/jit/mc-generator.cpp:425
#6 0x0000000006d2cae6 in HPHP::JIT::MCGenerator::getTranslation (this=0x7ffff0deae00, args=...) at hphp/runtime/vm/jit/mc-generator.cpp:360
#7 0x0000000006d2fff3 in HPHP::JIT::MCGenerator::enterTC (this=0x7ffff0deae00, start=0x0, data=0x0) at hphp/runtime/vm/jit/mc-generator.cpp:1188
#8 0x0000000006e0d6f4 in HPHP::JIT::MCGenerator::enterTCAfterPrologue (this=0x7ffff0deae00,
start=0x10c08230 "H\211\357H\211\336\350\070\337\325\365\377\340\017\vUH\211\345\377w\b\377\067H\307", <incomplete sequence \306>)
at ./hphp/runtime/vm/jit/mc-generator.h:176
#9 0x0000000006e139d3 in HPHP::ExecutionContext::enterVMAtFunc (this=0x7ffff0c51e00, enterFnAr=0x7fffe9f7ffc0) at hphp/runtime/vm/bytecode.cpp:1485
#10 0x0000000006e13cdd in HPHP::ExecutionContext::enterVM (this=0x7ffff0c51e00, ar=0x7fffe9f7ffc0, pc=0x0, exception=0x0) at hphp/runtime/vm/bytecode.cpp:1542
#11 0x0000000006e14cb5 in HPHP::ExecutionContext::invokeFunc (this=0x7ffff0c51e00, retval=0x7fffffffc520, f=0x78c35e80, args_=Null, this_=0x0, cls=0x0, varEnv=0x7ffff0df5140,
invName=0x0, flags=HPHP::ExecutionContext::InvokePseudoMain) at hphp/runtime/vm/bytecode.cpp:1753
#12 0x0000000006e15fa2 in HPHP::ExecutionContext::invokeUnit (this=0x7ffff0c51e00, retval=0x7fffffffc520, unit=0x78c373c0) at hphp/runtime/vm/bytecode.cpp:1914
#13 0x0000000006695de2 in HPHP::invoke_file_impl (res=Uninit, path=SmartPtr<HPHP::StringData> = {...}, once=true, currentDir=0x9f1c8d6 "")
at hphp/runtime/base/builtin-functions.cpp:827
#14 0x0000000006695caf in HPHP::invoke_file (s=SmartPtr<HPHP::StringData> = {...}, once=true, currentDir=0x9f1c8d6 "") at hphp/runtime/base/builtin-functions.cpp:810
#15 0x0000000006695b26 in HPHP::include_impl_invoke (file=SmartPtr<HPHP::StringData> = {...}, once=true, currentDir=0x9f1c8d6 "") at hphp/runtime/base/builtin-functions.cpp:793
#16 0x00000000066e8ba0 in HPHP::hphp_invoke (context=0x7ffff0c51e00, cmd=..., func=false, funcParams=SmartPtr<HPHP::ArrayData>(Null), funcRet=..., reqInitFunc=...,
reqInitDoc=..., error=@0x7fffffffc7ce: false, errorMsg=..., once=true, warmupOnly=false, richErrorMsg=false) at hphp/runtime/base/program-functions.cpp:1697
#17 0x00000000066e879f in HPHP::hphp_invoke_simple (filename=..., warmupOnly=false) at hphp/runtime/base/program-functions.cpp:1661
#18 0x00000000066e6a1f in HPHP::execute_program_impl (argc=16, argv=0x7fffffffd988) at hphp/runtime/base/program-functions.cpp:1409
#19 0x00000000066e3a83 in HPHP::execute_program (argc=16, argv=0x7fffffffd988) at hphp/runtime/base/program-functions.cpp:885
#20 0x0000000005711065 in main (argc=16, argv=0x7fffffffd988) at hphp/hhvm/main.cpp:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment