Skip to content

Segmentation fault with MessageBox and FileDialog in the same script #99700

Closed
@louis-martin

Description

@louis-martin

Bug report

Output received :

     zsh: segmentation fault  python3 test_dialogue.py

after the execution of the filedialog.

test_dialogue.py file content :

    import tkinter.filedialog
    import tkinter.messagebox
    
    fichier = tkinter.filedialog.askopenfilename()
    print(fichier)
    
    reponse = tkinter.messagebox.askyesnocancel(
        message='Êtes-vous certain ?', icon='question')
    print(reponse)

Each segment work well independantly.

Environment

Python 3.11.0
MAC OS Monrterey 12.6.1
MacBook Pro (13-inch, 2016, Four Thunderbolt 3 Ports)

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-mactopic-tkintertype-crashA hard crash of the interpreter, possibly with a core dump

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions