SwiftcordApp / Swiftcord

A fully native Discord client for macOS built 100% in Swift!
https://swiftcordapp.github.io/Swiftcord/
GNU General Public License v3.0
1.91k stars 85 forks source link

[Bug]: DiscordKit zlib-stream Decompression SIGSEGV #91

Closed cryptoAlgorithm closed 2 years ago

cryptoAlgorithm commented 2 years ago

Version 0.4.4(11)

Stacktrace

DiscordKitCore.DecompressionEngine.push_data(Foundation.Data) -> Swift.String? (DecompressionEngine.swift:58);Swiftcord

closure #1 (Swift.Result<(extension in Foundation):__C.NSURLSessionWebSocketTask.Message, Swift.Error>) -> () in DiscordKitCore.RobustWebSocket.(attachSockReceiveListener in _A386195F83E543A29375DB207BC98EE8)() -> () (RobustWebSocket.swift:147);Swiftcord

Reason

SIGSEGV

Link to App Center

cryptoAlgorithm commented 2 years ago

This looks like a very persistent issue, it's been here since 3 releases back. Unfortunately, it isn't easily reproducible, nor does the error log shed much light on the cause. I'll keep this issue open, if anyone can reproduce this, kindly leave a comment.

cryptoAlgorithm commented 2 years ago

This issue probably belongs in DiscordKit though

cryptoAlgorithm commented 2 years ago

Ok, this seems to be a one off, closing this.