crash when returning to panels by pressing Ctrl-O

Nerijus Baliunas nerijus at users.sourceforge.net
Sun Oct 14 10:10:06 UTC 2018


Hello,

I posted https://bugzilla.redhat.com/show_bug.cgi?id=1639016 but duplicate it here too.
I get lots of crashes when returning to mc panels from terminal by pressing Ctrl-O.
# coredumpctl debug
           PID: 10643 (mc)
           UID: 0 (root)
           GID: 0 (root)
        Signal: 11 (SEGV)
     Timestamp: Sun 2018-10-14 12:54:41 EEST (10min ago)
  Command Line: /usr/bin/mc -P /var/tmp/mc-root/mc.pwd.10566
    Executable: /usr/bin/mc
...
Core was generated by `/usr/bin/mc -P /var/tmp/mc-root/mc.pwd.10566'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000055e1c86ac045 in display_mini_info (panel=0x55e1ca8856f0) at panel.c:1006
1006	    if (S_ISLNK (panel->dir.list[panel->selected].st.st_mode))
Missing separate debuginfos, use: dnf debuginfo-install glib2-2.58.1-1.fc29.x86_64 glibc-2.28-9.fc29.x86_64 gpm-libs-1.20.7-16.fc29.x86_64 libssh2-1.8.0-8.fc29.x86_64 openssl-libs-1.1.1-3.fc29.x86_64 pcre-8.42-4.fc29.x86_64 zlib-1.2.11-14.fc29.x86_64
(gdb) bt
#0  0x000055e1c86ac045 in display_mini_info (panel=0x55e1ca8856f0) at panel.c:1006
#1  0x000055e1c86b0fdb in panel_callback (w=0x55e1ca8856f0, sender=<optimized out>, msg=<optimized out>, 
    parm=<optimized out>, data=<optimized out>) at panel.c:3673
#2  0x000055e1c86a4404 in setup_panels () at layout.c:756
#3  0x000055e1c86a8e2d in midnight_callback (w=<optimized out>, sender=<optimized out>, msg=<optimized out>, 
    parm=0, data=<optimized out>) at midnight.c:1470
#4  0x000055e1c868f4c2 in send_message (data=0x0, parm=0, msg=MSG_RESIZE, sender=0x0, w=<optimized out>)
    at ../../lib/widget/widget-common.h:210
#5  dialog_switch_resize (d=<optimized out>) at dialog-switch.c:120
#6  dialog_change_screen_size () at dialog-switch.c:374
#7  0x000055e1c868f51d in mc_refresh () at dialog-switch.c:349
#8  0x000055e1c8710faf in dir_list_reload (list=list at entry=0x55e1ca885738, vpath=0x55e1ca892e50, 
    sort=0x55e1c870fc30 <sort_name>, sort_op=sort_op at entry=0x55e1ca8857a8, fltr=0x0) at dir.c:800
#9  0x000055e1c86ae366 in panel_reload (panel=panel at entry=0x55e1ca8856f0) at panel.c:4424
#10 0x000055e1c86ae578 in update_one_panel_widget (panel=0x55e1ca8856f0, flags=<optimized out>, 
    current_file=0x55e1ca979d10 "libicui18n.so.62.1") at panel.c:4028
#11 0x000055e1c86aeb69 in update_one_panel (
    current_file=0xffffffffffffffff <error: Cannot access memory at address 0xffffffffffffffff>, 
    flags=UP_OPTIMIZE, which=0) at panel.c:4049
#12 update_panels (flags=flags at entry=UP_OPTIMIZE, 
    current_file=current_file at entry=0xffffffffffffffff <error: Cannot access memory at address 0xffffffffffffffff>) at panel.c:4819
#13 0x000055e1c86866de in toggle_panels () at execute.c:554
#14 0x000055e1c870e73d in view_other_cmd () at cmd.c:1216
#15 0x000055e1c86a8975 in midnight_execute_cmd (sender=0x0, command=45) at midnight.c:1330
#16 0x000055e1c86a8f72 in midnight_callback (w=<optimized out>, sender=<optimized out>, msg=<optimized out>, 
    parm=16399, data=<optimized out>) at midnight.c:1565
#17 0x000055e1c86906e1 in send_message (data=0x0, parm=16399, msg=MSG_UNHANDLED_KEY, sender=0x0, w=0x55e1ca864800)
    at ../../lib/widget/widget-common.h:210
#18 dlg_key_event (d_key=16399, h=0x55e1ca864800) at dialog.c:489
#19 dlg_process_event (h=0x55e1ca864800, key=16399, event=<optimized out>) at dialog.c:1168
#20 0x000055e1c8690c61 in frontend_dlg_run (h=0x55e1ca864800) at dialog.c:541
#21 dlg_run (h=0x55e1ca864800) at dialog.c:1199
#22 0x000055e1c86a9e2c in do_nc () at midnight.c:1791
#23 0x000055e1c868474b in main (argc=<optimized out>, argv=<optimized out>) at main.c:409

Regards,
Nerijus



More information about the mc-devel mailing list