Hi Pete,
The root cause definitely isn't obvious. In that the filename should just be a string and typically they don't have any locking in because they're immutable.
If I were trying to investigate this I'd probably try to catch it in a C debugger (e.g. compile with `-O0 -g` and run inside gdb). I think that the debugger should stop at the fatal Python error. That might fill in the gap about what operation was it was trying to do between `os.stat` and unlocking the mutex.
What happens if you don't print the path name object, but try to print information about the path name object? (e.g. `type(fullname)`)? If that doesn't work, what happens if you print a fixed string like "hello"?
It seems reasonably likely that some internal state is getting corrupted somewhere which could be Cython's fault or might not be. So the problem might end up being really non-obvious and detached from the location.
David
--
---
You received this message because you are subscribed to the Google Groups "cython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cython-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cython-users/CALKyFja%2Bjw2zkh%3DJZunVt-ACT8jB_We_9DLhYPqctvxVZdmGMA%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/cython-users/4975ae57-b97d-4416-9a26-d5af4be4fc90%40d-woods.co.uk.
That's a bug in the Cython coroutine code. My fault (I think). Thanks for the report.
Will be fixed in https://github.com/cython/cython/pull/7632
David
To view this discussion visit https://groups.google.com/d/msgid/cython-users/CALKyFjZ3ZTTNHKTmftQ8eyAgLNN%2BoQDcBjzWGh4PAZBEF43R_Q%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/cython-users/e4fdff47-322e-4363-b592-f5e5ef54fb8e%40d-woods.co.uk.