View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002129 | Xdebug | Profiling | public | 2022-10-20 13:57 | 2022-11-10 09:12 |
Reporter | oldmodellflieger | Assigned To | derick | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 3.1.5 | ||||
Fixed in Version | 3.1.6 | ||||
Summary | 0002129: Cannot read snapshot Gzip-compressed data is corrupt | ||||
Description | Xdebug 3.1.4 and 3.1.5 generate corrupt output file for profiling. | ||||
Steps To Reproduce | generate a output file | ||||
Additional Information | Xdebug < 3 is Ok | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Operating System | Windows 10 pro | ||||
PHP Version | 7.4.20-7.4.29 | ||||
|
You can see a Bugreport at PhpStorm Team from me The Jetbrain Supporter writes |
|
Hi, thanks for this report. It looks like the GZIP file has all binary \0a characters replaced with \0d \0a, (ie, \n to \r\n, or Linux line endings to Windows line endings). I think I have a fix for that in https://github.com/xdebug/xdebug/pull/864, but I can not test this, as I don't have access to Windows. I can't see the jetbrains report, it says the URL does not exist, but there should soon be a DLL with a fix for you to try at https://github.com/xdebug/xdebug/actions/runs/3290947479#artifacts cheers, |
|
Hi, |
|
Hi, Sorry it took some time, but I now have Windows DLLs for you for Xdebug 3.1.x, which includes PHP 7.4 support: If you can confirm that this works, I will make a 3.1.6 release ASAP. cheers, |
|
Hi, cheers, |
|
Can you please attach the trace file? I don't know where a CRC failure would come from, as the file format doesn't really have a CRC checksum. |
|
Hi, cheers, |
|
Thanks for that file, it seems to be the same problem with trace files, then the one I fixed for compressed files. I thought my fix had fixed both, but I must have missed something. |
|
I think I've fixed these as well now. There is a new DLL at https://github.com/xdebug/xdebug/actions/runs/3411352967#artifacts — would you please be able to check that? If it works, I'll make a 3.1.6 release. |
|
Hi, cheers, |
|
Excellent. I'll merge it then and release 3.1.6 tomorrow. |
|
Hello Derick, I have see the Release xdebug 3.1.6 is set, so i use the 3.1.6 as review. cheers Hajo |
|
The 3.2.0RC1 release was made before the fix, so it will have the same problem as 3.1.5. The Xdebug 3.1.6 release for PHP 8.1 (https://xdebug.org/files/php_xdebug-3.1.6-8.1-vs16-x86_64.dll) should work though. In general, I wouldn't recommend running Release Candidates (RCs) unless you're just testing it out. I will be making Xdebug 3.2.0RC2 shortly, and that should also contain the fix. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-10-20 13:57 | oldmodellflieger | New Issue | |
2022-10-20 13:57 | oldmodellflieger | File Added: cachegrind.out.1666262400-C__Appl_Web_xampp7429_htdocs_web_XTC_Shop_643_index_php.gz | |
2022-10-20 14:58 | oldmodellflieger | Note Added: 0006409 | |
2022-10-20 15:44 | derick | Assigned To | => derick |
2022-10-20 15:44 | derick | Status | new => feedback |
2022-10-20 15:44 | derick | Note Added: 0006410 | |
2022-10-20 17:05 | oldmodellflieger | Note Added: 0006412 | |
2022-10-20 17:05 | oldmodellflieger | Status | feedback => assigned |
2022-11-02 10:36 | derick | Status | assigned => feedback |
2022-11-02 10:36 | derick | Note Added: 0006420 | |
2022-11-02 21:43 | oldmodellflieger | Note Added: 0006431 | |
2022-11-02 21:43 | oldmodellflieger | File Added: CRC-Error.JPG | |
2022-11-02 21:43 | oldmodellflieger | Status | feedback => assigned |
2022-11-02 22:31 | derick | Status | assigned => feedback |
2022-11-02 22:31 | derick | Note Added: 0006432 | |
2022-11-02 22:52 | oldmodellflieger | Note Added: 0006433 | |
2022-11-02 22:52 | oldmodellflieger | File Added: trace.606934601.xt.gz | |
2022-11-02 22:52 | oldmodellflieger | Status | feedback => assigned |
2022-11-03 09:38 | derick | Note Added: 0006434 | |
2022-11-07 16:36 | derick | Status | assigned => feedback |
2022-11-07 16:36 | derick | Note Added: 0006439 | |
2022-11-07 19:55 | oldmodellflieger | Note Added: 0006440 | |
2022-11-07 19:55 | oldmodellflieger | Status | feedback => assigned |
2022-11-07 20:30 | derick | Note Added: 0006441 | |
2022-11-08 13:02 | derick | Status | assigned => closed |
2022-11-08 13:02 | derick | Resolution | open => fixed |
2022-11-08 13:02 | derick | Fixed in Version | => 3.1.6 |
2022-11-09 19:33 | oldmodellflieger | Note Added: 0006445 | |
2022-11-09 19:33 | oldmodellflieger | File Added: cachegrind.out.1668021565-C__Appl_Web_xampp8110_htdocs_web_test_test_php.gz | |
2022-11-09 19:33 | oldmodellflieger | File Added: trace.4139734177.xt.gz | |
2022-11-10 09:12 | derick | Note Added: 0006447 |