Ticket #2770 (closed defect: duplicate)

Opened 13 years ago

Last modified 8 years ago

garbled entries to directory hotlist

Reported by: ctmp1 Owned by:
Priority: major Milestone:
Component: mc-core Version: 4.8.2
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

mc adds garbled entries to directory hotlist

Steps to reproduce:

  1. run mc
  2. press ctrl-\ to show directory hotlist dialog
  3. press 'add current'
  4. change proposed name in dialog box (this is not strictly necessary but sometimes the error doesn't show without this) and press enter
  5. try to use the new entry
  • you will get something like this

Cannot chdir to "?\7.e/lg/.config/mc/hotlist.bak"
No such file or directory (2)

  1. close mc

The hotlist file in ~/.config/mc now contains this

---
ENTRY "/home/lg/.MestreLa? b" URL "�
7<>e/lg/.config/mc/hotlist.bak"
---

This entry was produced when i bookmarked /home/lg/.MestreLab? directory

Sometimes when i close mc after using this broken directory hotlist i get something like this:

* glibc detected * /usr/bin/mc: double free or corruption (!prev): 0x0962d480 *
======= Backtrace: =========
/lib/libc.so.6[0x4edc9fb6]
/lib/libglib-2.0.so.0(g_free+0x37)[0x4efbf137]
/usr/bin/mc[0x80c1e76]
/usr/bin/mc[0x80c2d84]
/usr/bin/mc[0x8057176]
/usr/bin/mc[0x805672a]
/lib/libc.so.6(libc_start_main+0xe6)[0x4ed71e36]
/usr/bin/mc[0x8051451]
======= Memory map: ========
00110000-0011b000 r-xp 00000000 08:01 153786 /lib/libnss_files-2.13.so
0011b000-0011c000 r--p 0000a000 08:01 153786 /lib/libnss_files-2.13.so
0011c000-0011d000 rw-p 0000b000 08:01 153786 /lib/libnss_files-2.13.so
00812000-00813000 r-xp 00000000 00:00 0 [vdso]
08047000-08138000 r-xp 00000000 08:01 137143 /usr/bin/mc
08138000-0813f000 rw-p 000f0000 08:01 137143 /usr/bin/mc
0813f000-0816f000 rw-p 00000000 00:00 0
095b3000-09650000 rw-p 00000000 00:00 0 [heap]
41896000-4196f000 r-xp 00000000 08:01 154667 /usr/lib/libslang.so.2.2.3
4196f000-41980000 rw-p 000d8000 08:01 154667 /usr/lib/libslang.so.2.2.3
41980000-419ba000 rw-p 00000000 00:00 0
41a4c000-41a68000 r-xp 00000000 08:01 130820 /lib/libgcc_s-4.5.1-20100924.so.1
41a68000-41a69000 rw-p 0001b000 08:01 130820 /lib/libgcc_s-4.5.1-20100924.so.1
4ed3a000-4ed57000 r-xp 00000000 08:01 130342 /lib/ld-2.13.so
4ed57000-4ed58000 r--p 0001c000 08:01 130342 /lib/ld-2.13.so
4ed58000-4ed59000 rw-p 0001d000 08:01 130342 /lib/ld-2.13.so
4ed5b000-4eede000 r-xp 00000000 08:01 137186 /lib/libc-2.13.so
4eede000-4eedf000 ---p 00183000 08:01 137186 /lib/libc-2.13.so
4eedf000-4eee1000 r--p 00183000 08:01 137186 /lib/libc-2.13.so
4eee1000-4eee2000 rw-p 00185000 08:01 137186 /lib/libc-2.13.so
4eee2000-4eee5000 rw-p 00000000 00:00 0
4ef04000-4ef07000 r-xp 00000000 08:01 139531 /lib/libdl-2.13.so
4ef07000-4ef08000 r--p 00002000 08:01 139531 /lib/libdl-2.13.so
4ef08000-4ef09000 rw-p 00003000 08:01 139531 /lib/libdl-2.13.so
4ef0b000-4ef33000 r-xp 00000000 08:01 131095 /lib/libm-2.13.so
4ef33000-4ef34000 r--p 00027000 08:01 131095 /lib/libm-2.13.so
4ef34000-4ef35000 rw-p 00028000 08:01 131095 /lib/libm-2.13.so
4ef78000-4f085000 r-xp 00000000 08:01 153655 /lib/libglib-2.0.so.0.2600.0
4f085000-4f086000 rw-p 0010d000 08:01 153655 /lib/libglib-2.0.so.0.2600.0
4fea1000-4fea6000 r-xp 00000000 08:01 136865 /usr/lib/libgpm.so.2.1.0
4fea6000-4fea7000 rw-p 00004000 08:01 136865 /usr/lib/libgpm.so.2.1.0
b74a0000-b74a1000 rw-p 00000000 00:00 0
b74a1000-b74ba000 r--p 00000000 08:01 144442 /usr/share/locale/ru/LC_MESSAGES/glib20.mo
b74ba000-b74e5000 r--p 00000000 08:01 143611 /usr/share/locale/ru/LC_MESSAGES/libc.mo
b74e5000-b74fe000 r--p 00000000 08:01 151721 /usr/share/locale/ru/LC_MESSAGES/mc.mo
b74fe000-b76fe000 r--p 00000000 08:01 153685 /usr/lib/locale/locale-archive
b76fe000-b7700000 rw-p 00000000 00:00 0
b770c000-b7713000 r--s 00000000 08:01 139352 /usr/lib/gconv/gconv-modules.cache
b7713000-b7714000 rw-p 00000000 00:00 0
bf8b2000-bf8d3000 rw-p 00000000 00:00 0 [stack]
Аварийный останов

GNU Midnight Commander 4.8.2
Built with GLib 2.26.0
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, fish, smbfs
Data types: char: 8; int: 32; long: 32; void *: 32; size_t: 32; off_t: 64;

Attachments

hotlist (68 bytes) - added by ctmp1 13 years ago.
hotlist file

Change History

Changed 13 years ago by ctmp1

hotlist file

comment:1 Changed 13 years ago by angel_il

please try current 'master'

comment:2 Changed 13 years ago by angel_il

see #2753

Last edited 13 years ago by angel_il (previous) (diff)

comment:3 Changed 13 years ago by slavazanko

  • Status changed from new to closed
  • Resolution set to duplicate

Duplicate of #2753

comment:4 Changed 8 years ago by andrew_b

  • Milestone Future Releases deleted
Note: See TracTickets for help on using tickets.