Alpine Linux

midnight commander subshell bug

After updating Alpine Linux on my VPS to version 3.14, I noticed that Midnight Commander (mc) crashed with a segmentation fault around 90% of the time, and at other times it ran, but refused to accept any input.

At first, I thought that it had to do with the OS update itself and something was wrong with the version of mc or some other package built in Alpine, so I tried building mc with ncurses instead of slang as it was before, but to no effect. To make matters worse, the bug disappeared when I tried to trace it in strace or valgrind.

Alpine Linux

This page will host an assortment of tips and tricks collected while using Alpine Linux.