Ticket #1985 (closed defect: invalid)

Opened 15 years ago

Last modified 15 years ago

@ symbol in RAR archives makes MC crash at opening them

Reported by: birdie Owned by:
Priority: major Milestone:
Component: mc-vfs Version: 4.7.0.1
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description

When I try to enter into any RAR archive containing this symbol, MC crashes.

Attachments

test@test.rar (131 bytes) - added by birdie 15 years ago.
A sample file
thread apply all bt full.txt (9.6 KB) - added by birdie 15 years ago.
thread apply full bt
core.28511.xz (94.3 KB) - added by birdie 15 years ago.
core dump

Change History

Changed 15 years ago by birdie

A sample file

comment:1 Changed 15 years ago by andrew_b

  • Component changed from mc-core to mc-vfs

comment:2 Changed 15 years ago by andrew_b

  • Milestone changed from 4.7.1 to 4.7

Cannot reproduce on current master.
Please write version of MC and version of unrar.

comment:3 Changed 15 years ago by birdie

mc-4.7.0.1-1.fc12.i686

unrar

UNRAR 3.91 freeware Copyright (c) 1993-2009 Alexander Roshal

Changed 15 years ago by birdie

thread apply full bt

comment:4 Changed 15 years ago by birdie

Detaching after fork from child process 28399. Detaching after fork from child process 28401.

Program received signal SIGSEGV, Segmentation fault.
strcmp () at ../sysdeps/i386/i686/strcmp.S:39
39 L(oop): movb (%ecx), %al
(gdb) bt
#0 strcmp () at ../sysdeps/i386/i686/strcmp.S:39
#1 0x080c1d4a in extfs_which (me=<value optimized out>, path=<value optimized out>) at extfs.c:1380
#2 0x080c289c in extfs_get_path_mangle (me=0x81621e0, inname=0x82187a0 "/tmp/1/test@…#urar/test@test", archive=<value optimized out>,

do_not_open=<value optimized out>) at extfs.c:465

#3 0x080c3681 in extfs_internal_stat (me=0x81621e0, path=<value optimized out>, buf=0xbfffd848, resolve=<value optimized out>) at extfs.c:968
#4 0x080bcd54 in mc_lstat (filename=<value optimized out>, buf=<value optimized out>) at vfs.c:899
#5 0x08078994 in handle_dirent (list=<value optimized out>, filter=<value optimized out>, dp=0x81f8838, buf1=<value optimized out>,

next_free=<value optimized out>, link_to_dir=<value optimized out>, stale_link=<value optimized out>) at dir.c:302

#6 0x080793a3 in do_load_dir (path=<value optimized out>, list=<value optimized out>, sort=<value optimized out>, lc_reverse=<value optimized out>,

lc_case_sensitive=<value optimized out>, exec_ff=<value optimized out>, filter=<value optimized out>) at dir.c:433

#7 0x08090186 in _do_panel_cd (panel=0x81f9108, new_dir=<value optimized out>, cd_type=<value optimized out>) at main.c:496
#8 0x080904b8 in do_panel_cd (panel=<value optimized out>, new_dir=<value optimized out>, cd_type=<value optimized out>) at main.c:518
#9 0x08090502 in do_cd (new_dir=<value optimized out>, exact=<value optimized out>) at main.c:527
#10 0x0807aac9 in exec_extension (filename=<value optimized out>, lc_data=<value optimized out>, move_dir=<value optimized out>,

start_line=<value optimized out>) at ext.c:273

#11 0x0807b3b8 in regex_command (filename=<value optimized out>, action=<value optimized out>, move_dir=<value optimized out>) at ext.c:610
#12 0x08055512 in do_enter_on_file_entry (fe=0x8206d94) at screen.c:2320
#13 0x08057ab4 in do_enter (w=<value optimized out>, msg=<value optimized out>, parm=<value optimized out>) at screen.c:2366
#14 cmd_do_enter (w=<value optimized out>, msg=<value optimized out>, parm=<value optimized out>) at screen.c:2626
#15 panel_execute_cmd (w=<value optimized out>, msg=<value optimized out>, parm=<value optimized out>) at screen.c:2655
#16 panel_key (w=<value optimized out>, msg=<value optimized out>, parm=<value optimized out>) at screen.c:2778
#17 panel_callback (w=<value optimized out>, msg=<value optimized out>, parm=<value optimized out>) at screen.c:2862
#18 0x08050ca5 in send_message (h=<value optimized out>, key=<value optimized out>, event=<value optimized out>) at ../src/dialog.h:236
#19 dlg_key_event (h=<value optimized out>, key=<value optimized out>, event=<value optimized out>) at dialog.c:719
#20 dlg_process_event (h=<value optimized out>, key=<value optimized out>, event=<value optimized out>) at dialog.c:823
#21 0x080510d8 in frontend_run_dlg (h=<value optimized out>) at dialog.c:855
#22 run_dlg (h=<value optimized out>) at dialog.c:870
#23 0x0808f43d in setup_panels_and_run_mc () at main.c:1790
#24 do_nc () at main.c:1888
#25 0x0808fa60 in main (argc=1, argv=0xbffff3b4) at main.c:2215

Changed 15 years ago by birdie

core dump

comment:5 Changed 15 years ago by andrew_b

  • Version changed from version not selected to 4.7.0.1

comment:6 Changed 15 years ago by andrew_b

  • Status changed from new to closed
  • Resolution set to invalid
  • Milestone 4.7 deleted

Fixed in 8689d6a925e5606009267646f0d608e1db31873b (comment:ticket:1605:17).
Please wait few days for 4.7.0.2 release.

Note: See TracTickets for help on using tickets.