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

Provide a useful error message on running out of memory #188

Closed
DemiMarie opened this issue Apr 2, 2017 · 0 comments
Closed

Provide a useful error message on running out of memory #188

DemiMarie opened this issue Apr 2, 2017 · 0 comments

Comments

@DemiMarie
Copy link

CMark aborts the whole process when it runs out of memory. This is a reasonable decision, but currently it just calls abort(), which leaves the user with no clue what happened.

CMark should instead write a useful error message to stderr (and possibly a backtrace, if one is easy to obtain) before aborting, or else recover from the error.

@jgm jgm closed this as completed in 5c2f334 Apr 3, 2017
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

No branches or pull requests

1 participant