-
Notifications
You must be signed in to change notification settings - Fork 1
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
Panic when reading from a Sampling port destination #16
Comments
I've updated the fix in #15 so it does not panic somewhere else. Unless the partition unwraps the result, there should be no panic now. But the fact that the file backing the sampling port can be empty still worries me. |
Original panic info
|
This might not be a read from an empty file, but a read from the end of the file. The cursor may be moved between the seek to 0 and the read. |
dadada
changed the title
Read from empty file
Panic when reading from a Sampling port destination
Dec 8, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a partition that runs a process that very frequently reads from a sampling port. After running the partition for some time, I reliably get a read from an empty file, which causes a panic. The panic is fixed in #15, but the error persists. This is from the execution of the partition (Echo) with the fix from #15 applied. Now it panics in apex-rs?
The text was updated successfully, but these errors were encountered: