zyedidia / micro

A modern and intuitive terminal-based text editor
https://micro-editor.github.io
MIT License
24.85k stars 1.17k forks source link

Official Linux binary hang with "FUTEX_WAIT_PRIVATE" #1818

Open h4ckee opened 4 years ago

h4ckee commented 4 years ago

Description of the problem or steps to reproduce

Binary for Linux sometimes get frozen when edit some pretty long files like kernel's .config. Strace shows that it's hanging with FUTEX_WAIT_PRIVATE:


> pgrep micro
251
> doas strace -p 251
strace: Process 251 attached
futex(0x10b8008, FUTEX_WAIT_PRIVATE, 0, NULL

Specifications

Version: 2.0.6 Commit hash: 60846f5 Compiled on June 24, 2020

zyedidia commented 4 years ago

What OS is this on?

h4ckee commented 4 years ago

uname -a Linux AXE 5.4.56 #2 SMP PREEMPT Fri, 07 Aug 2020 11:30:24 +0000 x86_64 Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz GenuineIntel GNU/Linux