Issue 0058:err:sync running cli c# app under supervisorctl

Questions about Wine on Linux
Post Reply
jmamani
Newbie
Newbie
Posts: 1
Joined: Thu Apr 10, 2025 4:06 pm

Issue 0058:err:sync running cli c# app under supervisorctl

Post by jmamani »

How can I solve this error:
0058:err:sync:RtlpWaitForCriticalSection section 7AC0A020 "dlls/mountmgr.sys/device.c: device_section" wait timed out in thread 0058, blocked by 0060, retrying (60 sec)

context:

wine --version
wine-10.0 (Debian 10.0~repack-3)

cat /etc/issue
Debian GNU/Linux trixie/sid \n \l

Consider program runs perfect from console but under supervisor it doesn't.
oldbud
Newbie
Newbie
Posts: 1
Joined: Sun Jul 20, 2025 8:29 am

Re: Issue 0058:err:sync running cli c# app under supervisorctl

Post by oldbud »

I hit that exact same error, although in my case I was playing around with sandboxing wine (not using supervisorctl).

In my case I traced the issue back to missing environment variables: If the env vars HOME and WINEPREFIX are not set then wine hangs with that error. The solution is to just set one of those variables with an appropriate path (you don't need to do both).

It's possible that you are hitting the same issue that I did, maybe supervisorctl runs with minimal env and you are missing both those vars?
Post Reply