-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Assertion failure at main/streams/streams.c:1385 #16780
Labels
Comments
not very familiar with streams however it appears to me since it is not a seekable stream, its position is set to -1 but then the seek callback still proceeds and fall into this assertion. But that s just a quick look. |
So.. either we assume it s not a seekable stream if position is -1 then we bail at this or getting the underlying php_stdio_stream_data part of the stream and checking is_seekable member. |
devnexen
added a commit
to devnexen/php-src
that referenced
this issue
Nov 13, 2024
the cursor is set to -1 when deemed non seekable, thus we bail out early in the process.
devnexen
added a commit
to devnexen/php-src
that referenced
this issue
Nov 13, 2024
the stream flags is set to non seekable, thus we bail out early in the process.
devnexen
added a commit
to devnexen/php-src
that referenced
this issue
Nov 13, 2024
the stream flags is set to non seekable, thus we bail out early in the process.
devnexen
added a commit
to devnexen/php-src
that referenced
this issue
Nov 13, 2024
the stream flags is set to non seekable, thus we bail out early in the process.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The following code:
Resulted in this output:
PHP Version
nightly
Operating System
ubuntu 22.04
The text was updated successfully, but these errors were encountered: