View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002294 | Xdebug | Uncategorized | public | 2024-10-08 15:22 | 2024-10-13 16:40 |
Reporter | Marian Kechlibar | Assigned To | derick | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | feedback | Resolution | open | ||
Product Version | 3.4.0beta1 | ||||
Summary | 0002294: Nette Tester always crashes in all test jobs when running with XDebug 3.4.0beta1 active | ||||
Description | I am using Nette Tester on Windows, which is a framework to test applications written in Nette (another PHP-based web development network), to test my apps. Up until XDebug 3.3.2, inclusive, there was no problem with it. With XDebug 3.4.0 beta 1, all the tests crash with C0000005 error (Access Violation) in php8ts.dll. So far, I was unable to transform my unwieldy Nette Tester script complex to a nimble 20-line test script which would reproduce the issue... but I was at least able to run it under gdb and the gdb crash stack says Thread 1 received signal SIGSEGV, Segmentation fault. I was unable to find the symbol file for the dll online. My suspicion is that the problem is caused by multi-process character of Nette Tester. It uses proc_open to create multiple independent php instances. But I was as of now unable to reproduce the problem in a short script. My attempts to just create a separate php interpreter using proc_open, running some hello world script in a separate process and wait for its exit, never reproduced the problem. In the Nette Tester context, though, the problem appears always, at the exit of each thread. Maybe I could at least gain some better data if I could get the symbol file for the dll. | ||||
Tags | No tags attached. | ||||
Operating System | Windows | ||||
PHP Version | 8.3.10-8.3.19 | ||||
|
PHP 8.3.12 (cli) (built: Sep 24 2024 20:22:41) (ZTS Visual C++ 2019 x64) I can prepare some very elementary Nette Tester test, and I think it won't need any database - please let me know if I should. "then please prepare something that I can: clone from GitHub, use something like composer to install dependencies, and then can run. The script can still not have dependencies on things like databases, as I won't have them installed." - |
|
The downloadable archives on PECL have PDB files added: https://pecl.php.net/package/xdebug/3.4.0beta1/windows — I'll see how I can do this for my own releases too. |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-10-08 15:22 | Marian Kechlibar | New Issue | |
2024-10-08 15:28 | Marian Kechlibar | Note Added: 0007067 | |
2024-10-13 16:40 | derick | Note Added: 0007074 | |
2024-10-13 16:40 | derick | Assigned To | => derick |
2024-10-13 16:40 | derick | Status | new => feedback |