View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002178 | Xdebug | Step Debugging | public | 2023-05-05 01:37 | 2023-08-01 09:48 |
Reporter | testhahaha | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | unable to reproduce | ||
Product Version | 3.2.0 | ||||
Summary | 0002178: cant set breakpoint | ||||
Description | i can debug if set
xdebug log:
| ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 8.0.10-8.0.19 | ||||
|
Can you still reproduce this with Xdebug 3.2.1? If so, can you then please create a back trace, as is explained (in great detail) at https://xdebug.org/reporting-bugs |
|
Same here with PHP 8.2.6 % uname -a % php -version % lldb php -- -t web web/router.php
|
|
xd.log (9,927 bytes)
(lldb) bt all * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x61746e6f632f676f) * frame #0: 0x0000000102827fbc xdebug.so`xdebug_lib_register_compiled_variables + 76 frame #1: 0x0000000102836904 xdebug.so`register_compiled_variables + 84 frame #2: 0x0000000102836b34 xdebug.so`xdebug_debugger_error_cb + 56 frame #3: 0x0000000102822be4 xdebug.so`xdebug_error_cb + 96 frame #4: 0x0000000100362c1c php`zend_error_zstr_at + 412 frame #5: 0x00000001003630e0 php`zend_error_va_list + 68 frame #6: 0x0000000100363174 php`zend_error + 68 frame #7: 0x000000010037bbc0 php`zif_trigger_error + 140 frame #8: 0x0000000102823294 xdebug.so`xdebug_execute_internal + 620 frame #9: 0x00000001003a5698 php`ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER + 304 frame #10: 0x00000001003831f8 php`execute_ex + 52 frame #11: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #12: 0x00000001003a5754 php`ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER + 492 frame #13: 0x00000001003831f8 php`execute_ex + 52 frame #14: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #15: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #16: 0x00000001003831f8 php`execute_ex + 52 frame #17: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #18: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #19: 0x00000001003831f8 php`execute_ex + 52 frame #20: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #21: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #22: 0x00000001003831f8 php`execute_ex + 52 frame #23: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #24: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #25: 0x00000001003831f8 php`execute_ex + 52 frame #26: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #27: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #28: 0x00000001003831f8 php`execute_ex + 52 frame #29: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #30: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #31: 0x00000001003831f8 php`execute_ex + 52 frame #32: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #33: 0x00000001003c7944 php`ZEND_CALL_TRAMPOLINE_SPEC_OBSERVER_HANDLER + 780 frame #34: 0x00000001003831f8 php`execute_ex + 52 frame #35: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #36: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #37: 0x00000001003831f8 php`execute_ex + 52 frame #38: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #39: 0x00000001003ab4d4 php`ZEND_INCLUDE_OR_EVAL_SPEC_CV_HANDLER + 740 frame #40: 0x00000001003831f8 php`execute_ex + 52 frame #41: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #42: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #43: 0x00000001003831f8 php`execute_ex + 52 frame #44: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #45: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #46: 0x00000001003831f8 php`execute_ex + 52 frame #47: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #48: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #49: 0x00000001003831f8 php`execute_ex + 52 frame #50: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #51: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #52: 0x00000001003831f8 php`execute_ex + 52 frame #53: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #54: 0x00000001003a5754 php`ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER + 492 frame #55: 0x00000001003831f8 php`execute_ex + 52 frame #56: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #57: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #58: 0x00000001003831f8 php`execute_ex + 52 frame #59: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #60: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #61: 0x00000001003831f8 php`execute_ex + 52 frame #62: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #63: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #64: 0x00000001003831f8 php`execute_ex + 52 frame #65: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #66: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #67: 0x00000001003831f8 php`execute_ex + 52 frame #68: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #69: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #70: 0x00000001003831f8 php`execute_ex + 52 frame #71: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #72: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #73: 0x00000001003831f8 php`execute_ex + 52 frame #74: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #75: 0x00000001003a5754 php`ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER + 492 frame #76: 0x00000001003831f8 php`execute_ex + 52 frame #77: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #78: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #79: 0x00000001003831f8 php`execute_ex + 52 frame #80: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #81: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #82: 0x00000001003831f8 php`execute_ex + 52 frame #83: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #84: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #85: 0x00000001003831f8 php`execute_ex + 52 frame #86: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #87: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #88: 0x00000001003831f8 php`execute_ex + 52 frame #89: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #90: 0x00000001003a5754 php`ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER + 492 frame #91: 0x00000001003831f8 php`execute_ex + 52 frame #92: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #93: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #94: 0x00000001003831f8 php`execute_ex + 52 frame #95: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #96: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #97: 0x00000001003831f8 php`execute_ex + 52 frame #98: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #99: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #100: 0x00000001003831f8 php`execute_ex + 52 frame #101: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #102: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #103: 0x00000001003831f8 php`execute_ex + 52 frame #104: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #105: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #106: 0x00000001003831f8 php`execute_ex + 52 frame #107: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #108: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #109: 0x00000001003831f8 php`execute_ex + 52 frame #110: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #111: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #112: 0x00000001003831f8 php`execute_ex + 52 frame #113: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #114: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #115: 0x00000001003831f8 php`execute_ex + 52 frame #116: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #117: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #118: 0x00000001003831f8 php`execute_ex + 52 frame #119: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #120: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #121: 0x00000001003831f8 php`execute_ex + 52 frame #122: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #123: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #124: 0x00000001003831f8 php`execute_ex + 52 frame #125: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #126: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #127: 0x00000001003831f8 php`execute_ex + 52 frame #128: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #129: 0x00000001003a5a1c php`ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER + 432 frame #130: 0x00000001003831f8 php`execute_ex + 52 frame #131: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #132: 0x00000001003ab4d4 php`ZEND_INCLUDE_OR_EVAL_SPEC_CV_HANDLER + 740 frame #133: 0x00000001003831f8 php`execute_ex + 52 frame #134: 0x0000000102822f34 xdebug.so`xdebug_execute_ex + 744 frame #135: 0x00000001003833f4 php`zend_execute + 288 frame #136: 0x0000000100363798 php`zend_execute_scripts + 156 frame #137: 0x000000010044ffe8 php`php_cli_server_dispatch_router + 160 frame #138: 0x000000010044de48 php`php_cli_server_recv_event_read_request + 504 frame #139: 0x000000010044e7f8 php`php_cli_server_do_event_for_each_fd_callback + 164 frame #140: 0x000000010044c8c0 php`do_cli_server + 2132 frame #141: 0x0000000100447a44 php`main + 756 frame #142: 0x00000001861a3f28 dyld`start + 2236 |
|
This looks the same/similar than report 0002175, but neither of them includes enough information for me to debug this. I can't manage this on Linux, with a Symfony app, but it is possible that I don't run it in the same way as you do. Is there a way for you to make a code repository that I could checkout and run myself? Please provide as much instructions as possible, as I don't really know much about setting up and running Symfony :-) |
|
I think this is now the same bug as 0002186, for which I have just made a pull request. It would be great if you could test this branch with your set-up, just to have an extra verification that this is indeed the case: https://github.com/derickr/xdebug/tree/issue2186-trampoline-get-compiled-variables |
|
I can't reproduce this, and there hasn't been any new information for a while, so I am closing this, especially because I think this was the same bug as 0002186 which has been addressed in the 3.2.2 release. |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-05-05 01:37 | testhahaha | New Issue | |
2023-05-24 16:29 | derick | Assigned To | => derick |
2023-05-24 16:29 | derick | Status | new => feedback |
2023-05-24 16:29 | derick | Note Added: 0006568 | |
2023-05-30 08:25 | alexander.willner | Note Added: 0006569 | |
2023-05-30 08:28 | alexander.willner | Note Added: 0006570 | |
2023-05-30 08:28 | alexander.willner | File Added: xd.log | |
2023-07-04 16:55 | derick | Note Added: 0006582 | |
2023-07-04 16:55 | derick | Relationship added | related to 0002175 |
2023-07-13 13:02 | derick | Note Added: 0006595 | |
2023-08-01 09:48 | derick | Status | feedback => resolved |
2023-08-01 09:48 | derick | Resolution | open => unable to reproduce |
2023-08-01 09:48 | derick | Note Added: 0006621 |