You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[C++][Python] SEGFAULT when casting FixedSizeTensorArray to storage type then back to FixedSizeTensorArray #41756
Thanks or reporting @judahrand. Do you get any debug information printed besides the segfault?
Issue seems similar to #37004, but not necessary the same.
I propose to close this issue as a duplicate of #37004 and track the progress there.
I asked Copilot to compare backtraces from both issues and went through the result. It does seem that, in both cases, when casting an extension type with list-based storage, the cast kernel produces ArrayData with the correct type but drops the child data. When the extension type then tries to wrap this into an ExtensionArray and calls MakeArray, it tries to construct a list array from that incomplete ArrayData and crashes.
Activity
rok commentedon May 21, 2024
Thanks or reporting @judahrand. Do you get any debug information printed besides the segfault?
Issue seems similar to #37004, but not necessary the same.
jorisvandenbossche commentedon May 21, 2024
The gdb traceback I get:
AlenkaF commentedon May 8, 2026
I propose to close this issue as a duplicate of #37004 and track the progress there.
I asked Copilot to compare backtraces from both issues and went through the result. It does seem that, in both cases, when casting an extension type with list-based storage, the cast kernel produces
ArrayDatawith the correct type but drops the child data. When the extension type then tries to wrap this into anExtensionArrayand callsMakeArray, it tries to construct a list array from that incompleteArrayDataand crashes.