Bug #78415 [NEW]: PHP Crashes when assigning empty array to reference variable
From: josef dot sabl at gmail dot com
Operating system: Windows 10
PHP version: 7.3.8
Package: Built-in web server
Bug Type: Bug
Bug description:PHP Crashes when assigning empty array to reference variable
Description:
------------
I am running the built-in server on Windows (no install, just downloaded
sources from windows.php.net x64-ts).
The first time the crash appeared I had 7.3.6 but it persists in 7.3.8.
It happened to two developers with separate configurations.
This crash is of the sort that appears randomly, is reproducible for
some short time and then goes away.
Our application is using Nette Framework with Tracy debug bar and I
traced the crash to this particular line:
https://github.com/nette/tracy/blob/8b6796afb25fb92e070d4ef7055a8f64e3c47bc1/src/Tracy/Dumper/Dumper.php#L491
Disabling some Tracy panels resolved the problem but also adding some
nonsensical line before the aforementioned line did.
This is my php.ini:
https://www.dropbox.com/s/77zishtc8a9wd6v/php.ini?dl=0
This is the info from Windows Events / Windows Error Reporting
System
- Provider
[ Name] Application Error
- EventID 1000
[ Qualifiers] 0
Level 2
Task 100
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2019-08-08T10:45:02.566529300Z
EventRecordID 18769
Channel Application
Computer ***************
Security
- EventData
php.exe
7.3.8.0
5d403ccb
php7ts.dll
7.3.8.0
5d40492e
c0000005
0000000000031f30
4958
01d54dd63510dea2
D:\php\7.3.8\php.exe
D:\php\7.3.8\php7ts.dll
b0e34898-da46-48cd-8108-4013db88c1c5
If I can do more to help diagnose this, please let me know.
--
Edit bug report at https://bugs.php.net/bug.php?id=78415&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78415&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78415&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78415&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78415&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78415&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78415&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78415&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78415&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78415&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78415&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78415&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78415&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78415&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78415&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78415&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78415&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78415&r=mysqlcfg
Thread (3 messages)
- josef dot sabl at gmail dot com