Skip to content

Sink.writeString crashes #429

Open
Open
@edenman

Description

java.io.EOFException: Buffer exhausted before skipping 8192 bytes.
	at kotlinx.io.Buffer.skip(Buffer.kt:287)
	at kotlinx.io.OutputStreamSink.write(JvmCore.kt:121)
	at kotlinx.io.RealSink.hintEmit(RealSink.kt:109)
 	at kotlinx.io.Utf8Kt.writeString(Utf8.kt:731)
 	at kotlinx.io.Utf8Kt.writeString$default(Utf8.kt:169)
... (my calling code here)

Is there anything I should be doing to make this not crash? Or just catch/ignore? I'm using writeString to append logs to a file

kotlinx-io 0.5.4

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions