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 with buttonbox and fileopenbox #227

Open
dimitri-eckert opened this issue Sep 16, 2024 · 0 comments
Open

Segmentation fault with buttonbox and fileopenbox #227

dimitri-eckert opened this issue Sep 16, 2024 · 0 comments

Comments

@dimitri-eckert
Copy link

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.

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