|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76402 run-tests can never succeed
Submitted: 2018-06-01 11:08 UTC Modified: 2020-09-14 11:50 UTC
Avg. Score:4.3 ± 0.9
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: 180601 at vmlinuz dot nl Assigned: cmb (profile)
Status: Closed Package: mailparse (PECL)
PHP Version: 7.2.6 OS: RHEL6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: 180601 at vmlinuz dot nl
New email:
PHP Version: OS:


 [2018-06-01 11:08 UTC] 180601 at vmlinuz dot nl
While building a RPM for this pecl module, I came across errors when running "make test" for tests/011.phpt, tests/bug001.phpt and tests/parse_test_messages.phpt. 

- 011.phpt: this test expects 7 results, but there are only 4 input files bundled in testdata.
- bug001.phpt: this test wants to use a non-existent file testdata/m0001.txt
Above defects mean the test can never succeed.

Also, parse_test_messages.phpt segfaults after running, which could mean there's a memory leak. This segfault does not occur when running $mime=null; just before exitting the test-script in order to forcefully free the memory.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-09-14 11:50 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2020-09-14 11:50 UTC]
This issue is fixed as of mailparse 3.0.3.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Sep 24 18:03:38 2021 UTC