lidavidm commented on PR #36986:
URL: https://github.com/apache/arrow/pull/36986#issuecomment-1673323561
Alright:
- The weird `SystemError: <class 'SystemError'> returned a result with an
error set` is inscrutable to me. It occurs along with a `TypeError:
__traceback__ must be a traceback or None` message. `with_traceback` doesn't
appear to be able to clear the problematic traceback and I can't get gdb to
break on the source of the error properly.
- The segfault is also related to tracebacks, somehow; it reproduces with
PYTHONDEVMODE and gdb shows it happens somewhere in `tb_traverse`, where
`obj->ob_type` points to something that appears to have already been
deallocated:
```
#0 _PyObject_IS_GC (obj=0x7fff656ce7af) at
/usr/local/src/conda/python-3.11.3/Include/object.h:772
#1 visit_decref (op=0x7fff656ce7af, parent=parent@entry=0x7fff656ce710)
at /usr/local/src/conda/python-3.11.3/Modules/gcmodule.c:452
#2 0x000055555583df5b in tb_traverse (tb=0x7fff656ce710,
visit=0x555555723a20 <visit_decref>, arg=0x7fff656ce710)
at /usr/local/src/conda/python-3.11.3/Python/traceback.c:182
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]