-
Notifications
You must be signed in to change notification settings - Fork 41
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
Hang in the cusp neighbourhood code #11
Comments
Nathan also observed the following failure: M = Manifold('nLLzLMAPAkcdchfghjkjklmmhsrsbwgarbgahr') |
5755f76 |
It would be nice if we could reproduce the problem outside of the context of cusp_neighborhood. As I understand the traceback, the In my example, the error message is somewhat different:
I guess possibly the fatal error message has been overwritten by later calls to uFatalError. Perhaps to figure this out we need to have uFatalError generate a SEGFAULT so we can poke around at the C level with a debugger. |
How about just setting a break point in uFatalError? I think that's the
standard approach.
- Marc
…On Mon, Jan 20, 2020, 12:48 PM Nathan Dunfield ***@***.***> wrote:
is avoiding the hang, but ideally, we would make this code fail less.
It would be nice if we could reproduce the problem outside of the context
of cusp_neighborhood. As I understand the traceback, the uFatalError is
generated after a call to proto_canonize returns func_failed. But
M.canonize(), which simply calls proto_canonize, doesn't give an error
with Saul's triangulation. But maybe cusp_neighborhood changes the
relevant cusp sizes used to define "canonical" in this setting.
In my example, the error message is somewhat different:
SnapPeaFatalError: SnapPea crashed in function remove_edge_of_order_one(), defined in simplify_triangulation.c.
I guess possibly the fatal error message has been overwritten by later
calls to uFatalError. Perhaps to figure this out we need to have
uFatalError generate a SEGFAULT so we can poke around at the C level with a
debugger.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#11?email_source=notifications&email_token=AAJ6CP47BEOVYIIO2USVS73Q6XWV7A5CNFSM4KJHWCA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJNQ6PY#issuecomment-576393023>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJ6CP7S5JSBKMJZEZYY2PLQ6XWV7ANCNFSM4KJHWCAQ>
.
|
FYI, I checked in a change to uFatalError a couple of weeks ago so that a later error no longer overwrites the first error. Another thought: I wonder whether we should change the signature of M.canonize to possibly include a list of cusp areas. |
Reported hang by Saul Schleimer:
sage: sig = 'nLLzLMAPAkcdchfghjkjklmmhsrsbwgarbgahr'
sage: M = snappy.Manifold(sig)
sage: C = M.cusp_neighborhood()
sage: C.set_tie(0, 2)
The text was updated successfully, but these errors were encountered: