-
Notifications
You must be signed in to change notification settings - Fork 120
Description
I get segfaults when I use a combination of easygui.fileopenbox() and easygui.buttonbox()
A minimal reproducible example would be:
`import easygui
easygui.fileopenbox()
easygui.buttonbox()
easygui.fileopenbox()`
When I run this program the fileopenbox opens normally and I can select a file. Then the buttonbox appears, but when I click one of the boxes the program crashes an throws most of the times "Segmentation fault: 11" sometimes it throws "Trace/BPT trap: 5".
When I add some print-statements:
`import easygui
print("1")
easygui.fileopenbox()
print("2")
easygui.buttonbox()
print("3")
easygui.fileopenbox()
print("4")`
The output is:
1
2
3
So the crash happens when the program gets to the second fileopenbox() command.
I am using Python 3.12.0 and easygui 0.98.3 on MacOS 14.6.1 (23G93) with M1 chip.