|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80979 SIGSEGV - core dumped on simple form submit
Submitted: 2021-04-25 19:25 UTC Modified: 2021-10-10 04:22 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: williamdes at wdes dot fr Assigned: ramsey (profile)
Status: No Feedback Package: uploadprogress (PECL)
PHP Version: 7.4.16 OS: Alpine/Debian/Ubuntu
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: williamdes at wdes dot fr
New email:
PHP Version: OS:


 [2021-04-25 19:25 UTC] williamdes at wdes dot fr
When trying to upload on phpMyAdmin I could see the upload progress is killing PHP each time.

I extracted the issue into a very simple example.
enctype="multipart/form-data" Seems to be the problem, remove it and it does not crash.

Tested with Nginx<>PHP-FPM or HaProxy<>PHP-FPM

I tested multiple versions of PHP: 5.5, 7.0, 7.1, 7.2, 7.3, 7.4

Not affected versions: 8.0, 8.1

Is this config specific: no. You can see this Alpine docker config that will make the error using my example file:

Any Docker container by devilbox will also do the trick.

Test script:
    <h1>Using PHP: <?php echo phpversion(); ?></h1>
    <form id="import_file_form" method="post" enctype="multipart/form-data" name="import" class="ajax" >
        <input type="file" name="uf">
        <input type="hidden" name="UPLOAD_IDENTIFIER" value="<?php echo bin2hex(openssl_random_pseudo_bytes(16)); ?>">
        <input type="submit" name="Submit">

Expected result:
Let me upload

Actual result:
child 16 exited on signal 11 (SIGSEGV - core dumped) after 3.091277 seconds from start


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-09-28 23:59 UTC]
-Assigned To: +Assigned To: ramsey
 [2021-09-29 00:01 UTC]
-Status: Assigned +Status: Feedback
 [2021-09-29 00:01 UTC]
This might be related to #79584, which was fixed in version 1.1.4. Please try again with the latest version.
 [2021-10-10 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 [2022-04-16 10:48 UTC] williamdes at wdes dot fr
I tested with uploadprogress 2.0.2 and PHP 7.4.28 and it seems like this is now fixed.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon May 29 19:03:42 2023 UTC