xhprof icon indicating copy to clipboard operation
xhprof copied to clipboard

Segmentation fault when xhprof extension is enabled

Open danepowell opened this issue 6 years ago • 0 comments

Recently, I started getting segmentation faults when using certain PHP libraries (such as caxy/php-htmldiff). I noticed that the faults only occur when the xhprof php extension is enabled. If I disable it, the segfaults disappear. So I surmise that either xhprof is causing the segfaults, or the problem is perhaps with memory allocation and xhprof just happened to be the extension to trigger the problem. Either way, I'd appreciate some help.

Here's the backtrace from the core dump: https://pastebin.com/4iVHND1G

Here's the full background on the issue (I originally thought it was a problem with the caxy/php-htmldiff library): https://github.com/caxy/php-htmldiff/issues/74

danepowell avatar Mar 28 '18 20:03 danepowell