Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: app crash #1094

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix: app crash #1094

wants to merge 1 commit into from

Conversation

Sceri
Copy link

@Sceri Sceri commented May 20, 2022

During stream termination, errors can occur which can crash the entire application, since all the listeners on the busboy are removed. We suppress such errors with this fix.

Scenario: If Dicer didn't fully parse the content and the stream terminates (for example after failing to pass the fileFilter), Dicer sends an error event (link). This event goes to Busboy (link) and then crashes because all listeners have been deleted.

This will potentially fix it: 1 2

@LinusU
Copy link
Member

LinusU commented May 29, 2022

Thanks for taking the time to work on this PR!

I recently released 1.4.4-lts.1 from the #1097 PR which removes Dicer altogether. Does that solve your problem?

@import-brain import-brain added the pr label Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants