-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Description
Describe the bug
I have written a flutter plugin with libzstd. It's works fine on Android, iOS, macOS and Windows with v1.5.7. But the example app crashed when I runing it on Ubuntu. After some debug, I can confirm the crash happened after the ZSTD_decompressStream is called, this crash happened with v1.5.6 and v1.5.7, can be fixed with v1.5.5
To Reproduce
Steps to reproduce the behavior:
- Clone this repo: https://github.com/yanshouwang/zstd
- Run the example in zstd on Ubuntu, the app crashed without any output
- Change the GIT_TAG in zstd_native/src/cmake/zstd.cmake to v1.5.5, run the example and the crash will gone.
Expected behavior
ZSTD_decompressStream should work on Ubuntu with the latest version.
Screenshots and charts

Crashed with v1.5.6 and v1.5.7

Works fine with v1.5.5
Desktop (please complete the following information):
- OS: Ubuntu
- Version 24.04.3 LTS
- Compiler [e.g. gcc]
- Flags [e.g. O2]
- Other relevant hardware specs [e.g. Dual-core]
- Build system CMake
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
No labels