php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79035 undefined symbol: TSRMLS_FETCH when using function uploadprogress_get_info
Submitted: 2019-12-26 12:44 UTC Modified: 2020-01-27 16:14 UTC
From: wiliamdes at wdes dot fr Assigned: ramsey (profile)
Status: Closed Package: uploadprogress (PECL)
PHP Version: Next Major Version OS: Ubuntu
Private report: No CVE-ID: None
 [2019-12-26 12:44 UTC] wiliamdes at wdes dot fr
Description:
------------
When using the function uploadprogress_get_info on php 8.0.0-dev

Crashes the process (error 502 using nginx)

https://github.com/phpmyadmin/phpmyadmin/issues/15707

Test script:
---------------
uploadprogress_get_info("5e049731eae7e");


Using docker:
docker run --rm devilbox/php-fpm:8.0-mods php -r 'uploadprogress_get_info("5e049731eae7e");'



Expected result:
----------------
docker run --rm devilbox/php-fpm:7.4-mods php -r 'var_dump(uploadprogress_get_info("5e049731eae7e"));'

returns NULL and does not crash (php 7.4.1-dev)

Actual result:
--------------
php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20190128/uploadprogress.so: undefined symbol: TSRMLS_FETCH

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-12-26 15:11 UTC] cmb@php.net
-Status: Open +Status: Suspended
 [2019-12-26 15:11 UTC] cmb@php.net
PECL/uploadprogress had its last release more than 8 years ago,
and is unmaintained.  Until a new maintainer steps forward, I'm
suspending this ticket.
 [2020-01-26 01:10 UTC] ramsey@php.net
-Status: Suspended +Status: Open -Assigned To: +Assigned To: ramsey
 [2020-01-27 16:14 UTC] ramsey@php.net
-Status: Assigned +Status: Closed
 [2020-01-27 16:14 UTC] ramsey@php.net
This is fixed in version 1.1.2, released yesterday. https://pecl.php.net/package/uploadprogress/1.1.2
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 03:01:28 2024 UTC