microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.46k stars 822 forks source link

vmmemWSL BSOD DPC_WATCHDOG_VIOLATION #10843

Closed 4-FLOSS-Free-Libre-Open-Source-Software closed 11 months ago

4-FLOSS-Free-Libre-Open-Source-Software commented 11 months ago

Windows Version

Microsoft Windows [Version 10.0.22631.2715]

WSL Version

2.0.11.0

Are you using WSL 1 or WSL 2?

Kernel Version

5.15.133.1-1

Distro Version

Docker Desktop

Other Software

Docker Desktop docker version Client: Cloud integration: v1.0.35+desktop.5 Version: 24.0.6 API version: 1.43 Go version: go1.20.7 Git commit: ed223bc Built: Mon Sep 4 12:32:48 2023 OS/Arch: windows/amd64 Context: default

docker info Client: Version: 24.0.6 Context: default Debug Mode: false Plugins: buildx: Docker Buildx (Docker Inc.) Version: v0.11.2-desktop.5 Path: C:\Program Files\Docker\cli-plugins\docker-buildx.exe compose: Docker Compose (Docker Inc.) Version: v2.23.0-desktop.1 Path: C:\Program Files\Docker\cli-plugins\docker-compose.exe dev: Docker Dev Environments (Docker Inc.) Version: v0.1.0 Path: C:\Program Files\Docker\cli-plugins\docker-dev.exe extension: Manages Docker extensions (Docker Inc.) Version: v0.2.20 Path: C:\Program Files\Docker\cli-plugins\docker-extension.exe init: Creates Docker-related starter files for your project (Docker Inc.) Version: v0.1.0-beta.9 Path: C:\Program Files\Docker\cli-plugins\docker-init.exe sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.) Version: 0.6.0 Path: C:\Program Files\Docker\cli-plugins\docker-sbom.exe scan: Docker Scan (Docker Inc.) Version: v0.26.0 Path: C:\Program Files\Docker\cli-plugins\docker-scan.exe scout: Docker Scout (Docker Inc.) Version: v1.0.9 Path: C:\Program Files\Docker\cli-plugins\docker-scout.exe

Repro Steps

run Docker Desktop get BSOD after some hours of running

Expected Behavior

stability

Actual Behavior

BSOD DPC_WATCHDOG_VIOLATION

Diagnostic Logs

With WinDBG blaming vmmemWSL running !analyze -v on kerneldump, resulted:


For analysis of this file, run !analyze -v
nt!KeBugCheckEx:
fffff804`45016980 48894c2408      mov     qword ptr [rsp+8],rcx ss:0018:ffffd600`0ad769f0=0000000000000133
14: kd> !analyze -v
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

DPC_WATCHDOG_VIOLATION (133)
The DPC watchdog detected a prolonged run time at an IRQL of DISPATCH_LEVEL
or above.
Arguments:
Arg1: 0000000000000000, A single DPC or ISR exceeded its time allotment. The offending
    component can usually be identified with a stack trace.
Arg2: 0000000000000501, The DPC time count (in ticks).
Arg3: 0000000000000500, The DPC time allotment (in ticks).
Arg4: fffff8044591d340, cast to nt!DPC_WATCHDOG_GLOBAL_TRIAGE_BLOCK, which contains
    additional information regarding this single DPC timeout

Debugging Details:
------------------

*************************************************************************
***                                                                   ***
***                                                                   ***
***    Either you specified an unqualified symbol, or your debugger   ***
***    doesn't have full symbol information.  Unqualified symbol      ***
***    resolution is turned off by default. Please either specify a   ***
***    fully qualified symbol module!symbolname, or enable resolution ***
***    of unqualified symbols by typing ".symopt- 100". Note that     ***
***    enabling unqualified symbol resolution with network symbol     ***
***    server shares in the symbol path may cause the debugger to     ***
***    appear to hang for long periods of time when an incorrect      ***
***    symbol name is typed or the network symbol server is down.     ***
***                                                                   ***
***    For some commands to work properly, your symbol path           ***
***    must point to .pdb files that have full type information.      ***
***                                                                   ***
***    Certain .pdb files (such as the public OS symbols) do not      ***
***    contain the required information.  Contact the group that      ***
***    provided you with these symbols if you need this command to    ***
***    work.                                                          ***
***                                                                   ***
***    Type referenced: TickPeriods                                   ***
***                                                                   ***
*************************************************************************

KEY_VALUES_STRING: 1

    Key  : Analysis.CPU.mSec
    Value: 1717

    Key  : Analysis.Elapsed.mSec
    Value: 7639

    Key  : Analysis.IO.Other.Mb
    Value: 17

    Key  : Analysis.IO.Read.Mb
    Value: 0

    Key  : Analysis.IO.Write.Mb
    Value: 33

    Key  : Analysis.Init.CPU.mSec
    Value: 93

    Key  : Analysis.Init.Elapsed.mSec
    Value: 31447

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 109

    Key  : Bugcheck.Code.LegacyAPI
    Value: 0x133

    Key  : Dump.Attributes.AsUlong
    Value: 1808

    Key  : Dump.Attributes.DiagDataWrittenToHeader
    Value: 1

    Key  : Dump.Attributes.ErrorCode
    Value: 0

    Key  : Dump.Attributes.KernelGeneratedTriageDump
    Value: 1

    Key  : Dump.Attributes.LastLine
    Value: Dump completed successfully.

    Key  : Dump.Attributes.ProgressPercentage
    Value: 0

    Key  : Failure.Bucket
    Value: 0x133_DPC_nt!KeAccumulateTicks

    Key  : Failure.Hash
    Value: {88dc98ce-f842-4daa-98d0-858621db6b0f}

    Key  : Hypervisor.Enlightenments.ValueHex
    Value: 1497cf94

    Key  : Hypervisor.Flags.AnyHypervisorPresent
    Value: 1

    Key  : Hypervisor.Flags.ApicEnlightened
    Value: 1

    Key  : Hypervisor.Flags.ApicVirtualizationAvailable
    Value: 0

    Key  : Hypervisor.Flags.AsyncMemoryHint
    Value: 0

    Key  : Hypervisor.Flags.CoreSchedulerRequested
    Value: 0

    Key  : Hypervisor.Flags.CpuManager
    Value: 1

    Key  : Hypervisor.Flags.DeprecateAutoEoi
    Value: 0

    Key  : Hypervisor.Flags.DynamicCpuDisabled
    Value: 1

    Key  : Hypervisor.Flags.Epf
    Value: 0

    Key  : Hypervisor.Flags.ExtendedProcessorMasks
    Value: 1

    Key  : Hypervisor.Flags.HardwareMbecAvailable
    Value: 1

    Key  : Hypervisor.Flags.MaxBankNumber
    Value: 0

    Key  : Hypervisor.Flags.MemoryZeroingControl
    Value: 0

    Key  : Hypervisor.Flags.NoExtendedRangeFlush
    Value: 0

    Key  : Hypervisor.Flags.NoNonArchCoreSharing
    Value: 1

    Key  : Hypervisor.Flags.Phase0InitDone
    Value: 1

    Key  : Hypervisor.Flags.PowerSchedulerQos
    Value: 0

    Key  : Hypervisor.Flags.RootScheduler
    Value: 0

    Key  : Hypervisor.Flags.SynicAvailable
    Value: 1

    Key  : Hypervisor.Flags.UseQpcBias
    Value: 0

    Key  : Hypervisor.Flags.Value
    Value: 4853999

    Key  : Hypervisor.Flags.ValueHex
    Value: 4a10ef

    Key  : Hypervisor.Flags.VpAssistPage
    Value: 1

    Key  : Hypervisor.Flags.VsmAvailable
    Value: 1

    Key  : Hypervisor.RootFlags.AccessStats
    Value: 1

    Key  : Hypervisor.RootFlags.CrashdumpEnlightened
    Value: 1

    Key  : Hypervisor.RootFlags.CreateVirtualProcessor
    Value: 1

    Key  : Hypervisor.RootFlags.DisableHyperthreading
    Value: 0

    Key  : Hypervisor.RootFlags.HostTimelineSync
    Value: 1

    Key  : Hypervisor.RootFlags.HypervisorDebuggingEnabled
    Value: 0

    Key  : Hypervisor.RootFlags.IsHyperV
    Value: 1

    Key  : Hypervisor.RootFlags.LivedumpEnlightened
    Value: 1

    Key  : Hypervisor.RootFlags.MapDeviceInterrupt
    Value: 1

    Key  : Hypervisor.RootFlags.MceEnlightened
    Value: 1

    Key  : Hypervisor.RootFlags.Nested
    Value: 0

    Key  : Hypervisor.RootFlags.StartLogicalProcessor
    Value: 1

    Key  : Hypervisor.RootFlags.Value
    Value: 1015

    Key  : Hypervisor.RootFlags.ValueHex
    Value: 3f7

BUGCHECK_CODE:  133

BUGCHECK_P1: 0

BUGCHECK_P2: 501

BUGCHECK_P3: 500

BUGCHECK_P4: fffff8044591d340

FILE_IN_CAB:  112923-17296-01.dmp

TAG_NOT_DEFINED_202b:  *** Unknown TAG in analysis list 202b

DUMP_FILE_ATTRIBUTES: 0x1808
  Kernel Generated Triage Dump

DPC_TIMEOUT_TYPE:  SINGLE_DPC_TIMEOUT_EXCEEDED

BLACKBOXBSD: 1 (!blackboxbsd)

BLACKBOXNTFS: 1 (!blackboxntfs)

BLACKBOXPNP: 1 (!blackboxpnp)

BLACKBOXWINLOGON: 1

CUSTOMER_CRASH_COUNT:  1

PROCESS_NAME:  vmmemWSL

FAULTING_THREAD:  000000000000001f

STACK_TEXT:  
ffffd600`0ad769e8 fffff804`44e12d55     : 00000000`00000133 00000000`00000000 00000000`00000501 00000000`00000500 : nt!KeBugCheckEx
ffffd600`0ad769f0 fffff804`44e12421     : 00001a49`a87195e2 00000000`00063609 00000000`00063608 00000000`00000000 : nt!KeAccumulateTicks+0x3d5
ffffd600`0ad76a50 fffff804`44e0fa2f     : 00000000`00000020 00000000`00001388 00000000`00063600 00000000`0003b3bc : nt!KiUpdateRunTime+0xd1
ffffd600`0ad76c00 fffff804`44e10618     : 00000000`00000000 00000000`00000000 ffffd600`0adc0180 00000000`00000000 : nt!KiUpdateTime+0x63f
ffffd600`0ad76ea0 fffff804`44e0feda     : fffff804`4585ffe8 00000000`00000001 00000000`00000001 00000000`00000002 : nt!KeClockInterruptNotify+0x228
ffffd600`0ad76f40 fffff804`44f24c4c     : 0000000e`cef39e82 ffff8d81`73fbd6c0 ffff8d81`73fbd770 fffff804`4501e59b : nt!HalpTimerClockInterrupt+0x10a
ffffd600`0ad76f70 fffff804`45018ada     : ffffe98f`b47775e0 ffff8d81`73fbd6c0 ffffe98f`b4a5a258 00000000`00000000 : nt!KiCallInterruptServiceRoutine+0x9c
ffffd600`0ad76fb0 fffff804`45019347     : 00000000`00000000 00001f80`00010254 00000000`57f6a711 ffffe98f`b47777c8 : nt!KiInterruptSubDispatchNoLockNoEtw+0xfa
ffffe98f`b4777560 fffff804`44e70d30     : 00000000`80000000 fffff804`44fc965b ffffe98f`b4777780 fffff804`44e7b3c0 : nt!KiInterruptDispatchNoLockNoEtw+0x37
ffffe98f`b47776f0 fffff804`44fc965b     : ffffe98f`b4777780 fffff804`44e7b3c0 00000001`00000000 00000000`00000000 : nt!KeYieldProcessorEx+0x20
ffffe98f`b4777700 fffff804`44e720fc     : 00000000`00000000 00000000`57f7c76a ffffe98f`b4a5a250 ffffd600`0adc34d0 : nt!MiDemoteSlabEntriesDpc+0x6b
ffffe98f`b47777c0 fffff804`44e733b1     : 00000000`00000020 ffffe98f`b4777e00 fffff780`00000014 00000000`0003b0d8 : nt!KiExecuteAllDpcs+0x42c
ffffe98f`b4777d00 fffff804`4501fdf5     : 00000000`00000000 00000000`00000000 ffffd600`0adc0180 00000000`000100c2 : nt!KiRetireDpcList+0x1b1
ffffe98f`b4777fb0 fffff804`4501fd9f     : ffffe98f`c025eff9 fffff804`44e61645 00000000`00000000 00000000`00000000 : nt!KxSwapStacksAndRetireDpcList+0x5
ffffe98f`c025ef60 fffff804`44e61645     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiPlatformSwapStacksAndCallReturn
ffffe98f`c025ef70 fffff804`4501f210     : fffff804`44c0f798 00000000`00000001 00000000`00000000 00000000`00000001 : nt!KiDispatchInterrupt+0xd5
ffffe98f`c025f060 fffff804`41ee0003     : fffff804`45022ba1 00000000`00000000 fffff804`45022bc2 00000000`00000000 : nt!KiDpcInterrupt+0x350
ffffe98f`c025f1f8 fffff804`45022ba1     : 00000000`00000000 fffff804`45022bc2 00000000`00000000 00000000`00000000 : 0xfffff804`41ee0003
ffffe98f`c025f200 fffff804`45022bc2     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!HvcallpExtendedFastHypercall+0x51
ffffe98f`c025f210 fffff804`4505286d     : 00000000`00000000 00000000`00000000 00000000`00000002 00000000`00000000 : nt!HvcallpExtendedFastHypercallWithOutput+0x12
ffffe98f`c025f240 fffff804`840aa719     : ffff8d81`b286bb00 ffffe98f`c025f3d0 00000000`00000000 00000000`00000000 : nt!HvcallFastExtended+0x8a18d
ffffe98f`c025f2d0 fffff804`840aa297     : ffff8d81`b6b18a40 00000000`0000001a 00000000`00000000 fffff804`44e0f018 : winhvr!WinHvpVpDispatchLoop+0x3b9
ffffe98f`c025f420 fffff804`83ff7214     : ffff8d81`c3b43660 ffff8d81`a8846510 ffff8d81`c3b43da0 ffff8d81`c3b43da0 : winhvr!WinHvRunVpDispatchLoop+0x157
ffffe98f`c025f480 fffff804`44f07287     : ffff8d81`c7472080 fffff804`83ff7060 00000000`0000010e ffffd600`0a760000 : Vid!VidXSchedulerVpThreadStartRoutine+0x1b4
ffffe98f`c025f570 fffff804`4501b8e4     : ffffd600`0a751180 ffff8d81`c7472080 fffff804`44f07230 00000000`00000246 : nt!PspSystemThreadStartup+0x57
ffffe98f`c025f5c0 00000000`00000000     : ffffe98f`c0260000 ffffe98f`c0259000 00000000`00000000 00000000`00000000 : nt!KiStartSystemThread+0x34

STACK_COMMAND:  ~31 ; .cxr ; kb

SYMBOL_NAME:  nt!KeAccumulateTicks+3d5

MODULE_NAME: nt

IMAGE_NAME:  ntkrnlmp.exe

IMAGE_VERSION:  10.0.22621.2715

BUCKET_ID_FUNC_OFFSET:  3d5

FAILURE_BUCKET_ID:  0x133_DPC_nt!KeAccumulateTicks

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

FAILURE_ID_HASH:  {88dc98ce-f842-4daa-98d0-858621db6b0f}

Followup:     MachineOwner
---------

`

github-actions[bot] commented 11 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

OneBlue commented 11 months ago

Thank you for reporting this @4-FLOSS-Free-Libre-Open-Source-Software.

Can you follow 10) Reporting a Windows crash (BSOD) to share the kernel dump with us ?

microsoft-github-policy-service[bot] commented 11 months ago

This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it.

Thank you!