-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
unreachable program point: mime_content_type() #17164
Comments
Apparently, the following assertion is hit: php-src/main/streams/plain_wrapper.c Line 290 in 0454901
I cannot reproduce on Windows, probably due to php-src/ext/fileinfo/fileinfo.c Lines 393 to 400 in 0454901
|
This doesn't reproduce on my system (Linux). What OS did you use, and what configuration options did you use? I tried debug builds with both GCC and Clang, and also tried a release build with GCC. |
It could also be helpful to see the stack backtrace. |
Can you please retry on the last PHP-8.4 branch with a debug build and UBSAN? |
8.4.2 ubsan debug: (There was no further output from stack trace) |
The only way this assertion could be triggered is that either Anyhow, I don't think this is particularly related to ext/fileinfo; the following should likely behave the same: <?php
var_dump(fopen('./..', "r")); |
It does. Also, var_dump() is not necessary in either case. |
The container that @chongwick is probably crucial. Likely some sort of security mechanism is preventing seeking on that. |
@nielsdos I would say not the container rather the cluster. |
Description
The following code:
Resulted in this output:
PHP Version
8.4.1
Operating System
No response
The text was updated successfully, but these errors were encountered: