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 bad part hangs Fritzing bug #3388

Conversation

vanepp
Copy link
Contributor

@vanepp vanepp commented Jan 8, 2018

This code seems to fix issue #3382 where a corrupted fzp file causes a seg fault in Fritzing and leaves the parts files around after the crash. While I don't know what I'm doing and just copied a section of code that deals with a similar situation and it would be good to have someone familiar with the code review this, since the alternative is a seg fault and a hang, I don't see that this fix could be worse.

Peter

@KjellMorgenstern
Copy link
Member

Will this change notice the user about the corrupted part? While it is desirable not to crash, leaving an corrupted part unnoticed might be even worse. What might have caused the corruption in the first place?

@vanepp
Copy link
Contributor Author

vanepp commented Apr 7, 2019

Yes it would alert the user that the part is corrupted. However since development has died, at this point it is moot unless we can restart development Iwhich some of us are trying to do).The corruption is caused by creating improperly formatted fzp or svg files (which is easy to do by accident). As you will likely see this pull request has not been acted on as development (and thus releases) have stopped.

Peter

@madpipeline madpipeline changed the base branch from master to develop April 30, 2019 17:22
@KjellMorgenstern KjellMorgenstern merged commit 3812180 into fritzing:develop May 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants