php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78415 PHP Crashes when assigning empty array to reference variable
Submitted: 2019-08-14 12:31 UTC Modified: 2019-08-25 04:22 UTC
From: josef dot sabl at gmail dot com Assigned:
Status: No Feedback Package: Built-in web server
PHP Version: 7.3.8 OS: Windows 10
Private report: No CVE-ID: None
 [2019-08-14 12:31 UTC] josef dot sabl at gmail dot com
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.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-08-14 12:41 UTC] requinix@php.net
-Status: Open +Status: Feedback
 [2019-08-14 12:41 UTC] requinix@php.net
- A backtrace would be helpful. http://bugs.php.net/bugs-generating-backtrace-win32.php
- Also try with any Zend extensions you may have disabled, including Xdebug and opcache.
- Is it only with the built-in server? Does it still crash through FPM or the CLI?

> Disabling some Tracy panels resolved the problem but also adding some nonsensical line before the aforementioned
> line did.
Explain?
 [2019-08-25 04:22 UTC] php-bugs 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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC