Segfault when evaling for the debugger
commit1d68aeb8763d8e011d6d8ce7cec98dddd2f97d0e
authorMike Magruder <mikemag@fb.com>
Mon, 13 May 2013 23:49:36 +0000 (13 16:49 -0700)
committerSara Golemon <sgolemon@fb.com>
Wed, 15 May 2013 20:05:10 +0000 (15 13:05 -0700)
tree8f2f3ff2097d1c1e6d08ed061b9b447dd51ff18e
parent9309f4c9c7f6f8acb9b4472c1ad98fdc3f19fd97
Segfault when evaling for the debugger

Fix a sigfault when we eval a snippet of PHP for the debugger. If there is no activation record (between the end of a request and PSP, before first function execution of the request, etc.) we'd segfault setting up the invocation. Fixed to tolerate that case.
hphp/runtime/vm/bytecode.cpp