[GH-ISSUE #1154] [Bug] IOException: Stream was too long. #871

Open
opened 2026-02-26 09:32:54 +03:00 by kerem · 2 comments
Owner

Originally created by @brian6932 on GitHub (Oct 21, 2022).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1154

Originally assigned to: @NickeManarin on GitHub.

Describe the bug
Not sure if this is a memory allocation bug, but is there anyway to bypass it?

To Reproduce
I was just making a 352 frame apng:
image

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Version 2.37.1
Originally created by @brian6932 on GitHub (Oct 21, 2022). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1154 Originally assigned to: @NickeManarin on GitHub. **Describe the bug** Not sure if this is a memory allocation bug, but is there anyway to bypass it? **To Reproduce** I was just making a 352 frame apng: ![image](https://user-images.githubusercontent.com/18603393/197081662-7ea7c5db-1513-4e67-8620-4d59b5d557ee.png) **Screenshots** ![image](https://user-images.githubusercontent.com/18603393/197081490-5e347eea-3e8f-4169-b05d-72f3eefd5a11.png) **Desktop (please complete the following information):** - OS: Windows 10 - Version 2.37.1
Author
Owner

@brian6932 commented on GitHub (Oct 21, 2022):

Ok, after cropping, and doing the same action again, it no longer errored.
If this is an allocation issue, maybe a cli launch flag to set allocation size would be useful.

<!-- gh-comment-id:1286300205 --> @brian6932 commented on GitHub (Oct 21, 2022): Ok, after cropping, and doing the same action again, it no longer errored. If this is an allocation issue, maybe a cli launch flag to set allocation size would be useful.
Author
Owner

@NickeManarin commented on GitHub (Jun 23, 2023):

The APNG encoder was rewritten for version 3 of the app.
This should not happen again.

<!-- gh-comment-id:1604715311 --> @NickeManarin commented on GitHub (Jun 23, 2023): The APNG encoder was rewritten for version 3 of the app. This should not happen again.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#871
No description provided.