Ticket #4198 (new defect) — at Version 6

Opened 3 years ago

Last modified 4 weeks ago

mc hangs on start randomly with zsh when subshell is not disabled

Reported by: cederom Owned by:
Priority: critical Milestone: 4.8.27
Component: mc-core Version: master
Keywords: subshell hang Cc: joseph.2011@…, congest, z0rc3r@…, aurrak@…
Blocked By: Blocking:
Branch state: merged Votes for changeset:

Description (last modified by zaytsev) (diff)

Hello world :-)

I noticed recently that mc 4.8.26 on FreeBSD 12.2-RELEASE hangs on start sometimes with zsh. No rule when it happens. I need to kill -9 that process. When -b (no subshell) is provided then mc starts with no problem.

I found that common problem over the internets and -b as temporary workaround. I did not find that issue repoted here so here it goes :-)

Best regards :-)
Tomek

Change History

comment:1 Changed 3 years ago by andrew_b

  • Milestone 4.8.27 deleted

comment:2 Changed 3 years ago by andrew_b

What reply do you expect? You just ignored all written in NewTicket page. I'm not FreeBSD used therefore bugreport like "4.8.26 on FreeBSD 12.2-RELEASE hangs on start" is useless for me.

-b is "no color". "No subshell" is -u. What do you mean exactly?

comment:3 Changed 3 years ago by cederom

Take a look at:

https://duckduckgo.com/?t=ffsb&q=midnight+commander+hangs+on+start&atb=v258-4__&ia=web

Looks like a common problem.

My mistake, its -u, thanks :-)

comment:4 Changed 3 years ago by zaytsev

What's your shell? Does this happen on 4.8.25 or not?

We've had reports that persistent subshell buffer introduced in 4.8.26 somehow causes random hangs on zsh, but I think most FreeBSD people use tcsh and I think that our persistent subshell buffer implementation simply doesn't work on tcsh...

I wonder what should now happen on tcsh with the new patch, old behaviour or no subshell?

comment:5 Changed 3 years ago by cederom

Thanks for you reply zaytsev :-)

Unfortunately I am using ZSH (version 5.8).

I found previous version mc 4.8.24 in my packages cache I will use that one for a while and let you know just to confirm.. that hanging on start showed up recently I am not sure when exactly :-)

What I can see is only a single blue background character in the top right corner of the terminal when the mc hangs. If you can hint me how can I search/debug further please let me know so I can provide more information :-)

comment:6 Changed 3 years ago by zaytsev

  • Description modified (diff)
  • Summary changed from mc hangs on start randomly when subshell is not disabled to mc hangs on start randomly with zsh when subshell is not disabled
Note: See TracTickets for help on using tickets.