-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
OpenMP segmentation fault when compiling with clang+preload is enabled #637
Comments
The same segfault also occurs on shutdown in certain conditions even when opcache is disabled (opcache.enable_cli=0). |
Actually the issue seems to be unrelated to ASAN, it just always segfaults when compiling with clang |
Clang 14 is also affected (which is the version offered by default on ubuntu 22.04) |
I don't get exactly the same result as you. For me, trying to run PHP exits silently with 1 as the exit code. Running it through valgrind, which I normally use to investigate weird crashes, gives:
According to this that might be avoided by Can you tell me how to pass that flag to clang? |
@Danack I suppose just passing it in the CFLAGS and CXXFLAGS envvars should help! |
Reproducer Dockerfile:
php.imagick.ini:
Result:
The text was updated successfully, but these errors were encountered: