Skip to content

--prefetch --dry-run intermittently hangs with a large number of dependencies - Windows #1689

@enolan

Description

@enolan

Sometimes, when I run stack build --only-snapshot --prefetch --dry-run Stack hangs after the last download message is printed. Process Explorer and Resource Monitor report there are no network connections open, stack.exe is using ~12% CPU which corresponds to pegging one virtual core on my machine, and the vast majority of the CPU time is spent in kernel. The active thread, according to Process Explorer, is in ntdll.dll!ZwDeviceIoControlFile+0xa most of the time.

To reproduce:

Here's a log https://gist.github.com/enolan/25aad1613c42fee5fcbf

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions