Crash on sort by Modified Date in Open File dialog box
Steps to reproduce
- Within celluloid (https://github.com/celluloid-player), click the plus (file) button, and click open.
- In the open dialog box, click on the "Modified" column to sort by date.
- Program crashes.
Version information
GTK on Fedora 35
Warnings
abrt
reason: celluloid killed by SIGSEGV
crash_function: gtk_tree_view_update_rubber_band_selection_range.constprop.0
cmdline: /usr/bin/celluloid --gapplication-service
executable: /usr/bin/celluloid
package: celluloid-0.22-3.fc35
component: celluloid
pid: 325008
type/analyzer: CCpp/abrt-journal-core
pkg_fingerprint: E06F 8ECD D651 FF2E
dso_list: /usr/bin/celluloid celluloid-0.22-3.fc35.x86_64 (RPM Fusion) 1639866791
rootdir: /
kernel: 5.16.8-200.fc35.x86_64
pkg_vendor: RPM Fusion
run_level: N 5
os_release: Fedora release 35 (Thirty Five)
journald_cursor: s=c05c8feebd764d089afd16696679ff1f;i=4c6e7;b=9309c1b3333e49f6882f602c5db7fac3;m=de67bd776;t=5d8401b02e12c;x=b745399efcdacd80
cgroup: 0::/user.slice/user-1000.slice/user@1000.service/app.slice/dbus-:1.2-io.github.celluloid_player.Celluloid@3.service
uuid: 90263dca83b662909ffe2926ecc5f466f65185a5
abrt_version: 2.14.6
architecture: x86_64
ureports_counter: 1
data_directory: /var/spool/abrt/ccpp-2022-02-17-16:38:46.717883-325008
core_dump: $DATA_DIRECTORY/coredump (binary file, 536.7 MiB)
--Feb 17 16:36:47 localhost.localdomain celluloid[324678]: Cannot load libcuda.so.1
Feb 17 16:37:09 localhost.localdomain celluloid[324678]: _gtk_tree_path_new_from_rbtree: assertion 'node != NULL' failed
Feb 17 16:37:09 localhost.localdomain celluloid[324678]: gtk_tree_model_get_iter: assertion 'path->depth > 0' failed
Feb 17 16:38:20 localhost.localdomain celluloid[324857]: Cannot load libcuda.so.1
Feb 17 16:38:28 localhost.localdomain celluloid[324857]: _gtk_tree_path_new_from_rbtree: assertion 'node != NULL' failed
Feb 17 16:38:28 localhost.localdomain celluloid[324857]: gtk_tree_model_get_iter: assertion 'path->depth > 0' failed
Feb 17 16:38:36 localhost.localdomain celluloid[325008]: Cannot load libcuda.so.1
Feb 17 16:38:45 localhost.localdomain celluloid[325008]: _gtk_tree_path_new_from_rbtree: assertion 'node != NULL' failed
Feb 17 16:38:45 localhost.localdomain celluloid[325008]: gtk_tree_model_get_iter: assertion 'path->depth > 0' failed
Additional Info
The developer claims it's a GTK bug, but declined to file a GTK bug report on the issue (see: https://github.com/celluloid-player/celluloid/issues/751). Below is his patch to get the program working again:
src/celluloid-file-chooser.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/src/celluloid-file-chooser.c b/src/celluloid-file-chooser.c
index 9930ce4c..389e00b4 100644
--- a/src/celluloid-file-chooser.c
+++ b/src/celluloid-file-chooser.c
@@ -91,12 +91,10 @@ celluloid_file_chooser_new( const gchar *title,
GtkFileChooserAction action )
{
CelluloidFileChooser *chooser;
- GtkFileChooser *gtk_chooser;
GSettings *main_config;
gboolean last_folder_enable;
chooser = gtk_file_chooser_native_new(title, parent, action, NULL, NULL);
- gtk_chooser = GTK_FILE_CHOOSER(chooser);
main_config = g_settings_new(CONFIG_ROOT);
last_folder_enable = g_settings_get_boolean
(main_config, "last-folder-enable");
@@ -106,11 +104,6 @@ celluloid_file_chooser_new( const gchar *title,
load_last_folder(GTK_FILE_CHOOSER(chooser));
}
- if(action != GTK_FILE_CHOOSER_ACTION_SAVE)
- {
- gtk_file_chooser_set_select_multiple(gtk_chooser, TRUE);
- }
-
celluloid_file_chooser_set_modal(chooser, TRUE);
g_signal_connect(chooser, "response", G_CALLBACK(response_handler), NULL);