Skip to content

Segmentation fault mailparse 3.1.9 #44

@eXorus

Description

@eXorus

Hi, I’m the maintainer of php-mime-mail-parser, which depends on mailparse. When running our full test suite under PHP 8.5 with mailparse 3.1.9, all tests pass but PHP crashes immediately after PHPUnit finishes.

Details:

  • PHP 8.0–8.4 work fine with earlier mailparse versions.
  • The crash only occurs on PHP 8.5 with mailparse 3.1.9.
  • PHPUnit 9.6.29 is used.

Here is the issue:
https://github.com/php-mime-mail-parser/php-mime-mail-parser/actions/runs/19296608895/job/55180068007?pr=473

PHPUnit 9.6.22 by Sebastian Bergmann and contributors.

...............................................................  63 / 159 ( 39%)
............................................................... 126 / 159 ( 79%)
.................................                               159 / 159 (100%)

Time: 00:00.516, Memory: 31.12 MB

OK (159 tests, 1915 assertions)
/home/runner/work/_temp/6157c364-f825-41de-9817-34a9b5a077e6.sh: line 1:  5366 Segmentation fault      (core dumped) vendor/bin/phpunit
Error: Process completed with exit code 139.

Thanks for looking into this — I’m happy to provide more details or help debug if needed.

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