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

[GFM] macOS: segfault on gtk_file_chooser_set_current_name #70

Open
adriweb opened this issue Aug 30, 2023 · 0 comments
Open

[GFM] macOS: segfault on gtk_file_chooser_set_current_name #70

adriweb opened this issue Aug 30, 2023 · 0 comments

Comments

@adriweb
Copy link
Contributor

adriweb commented Aug 30, 2023

For some reason, gtk_file_chooser_set_current_name crashes with a segfault.
Currently here and on the other similar call further down:

gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER(dialog), sfilename);

Backtrace:

* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x0000000103468cd8 libgtk-quartz-2.0.0.dylib`get_buffer + 40
    frame #1: 0x0000000103469074 libgtk-quartz-2.0.0.dylib`gtk_entry_set_text + 52
    frame #2: 0x0000000102fe1930 gfm`create_fsels_2(dirname="/Users/adriweb/.local/share/", filename="test", ext="*.73?;*.82?;*.83?;*.8X?;*.85?;*.86?;*.89?;*.92?;*.9x?;*.V2?") at filesel.c:339:3
    frame #3: 0x0000000102fe1758 gfm`create_fsels(dirname="/Users/adriweb/.local/share/", filename="test", ext="*.73?;*.82?;*.83?;*.8X?;*.85?;*.86?;*.89?;*.92?;*.9x?;*.V2?") at filesel.c:557:17

Just commenting out the line(s) "solves" the issue and doesn't seem to be affecting functionality...

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