Segmentation fault on MacOS 14.5 / Apple Silicon with Python 3.12.5 and FreeSimpleGUI 5.1.1
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 867
- Forks
- 106
- Merge medio
- 1 min
- PR fusionados (30 d)
- 2
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de spyoungtech/FreeSimpleGUI
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
spyoungtech/FreeSimpleGUI#109 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
spyoungtech/FreeSimpleGUI#86 · 1 comentario · 2 reacciones ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 58/100
spyoungtech/FreeSimpleGUI#101 · 8 reacciones ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
spyoungtech/FreeSimpleGUI#99 · 1 reacción ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
spyoungtech/FreeSimpleGUI#95 ·
Todos los issues de spyoungtech/FreeSimpleGUI
Issues similares
-
bug confirmed issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
open-webui/open-webui#30750 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100