phacility / xhprof

XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based user interface.
http://pecl.php.net/package/xhprof
Apache License 2.0
2.6k stars 925 forks source link

fixed segfault with auto_append_file #61

Closed tony2001 closed 9 years ago

tony2001 commented 9 years ago

The segfault happens because data->prev_execute_data is NULL in the appended file.

epriestley commented 9 years ago

I added a similar test for this in fdd10ab and applied the fix in a3bc669. Thanks!