Ticket #2264 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

"Advanced Chown" Segmentation fault

Reported by: masics Owned by: andrew_b
Priority: critical Milestone: 4.7.4
Component: mc-core Version: 4.7.3
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset: committed-master

Description

MC if exiting with segmentation fault while trying to change file's permissions.

Change History

comment:1 Changed 14 years ago by andrew_b

Would you provide step-by-step description how to reproduce this bug? It would be fine if you will also provide the backtrace as described in http://www.midnight-commander.org/wiki/doc/tracingCrash

comment:2 follow-up: ↓ 3 Changed 14 years ago by masics

  1. Start MC
  2. point to any file
  3. Press F9-F-a (Advanced Chown)
  4. press "x" key (trying to make file executable)
  5. MC crashes

Backtrace:
(gdb) bt
#0 0x08079de2 in lookup_keymap_command ()
#1 0x08066240 in dlg_process_event ()
#2 0x080666e0 in run_dlg ()
#3 0x0807a83a in chown_advanced_cmd ()
#4 0x0809cd8a in do_cd ()
#5 0x0809d11a in do_cd ()
#6 0x08067421 in destroy_menu ()
#7 0x08067b21 in menubar_set_menu ()
#8 0x0806657a in dlg_process_event ()
#9 0x080666e0 in run_dlg ()
#10 0x0809dc98 in main ()
(gdb) bt full
#0 0x08079de2 in lookup_keymap_command ()
No symbol table info available.
#1 0x08066240 in dlg_process_event ()
No symbol table info available.
#2 0x080666e0 in run_dlg ()
No symbol table info available.
#3 0x0807a83a in chown_advanced_cmd ()
No symbol table info available.
#4 0x0809cd8a in do_cd ()
No symbol table info available.
#5 0x0809d11a in do_cd ()
No symbol table info available.
#6 0x08067421 in destroy_menu ()
No symbol table info available.
#7 0x08067b21 in menubar_set_menu ()
No symbol table info available.
#8 0x0806657a in dlg_process_event ()
No symbol table info available.
#9 0x080666e0 in run_dlg ()
No symbol table info available.
#10 0x0809dc98 in main ()
No symbol table info available.

comment:3 in reply to: ↑ 2 Changed 14 years ago by andrew_b

  • Version changed from 4.7.2 to 4.7.3

Replying to masics:

  1. press "x" key (trying to make file executable)

Thanks!

comment:4 Changed 14 years ago by andrew_b

  • Owner set to andrew_b
  • Status changed from new to accepted
  • severity changed from no branch to on review
  • Milestone changed from 4.7 to 4.7.4

Created 2264_advanced_chown_segfault branch. Parent branch is master.
changeset:bd180647914ca29d3194aaf6e13989e9c49a01e0

comment:5 Changed 14 years ago by slavazanko

  • Votes for changeset set to slavazanko

comment:6 Changed 14 years ago by angel_il

  • Votes for changeset changed from slavazanko to slavazanko angel_il
  • severity changed from on review to approved

comment:7 Changed 14 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from slavazanko angel_il to committed-master
  • Resolution set to fixed
  • severity changed from approved to merged

comment:8 Changed 14 years ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.