View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001934 | Xdebug | Uncategorized | public | 2021-01-15 14:57 | 2021-02-18 11:21 |
Reporter | mjo | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | unable to reproduce | ||
Platform | amd64 | OS | linux | ||
Product Version | 3.0.1 | ||||
Summary | 0001934: Segfailt with php-7.4 and maintainer-zts enabled | ||||
Description | We have two reports of a crash on Gentoo, https://bugs.gentoo.org/759835 which I've been able to narrow down to the "--enable-maintainer-zts" flag in PHP itself. I haven't tested any other versions besides 7.4, but it is my understanding that 7.4.x should still be supported. | ||||
Steps To Reproduce |
| ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 7.4.10-7.4.19 | ||||
|
I can't reproduce this. I've rebuild a fresh PHP 7.4.13: <code> Then installed Xdebug 3.0.2 from pecl with "pecl install xdebug", and then I run: <code> And valgrind reports no error messages, warnings, and there is no crash: <code> Please provide steps that shows that Xdebug is at fault in your situation. |
|
Naturally, it works fine when you build php with --enable-debug. Try without =) |
|
Works fine in a non debug build too:
You're going to have to prove to me that it is Xdebug that causes your problem, and not non-standard flags, your compiler, or anything else. |
|
Argh, what kind of CFLAGS does your build use by default? I've used both "-pipe -O2 -march=native" and "-pipe -ggdb" here, for both php and xdebug. I can't think of anything else that might be different. I've disabled most of the default PHP features to speed up the build time, but the other Gentoo users experiencing the problem haven't done that. Also note that I'm now using php-7.4.14 and xdebug-3.0.2 (minor upgrades from the original report). |
|
I showed you exactly what I typed. No extra flags. |
|
Can you try with e.g. CFLAGS="-O2 -march=native", then? The additional optimization is my current best guess as to why we're getting different results, since one side-effect of adding --enable-debug to PHP is to propagate "-O0" into the CFLAGS for xdebug. |
|
-O2 is the default when not compiling with --enable-debug, and both my PHP and Xdebug were compiled with that flag on. I am not going to check locally with random combinations of flags, and my statement still stands: You're going to have to prove to me that it is Xdebug that causes your problem, and not non-standard flags, your compiler, or anything else. Unless you can do that, I am not going to reply. |
|
I can't reproduce this, and not enough information was made available to unstick this issue. Please re-open if you can provide more information. |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-01-15 14:57 | mjo | New Issue | |
2021-01-20 11:40 | derick | Assigned To | => derick |
2021-01-20 11:40 | derick | Status | new => feedback |
2021-01-20 11:40 | derick | Note Added: 0005642 | |
2021-01-23 03:03 | mjo | Note Added: 0005651 | |
2021-01-23 03:03 | mjo | Status | feedback => assigned |
2021-01-23 11:39 | derick | Status | assigned => feedback |
2021-01-23 11:39 | derick | Note Added: 0005652 | |
2021-01-23 11:39 | derick | Note Edited: 0005652 | |
2021-01-23 11:40 | derick | Note Edited: 0005652 | |
2021-01-23 12:56 | mjo | Note Added: 0005654 | |
2021-01-23 12:56 | mjo | Status | feedback => assigned |
2021-01-23 15:05 | derick | Note Added: 0005655 | |
2021-01-23 15:13 | mjo | Note Added: 0005656 | |
2021-01-24 12:44 | derick | Status | assigned => feedback |
2021-01-24 12:44 | derick | Note Added: 0005657 | |
2021-02-18 11:21 | derick | Status | feedback => resolved |
2021-02-18 11:21 | derick | Resolution | open => unable to reproduce |
2021-02-18 11:21 | derick | Note Added: 0005670 |