Segmentation fault on MacOS 14.5 / Apple Silicon with Python 3.12.5 and FreeSimpleGUI 5.1.1
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
Piste de recherche
Start with the reported stack trace, especially the GUI path through pfi/tools/fplot.py at lines 414, 123, and 570, and reproduce it on macOS 14.5 with Python 3.12.5, FreeSimpleGUI 5.1.1, and the reported matplotlib versions. Compare the GUI and command-line paths around closing show(); done means the GUI path closes the plot without a segmentation fault.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
I have a FreeSimpleGUI front end for a plotting utility; there is a button on the FreeSimpleGUI window that renders a plot with matplotlib show(). After closing the plot window (when show() exits), I'm getting a segmentation fault.
I can invoke the same plot via command line switches and bypass any FreeSimpleGUI rendering. In that case, after I close the show() window, no segmentation fault.
I add a faulthandler.enable() before the show(), and got this stack trace for the segmentation fault:
Fatal Python error: Segmentation fault
Current thread 0x00000001f3454c00 (most recent call first):
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/tkinter/__init__.py", line 1505 in mainloop
File "/Users/elw/Development/brewmonitor-python-toolkit/.venv/lib/python3.12/site-packages/PySimpleGUI.py", line 11263 in _read
File "/Users/elw/Development/brewmonitor-python-toolkit/.venv/lib/python3.12/site-packages/PySimpleGUI.py", line 11134 in read
File "/Users/elw/Development/brewmonitor-python-toolkit/pfi/tools/fplot.py", line 414 in fplot_ui
File "/Users/elw/Development/brewmonitor-python-toolkit/pfi/tools/fplot.py", line 123 in fplot_cli
File "/Users/elw/Development/brewmonitor-python-toolkit/pfi/tools/fplot.py", line 570 in <module>
File "<frozen runpy>", line 88 in _run_code
File "<frozen runpy>", line 198 in _run_module_as_main
I tried PySimpleGUI-4-foss, and had the same behavior, if that helps. Matplotlib version is the most current (3.9.1.post1), but it occurred with Matplotlib 3.8.3 and 3.8.4 as well.
- Langage dominant
- Python
- Étoiles
- 865
- Forks
- 106
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de spyoungtech/FreeSimpleGUI
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
spyoungtech/FreeSimpleGUI#109 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
spyoungtech/FreeSimpleGUI#86 · 1 commentaire · 2 réactions ·
-
Added - Dracula theme supportOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 64/100
spyoungtech/FreeSimpleGUI#110 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 58/100
spyoungtech/FreeSimpleGUI#101 · 8 réactions ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
spyoungtech/FreeSimpleGUI#99 · 1 réaction ·
Toutes les issues de spyoungtech/FreeSimpleGUI
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
task
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
danparshall/claude_researcher#87 ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
datajoint/datajoint-python#1586 ·
Les mainteneurs répondent en général sous 1 jour
-
1D intercept of length 1 is accepted as `fix_params` in population GLM with more than 1 unitPeut-être pris @dhvani7014 l’a pris aujourd’hui. Ouvertebug good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
flatironinstitute/nemos#642 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Broken links in the docsOuverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 78/100
uniswap-python/uniswap-python#487 ·