-
-
Notifications
You must be signed in to change notification settings - Fork 285
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
Julia 1.11 beta MemoryRef bounds violation #2910
Comments
It looks like you wanted to use a Base.BufferStream there, but implemented a buggy version of it as IOListener? |
Thanks for taking a look @vtjnash, so you do think that the async reading from the IOBuffer is causing the issue? Will I get in trouble for using internal API? Maybe https://github.com/JuliaPackaging/SimpleBufferStream.jl is a good option? |
I am uncertain of the quality of that package, so I cannot recommend for or against it. The documentation seems lacking though. BufferStream has been meant to be public for a long while though, if that is any consolation |
Pluto does not work on Julia 1.11 because of an error in our Pkg log capture system, but I can't figure out what it is. It seems to be caused by using a
LoggingExtras.ConsoleLogger
with anIOListener
as its io argument.When you launch a notebook, you get this error:
(
pkg> test Pluto
will also show them)The stacktrace points to this
@info
call, which is handled by this logger.We read the contents of the IOBuffer async here, maybe this is causing a race condition?
I tried to recreate this bug with this script:
But this did not cause the error...
The text was updated successfully, but these errors were encountered: