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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
29 - 1 = ?
Subscribe to this entry?

 
 [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-2020 The PHP Group
All rights reserved.
Last updated: Tue Nov 24 07:01:24 2020 UTC