Ticket #3701 (closed defect: invalid)

Opened 5 years ago

Last modified 5 years ago

MC crashes inside Docker container on Windows

Reported by: Der_Meister Owned by:
Priority: major Milestone:
Component: mc-core Version: 4.8.14
Keywords: windows docker Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:


Steps to reproduce:

  1. Install Windows Containers and Docker.


  1. Save following code block to Dockerfile:
# escape=`

FROM microsoft/windowsservercore
SHELL ["powershell"]

RUN $env:chocolateyUseWindowsCompression = 'false'; `
    iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex

RUN cinst mc -y

CMD C:\Program` Files` `(x86`)\Midnight` Commander\mc.exe

  1. Build image.
docker build -t mctest .
  1. Run the image:
docker run -it --rm mctest

Actual result:

Assertion Failed: vio.whandle, function vio_profile, file w32_slang.c, line 574.

Expected result:
MC starts normally.

Version info:

GNU Midnight Commander 4.8.14
Built with GLib 2.28.8
Using the S-Lang library with terminfo database
With builtin Editor
With mouse support on xterm
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs
Data types: char: 8; int: 32; long: 32; void *: 32; size_t: 32; off_t: 32;


Dockerfile (274 bytes) - added by Der_Meister 5 years ago.

Change History

Changed 5 years ago by Der_Meister

comment:1 Changed 5 years ago by Der_Meister

It may be bug of the docker implementation, but I don't know how to debug mc and determine why it crashes.

comment:2 Changed 5 years ago by zaytsev-work

  • Status changed from new to closed
  • Resolution set to invalid

Midnight Commander upstream does not support Windows (in any way other than running under Cygwin). Apparently, you are using an unofficial Windows port of an older version:


You are getting an assertion failure in a file that doesn't even exist in upstream Midnight Commander, so please report Windows-specific bugs against this port instead.

comment:3 Changed 5 years ago by andrew_b

  • Milestone Future Releases deleted
Note: See TracTickets for help on using tickets.