View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002229 | Xdebug | Step Debugging | public | 2023-12-19 09:29 | 2024-03-28 16:59 |
Reporter | cvirag | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | duplicate | ||
Platform | Docker ARM64 | OS | Debian | OS Version | 12 |
Product Version | 3.3.1 | ||||
Summary | 0002229: Sigsegv when breakpoint is set | ||||
Description | Hello, I have a recently built Docker php:8.1-fpm package with xdebug enabled.
Running PHP with XDEBUG_MODE=develop,debug On client side, Visual Studio Code Extension "PHP Debug" version 1.34.0 is used. If I enable a breakpoint, PHP-FPM crashes. Without breakpoints, requests to PHP-FPM are served properly.
| ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 8.1.10-8.1.19 | ||||
|
Would you be able to provide an Xdebug log as well? It's explained at https://xdebug.org/reporting-bugs#step-debugger ? |
|
We are experiencing the same issue as described. xdebug 3.2.2 is working fine, starting 3.3.0 we are having the issues. I attached the xdebug log. If there is anything else I can help with. |
|
I have the same issue. Same docker: php:8.1-fpm It seems that php:8.3-fpm + xdebug-3.3.1 works fine. ( I haven't verify it deeply, but at least such configuration doesn't cause described error. ) xdebug-331_php-8126.log (18,797 bytes)
[14693] Log opened at 2023-12-27 12:04:29.786577 [14693] [Config] INFO: Control socket set up succesfully: '@xdebug-ctrl.14693' [14693] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_SESSION' [14693] [Config] INFO: Trigger value for 'XDEBUG_SESSION' not found, so not activating [14693] Log closed at 2023-12-27 12:04:29.786870 [14699] Log opened at 2023-12-27 12:04:29.811922 [14699] [Config] INFO: Control socket set up succesfully: '@xdebug-ctrl.14699' [14699] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_SESSION' [14699] [Config] INFO: Trigger value for 'XDEBUG_SESSION' not found, so not activating [14699] Log closed at 2023-12-27 12:04:29.812203 [16682] Log opened at 2023-12-27 12:04:32.565594 [16682] [Config] INFO: Control socket set up succesfully: '@xdebug-ctrl.16682' [16682] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_SESSION' [16682] [Config] INFO: Trigger value for 'XDEBUG_SESSION' not found, so not activating [16682] Log closed at 2023-12-27 12:04:32.565877 [16688] Log opened at 2023-12-27 12:04:32.591675 [16688] [Config] INFO: Control socket set up succesfully: '@xdebug-ctrl.16688' [16688] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_SESSION' [16688] [Config] INFO: Trigger value for 'XDEBUG_SESSION' not found, so not activating [16688] Log closed at 2023-12-27 12:04:32.591969 [18686] Log opened at 2023-12-27 12:04:36.017013 [18686] [Config] INFO: Control socket set up succesfully: '@xdebug-ctrl.18686' [18686] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_SESSION' [18686] [Config] INFO: Trigger value for 'XDEBUG_SESSION' not found, so not activating [18686] Log closed at 2023-12-27 12:04:36.017320 [18692] Log opened at 2023-12-27 12:04:36.042549 [18692] [Config] INFO: Control socket set up succesfully: '@xdebug-ctrl.18692' [18692] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_SESSION' [18692] [Config] INFO: Trigger value for 'XDEBUG_SESSION' not found, so not activating [18692] Log closed at 2023-12-27 12:04:36.042867 [20635] Log opened at 2023-12-27 12:04:39.564632 [20635] [Config] INFO: Control socket set up succesfully: '@xdebug-ctrl.20635' [20635] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_SESSION' [20635] [Config] INFO: Trigger value for 'XDEBUG_SESSION' not found, so not activating [20635] Log closed at 2023-12-27 12:04:39.564971 [20641] Log opened at 2023-12-27 12:04:39.590236 [20641] [Config] INFO: Control socket set up succesfully: '@xdebug-ctrl.20641' [20641] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_SESSION' [20641] [Config] INFO: Trigger value for 'XDEBUG_SESSION' not found, so not activating [20641] Log closed at 2023-12-27 12:04:39.590539 [8] Log opened at 2023-12-27 12:04:40.324779 [8] [Config] INFO: Control socket set up succesfully: '@xdebug-ctrl.8' [8] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_SESSION' [8] [Config] INFO: Trigger value for 'XDEBUG_SESSION' not found, so not activating [8] Log closed at 2023-12-27 12:04:41.535719 [35] Log opened at 2023-12-27 13:05:25.648658 [35] [Config] INFO: Control socket set up succesfully: '@xdebug-ctrl.35' [35] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_SESSION' [35] [Config] INFO: Trigger value for 'XDEBUG_SESSION' not found, so not activating [35] Log closed at 2023-12-27 13:05:26.241224 [44] Log opened at 2023-12-27 13:06:54.012384 [44] [Config] INFO: Control socket set up succesfully: '@xdebug-ctrl.44' [44] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_SESSION' [44] [Config] INFO: No shared secret: Activating [44] [Step Debug] INFO: Connecting to configured address/port: 172.17.0.1:9003. [44] [Step Debug] INFO: Connected to debugging client: 172.17.0.1:9003 (through xdebug.client_host/xdebug.client_port). [44] [Step Debug] -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file:///var/www/html/project/ezplatform/public/index.php" language="PHP" xdebug:language_version="8.1.26" protocol_version="1.0" appid="44" idekey="PHPSTORM"><engine version="3.3.1"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2023 by Derick Rethans]]></copyright></init> [44] [Step Debug] <- eval -i 1 -- KHN0cmluZykoaW5pX2dldCgneGRlYnVnLmNvdmVyYWdlX2VuYWJsZScpLic7Jy5pbmlfZ2V0KCd4ZGVidWcucHJvZmlsZXJfZW5hYmxlJykuJzsnLmluaV9nZXQoJ3hkZWJ1Zy5yZW1vdGVfYXV0b3N0YXJ0JykuJzsnLmluaV9nZXQoJ3hkZWJ1Zy5yZW1vdGVfY29ubmVjdF9iYWNrJykuJzsnLmluaV9nZXQoJ3hkZWJ1Zy5yZW1vdGVfbW9kZScpKQ== [44] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="eval" transaction_id="1"><property type="string" size="635" encoding="base64"><![CDATA[VGhpcyBzZXR0aW5nIGhhcyBiZWVuIGNoYW5nZWQsIHNlZSB0aGUgdXBncmFkaW5nIGd1aWRlIGF0IGh0dHBzOi8veGRlYnVnLm9yZy9kb2NzL3VwZ3JhZGVfZ3VpZGUjY2hhbmdlZC14ZGVidWcuY292ZXJhZ2VfZW5hYmxlO1RoaXMgc2V0dGluZyBoYXMgYmVlbiBjaGFuZ2VkLCBzZWUgdGhlIHVwZ3JhZGluZyBndWlkZSBhdCBodHRwczovL3hkZWJ1Zy5vcmcvZG9jcy91cGdyYWRlX2d1aWRlI2NoYW5nZWQteGRlYnVnLnByb2ZpbGVyX2VuYWJsZTtUaGlzIHNldHRpbmcgaGFzIGJlZW4gY2hhbmdlZCwgc2VlIHRoZSB1cGdyYWRpbmcgZ3VpZGUgYXQgaHR0cHM6Ly94ZGVidWcub3JnL2RvY3MvdXBncmFkZV9ndWlkZSNjaGFuZ2VkLXhkZWJ1Zy5yZW1vdGVfYXV0b3N0YXJ0O1RoaXMgc2V0dGluZyBoYXMgYmVlbiBjaGFuZ2VkLCBzZWUgdGhlIHVwZ3JhZGluZyBndWlkZSBhdCBodHRwczovL3hkZWJ1Zy5vcmcvZG9jcy91cGdyYWRlX2d1aWRlI2NoYW5nZWQteGRlYnVnLnJlbW90ZV9jb25uZWN0X2JhY2s7VGhpcyBzZXR0aW5nIGhhcyBiZWVuIGNoYW5nZWQsIHNlZSB0aGUgdXBncmFkaW5nIGd1aWRlIGF0IGh0dHBzOi8veGRlYnVnLm9yZy9kb2NzL3VwZ3JhZGVfZ3VpZGUjY2hhbmdlZC14ZGVidWcucmVtb3RlX21vZGU=]]></property></response> [44] [Step Debug] <- feature_set -i 2 -n show_hidden -v 1 [44] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="2" feature="show_hidden" success="1"></response> [44] [Step Debug] <- feature_set -i 3 -n max_depth -v 1 [44] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="3" feature="max_depth" success="1"></response> [44] [Step Debug] <- feature_set -i 4 -n max_children -v 100 [44] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="4" feature="max_children" success="1"></response> [44] [Step Debug] <- feature_set -i 5 -n extended_properties -v 1 [44] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="5" feature="extended_properties" success="1"></response> [44] [Step Debug] <- feature_set -i 6 -n notify_ok -v 1 [44] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="6" feature="notify_ok" success="1"></response> [44] [Step Debug] <- feature_set -i 7 -n resolved_breakpoints -v 1 [44] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="7" feature="resolved_breakpoints" success="1"></response> [44] [Step Debug] <- stdout -i 8 -c 1 [44] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="stdout" transaction_id="8" success="1"></response> [44] [Step Debug] <- status -i 9 [44] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="status" transaction_id="9" status="starting" reason="ok"></response> [44] [Step Debug] <- step_into -i 10 [44] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="step_into" transaction_id="10" status="break" reason="ok"><xdebug:message filename="file:///var/www/html/project/ezplatform/public/index.php" lineno="7"></xdebug:message></response> [44] [Step Debug] <- eval -i 11 -- aXNzZXQoJF9TRVJWRVJbJ1BIUF9JREVfQ09ORklHJ10p [44] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="eval" transaction_id="11"><property type="bool"><![CDATA[1]]></property></response> [44] [Step Debug] <- eval -i 12 -- KHN0cmluZykoJF9TRVJWRVJbJ1BIUF9JREVfQ09ORklHJ10p [44] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="eval" transaction_id="12"><property type="string" size="12" encoding="base64"><![CDATA[c2VydmVyTmFtZT1f]]></property></response> [44] [Step Debug] <- breakpoint_set -i 13 -t line -f file:///var/www/html/project/ezplatform/src/FieldType/CustomQuery/FormMapper/CustomQueryFieldTypeMapper.php -n 35 [44] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="13" id="440001" resolved="unresolved"></response> [44] [Step Debug] <- stack_get -i 14 [44] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="14"><stack where="{main}" level="0" type="file" filename="file:///var/www/html/project/ezplatform/public/index.php" lineno="7"></stack></response> [44] [Step Debug] <- run -i 15 [44] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/html/project/ezplatform/vendor/symfony/error-handler/DebugClassLoader.php" lineno="331" type="Deprecated"><![CDATA[Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Ibexa\Bundle\Core\IbexaCoreBundle" now to avoid errors or add an explicit @return annotation to suppress this message.]]></xdebug:message></notify> [44] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/html/project/ezplatform/vendor/symfony/error-handler/DebugClassLoader.php" lineno="331" type="Deprecated"><![CDATA[Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Ibexa\Bundle\LegacySearchEngine\IbexaLegacySearchEngineBundle" now to avoid errors or add an explicit @return annotation to suppress this message.]]></xdebug:message></notify> [44] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/html/project/ezplatform/vendor/symfony/error-handler/DebugClassLoader.php" lineno="331" type="Deprecated"><![CDATA[Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Ibexa\Bundle\IO\IbexaIOBundle" now to avoid errors or add an explicit @return annotation to suppress this message.]]></xdebug:message></notify> [44] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/html/project/ezplatform/vendor/symfony/error-handler/DebugClassLoader.php" lineno="331" type="Deprecated"><![CDATA[Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtensionClass()" might add "string" as a native return type declaration in the future. Do the same in child class "Ibexa\Bundle\HttpCache\IbexaHttpCacheBundle" now to avoid errors or add an explicit @return annotation to suppress this message.]]></xdebug:message></notify> [44] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/html/project/ezplatform/vendor/symfony/error-handler/DebugClassLoader.php" lineno="331" type="Deprecated"><![CDATA[Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Ibexa\Bundle\HttpCache\IbexaHttpCacheBundle" now to avoid errors or add an explicit @return annotation to suppress this message.]]></xdebug:message></notify> [44] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/html/project/ezplatform/vendor/symfony/error-handler/DebugClassLoader.php" lineno="331" type="Deprecated"><![CDATA[Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Ibexa\Bundle\Solr\IbexaSolrBundle" now to avoid errors or add an explicit @return annotation to suppress this message.]]></xdebug:message></notify> [44] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/html/project/ezplatform/vendor/symfony/error-handler/DebugClassLoader.php" lineno="331" type="Deprecated"><![CDATA[Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Ibexa\Bundle\DesignEngine\IbexaDesignEngineBundle" now to avoid errors or add an explicit @return annotation to suppress this message.]]></xdebug:message></notify> [44] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/html/project/ezplatform/vendor/symfony/error-handler/DebugClassLoader.php" lineno="331" type="Deprecated"><![CDATA[Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Ibexa\Bundle\FieldTypeRichText\IbexaFieldTypeRichTextBundle" now to avoid errors or add an explicit @return annotation to suppress this message.]]></xdebug:message></notify> [44] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/html/project/ezplatform/vendor/symfony/error-handler/DebugClassLoader.php" lineno="331" type="Deprecated"><![CDATA[Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Ibexa\Bundle\GraphQL\IbexaGraphQLBundle" now to avoid errors or add an explicit @return annotation to suppress this message.]]></xdebug:message></notify> [44] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/html/project/ezplatform/vendor/symfony/error-handler/DebugClassLoader.php" lineno="331" type="Deprecated"><![CDATA[Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Overblog\GraphiQLBundle\OverblogGraphiQLBundle" now to avoid errors or add an explicit @return annotation to suppress this message.]]></xdebug:message></notify> [44] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/html/project/ezplatform/vendor/symfony/error-handler/DebugClassLoader.php" lineno="331" type="Deprecated"><![CDATA[Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "BabDev\PagerfantaBundle\BabDevPagerfantaBundle" now to avoid errors or add an explicit @return annotation to suppress this message.]]></xdebug:message></notify> [44] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/html/project/ezplatform/vendor/symfony/error-handler/DebugClassLoader.php" lineno="331" type="Deprecated"><![CDATA[Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Ibexa\Bundle\Fastly\IbexaFastlyBundle" now to avoid errors or add an explicit @return annotation to suppress this message.]]></xdebug:message></notify> [44] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/html/project/ezplatform/vendor/symfony/error-handler/DebugClassLoader.php" lineno="331" type="Deprecated"><![CDATA[Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Ibexa\Bundle\PageBuilder\IbexaPageBuilderBundle" now to avoid errors or add an explicit @return annotation to suppress this message.]]></xdebug:message></notify> [44] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/html/project/ezplatform/vendor/symfony/error-handler/DebugClassLoader.php" lineno="331" type="Deprecated"><![CDATA[Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Ibexa\Bundle\FieldTypePage\IbexaFieldTypePageBundle" now to avoid errors or add an explicit @return annotation to suppress this message.]]></xdebug:message></notify> [44] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="breakpoint_resolved"><breakpoint type="line" resolved="resolved" filename="file:///var/www/html/project/ezplatform/src/FieldType/CustomQuery/FormMapper/CustomQueryFieldTypeMapper.php" lineno="36" state="enabled" hit_count="0" hit_value="0" id="440001"></breakpoint></notify> |
|
@cvirag, is that the whole output of If anybody else can also make a As so far, I haven't been able to reproduce this? |
|
Hi Derick, could this bt be useful to you? xdebug_backtrace.log (5,060 bytes)
$ gdb /usr/local/sbin/php-fpm /tmp/core-php-fpm.46 GNU gdb (Debian 13.1-3) 13.1 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "aarch64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/local/sbin/php-fpm... (No debugging symbols found in /usr/local/sbin/php-fpm) warning: Can't open file /dev/zero (deleted) during file-backed mapping note processing [New LWP 46] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". Core was generated by `php-fpm:'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000ffff9f0ae104 in zend_string_equal_content (s2=0xffff007d31392d39, s1=0xffff9ee030c0) at /usr/local/include/php/Zend/zend_string.h:357 357 return ZSTR_LEN(s1) == ZSTR_LEN(s2) && zend_string_equal_val(s1, s2); (gdb) bt #0 0x0000ffff9f0ae104 in zend_string_equal_content (s2=0xffff007d31392d39, s1=0xffff9ee030c0) at /usr/local/include/php/Zend/zend_string.h:357 #1 zend_string_equals (s2=0xffff007d31392d39, s1=0xffff9ee030c0) at /usr/local/include/php/Zend/zend_string.h:362 #2 mark_fse_as_having_line_breakpoints (fse=0xaaab1be5de40) at /tmp/pear/temp/xdebug/src/debugger/debugger.c:573 #3 handle_breakpoints (return_value=0xffff9ee1c5c0, breakpoint_type=8, fse=0xaaab1be5de40) at /tmp/pear/temp/xdebug/src/debugger/debugger.c:591 #4 xdebug_debugger_handle_breakpoints (fse=fse@entry=0xaaab1be5de40, breakpoint_type=breakpoint_type@entry=8, return_value=return_value@entry=0xffff9ee1c5c0) at /tmp/pear/temp/xdebug/src/debugger/debugger.c:623 #5 0x0000ffff9f0979e4 in xdebug_execute_internal_end (current_execute_data=<optimized out>, return_value=0xffff9ee1c5c0) at /tmp/pear/temp/xdebug/src/base/base.c:998 #6 xdebug_execute_internal (current_execute_data=<optimized out>, return_value=0xffff9ee1c5c0) at /tmp/pear/temp/xdebug/src/base/base.c:1022 #7 0x0000aaaae44ac1b8 in ?? () #8 0x0000aaaae4819838 in execute_ex () #9 0x0000aaaae44ac124 in ?? () #10 0x0000aaaae4819838 in execute_ex () #11 0x0000aaaae44ac124 in ?? () #12 0x0000aaaae4819838 in execute_ex () #13 0x0000aaaae44ac124 in ?? () #14 0x0000aaaae4819838 in execute_ex () #15 0x0000aaaae44ac124 in ?? () #16 0x0000aaaae4819838 in execute_ex () #17 0x0000aaaae44ac124 in ?? () #18 0x0000aaaae4819838 in execute_ex () #19 0x0000aaaae44ac124 in ?? () #20 0x0000aaaae4819838 in execute_ex () #21 0x0000aaaae44ac124 in ?? () #22 0x0000aaaae4819838 in execute_ex () #23 0x0000aaaae44ac124 in ?? () #24 0x0000aaaae4819838 in execute_ex () #25 0x0000aaaae44ac124 in ?? () #26 0x0000aaaae4819838 in execute_ex () #27 0x0000aaaae44ac124 in ?? () #28 0x0000aaaae4819838 in execute_ex () #29 0x0000aaaae44ac124 in ?? () #30 0x0000aaaae4819838 in execute_ex () --Type <RET> for more, q to quit, c to continue without paging--c #31 0x0000aaaae44ac124 in ?? () #32 0x0000aaaae4819838 in execute_ex () #33 0x0000aaaae44ac124 in ?? () #34 0x0000aaaae4819838 in execute_ex () #35 0x0000aaaae44ac124 in ?? () #36 0x0000aaaae4819838 in execute_ex () #37 0x0000aaaae44ac124 in ?? () #38 0x0000aaaae4819838 in execute_ex () #39 0x0000aaaae44ac124 in ?? () #40 0x0000aaaae4819838 in execute_ex () #41 0x0000aaaae44ac124 in ?? () #42 0x0000aaaae4819838 in execute_ex () #43 0x0000aaaae44ac124 in ?? () #44 0x0000aaaae4819838 in execute_ex () #45 0x0000aaaae44ac124 in ?? () #46 0x0000aaaae4819838 in execute_ex () #47 0x0000aaaae44ac124 in ?? () #48 0x0000aaaae4819838 in execute_ex () #49 0x0000aaaae44ac124 in ?? () #50 0x0000aaaae4819838 in execute_ex () #51 0x0000aaaae44ac124 in ?? () #52 0x0000aaaae4819838 in execute_ex () #53 0x0000aaaae44ac124 in ?? () #54 0x0000aaaae4819838 in execute_ex () #55 0x0000aaaae44ac124 in ?? () #56 0x0000aaaae4819838 in execute_ex () #57 0x0000aaaae47e1190 in ?? () #58 0x0000aaaae480e498 in execute_ex () #59 0x0000aaaae4819a7c in zend_execute () #60 0x0000aaaae479a154 in zend_execute_scripts () #61 0x0000aaaae4735650 in php_execute_script () #62 0x0000aaaae44b5d3c in ?? () #63 0x0000ffffa21f7780 in __libc_start_call_main (main=main@entry=0xaaaae44b4f80, argc=argc@entry=1, argv=argv@entry=0xfffff7f46db8) at ../sysdeps/nptl/libc_start_call_main.h:58 #64 0x0000ffffa21f7858 in __libc_start_main_impl (main=0xaaaae44b4f80, argc=1, argv=0xfffff7f46db8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=<optimized out>) at ../csu/libc-start.c:360 #65 0x0000aaaae44b68f0 in _start () |
|
@cvirag, yes, a little. Can you, when you're at the
If you have an cheers, |
|
Hi @derick, please find the xdebug log as well as the output of the additional gdb commands attached (I also included bt in xdebug_gdb_details.log). xdebug-2.log (17,428 bytes)
[53] Log opened at 2024-01-09 12:41:56.212489 [53] [Config] INFO: Control socket set up succesfully: '@xdebug-ctrl.53' [53] [Step Debug] INFO: Connecting to configured address/port: host.docker.internal:9003. [53] [Step Debug] INFO: Connected to debugging client: host.docker.internal:9003 (through xdebug.client_host/xdebug.client_port). [53] [Step Debug] -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file:///var/www/app01/current/public/index.php" language="PHP" xdebug:language_version="8.1.26" protocol_version="1.0" appid="53"><engine version="3.3.1"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2023 by Derick Rethans]]></copyright></init> [53] [Step Debug] <- feature_set -i 1 -n resolved_breakpoints -v 1 [53] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="1" feature="resolved_breakpoints" success="1"></response> [53] [Step Debug] <- feature_set -i 2 -n notify_ok -v 1 [53] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="2" feature="notify_ok" success="1"></response> [53] [Step Debug] <- feature_set -i 3 -n extended_properties -v 1 [53] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="3" feature="extended_properties" success="1"></response> [53] [Step Debug] <- feature_set -i 4 -n breakpoint_include_return_value -v 1 [53] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="4" feature="breakpoint_include_return_value" success="1"></response> [53] [Step Debug] <- feature_set -i 5 -n max_data -v 10240 [53] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="5" feature="max_data" success="1"></response> [53] [Step Debug] <- feature_set -i 6 -n max_children -v 100 [53] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="6" feature="max_children" success="1"></response> [53] [Step Debug] <- breakpoint_set -i 7 -t line -f file:///var/www/app01/current/var/bumper.py -n 240 [53] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="7" id="530001" resolved="unresolved"></response> [53] [Step Debug] <- run -i 8 [53] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/app01/current/vendor/liip/imagine-bundle/Templating/FilterTrait.php" lineno="14" type="Deprecated"><![CDATA[The Liip\ImagineBundle\Templating\FilterTrait trait is deprecated since version 2.7 and will be removed in 3.0; use Twig instead.]]></xdebug:message></notify> [53] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/app01/current/vendor/liip/imagine-bundle/Templating/FilterTrait.php" lineno="14" type="Deprecated"><![CDATA[The Liip\ImagineBundle\Templating\FilterTrait trait is deprecated since version 2.7 and will be removed in 3.0; use Twig instead.]]></xdebug:message></notify> [53] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/app01/current/vendor/liip/imagine-bundle/Templating/FilterExtension.php" lineno="14" type="Deprecated"><![CDATA[The Liip\ImagineBundle\Templating\FilterExtension class is deprecated since version 2.7 and will be removed in 3.0; configure "liip_imagine.twig.mode" to "lazy" instead.]]></xdebug:message></notify> [53] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/app01/current/vendor/liip/imagine-bundle/Templating/FilterExtension.php" lineno="14" type="Deprecated"><![CDATA[The Liip\ImagineBundle\Templating\FilterExtension class is deprecated since version 2.7 and will be removed in 3.0; configure "liip_imagine.twig.mode" to "lazy" instead.]]></xdebug:message></notify> [53] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/app01/current/vendor/sensio/framework-extra-bundle/src/Configuration/Route.php" lineno="16" type="Deprecated"><![CDATA[The "Sensio\Bundle\FrameworkExtraBundle\Configuration\Route" annotation is deprecated since version 5.2. Use "Symfony\Component\Routing\Annotation\Route" instead.]]></xdebug:message></notify> [53] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/app01/current/vendor/sensio/framework-extra-bundle/src/Configuration/Route.php" lineno="16" type="Deprecated"><![CDATA[The "Sensio\Bundle\FrameworkExtraBundle\Configuration\Route" annotation is deprecated since version 5.2. Use "Symfony\Component\Routing\Annotation\Route" instead.]]></xdebug:message></notify> [54] Log opened at 2024-01-09 12:41:56.337900 [54] [Config] INFO: Control socket set up succesfully: '@xdebug-ctrl.54' [54] [Step Debug] INFO: Connecting to configured address/port: host.docker.internal:9003. [54] [Step Debug] INFO: Connected to debugging client: host.docker.internal:9003 (through xdebug.client_host/xdebug.client_port). [54] [Step Debug] -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file:///var/www/app01/current/public/index.php" language="PHP" xdebug:language_version="8.1.26" protocol_version="1.0" appid="54"><engine version="3.3.1"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2023 by Derick Rethans]]></copyright></init> [54] [Step Debug] <- feature_set -i 1 -n resolved_breakpoints -v 1 [54] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="1" feature="resolved_breakpoints" success="1"></response> [54] [Step Debug] <- feature_set -i 2 -n notify_ok -v 1 [54] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="2" feature="notify_ok" success="1"></response> [54] [Step Debug] <- feature_set -i 3 -n extended_properties -v 1 [54] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="3" feature="extended_properties" success="1"></response> [54] [Step Debug] <- feature_set -i 4 -n breakpoint_include_return_value -v 1 [54] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="4" feature="breakpoint_include_return_value" success="1"></response> [54] [Step Debug] <- feature_set -i 5 -n max_data -v 10240 [54] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="5" feature="max_data" success="1"></response> [54] [Step Debug] <- feature_set -i 6 -n max_children -v 100 [54] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="6" feature="max_children" success="1"></response> [54] [Step Debug] <- breakpoint_set -i 7 -t line -f file:///var/www/app01/current/var/bumper.py -n 240 [54] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="7" id="540001" resolved="unresolved"></response> [54] [Step Debug] <- run -i 8 [54] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/app01/current/vendor/liip/imagine-bundle/Templating/FilterTrait.php" lineno="14" type="Deprecated"><![CDATA[The Liip\ImagineBundle\Templating\FilterTrait trait is deprecated since version 2.7 and will be removed in 3.0; use Twig instead.]]></xdebug:message></notify> [54] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/app01/current/vendor/liip/imagine-bundle/Templating/FilterTrait.php" lineno="14" type="Deprecated"><![CDATA[The Liip\ImagineBundle\Templating\FilterTrait trait is deprecated since version 2.7 and will be removed in 3.0; use Twig instead.]]></xdebug:message></notify> [54] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/app01/current/vendor/liip/imagine-bundle/Templating/FilterExtension.php" lineno="14" type="Deprecated"><![CDATA[The Liip\ImagineBundle\Templating\FilterExtension class is deprecated since version 2.7 and will be removed in 3.0; configure "liip_imagine.twig.mode" to "lazy" instead.]]></xdebug:message></notify> [54] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/app01/current/vendor/liip/imagine-bundle/Templating/FilterExtension.php" lineno="14" type="Deprecated"><![CDATA[The Liip\ImagineBundle\Templating\FilterExtension class is deprecated since version 2.7 and will be removed in 3.0; configure "liip_imagine.twig.mode" to "lazy" instead.]]></xdebug:message></notify> [54] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/app01/current/vendor/sensio/framework-extra-bundle/src/Configuration/Route.php" lineno="16" type="Deprecated"><![CDATA[The "Sensio\Bundle\FrameworkExtraBundle\Configuration\Route" annotation is deprecated since version 5.2. Use "Symfony\Component\Routing\Annotation\Route" instead.]]></xdebug:message></notify> [54] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/app01/current/vendor/sensio/framework-extra-bundle/src/Configuration/Route.php" lineno="16" type="Deprecated"><![CDATA[The "Sensio\Bundle\FrameworkExtraBundle\Configuration\Route" annotation is deprecated since version 5.2. Use "Symfony\Component\Routing\Annotation\Route" instead.]]></xdebug:message></notify> [54] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/app01/current/vendor/sensio/framework-extra-bundle/src/Configuration/Method.php" lineno="14" type="Deprecated"><![CDATA[The "Sensio\Bundle\FrameworkExtraBundle\Configuration\Method" annotation is deprecated since version 5.2. Use "Symfony\Component\Routing\Annotation\Route" instead.]]></xdebug:message></notify> [54] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/app01/current/vendor/sensio/framework-extra-bundle/src/Configuration/Method.php" lineno="14" type="Deprecated"><![CDATA[The "Sensio\Bundle\FrameworkExtraBundle\Configuration\Method" annotation is deprecated since version 5.2. Use "Symfony\Component\Routing\Annotation\Route" instead.]]></xdebug:message></notify> [53] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="run" transaction_id="8" status="stopping" reason="ok"></response> [53] [Step Debug] <- stop -i 9 [53] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="stop" transaction_id="9" status="stopped" reason="ok"></response> [53] Log closed at 2024-01-09 12:41:56.749050 [55] Log opened at 2024-01-09 12:41:56.752142 [55] [Config] INFO: Control socket set up succesfully: '@xdebug-ctrl.55' [55] [Step Debug] INFO: Connecting to configured address/port: host.docker.internal:9003. [55] [Step Debug] INFO: Connected to debugging client: host.docker.internal:9003 (through xdebug.client_host/xdebug.client_port). [55] [Step Debug] -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file:///var/www/app01/current/public/index.php" language="PHP" xdebug:language_version="8.1.26" protocol_version="1.0" appid="55"><engine version="3.3.1"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2023 by Derick Rethans]]></copyright></init> [55] [Step Debug] <- feature_set -i 1 -n resolved_breakpoints -v 1 [55] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="1" feature="resolved_breakpoints" success="1"></response> [55] [Step Debug] <- feature_set -i 2 -n notify_ok -v 1 [55] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="2" feature="notify_ok" success="1"></response> [55] [Step Debug] <- feature_set -i 3 -n extended_properties -v 1 [55] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="3" feature="extended_properties" success="1"></response> [55] [Step Debug] <- feature_set -i 4 -n breakpoint_include_return_value -v 1 [55] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="4" feature="breakpoint_include_return_value" success="1"></response> [55] [Step Debug] <- feature_set -i 5 -n max_data -v 10240 [55] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="5" feature="max_data" success="1"></response> [55] [Step Debug] <- feature_set -i 6 -n max_children -v 100 [55] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="6" feature="max_children" success="1"></response> [55] [Step Debug] <- breakpoint_set -i 7 -t line -f file:///var/www/app01/current/var/bumper.py -n 240 [55] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="7" id="550001" resolved="unresolved"></response> [55] [Step Debug] <- run -i 8 [55] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/app01/current/vendor/liip/imagine-bundle/Templating/FilterTrait.php" lineno="14" type="Deprecated"><![CDATA[The Liip\ImagineBundle\Templating\FilterTrait trait is deprecated since version 2.7 and will be removed in 3.0; use Twig instead.]]></xdebug:message></notify> [55] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/app01/current/vendor/liip/imagine-bundle/Templating/FilterTrait.php" lineno="14" type="Deprecated"><![CDATA[The Liip\ImagineBundle\Templating\FilterTrait trait is deprecated since version 2.7 and will be removed in 3.0; use Twig instead.]]></xdebug:message></notify> [55] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/app01/current/vendor/liip/imagine-bundle/Templating/FilterExtension.php" lineno="14" type="Deprecated"><![CDATA[The Liip\ImagineBundle\Templating\FilterExtension class is deprecated since version 2.7 and will be removed in 3.0; configure "liip_imagine.twig.mode" to "lazy" instead.]]></xdebug:message></notify> [55] [Step Debug] -> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///var/www/app01/current/vendor/liip/imagine-bundle/Templating/FilterExtension.php" lineno="14" type="Deprecated"><![CDATA[The Liip\ImagineBundle\Templating\FilterExtension class is deprecated since version 2.7 and will be removed in 3.0; configure "liip_imagine.twig.mode" to "lazy" instead.]]></xdebug:message></notify> [55] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="run" transaction_id="8" status="stopping" reason="ok"></response> [55] [Step Debug] <- stop -i 9 [55] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="stop" transaction_id="9" status="stopped" reason="ok"></response> [55] Log closed at 2024-01-09 12:41:56.878350 xdebug_gdb_details.log (6,188 bytes)
$ gdb /usr/local/sbin/php-fpm /tmp/core-php-fpm.54 GNU gdb (Debian 13.1-3) 13.1 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "aarch64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/local/sbin/php-fpm... (No debugging symbols found in /usr/local/sbin/php-fpm) warning: Can't open file /dev/zero (deleted) during file-backed mapping note processing [New LWP 54] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". Core was generated by `php-fpm:'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000ffff9e91e104 in zend_string_equal_content (s2=0x7d31392d39, s1=0xffff9e6030c0) at /usr/local/include/php/Zend/zend_string.h:357 357 return ZSTR_LEN(s1) == ZSTR_LEN(s2) && zend_string_equal_val(s1, s2); (gdb) bt #0 0x0000ffff9e91e104 in zend_string_equal_content (s2=0x7d31392d39, s1=0xffff9e6030c0) at /usr/local/include/php/Zend/zend_string.h:357 #1 zend_string_equals (s2=0x7d31392d39, s1=0xffff9e6030c0) at /usr/local/include/php/Zend/zend_string.h:362 #2 mark_fse_as_having_line_breakpoints (fse=0xaaaad03cd6e0) at /tmp/pear/temp/xdebug/src/debugger/debugger.c:573 #3 handle_breakpoints (return_value=0xffff9e61daa0, breakpoint_type=8, fse=0xaaaad03cd6e0) at /tmp/pear/temp/xdebug/src/debugger/debugger.c:591 #4 xdebug_debugger_handle_breakpoints (fse=fse@entry=0xaaaad03cd6e0, breakpoint_type=breakpoint_type@entry=8, return_value=return_value@entry=0xffff9e61daa0) at /tmp/pear/temp/xdebug/src/debugger/debugger.c:623 #5 0x0000ffff9e9079e4 in xdebug_execute_internal_end (current_execute_data=<optimized out>, return_value=0xffff9e61daa0) at /tmp/pear/temp/xdebug/src/base/base.c:998 #6 xdebug_execute_internal (current_execute_data=<optimized out>, return_value=0xffff9e61daa0) at /tmp/pear/temp/xdebug/src/base/base.c:1022 #7 0x0000aaaaca43c1b8 in ?? () #8 0x0000aaaaca7a9838 in execute_ex () #9 0x0000aaaaca43c124 in ?? () #10 0x0000aaaaca7a9838 in execute_ex () #11 0x0000aaaaca43c124 in ?? () #12 0x0000aaaaca7a9838 in execute_ex () #13 0x0000aaaaca43c124 in ?? () #14 0x0000aaaaca7a9838 in execute_ex () #15 0x0000aaaaca43c124 in ?? () #16 0x0000aaaaca7a9838 in execute_ex () #17 0x0000aaaaca43c124 in ?? () #18 0x0000aaaaca7a9838 in execute_ex () #19 0x0000aaaaca43c124 in ?? () #20 0x0000aaaaca7a9838 in execute_ex () #21 0x0000aaaaca43c124 in ?? () #22 0x0000aaaaca7a9838 in execute_ex () #23 0x0000aaaaca43c124 in ?? () #24 0x0000aaaaca7a9838 in execute_ex () #25 0x0000aaaaca43c124 in ?? () #26 0x0000aaaaca7a9838 in execute_ex () #27 0x0000aaaaca43c124 in ?? () #28 0x0000aaaaca7a9838 in execute_ex () #29 0x0000aaaaca43c124 in ?? () #30 0x0000aaaaca7a9838 in execute_ex () --Type <RET> for more, q to quit, c to continue without paging--c #31 0x0000aaaaca43c124 in ?? () #32 0x0000aaaaca7a9838 in execute_ex () #33 0x0000aaaaca43c124 in ?? () #34 0x0000aaaaca7a9838 in execute_ex () #35 0x0000aaaaca43c124 in ?? () #36 0x0000aaaaca7a9838 in execute_ex () #37 0x0000aaaaca43c124 in ?? () #38 0x0000aaaaca7a9838 in execute_ex () #39 0x0000aaaaca43c124 in ?? () #40 0x0000aaaaca7a9838 in execute_ex () #41 0x0000aaaaca43c124 in ?? () #42 0x0000aaaaca7a9838 in execute_ex () #43 0x0000aaaaca43c124 in ?? () #44 0x0000aaaaca7a9838 in execute_ex () #45 0x0000aaaaca43c124 in ?? () #46 0x0000aaaaca7a9838 in execute_ex () #47 0x0000aaaaca43c124 in ?? () #48 0x0000aaaaca7a9838 in execute_ex () #49 0x0000aaaaca43c124 in ?? () #50 0x0000aaaaca7a9838 in execute_ex () #51 0x0000aaaaca43c124 in ?? () #52 0x0000aaaaca7a9838 in execute_ex () #53 0x0000aaaaca43c124 in ?? () #54 0x0000aaaaca7a9838 in execute_ex () #55 0x0000aaaaca43c124 in ?? () #56 0x0000aaaaca7a9838 in execute_ex () #57 0x0000aaaaca43c124 in ?? () #58 0x0000aaaaca7a9838 in execute_ex () #59 0x0000aaaaca43c124 in ?? () #60 0x0000aaaaca7a9838 in execute_ex () #61 0x0000aaaaca43c124 in ?? () #62 0x0000aaaaca7a9838 in execute_ex () #63 0x0000aaaaca771190 in ?? () #64 0x0000aaaaca79e498 in execute_ex () #65 0x0000aaaaca7a9a7c in zend_execute () #66 0x0000aaaaca72a154 in zend_execute_scripts () #67 0x0000aaaaca6c5650 in php_execute_script () #68 0x0000aaaaca445d3c in ?? () #69 0x0000ffffa1a67780 in __libc_start_call_main (main=main@entry=0xaaaaca444f80, argc=argc@entry=1, argv=argv@entry=0xffffd39dad18) at ../sysdeps/nptl/libc_start_call_main.h:58 #70 0x0000ffffa1a67858 in __libc_start_main_impl (main=0xaaaaca444f80, argc=1, argv=0xffffd39dad18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=<optimized out>) at ../csu/libc-start.c:360 #71 0x0000aaaaca4468f0 in _start () (gdb) frame 2 #2 mark_fse_as_having_line_breakpoints (fse=0xaaaad03cd6e0) at /tmp/pear/temp/xdebug/src/debugger/debugger.c:573 573 /tmp/pear/temp/xdebug/src/debugger/debugger.c: No such file or directory. (gdb) p *extra_brk_info $1 = {id = 540001, brk_type = 1, resolved = 0, classname = 0x0, functionname = 0x0, exceptionname = 0x0, function_break_type = 0, filename = 0xffff9e6030c0, original_lineno = 240, resolved_lineno = 240, condition = 0x0, disabled = 0, temporary = 0, hit_count = 0, hit_value = 0, hit_condition = 0} (gdb) p *extra_brk_info.filename $2 = {gc = {refcount = 1, u = {type_info = 22}}, h = 0, len = 36, val = "/"} (gdb) p (char*)extra_brk_info.filename.val $3 = 0xffff9e6030d8 "/var/www/app01/current/var/bumper.py" (gdb) p *executed_filename Cannot access memory at address 0x7d31392d39 (gdb) p (char*)executed_filename.val $4 = 0x7d31392d51 <error: Cannot access memory at address 0x7d31392d51> |
|
The result of |
|
yes, it is. The interesting thing is that it works sometimes. I can't find a pattern when it crashes and when it does not though. |
|
Hi @derick, I don't have reproduction steps to share, since it fails in various places in our codebase. However, I narrowed it down to https://github.com/xdebug/xdebug/tree/91bfb654b0a6cfed63d327728db8ec2f3f82c97a It works without issues on previous commit (a725dadae5c80187f5f3f0a0af7e316b874ef08d), and it also works on 3.3.1 if I revert this commit. |
|
@deadrock, I am sure that reverting this speed-up will resolve the problem, but that's not a solution. For some reason Can any of you reproduce this in a docker environment that you can share? @xedaxip791 perhaps, as your set-up is all public. |
|
@derick I spent a bit more time debugging this, and came to the same conclusion, but at least revert allows us to continue using debugger as before. At some point, (for function_name (Not completely sure what the significance of the I have tried making a minimal reproduction case, but haven't succeeded yet. I've tested this on php-8.1.27. If I try to build php with |
|
@deanrock — I tried with both debug and non-debug builds (of PHP 8.2.28-dev), but I can't even reproduce this in a big environment. If you can provide something even in a bug environment for me to try, then perhaps we can pinpoint this better. However, I might nearly consider this as a bug in PHP, as the |
|
@derick This (at least from what I observed) happens in I haven't managed to reproduce bogus I've only been able to reproduce this in our company's PHP codebase, which I cannot share. |
|
Right, it seems a PHP 8.1 (and 8.0) only issue. From PHP 8.2 and later Xdebug uses observers. But right now, @xedaxip791 could reproduce it in 0002241 |
|
Hi Derick, I don't know if it gives any value to the investigation, but although I still can't reproduce the problem, I saw the following. |
|
Marking this as "duplicate" of 0002252, as that has a reproduce case that I can reproduce with. |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-12-19 09:29 | cvirag | New Issue | |
2023-12-21 10:14 | derick | Description Updated | |
2023-12-21 10:16 | derick | Assigned To | => derick |
2023-12-21 10:16 | derick | Status | new => feedback |
2023-12-21 10:16 | derick | Note Added: 0006736 | |
2023-12-22 15:04 | hennevanoch | Note Added: 0006740 | |
2023-12-22 15:04 | hennevanoch | File Added: xdebug.log | |
2023-12-27 13:20 | dpierzchal | Note Added: 0006742 | |
2023-12-27 13:20 | dpierzchal | File Added: xdebug-331_php-8126.log | |
2024-01-08 18:25 | derick | Note Added: 0006754 | |
2024-01-08 21:00 | cvirag | Note Added: 0006755 | |
2024-01-08 21:00 | cvirag | File Added: xdebug_backtrace.log | |
2024-01-08 21:00 | cvirag | Status | feedback => assigned |
2024-01-09 12:03 | derick | Note Added: 0006756 | |
2024-01-09 12:03 | derick | Status | assigned => feedback |
2024-01-09 12:53 | cvirag | Note Added: 0006758 | |
2024-01-09 12:53 | cvirag | File Added: xdebug-2.log | |
2024-01-09 12:53 | cvirag | File Added: xdebug_gdb_details.log | |
2024-01-09 12:53 | cvirag | Status | feedback => assigned |
2024-01-15 15:23 | derick | Note Added: 0006775 | |
2024-01-15 15:24 | derick | Relationship added | has duplicate 0002236 |
2024-01-15 15:25 | cvirag | Note Added: 0006777 | |
2024-01-26 07:34 | deanrock | Note Added: 0006814 | |
2024-01-30 11:55 | derick | Relationship added | has duplicate 0002241 |
2024-01-30 12:01 | derick | Note Added: 0006823 | |
2024-01-30 12:01 | derick | Status | assigned => feedback |
2024-01-30 12:40 | deanrock | Note Added: 0006824 | |
2024-01-30 12:53 | derick | Note Added: 0006825 | |
2024-01-30 13:05 | deanrock | Note Added: 0006826 | |
2024-01-30 16:09 | derick | Note Added: 0006827 | |
2024-02-07 12:43 | cvirag | Note Added: 0006835 | |
2024-02-07 12:43 | cvirag | Status | feedback => assigned |
2024-03-28 16:59 | derick | Status | assigned => resolved |
2024-03-28 16:59 | derick | Resolution | open => duplicate |
2024-03-28 16:59 | derick | Note Added: 0006872 |