Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

savannah: Hang on directory change when not run as root #79

Open
mc-butler opened this issue Dec 26, 2008 · 7 comments
Open

savannah: Hang on directory change when not run as root #79

mc-butler opened this issue Dec 26, 2008 · 7 comments
Labels
area: vfs Virtual File System support prio: medium Has the potential to affect progress

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/79
Reporter cardboard42

Original: http://savannah.gnu.org/bugs/?22300

Submitted by:Ken Allen <cardboard42>Submitted on:Wed 13 Feb 2008 02:57:19 AM UTC
Category:CoreSeverity:3 - Normal
Status:NonePrivacy:Public
Assigned to:NoneOpen/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.

Note

Original attachments:

  • mc_hang.txt (raw) by bogdanni (bogdanni@….com) on Aug 31, 2009 at 12:29 UTC
@mc-butler
Copy link
Author

Changed by styx (@styx) on May 25, 2009 at 7:09 UTC (comment 1)

  • Milestone set to future releases

@mc-butler
Copy link
Author

Changed by bogdanni (bogdanni@….com) on Aug 31, 2009 at 12:29 UTC

trace of mc hanging on Mac OS X 10.6

@mc-butler
Copy link
Author

Changed by bogdanni (bogdanni@….com) on Aug 31, 2009 at 12:31 UTC (comment 2)

  • Severity set to no branch

Under Mac OS X 10.6 this started to happen a lot. Sample trace attached.

@mc-butler
Copy link
Author

Changed by volo78 (volo.zyko@….com) on Jul 1, 2011 at 11:52 UTC (comment 3)

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.

@mc-butler
Copy link
Author

Changed by ossi (@ossilator) on Jan 11, 2014 at 22:54 UTC (comment 4)

  • Reporter changed from slavazanko to cardboard42
  • Branch state set to no branch
  • Description edited

@mc-butler
Copy link
Author

Changed by vahur (vahursi@….com) on Nov 24, 2022 at 13:35 UTC (comment 5)

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.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Sep 17, 2024 at 8:58 UTC (comment 6)

The latter problem is definitely #4253 and the like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: vfs Virtual File System support prio: medium Has the potential to affect progress
Development

No branches or pull requests

1 participant