lysender / files-rs

Personal file storage API
MIT License
0 stars 0 forks source link

Crashes on random JPEG due to zune-jpeg version #1

Closed lysender closed 1 month ago

lysender commented 2 months ago

On logs:

Jul 19 06:28:44 localhost files-rs[19845]: thread 'tokio-runtime-worker' panicked at /home/lysender/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zune-jpeg-0.4.11/src/mcu.rs:209>
Jul 19 06:28:44 localhost files-rs[19845]: assertion `left == right` failed
Jul 19 06:28:44 localhost files-rs[19845]:   left: 29855232
Jul 19 06:28:44 localhost files-rs[19845]:  right: 29942784
Jul 19 06:28:44 localhost files-rs[19845]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Jul 19 06:28:44 localhost systemd[1]: files-rs.service: Main process exited, code=killed, status=6/ABRT
Jul 19 06:28:44 localhost systemd[1]: files-rs.service: Failed with result 'signal'.
Jul 19 06:28:44 localhost systemd[1]: files-rs.service: Consumed 42.701s CPU time.

Related to zune-jpeg crate issue: https://github.com/etemesi254/zune-image/issues/184

zune-jpeg version: 0.4.11 image version: 0.25.1

Monitoring both image and zune-jpeg for updates so we can upgrade.

lysender commented 2 months ago

Should have not a panic call though as my application handles all errors gracefully, sort of. Will wait for the upstream fixes.

lysender commented 1 month ago

image crate released an update to fiix the zune-jpeg issue.