file-roller v44-1 - g_strsplit assertion failed (bookmark_file_ready_cb SEGFAULT)
After days of pain i figured it out - downgrading package to, say, version 43.1-1
fixes the issue in its entirety.
It would appear that the issues listed below appear on the 44* version of file-roller. I should also note that i tried both a Release package and -git packages; both (at the time) seem to have the same issue.
Trying to add a file to an archive (via the +
button or any other way) or trying to extract an archive (both if pressing ctrl+E and if clicking Extract
button) results in a segfault.
If file-roller is launched via a terminal the only messages that can be seen are:
(file-roller:274551): GLib-CRITICAL **: 10:54:13.239: g_strsplit: assertion 'string != NULL' failed
Segmentation fault (core dumped)
And, on rare occasions, seemingly without any reason; this message can also be seen:
(file-roller:273080): Gtk-CRITICAL **: 10:49:22.818: gtk_css_node_insert_after: assertion 'previous_sibling == NULL || previous_sibling->parent == parent' failed
I'm really sorry if i'm wasting your time in any way, the issue might be entirely on my end; but i still want confirmation on whether or not i'm doing something completely wrong.
I'm using latest (as of 31st march 2024) arch linux kernel. The file-roller was installed using pacman
(the build had no error messages).
I'm using Hyprland WM on Wayland.
Some things to note: For some reason, after reinstalling file-roller for the first time (it came pre-installed with hyprland configuration i chose) - file-roller turned into light mode for seemingly no reason... Trying to switch themes or choose preferred app-theme (i.e. light or dark) also doesn't change anything (tried with nwg-look
and regular cli commands)
Debugged with gdb, here are full results after clicking "Extract" button:
[New Thread 0x7fffad6006c0 (LWP 24470)]
(file-roller:24048): GLib-CRITICAL **: 21:01:41.784: g_strsplit: assertion 'string != NULL' failed
Thread 1 "file-roller" received signal SIGSEGV, Segmentation fault.
0x00005555555889f0 in bookmark_file_ready_cb (source_object=<optimized out>, result=<optimized out>, user_data=0x555556c45990)
at ../file-roller/src/fr-places-sidebar.c:196
Downloading source file /usr/src/debug/file-roller/build/../file-roller/src/fr-places-sidebar.c
196 for (int i = 0; lines[i] != NULL; i++) {