Closed tsoernes closed 3 years ago
thanks! how weird, stackprinter doesn't touch the C Api or thelike perhaps this happens when it tries to access some object attribute - which shouldn't segfault, but stackprinter might be the first thing to try and access it. if you'd like to help, could you sprinkle some logs in this function https://github.com/cknd/stackprinter/blob/32c19bf5f972472324848540dd8d425528c28c09/stackprinter/extraction.py#L155 and try again? some clues about what values it's trying to access when this happens might be interesting
This is really an issue in PyArrow. stackprinter
is inspecting the properties of a Cython-generated extension type, and it crashes because the object is not fully initialized.
Reference: https://issues.apache.org/jira/browse/ARROW-12993
thanks for the followup!
The following code
yields
while the following code:
yields
I.e. stackprinter causes an address boundary error. stackprinter 0.2.5