Assertion failure when marshalling buffer object with exception being set #106287
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-crash
A hard crash of the interpreter, possibly with a core dump
Bisected to 33d95c6. Appears only on debug builds, otherwise passes silently.
Output:
In
w_complex_object
, whenPyMarshal_WriteObjectToString
is called onset
item that is unmarshallable (int
type in this case), an exception gets set on current tstate. Attempt to marshal next tuple item that ismemoryview
instance leads to call toPyObject_GetBuffer
with exception being set.I'll submit a PR.
Linked PRs
The text was updated successfully, but these errors were encountered: