[Pkg-mc-devel] Bug#895281: mc: segfault when exit from mcedit
Wojciech Nizinski
niziak-reportbug at spox.org
Mon Apr 9 09:57:24 UTC 2018
Package: mc
Version: 3:4.8.18-1
Severity: normal
Scenario:
I have one folder mounted with following fstab entry:
user at server.org:/ /mnt/server fuse.sshfs defaults,_netdev,noauto,users,compression=yes,reconnect,cache=yes,cache_timeout=3600,cache_dir_timeout=20,cache_stat_timeout=20 0 0
In home directory, I have symlink to commonly used folder at remote location:
~/mysymlink --> /mnt/server/mnt/pendrive
I'm using mc to navigate and edit plan text files in ~/mysymlink and subdirs.
Sometimes, after saving just edited file with F2 and exiting from editor (2x ESC) I got crash:
Program received signal SIGSEGV, Segmentation fault.
0x0000555555594785 in display_mini_info (panel=0x555555986e10) at panel.c:1024
1024 panel.c: No such file or directory.
(gdb) bt
#0 0x0000555555594785 in display_mini_info (panel=0x555555986e10) at panel.c:1024
#1 0x0000555555599659 in panel_callback (w=0x555555986e10, sender=<optimized out>, msg=<optimized out>, parm=<optimized out>, data=<optimized out>) at panel.c:3663
#2 0x000055555558cc01 in setup_panels () at layout.c:757
#3 0x000055555559135d in midnight_callback (w=<optimized out>, sender=<optimized out>, msg=<optimized out>, parm=0, data=<optimized out>) at midnight.c:1425
#4 0x00007ffff6d9caad in g_list_foreach (list=<optimized out>, func=func at entry=0x555555577a30 <dlg_resize_cb>, user_data=user_data at entry=0x0) at ././glib/glist.c:1005
#5 0x0000555555578058 in dialog_change_screen_size () at dialog-switch.c:381
#6 0x00005555555f292b in dir_list_reload (list=list at entry=0x555555986e58, vpath=0x55555598f990, sort=0x5555555f1560 <sort_name>, sort_op=sort_op at entry=0x555555986ec8, fltr=0x0) at dir.c:807
#7 0x00005555555969ca in panel_reload (panel=panel at entry=0x555555986e10) at panel.c:4415
#8 0x0000555555596ba8 in update_one_panel_widget (panel=0x555555986e10, flags=<optimized out>, current_file=0x555555989d90 "807 - V2F 1 19A78A - FILTR OSADNIK POMPA ODPOWIETRZAJACA.pdf",
current_file at entry=0xffffffffffffffff <error: Cannot access memory at address 0xffffffffffffffff>) at panel.c:4019
#9 0x00005555555971a4 in update_one_panel (current_file=0xffffffffffffffff <error: Cannot access memory at address 0xffffffffffffffff>, flags=UP_OPTIMIZE, which=1) at panel.c:4040
#10 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:4808
#11 0x00005555555eefa6 in edit_file_at_line (what_vpath=0x55555589fcd0, internal=<optimized out>, start_line=<optimized out>) at cmd.c:727
#12 0x00005555555ef05b in do_edit (what_vpath=0x55555589fcd0) at cmd.c:168
#13 edit_cmd () at cmd.c:746
#14 0x0000555555590f05 in midnight_execute_cmd (sender=0x555555987470, command=42) at midnight.c:1180
#15 0x00005555555751a0 in buttonbar_callback (w=0x555555987470, sender=<optimized out>, msg=<optimized out>, parm=<optimized out>, data=<optimized out>) at buttonbar.c:171
#16 0x0000555555579440 in send_message (data=0x0, parm=1004, msg=MSG_HOTKEY, sender=0x0, w=<optimized out>) at ../../lib/widget/widget-common.h:209
#17 dlg_try_hotkey (h=0x555555970920, h=0x555555970920, d_key=1004) at dialog.c:434
#18 dlg_key_event (d_key=1004, h=0x555555970920) at dialog.c:479
#19 dlg_process_event (h=0x555555970920, key=1004, event=<optimized out>) at dialog.c:1165
#20 0x00005555555797a0 in frontend_dlg_run (h=0x555555970920) at dialog.c:541
#21 dlg_run (h=0x555555970920) at dialog.c:1196
#22 0x00005555555922cf in create_panels_and_run_mc () at midnight.c:952
#23 do_nc () at midnight.c:1768
#24 0x000055555556da80 in main (argc=<optimized out>, argv=<optimized out>) at main.c:403
(gdb) info threads
Id Target Id Frame
* 1 Thread 0x7ffff7fac740 (LWP 21883) "mc" 0x0000555555594785 in display_mini_info (panel=0x555555986e10) at panel.c:1024
-- System Information:
Debian Release: 9.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.14.0-0.bpo.3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE=en_US (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages mc depends on:
ii e2fslibs 1.43.4-2
ii libc6 2.24-11+deb9u3
ii libglib2.0-0 2.50.3-2
ii libgpm2 1.20.4-6.2+b1
ii libslang2 2.3.1-5
ii libssh2-1 1.7.0-1
ii mc-data 3:4.8.18-1
Versions of packages mc recommends:
ii mime-support 3.60
ii perl 5.24.1-3+deb9u2
ii unzip 6.0-21
Versions of packages mc suggests:
ii acroread [pdf-viewer] 9.5.5-dmo2
ii arj 3.10.22-15
ii bzip2 1.0.6-8.1
pn dbview <none>
pn djvulibre-bin <none>
ii evince [pdf-viewer] 3.22.1-3+deb9u1
ii file 1:5.30-1+deb9u1
ii genisoimage 9:1.1.11-3+b2
pn gv <none>
ii imagemagick 8:6.9.7.4+dfsg-11+deb9u3
ii imagemagick-6.q16 [imagemagick] 8:6.9.7.4+dfsg-11+deb9u3
pn libaspell-dev <none>
ii lynx 2.8.9dev11-1
ii odt2txt 0.5-1+b2
ii okular [pdf-viewer] 4:16.08.2-1+b1
ii poppler-utils 0.48.0-2+deb9u2
ii python 2.7.13-2
pn python-boto <none>
ii python-tz 2016.7-0.3
ii texlive-binaries 2016.20160513.41080.dfsg-2
ii zip 3.0-11+b1
-- no debconf information
More information about the Pkg-mc-devel
mailing list