Re[2]: [PATCH xserver] xfree86/common: Fix VT leave lockup #103782

2017-11-20 Thread Алексей Шилин
>Понедельник, 20 ноября 2017, 11:06 +03:00 от Michal Srb : > >If you unlock it in xf86VTLeave, you will get a double unlock in xf86VTEnter. Argh. You're absolutely right, thanks! I'll resend the updated version (which locks the input mutex again at the beginning of xf86VTEnter)

Re: [PATCH xserver] xfree86/common: Fix VT leave lockup #103782

2017-11-20 Thread Michal Srb
On čtvrtek 16. listopadu 2017 21:28:05 CET Алексей Шилин wrote: > When xf86VTSwitchAway() returns true to xf86VTLeave(), the input > mutex does not get unlocked. As the result, any other thread which > later tries to execute input_lock() freezes forever, which in turn > may lead to X server

[PATCH xserver] xfree86/common: Fix VT leave lockup #103782

2017-11-17 Thread Алексей Шилин
When xf86VTSwitchAway() returns true to xf86VTLeave(), the input mutex does not get unlocked. As the result, any other thread which later tries to execute input_lock() freezes forever, which in turn may lead to X server lockup. This commit adds the missing input_unlock() call. Fixes: