View Issue Details

IDProjectCategoryView StatusLast Update
0001627XdebugRemote Debuggingpublic2019-02-14 15:26
ReportersuperguennieAssigned Toderick 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionduplicate 
PlatformMacBookPro12,1OSMacOS MojaveOS Version10.14.2 (18C54)
Product Version2.7.0rc1 
Target VersionFixed in Version 
Summary0001627: Segmentation fault
DescriptionSegmentation fault when debugging with either
a) PHPStorm
b) MacGDBp

php 7.3.2 installed with brew, XDebug 2.7.0rc1 installed with pecl.

The crash only occures when a breakpoint is set.
It doesn't matter if php is started from command line or php-fpm. I didnt't test apache mod_php.

I hope this is of help and I provided the right informations.
Steps To Reproducee.g. XDEBUG_CONFIG="idekey=PHPSTORM" php ./blah.php
Additional Information=== php file content ===

<?php

// Breakpoint on next line
$a = 1;

phpinfo();


=== XDebug log output, debugger PHPStorm ===

[39325] Log opened at 2019-02-07 22:19:59
[39325] I: Connecting to configured address/port: localhost:9000.
[39325] I: Connected to client. :-)
[39325] -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file:///Users/nils/projects/MurNil/typo3-proto/web/blah.php" language="PHP" xdebug:language_version="7.3.2" protocol_version="1.0" appid="39325" idekey="PHPSTORM"><engine version="2.7.0rc1"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2019 by Derick Rethans]]></copyright></init>
[39325]
[39325] <- feature_set -i 1 -n show_hidden -v 1
[39325] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="1" feature="show_hidden" success="1"></response>
[39325]
[39325] <- feature_set -i 2 -n max_depth -v 1
[39325] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="2" feature="max_depth" success="1"></response>
[39325]
[39325] <- feature_set -i 3 -n max_children -v 100
[39325] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="3" feature="max_children" success="1"></response>
[39325]
[39325] <- feature_set -i 4 -n extended_properties -v 1
[39325] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="4" feature="extended_properties" success="1"></response>
[39325]
[39325] <- feature_set -i 5 -n notify_ok -v 1
[39325] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="5" feature="notify_ok" success="1"></response>
[39325]
[39325] <- stdout -i 6 -c 1
[39325] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="stdout" transaction_id="6" success="1"></response>
[39325]
[39325] <- status -i 7
[39325] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="status" transaction_id="7" status="starting" reason="ok"></response>
[39325]
[39325] <- step_into -i 8
[39325] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="step_into" transaction_id="8" status="break" reason="ok"><xdebug:message filename="file:///Users/nils/projects/MurNil/typo3-proto/web/blah.php" lineno="4"></xdebug:message></response>
[39325]
[39325] <- eval -i 9 -- aXNzZXQoJF9TRVJWRVJbJ1BIUF9JREVfQ09ORklHJ10p
[39325] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="eval" transaction_id="9"><property type="bool"><![CDATA[0]]></property></response>
[39325]
[39325] <- eval -i 10 -- aXNzZXQoJF9TRVJWRVJbJ1NFUlZFUl9OQU1FJ10p
[39325] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="eval" transaction_id="10"><property type="bool"><![CDATA[0]]></property></response>
[39325]
[39325] <- eval -i 11 -- aXNzZXQoJF9TRVJWRVJbJ1NTSF9DT05ORUNUSU9OJ10p
[39325] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="eval" transaction_id="11"><property type="bool"><![CDATA[0]]></property></response>
[39325]
[39325] <- eval -i 12 -- aXNzZXQoJF9TRVJWRVJbJ1NFUlZFUl9BRERSJ10p
[39325] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="eval" transaction_id="12"><property type="bool"><![CDATA[0]]></property></response>
[39325]
[39325] <- breakpoint_set -i 13 -t line -f file:///Users/nils/projects/MurNil/typo3-proto/web/blah.php -n 4
[39325] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="13" id="393250001"></response>
[39325]
[39325] <- stack_get -i 14
[39325] -> <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:///Users/nils/projects/MurNil/typo3-proto/web/blah.php" lineno="4"></stack></response>
[39325]
[39325] <- stack_get -i 15
[39325] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="15"><stack where="{main}" level="0" type="file" filename="file:///Users/nils/projects/MurNil/typo3-proto/web/blah.php" lineno="4"></stack></response>
[39325]
[39325] <- context_names -i 16
[39325] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_names" transaction_id="16"><context name="Locals" id="0"></context><context name="Superglobals" id="1"></context><context name="User defined constants" id="2"></context></response>
[39325]
[39325] <- context_get -i 17 -d 0 -c 0
[39325] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="17" context="0"><property name="$a" fullname="$a" type="uninitialized"></property></response>
[39325]
[39325] <- context_get -i 18 -d 0 -c 1


=== MacOS crash report ===

Process: php [39123]
Path: /usr/local/Cellar/php/7.3.2/bin/php
Identifier: php
Version: 0
Code Type: X86-64 (Native)
Parent Process: zsh [28309]
Responsible: php [39123]
User ID: 501

Date/Time: 2019-02-07 23:13:17.126 +0100
OS Version: Mac OS X 10.14.2 (18C54)
Report Version: 12
Anonymous UUID: 1110EA3A-67A0-3FBE-8494-0C6A2C31A5D8

Sleep/Wake UUID: CA0528FC-8A71-4C52-A250-D5E1D00724EC

Time Awake Since Boot: 15000 seconds
Time Since Wake: 13000 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [39123]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 xdebug.so 0x0000000110f98e87 xdebug_var_export_xml_node + 2647
1 xdebug.so 0x0000000110f981d4 xdebug_get_zval_value_xml_node_ex + 308
2 xdebug.so 0x0000000110f86871 xdebug_dbgp_handle_context_get + 1201
3 xdebug.so 0x0000000110f8393e xdebug_dbgp_cmdloop + 350
4 xdebug.so 0x0000000110f84793 xdebug_dbgp_breakpoint + 819
5 xdebug.so 0x0000000110f7ca01 xdebug_statement_call + 353
6 php 0x000000010dc6ddc4 zend_llist_apply_with_argument + 31
7 php 0x000000010dcf1e1d ZEND_EXT_STMT_SPEC_HANDLER + 47
8 php 0x000000010dcb3d1e execute_ex + 98
9 xdebug.so 0x0000000110f7b854 xdebug_execute_ex + 1332
10 php 0x000000010dcb3e9a zend_execute + 318
11 php 0x000000010dc78c42 zend_execute_scripts + 277
12 php 0x000000010dc245df php_execute_script + 639
13 php 0x000000010dd248bf do_cli + 3857
14 php 0x000000010dd23841 main + 1234
15 libdyld.dylib 0x00007fff76e0ced9 start + 1

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x000000010dbbd5ed rbx: 0x000000000000000c rcx: 0x4f52505f4d524554 rdx: 0x0000000000000004
  rdi: 0x00000001110034d8 rsi: 0x0000000111003068 rbp: 0x00007ffee230b740 rsp: 0x00007ffee230b670
   r8: 0x4d4152474f52505f r9: 0x00007f82d1700000 r10: 0x0000000003ffffff r11: 0x0000000000000488
  r12: 0x0000000111064c00 r13: 0x00000001110034d8 r14: 0x0000000000000440 r15: 0x0000000111003050
  rip: 0x0000000110f98e87 rfl: 0x0000000000010202 cr2: 0x000000010dbbd5ed
  
Logical CPU: 1
Error Code: 0x00000000
Trap Number: 13

TagsNo tags attached.
Operating SystemmacOS Mojave
PHP Version7.3.2-7.3.4

Relationships

duplicate of 0001625 closedderick Work around ABI conflicts in PHP 7.3.0/PHP 7.3.1 

Activities

superguennie

2019-02-07 22:41

reporter  

phpinfo.html (107,564 bytes)

derick

2019-02-11 17:06

administrator   ~0004882

Last edited: 2019-02-14 15:24

View 2 revisions

Duplicate of 0001625

Issue History

Date Modified Username Field Change
2019-02-07 22:41 superguennie New Issue
2019-02-07 22:41 superguennie File Added: phpinfo.html
2019-02-11 17:06 derick Additional Information Updated View Revisions
2019-02-11 17:06 derick Note Added: 0004882
2019-02-11 17:06 derick Relationship added duplicate of 0001626
2019-02-11 17:06 derick Status new => resolved
2019-02-11 17:06 derick Resolution open => duplicate
2019-02-11 17:06 derick Assigned To => derick
2019-02-14 15:24 derick Note Edited: 0004882 View Revisions
2019-02-14 15:25 derick Status resolved => new
2019-02-14 15:25 derick Resolution duplicate => reopened
2019-02-14 15:25 derick Status new => resolved
2019-02-14 15:25 derick Resolution reopened => duplicate
2019-02-14 15:25 derick Relationship added duplicate of 0001625
2019-02-14 15:26 derick Relationship deleted 0001626