Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault importing module #1

Open
ZXGuesser opened this issue May 14, 2024 · 0 comments
Open

Segmentation fault importing module #1

ZXGuesser opened this issue May 14, 2024 · 0 comments

Comments

@ZXGuesser
Copy link

On Debian with Python 3.11.2, I'm getting a segfault in __strlen-sse2(), called from PyUnicode_FromString(), which I've narrowed down to the calculation of the n_in_sequence for the PyStructSequence_Descs in zvbi_event_types.c

for example sizeof(ZvbiEvent_EventNetworkMembers) / sizeof(ZvbiEvent_EventNetworkMembers[0])

If I hard code all these values instead the module loads and the appears to work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant