Segmentation fault when pressing Ctrl+Right / Ctrl+Left / Ctrl+Shift+.
When I press Ctrl+Right or Ctrl+Left or Ctrl+Shift+. , the application crashes with Segmentation fault.
I tried it on version 1.12.1 and on master branch in git. It worked in version 1.10.3.
Here is a trace from gdb (master branch in git):
Thread 1 "gnome-commander" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe8f16a80 (LWP 17899)]
0x00005555555be81d in GnomeCmdFile::GetGfileAttributeUInt32 (this=this@entry=0x0,
attribute=attribute@entry=0x5555556225a4 "standard::type") at gnome-cmd-file.cc:527
527 error = nullptr;
Thread 1 (Thread 0x7fffe8f16a80 (LWP 17899)):
#0 0x00005555555be81d in GnomeCmdFile::GetGfileAttributeUInt32 (this=this@entry=0x0, attribute=attribute@entry=0x5555556225a4 "standard::type") at gnome-cmd-file.cc:527
error = 0x7ffff712d2fb <gtk_clist_get_row_data+123>
gFileAttributeUInt32 = <optimized out>
gcmdFileInfo = <optimized out>
#1 0x00005555555c4f1e in GnomeCmdMainWin::set_fs_directory_to_opposite(FileSelectorID) () at gnome-cmd-main-win.cc:1256
file = 0x0
fselector = 0x555555945010
other = 0x5555557d5480
dir = 0x5555558af0e0
fs_is_active = 0
#2 0x00005555555cdd82 in GnomeCmdUserActions::handle_key_event(GnomeCmdMainWin*, GnomeCmdFileList*, _GdkEventKey*) () at /usr/include/c++/8/bits/basic_string.h:2290
pos =
{first = {type = 1435415440, window = 0x12, send_event = 18 '\022', time = 0, state = 4, keyval = 65363, length = -9088, string = 0x5555558eb350 "view.in_right_pane", hardware_keycode = 0, group = 0 '\000', is_modifier = 0}, second = {func = 0x5555555cc200 <view_in_right_pane(_GtkMenuItem*, void*)>, user_data = ""}}
#3 0x00005555555bc8e8 in on_list_key_pressed (clist=0x5555558cc0d0, event=0x5555559f7630, fs=0x5555557d5480) at gnome-cmd-file-selector.h:67
No locals.
#4 0x00007ffff6fde7bc in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
...