Skip to content

Segmentation fault when xhprof extension is enabled #102

@danepowell

Description

@danepowell

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): caxy/php-htmldiff#74

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions