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

[Merged by Bors] - fix(library/tlean_exporter): add recursion guard #752

Closed
wants to merge 1 commit into from

Conversation

digama0
Copy link
Member

@digama0 digama0 commented Aug 7, 2022

Fixes a segfault in mathlib due to stack overflow, reported on Zulip. (For reasons unknown, this doesn't just throw a stack overflow exception instead of segfaulting: it actually terminates correctly. Does check_system do some split stack shenanigans? It seems like it should be disabled.)

@gebner
Copy link
Member

gebner commented Aug 8, 2022

For reasons unknown, this doesn't just throw a stack overflow exception instead of segfaulting: it actually terminates correctly. Does check_system do some split stack shenanigans?

Not that I know of, but there might be a try { export_expr(); } catch (...) {} somewhere.

bors r+

bors bot pushed a commit that referenced this pull request Aug 8, 2022
Fixes a segfault in mathlib due to stack overflow, [reported on Zulip](https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Tactic.20regression.20tests.20via.20mathport/near/292324800). (For reasons unknown, this doesn't just throw a stack overflow exception instead of segfaulting: it actually terminates correctly. Does `check_system` do some split stack shenanigans? It seems like it should be disabled.)
@bors
Copy link

bors bot commented Aug 8, 2022

@bors bors bot changed the title fix(library/tlean_exporter): add recursion guard [Merged by Bors] - fix(library/tlean_exporter): add recursion guard Aug 8, 2022
@bors bors bot closed this Aug 8, 2022
@bors bors bot deleted the tlean_exporter_check_sys branch August 8, 2022 08:01
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.

None yet

2 participants