View Issue Details

IDProjectCategoryView StatusLast Update
0002310XdebugUncategorizedpublic2025-01-06 15:35
ReporterJFox23 Assigned To 
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionduplicate 
PlatformMac Mini 2023 (Apple Silicon)OSMacOS VenturaOS Version13.7.1
Product Version3.4.0 
Fixed in Version3.4.1 
Summary0002310: xdebug 3.4.0 crashes php8.1-fpm after script execution
Description

After upgrading to xdebug 3.4.0, php8.1-fpm crashes after script execution with either SIGSEGV (11) or SIGBUS (10)

[18-Dec-2024 11:57:07] WARNING: [pool www] child 46843 exited on signal 11 (SIGSEGV) after 6.086957 seconds from start
[18-Dec-2024 11:57:07] NOTICE: [pool www] child 46893 started

[18-Dec-2024 12:12:06] WARNING: [pool www] child 853 exited on signal 10 (SIGBUS) after 80.854785 seconds from start
[18-Dec-2024 12:12:06] NOTICE: [pool www] child 1248 started

According to xdebug traces i did to find out whats wrong, scripts were executed to the last line and then the crash happened.
Reverting xdebug to version 3.3.2 solved the problem.

Steps To Reproduce

Dont know how to reproduce or if that can be reproduced, after upgrading to xdebug 3.4.0 php8.1-fpm crashed randomly when trying to use the web application i am working on.

Additional Information

PHP 8.1.30 (cli) (built: Oct 13 2024 17:27:38) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.30, Copyright (c) Zend Technologies
with Zend OPcache v8.1.30, Copyright (c), by Zend Technologies
with Xdebug v3.3.2, Copyright (c) 2002-2024, by Derick Rethans

Tagscrash
Operating System
PHP Version8.1.30-8.1.39

Relationships

duplicate of 0002307 closedderick Segmentation fault due to a superglobal being a reference while checking for triggers 

Activities

JFox23

2024-12-20 13:01

reporter   ~0007127

Settings from php.ini:
xdebug.max_nesting_level = 1024
xdebug.mode = coverage,debug,gcstats,profile,trace
xdebug.profiler_enable_trigger = 1
xdebug.output_dir = /Users/xxx/xdebug/
xdebug.profiler_output_dir = /Users/xxx/xdebug/
xdebug.profiler_output_name = callgrind.out.%p
xdebug.remote_connect_back = false
xdebug.remote_enable = true
xdebug.client_host = localhost
xdebug.client_port = 9000
xdebug.remote_timeout = 200
xdebug.start_with_request = trigger
xdebug.trace_enable_trigger = true
xdebug.use_compression = false

derick

2024-12-20 16:25

administrator   ~0007130

I am pretty sure this is a duplicate of 0002307, for which I have just made a PR with a fix: https://github.com/xdebug/xdebug/pull/987

derick

2025-01-06 15:33

administrator   ~0007141

Fixed for 3.4.1.