-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apache24 segfault when OPcache + Suhosin are enabled #118
Comments
Thank you for reporting this bug. |
Sure, this is enough to core dump:
|
Would it be possible for you to retry using the current master branch (version v0.9.39dev2), compiled with debug symbols, please. E.g.:
While trying to recreate the bug my setup appears to be stable. |
I still get a coredump with the master branch and this is the backtrace. I recompiled suhosin, opcache, apache24, php56, and mod_php56 with debugging symbols, but there's still no symbol table info available for #0. Is that normal or what?
|
Maybe this could help? |
Thanks, but that patch was already part of my ports tree. Since it's about clang v6 and I have clang v4, I tried to remove that patch and recompile mod_php56, but there was no change. So the segfault happens with or without that patch. |
This may be a duplicate of #114 but it's hard to tell.
FreeBSD 11.1
Apache 2.4.33_1
PHP 5.6.36
Suhosin v0.9.38
After apache start or restart everything works fine. But after a graceful, every request results in segfault with log output like this:
This only happens when both OPcache and Suhosin are enabled; there is no issue when only one of them is enabled.
If I set
opcache.enable=0
then the problem only occurs after two graceful restarts.Based on these:
https://bugs.php.net/bug.php?id=75573
https://bugs.php.net/bug.php?id=75579
https://bugs.php.net/bug.php?id=75621
Maybe the problem is related to the combination of these two extensions using up all available memory for interned strings? (speculation)
Stack trace of the coredump gives me this:
The text was updated successfully, but these errors were encountered: