View Issue Details

IDProjectCategoryView StatusLast Update
0002037XdebugProfilingpublic2021-10-20 10:26
Reportersherin.flower Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version3.1.1 
Target Version3.1devFixed in Version3.1dev 
Summary0002037: Crash when profile file can not be created
DescriptionOriginal report from: https://bugs.xdebug.org/view.php?id=2033#c6125

I have the same problem, except for me its the `profiler` option and i use php 7.4 fpm instead of php 8.
Error occurred since XDebug 3.1.1 (Running 'pecl install xdebug' inside Docker)

I managed to reproduce it: https://github.com/SherinBloemendaal/xdebug-segfault-repro
Steps:
- git clone the repo
- cd repo-location
- docker-compose up
- go to: http://localhost
- error: 502 Bad gateway + check log (child 7 exited on signal 11 (SIGSEGV - core dumped) after 4.304557 seconds from start)

I hope this helps! Thanks!

Kind regards
Sherin
TagsNo tags attached.
Operating System
PHP Version8.0.5-8.0.9

Activities

derick

2021-10-20 09:17

administrator   ~0006126

I can reproduce this much easier, without the complicated need for Docker:

$ php -n -dzend_extension=xdebug -dxdebug.mode=profile -dxdebug.log=/tmp/xdebug.log -dxdebug.output_dir=/tmp/fasdf -r 'phpinfo();'

derick

2021-10-20 10:06

administrator   ~0006128

https://github.com/xdebug/xdebug/pull/805

Issue History

Date Modified Username Field Change
2021-10-20 09:16 derick New Issue
2021-10-20 09:17 derick Reporter derick => sherin.flower
2021-10-20 09:17 derick Status new => acknowledged
2021-10-20 09:17 derick Note Added: 0006126
2021-10-20 10:06 derick Note Added: 0006128
2021-10-20 10:26 derick Assigned To => derick
2021-10-20 10:26 derick Status acknowledged => closed
2021-10-20 10:26 derick Resolution open => fixed
2021-10-20 10:26 derick Fixed in Version => 3.1dev