You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The embedded libnsgif uses signed 32-bit int offsets into the mmapped file, resulting in any file >= 2GiB being flagged as unreadable. Chafa then falls back to the ImageMagick decoder, which tries to decode the entire file to temp buffers before proceeding. At this point it runs out of memory.
I'm committing a fix to master that makes libnsgif use 64-bit offsets. Please let me know if the problem doesn't go away.
While attempting to view a 2gb gif file (youtube-dl > ffmpeg > gif) chafa crashed with following message:
Firefox plays this gif without errors.
The text was updated successfully, but these errors were encountered: