Skip to content

Recurring critical section timeouts in dnsapi cache_cs (60 sec) with WhiskyWine 4.8.6 #436

Todo

Description

@tabrs

Description

Description

Wine logs from Steam sessions repeatedly show, in both an old and a freshly created bottle:

err:sync:RtlpWaitForCriticalSection section ... "../winecx/dlls/dnsapi/query.c: cache_cs" wait timed out in thread ..., blocked by ..., retrying (60 sec)
Several threads per session; once also "../winecx/dlls/ntdll/loader.c: loader_section" wait timed out. I haven't identified a visible impact (Steam logs on, games run), but 60-second stalls in DNS cache access may slow networking or startup.

Graphics backend in use

DXMT (bottle), DXVK for steam.exe; independent of backend

Steps to reproduce

  1. Launch Steam in a bottle on WhiskyWine 4.8.6.
  2. Let it run a few minutes.
  3. Check the Whisky log for cache_cs wait timed out.

Expected behaviour

No lock timeouts in dnsapi during normal operation.

Wine logs

Whisky version

3.10.4 (64), frankea for

macOS version

macOS 27

Graphics backend in use

DXVK

Wine runtime version

WhiskyWine 4.8.6

Pre-flight checks

  • I searched existing issues and didn't find a duplicate.
  • I'm running this fork (frankea/Whisky, confirmed via Whisky → About Whisky, version 3.0 or later), not the archived original that the default brew install --cask whisky installs.
  • I confirmed this is not a game-specific compatibility issue (use the other template if it is).

Activity

  1. added
    bug
    on Nov 29, 2026
  2. frankea commented on Nov 30, 2026

    @frankea
    Owner

    Thanks. These come from Wine's DNS cache lock: most likely one thread holds it during a slow lookup, and the others log the 60-second warning while they keep waiting. As long as Steam stays logged in and games run, it's noise rather than a hang. If you notice a real stall that lines up with these lines (store or friends list freezing), comment with the log around it and I'll look at the engine side.

  3. added
    needs-info
    on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugneeds-infoupstream

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions