Ticket #79 (new defect)
savannah: Hang on directory change when not run as root
Reported by: | cardboard42 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Future Releases |
Component: | mc-vfs | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description (last modified by ossi) (diff)
Original: http://savannah.gnu.org/bugs/?22300
Submitted by: | Ken Allen <cardboard42> | Submitted on: | Wed 13 Feb 2008 02:57:19 AM UTC |
Category: | Core | Severity: | 3 - Normal |
Status: | None | Privacy: | Public |
Assigned to: | None | Open/Closed: | Open |
Release: | current (CVS or snapshot) | Operating System: | GNU/Linux |
Original submission:
MC hangs for me if I change directories, either by selecting one from the panel or cding from the shell. This does not happen if it is started as root. I'm using Arch Linux i686 and I tried with 4.6.1 and with cvs. Another Arch user reported the same problem several years ago but never reported a fix.
Comment 1 by Pavel Tsekov <ptsekov> at Sun 09 Mar 2008 10:57:37 AM UTC:
Does it happen for every directory or only for certain directories ? Could you point me to the original bug report ?
Comment 2 by Ken Allen <cardboard42> at Fri 25 Apr 2008 04:58:59 PM UTC:
The original thread is here: http://bbs.archlinux.org/viewtopic.php?id=5469 It doesn't say much more than I already have I'm afraid. It hangs for every directory. Everything else appears to work fine.
Comment 3 by Ken Allen <cardboard42> at Sat 26 Apr 2008 03:21:07 PM UTC:
It looks like it only hangs on local directory changes, I can use the ftp and zip VFS fine.
Attachments
Change History
comment:2 Changed 15 years ago by bogdanni
- severity set to no branch
Under Mac OS X 10.6 this started to happen a lot. Sample trace attached.
comment:3 Changed 13 years ago by volo78
I have exactly the same problem (stack trace is the same). I reproduce it by pressing and holding Tab button. After 20-30 seconds of switching between panels mc hangs.
comment:4 Changed 11 years ago by ossi
- Description modified (diff)
- Branch state set to no branch
- Reporter changed from slavazanko to cardboard42
comment:5 Changed 2 years ago by vahur
Same thing started happening on MacOS Ventura (13.0.1).
2584 Thread_110253 DispatchQueue_1: com.apple.main-thread (serial) 2584 start (in dyld) + 2544 [0x19f833e50] 2584 main (in mc) + 1120 [0x1000c881c] 2584 do_nc (in mc) + 192 [0x1000f0dcc] 2584 dlg_run (in mc) + 32 [0x10018cbd8] 2584 frontend_dlg_run (in mc) + 312 [0x10018cd2c] 2584 dlg_process_event (in mc) + 128 [0x10018c748] 2584 dlg_key_event (in mc) + 212 [0x10018ca20] 2584 group_default_callback (in mc) + 144 [0x10018d7a8] 2584 group_handle_key (in mc) + 88 [0x10018e0e0] 2584 send_message.6326 (in mc) + 76 [0x10018e888] 2584 panel_callback (in mc) + 512 [0x100101d7c] 2584 panel_key (in mc) + 160 [0x1001072dc] 2584 panel_execute_cmd (in mc) + 232 [0x100107468] 2584 do_enter (in mc) + 48 [0x1001041b4] 2584 do_enter_on_file_entry (in mc) + 108 [0x100104ea8] 2584 panel_cd (in mc) + 120 [0x100105144] 2584 panel_do_cd (in mc) + 40 [0x10010520c] 2584 panel_do_cd_int (in mc) + 220 [0x100105314] 2584 subshell_chdir (in mc) + 52 [0x100105454] 2584 do_subshell_chdir (in mc) + 204 [0x10015da30] 2584 feed_subshell (in mc) + 1560 [0x10015cdb0] 2584 synchronize (in mc) + 152 [0x10015d55c] 2584 __sigsuspend (in libsystem_kernel.dylib) + 8 [0x19fb2c794]
I have use_persistent_buffer = FALSE set in src/subshell/common.c as otherwise mc startup is unbearably slow. The hangs are unpredictable, most of the time changing directory works, but sometimes it just hangs.