-
Notifications
You must be signed in to change notification settings - Fork 73
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
[GTK3] segfault when reordering columns in detail view #608
Comments
I can't reproduce this. Perhaps @OmegaPhil can reproduce with 3.18. Otherwise we'll need more info, such as exact steps to reproduce starting with a default config:
And/or a backtrace per the BUILD DEBUG section of README. Also, if using a 3rd party GTK theme, be sure to test using Adwaita, GNOME's default theme. |
Same version of GTK3 - just done a quick test here on alpha branch, no issues (yet). Any chance of a screenshot to see how big the directory is (indication of scrolling etc)? |
I narrowed the issue down to the gtk3 build flag "--enable-debug". I get the segfault if I build gtk3 with "--enable-debug=no", but not with "--enable-debug=minimum" (minimum is the default if not explicitly set). Should spacefm work when gtk3 is built with "--enable-debug=no"? Other than the segfault when reordering columns in spacefm, I didn't encounter any other issues with "--enable-debug=no". I use several gtk3 apps including transmission, easytag, and firefox nightly. I'll take a look at the BUILD DEBUG section of README, and see if I can get a backtrace. |
backtrace:
|
I'm not the final word here, but presumably thats a GTK3 screwup based on where it broke? I run on Debian so I'm not the type to be reconfiguring packaged builds etc (since nothing is set, I'm thinking --enable-debug=minimum is being used), their building docs warn against setting no for reference. |
Quoting OmegaPhil's source on --enable-debug:
It's probably not good to use 'no' with SpaceFM, as SpaceFM supports a wide range of GTK versions (from 2.18 thru 3.x), so the likelihood of non-critical warnings increases. Also, as OmegaPhil observed, the crash seems to be happening deep in GTK code, in gdk_window_new() no less. So this may be a GTK bug. Column reordering is mostly handled internally by GTK, with SpaceFM's code merely being notified when a reorder has occurred. Yet if you do see any applicable GTK warning in stdout when built with '--enable-debug=minimum' and performing the column drag, please add that info and maybe it can be addressed. Closing this as it's unlikely it can be fixed in SpaceFM, but feel free to add further results or info below. |
If I try to reorder the columns in detail view by clicking and dragging the column header, I get a segfault.
I am using SpaceFM v1.0.4 on Arch Linux with Gtk 3.18.5.
The text was updated successfully, but these errors were encountered: