Windows Debug code help

Anonymous
2023-12-20T05:35:21+00:00

Have a machine that is blue screening after a few minutes powered up.
I am able to get the minidump and this is the WinDBG Files from it.

How do i decipher this and identify the program/driver causing the error

system_thread_exception_not_handled (ndis sys)

************* Preparing the environment for Debugger Extensions Gallery repositories **************

  1. ExtensionRepository : Implicit
  2. UseExperimentalFeatureForNugetShare : true
  3. AllowNugetExeUpdate : true
  4. AllowNugetMSCredentialProviderInstall : true
  5. AllowParallelInitializationOfLocalRepositories : true
  6. -- Configuring repositories
  7. ----> Repository : LocalInstalled, Enabled: true
  8. ----> Repository : UserExtensions, Enabled: true
  9. >>>>>>>>>>>>> Preparing the environment for Debugger Extensions Gallery repositories completed, duration 0.000 seconds
  10. ************* Waiting for Debugger Extensions Gallery to Initialize **************
  11. >>>>>>>>>>>>> Waiting for Debugger Extensions Gallery to Initialize completed, duration 0.015 seconds
  12. ----> Repository : UserExtensions, Enabled: true, Packages count: 0
  13. ----> Repository : LocalInstalled, Enabled: true, Packages count: 36
  14. Microsoft (R) Windows Debugger Version 10.0.25921.1001 AMD64
  15. Copyright (c) Microsoft Corporation. All rights reserved.
  16. Loading Dump File [D:\122023-12906-01.dmp]
  17. Mini Kernel Dump File: Only registers and stack trace are available
  18. ************* Path validation summary **************
  19. Response Time (ms) Location
  20. Deferred srv*
  21. Symbol search path is: srv*
  22. Executable search path is:
  23. Windows 8.1 Kernel Version 9600 MP (8 procs) Free x64
  24. Product: LanManNt, suite: TerminalServer SingleUserTS
  25. Edition build lab: 9600.19228.amd64fre.winblue_ltsb.181208-0600
  26. Kernel base = 0xfffff802aa61c000 PsLoadedModuleList = 0xfffff802aa8e05f0
  27. Debug session time: Wed Dec 20 13:27:11.938 2023 (UTC + 11:00)
  28. System Uptime: 0 days 0:06:00.632
  29. Loading Kernel Symbols
  30. ...............................................................
  31. ................................................................
  32. ............................
  33. Loading User Symbols
  34. Loading unloaded module list
  35. .........
  36. For analysis of this file, run !analyze -v
  37. NDIS!ndisCreateStringStreamEntry+0x2f:
  38. fffff801974a556b 66413929 cmp word ptr [r9],bp ds:002b:0000000000000000=????
  39. 6: kd> !analyze -v
  40. *******************************************************************************
  41. * *
  42. * Bugcheck Analysis *
  43. * *
  44. *******************************************************************************
  45. SYSTEM_THREAD_EXCEPTION_NOT_HANDLED (7e)
  46. This is a very common BugCheck. Usually the exception address pinpoints
  47. the driver/function that caused the problem. Always note this address
  48. as well as the link date of the driver/image that contains this address.
  49. Arguments:
  50. Arg1: ffffffffc0000005, The exception code that was not handled
  51. Arg2: fffff801974a556b, The address that the exception occurred at
  52. Arg3: ffffd00024ef0b08, Exception Record Address
  53. Arg4: ffffd00024ef0320, Context Record Address
  54. Debugging Details:

  55. KEY_VALUES_STRING: 1
  56. Key : AV.Dereference
  57. Value: NullPtr
  58. Key : AV.Fault
  59. Value: Read
  60. Key : Analysis.CPU.mSec
  61. Value: 2109
  62. Key : Analysis.Elapsed.mSec
  63. Value: 12596
  64. Key : Analysis.IO.Other.Mb
  65. Value: 1
  66. Key : Analysis.IO.Read.Mb
  67. Value: 1
  68. Key : Analysis.IO.Write.Mb
  69. Value: 2
  70. Key : Analysis.Init.CPU.mSec
  71. Value: 968
  72. Key : Analysis.Init.Elapsed.mSec
  73. Value: 169374
  74. Key : Analysis.Memory.CommitPeak.Mb
  75. Value: 87
  76. Key : Bugcheck.Code.LegacyAPI
  77. Value: 0x1000007e
  78. Key : Failure.Bucket
  79. Value: AV_NDIS!ndisCreateStringStreamEntry
  80. Key : Failure.Hash
  81. Value: {a6009a6f-0469-bc4c-27f7-a8fa2f293092}
  82. Key : Hypervisor.Enlightenments.Value
  83. Value: 0
  84. Key : Hypervisor.Enlightenments.ValueHex
  85. Value: 0
  86. Key : Hypervisor.Flags.Value
  87. Value: 0
  88. Key : Hypervisor.Flags.ValueHex
  89. Value: 0
  90. Key : WER.OS.Branch
  91. Value: winblue_ltsb
  92. Key : WER.OS.Version
  93. Value: 8.1.9600.19228
  94. BUGCHECK_CODE: 7e
  95. BUGCHECK_P1: ffffffffc0000005
  96. BUGCHECK_P2: fffff801974a556b
  97. BUGCHECK_P3: ffffd00024ef0b08
  98. BUGCHECK_P4: ffffd00024ef0320
  99. FILE_IN_CAB: 122023-12906-01.dmp
  100. EXCEPTION_RECORD: ffffd00024ef0b08 -- (.exr 0xffffd00024ef0b08)
  101. ExceptionAddress: fffff801974a556b (NDIS!ndisCreateStringStreamEntry+0x000000000000002f)
  102. ExceptionCode: c0000005 (Access violation)
  103. ExceptionFlags: 00000000
  104. NumberParameters: 2
  105. Parameter[0]: 0000000000000000
  106. Parameter[1]: 0000000000000000
  107. Attempt to read from address 0000000000000000
  108. CONTEXT: ffffd00024ef0320 -- (.cxr 0xffffd00024ef0320)
  109. rax=ffffd00024ef1010 rbx=0000000000000015 rcx=ffffd00024ef0dc0
  110. rdx=ffffe000bf3eb538 rsi=ffffd00024ef0f00 rdi=ffffd00024ef0dc0
  111. rip=fffff801974a556b rsp=ffffd00024ef0d40 rbp=0000000000000000
  112. r8=ffffd00024ef0f00 r9=0000000000000000 r10=0000000000000000
  113. r11=ffffd00024ef1010 r12=fffff80197492950 r13=ffffe000c7f6b040
  114. r14=ffffe000bf3eb3f0 r15=0000000000000000
  115. iopl=0 nv up ei ng nz na pe nc
  116. cs=0010 ss=0018 ds=002b es=002b fs=0053 gs=002b efl=00010282
  117. NDIS!ndisCreateStringStreamEntry+0x2f:
  118. fffff801974a556b 66413929 cmp word ptr [r9],bp ds:002b:0000000000000000=????
  119. Resetting default scope
  120. CUSTOMER_CRASH_COUNT: 1
  121. PROCESS_NAME: System
  122. READ_ADDRESS: GetUlongPtrFromAddress: unable to read from fffff802aa96a310
  123. GetUlongPtrFromAddress: unable to read from fffff802aa96a2b0
  124. GetUlongPtrFromAddress: unable to read from fffff802aa96a530
  125. 0000000000000000
  126. ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.
  127. EXCEPTION_CODE_STR: c0000005
  128. EXCEPTION_PARAMETER1: 0000000000000000
  129. EXCEPTION_PARAMETER2: 0000000000000000
  130. EXCEPTION_STR: 0xc0000005
  131. STACK_TEXT:
  132. ffffd00024ef0d40 fffff801974a5689 : 0000000000000015 0000000000000002 ffffe000bf3eb538 ffffe000bf3e3bd8 : NDIS!ndisCreateStringStreamEntry+0x2f
  133. ffffd00024ef0d70 fffff80197420aa8 : ffffe000bf3eb360 ffffd00024ef1250 fffff80197493e00 ffffd00024ef1250 : NDIS!ndisSqmLogDriverVersion+0xb9
  134. ffffd00024ef1150 fffff802aa677b7f : fffff80197420958 fffff80197493ea8 0000000000000000 fffff802aa8b9480 : NDIS!ndisSqmTimerWorkerRoutine+0x150
  135. ffffd00024ef13d0 fffff802aa6efda2 : 0000000000000000 ffffd00102c40180 0000000000000080 ffffe000be5b0900 : nt!ExpWorkerThread+0x69f
  136. ffffd00024ef1480 fffff802aa763c36 : ffffd00102c40180 ffffe000c7f6b040 ffffd00102c50480 0000000000000000 : nt!PspSystemThreadStartup+0x18a
  137. ffffd00024ef14e0 0000000000000000 : ffffd00024ef2000 ffffd00024eeb000 0000000000000000 0000000000000000 : nt!KiStartSystemThread+0x16
  138. SYMBOL_NAME: NDIS!ndisCreateStringStreamEntry+2f
  139. MODULE_NAME: NDIS
  140. IMAGE_NAME: NDIS.SYS
  141. IMAGE_VERSION: 6.3.9600.19090
  142. STACK_COMMAND: .cxr 0xffffd00024ef0320 ; kb
  143. BUCKET_ID_FUNC_OFFSET: 2f
  144. FAILURE_BUCKET_ID: AV_NDIS!ndisCreateStringStreamEntry
  145. OS_VERSION: 8.1.9600.19228
  146. BUILDLAB_STR: winblue_ltsb
  147. OSPLATFORM_TYPE: x64
  148. OSNAME: Windows 8.1
  149. FAILURE_ID_HASH: {a6009a6f-0469-bc4c-27f7-a8fa2f293092}
  150. Followup: MachineOwner

Windows for business Windows Server Performance System performance

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-12-21T07:44:07+00:00

    Hello

    Thank you for posting in Microsoft Community forum.

    .

    It looks like you're dealing with a system crash caused by a SYSTEM_THREAD_EXCEPTION_NOT_HANDLED error in the NDIS (Network Driver Interface Specification) module (NDIS.SYS). The error details suggest an access violation occurred at memory address fffff801974a556b.

    The exception code c0000005 often indicates an attempt to read or write to a memory location that the system does not have permission to access, potentially due to a null pointer dereference (AV.Dereference: NullPtr). The particular function ndisCreateStringStreamEntry within the NDIS module seems to be implicated in causing this issue.

    To troubleshoot this error:

    Driver Issues: Given that NDIS.SYS is a network-related driver, outdated or incompatible network drivers could be the root cause. Consider updating or reinstalling your network drivers.

    Memory Corruption: Check if there's any faulty RAM by running memory diagnostics tools. Faulty RAM can cause access violations like the one you're experiencing.

    System File Corruption: Conduct a system file check using the sfc /scannow command in the Command Prompt to verify and repair corrupted system files.

    Windows Updates: Ensure your system is fully updated. Sometimes, Microsoft releases patches or fixes that can address such issues.

    Third-Party Software: If the crash started occurring after installing new software, try uninstalling it to see if that resolves the problem.

    Best Regards,

    Wesley Li

    0 comments No comments