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

Call to wx.aui.AuiNotebook() causes segmentation fault in 4.2.1 on ARM Mac with conda's py 3.10 #2526

Open
briantoby opened this issue Feb 11, 2024 · 0 comments

Comments

@briantoby
Copy link

OS: MacOS 14.3 on M1 (also seen on a M1 max):
wxPython: 4.2.1 from conda-forge (version py310hde93f36_3)
Python: 3.10 from conda-forge (version hae75cb6_0_cpython)

Description of the problem:

My code crashes with a SIGSEGV when I run it in wx4.2.1 on an ARM Mac. If I regress to wx4.2.0 (no other package changes), the identical code runs fine. The place where the code crashes is during a call to wx.aui.AuiNotebook(self, style=wx.aui.AUI_NB_DEFAULT_STYLE ^ wx.aui.AUI_NB_CLOSE_ON_ACTIVE_TAB)

This error can be reproduced by running the AUI_Notebook demo.

Environment creation (click to expand)
conda create -n py310 python=3.10 wxpython=4.2  -y
Code Example (click to expand)

This command reproduces the crash

python wxPython-demo-4.2.1/demo/AUI_Notebook.py

Likewise use of

python wxPython-demo-4.2.1/demo/demo.py 

followed by opening "Book Controls" and selecting AUI_notebook also causes python to immediately crash.

Very strangely, in my various attempts playing around with different versions of packages, I somehow had conda install the py310hfa888ef_0 version of wxpython 4.2.1. This works. Also works with the conda-forge py3.11.

Can anyone else reproduce this? Does it happen anywhere else?

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