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

segfault on gtkmm filechooser set_current_name #651

Open
xzcvczx opened this issue Jul 12, 2020 · 0 comments
Open

segfault on gtkmm filechooser set_current_name #651

xzcvczx opened this issue Jul 12, 2020 · 0 comments

Comments

@xzcvczx
Copy link
Contributor

xzcvczx commented Jul 12, 2020

System information

SolveSpace version: 3.0-c4ca4be9

Operating system: kiss linux, gtk+3.24.2

Expected behavior

run solvespace (gui) click "Sketch image from file"
expect dialog to open to select image

Actual behavior

solvespace segfaults with no output in console

Additional information

if you have gtk3 build with debug=yes you get the following message in console and it doesn't crash, however with debug=no it segfaults

Gtk-CRITICAL **: 23:56:40.947:
                 gtk_file_chooser_widget_set_current_name: assertion 'priv->action ==
                 GTK_FILE_CHOOSER_ACTION_SAVE || priv->action ==
                 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER' failed

based on the documentation on gtkmm solvespace is using incorrect functions, see #650 for fixes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants