Segfault with Cython Extension reductable_params during module cleanup
10 views
Skip to first unread message
Vizonex
unread,
Apr 3, 2026, 1:34:19 PM (11 days ago) Apr 3
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cython-users
I made this library for function packing and building extendable plugin-like objects that could filter out arbitrary data on the fly but I can't seem to figure out why it's choosing to crash, it only seems to crash on my GitHub workflow packages in 3.14 but there seems to be other ways of triggering these. Originally I used `cython.freelist` and kept it at around 250 assuming users would use around that many in a smaller application but it seems.
I'm making a duplicate of this message as a text file since they seem to be randomly disappearing no clue as to why I'm unable to find messages in this group. :/
David Woods
unread,
Apr 3, 2026, 2:36:40 PM (11 days ago) Apr 3
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cython...@googlegroups.com
From a quick look, there's one recounting issue in `reduce_call` - PyDict_GetItemWithError` returns a borrowed reference while `PyTuple_SET_ITEM` steals a reference. So you definitely lose a reference there.