View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001600 | Xdebug | Step Debugging | public | 2018-12-21 09:44 | 2019-02-01 15:23 |
Reporter | vmorozov | Assigned To | derick | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | duplicate | ||
OS | Mac OS | ||||
Product Version | 2.7.0beta1 | ||||
Summary | 0001600: Crashes while trying to debug laravel 5.7 app | ||||
Description | /usr/local/bin/php -S localhost:8000 -t public -d zend_extension=/usr/local/Cellar/php/7.3.0/pecl/20180731/xdebug.so Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) | ||||
Steps To Reproduce | place breakpoint in controller method | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 7.3.0 | ||||
|
Can you run the following on the shell: export USE_ZEND_ALLOC=0 Then on the (gdb) prompt type "run". Then request a web site on localhost:8000. When there is a crash in GDB (it should say segmentation fault), type "bt full", and attach that file. |
|
This is the command output. I think it didn`t work properly. gdb --args /usr/local/bin/php -S localhost:8000 -t public -d zend_extension=/usr/local/Cellar/php/7.3.0/pecl/20180731/xdebug.so GNU gdb (GDB) 8.2.1 For help, type "help". |
|
GDB doesn't seem to understand your binary. It seems to be related to some changes in OSX, so I'm not sure what I can do about that :-/ From what I googled, it's because it's not "codesigned" or whatever that is. There are instructions at https://stackoverflow.com/questions/52699661/macos-mojave-how-to-achieve-codesign-to-enable-debugging-gdb on how to fix that. |
|
I am going to guess that this is the same issue as 0001583, but that is going to be a guess as no complete backtrace has been produced. Please try the upcoming 2.7.0RC1 release (out in the next few hours), and see if it solves the problem. If not, please reopen this issue, and attach a complete backtrace. |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-12-21 09:44 | vmorozov | New Issue | |
2018-12-23 21:08 | derick | Note Added: 0004778 | |
2018-12-23 21:08 | derick | Assigned To | => derick |
2018-12-23 21:08 | derick | Status | new => feedback |
2018-12-26 08:14 | vmorozov | Note Added: 0004784 | |
2018-12-26 08:14 | vmorozov | Status | feedback => assigned |
2018-12-27 18:45 | derick | Note Added: 0004788 | |
2018-12-27 18:45 | derick | Status | assigned => feedback |
2019-02-01 15:23 | derick | Note Added: 0004859 | |
2019-02-01 15:23 | derick | Relationship added | duplicate of 0001583 |
2019-02-01 15:23 | derick | Status | feedback => resolved |
2019-02-01 15:23 | derick | Resolution | open => duplicate |
2020-03-12 16:33 | derick | Category | Remote Debugging => Step Debugging |