pastebin - collaborative debugging tool
nrubsig.kpaste.net RSS

Difference between
modified post 32c88fc2c5 by Anonymous on Wed 24th Jul 2024 12:46
original post 28b8 by Anonymous on Wed 24th Jul 2024 11:13
Download diff
Show old version | new version | both versions

    
1+
diff --git a/daemon/nfs41_daemon.c b/daemon/nfs41_daemon.c
18
2-
************* Preparing the environment for Debugger Extensions Gallery repositories **************
9+
+static VOID apc_code(IN ULONG_PTR dwData)
3-
   ExtensionRepository : Implicit
10+
+{
4-
   UseExperimentalFeatureForNugetShare : true
11+
+       DPRINTF(0, ("Hello from apc_code()!\n"));
5-
   AllowNugetExeUpdate : true
12+
+}
6-
   NonInteractiveNuget : true
13+
+
7-
   AllowNugetMSCredentialProviderInstall : true
14+
 static unsigned int nfsd_worker_thread_main(void *args)
8-
   AllowParallelInitializationOfLocalRepositories : true
15+
 {
16+
     nfs41_daemon_globals *nfs41dg = (nfs41_daemon_globals *)args;
920
10-
   EnableRedirectToV8JsProvider : false
21+
+#if 1
22+
+    QueueUserAPC((PAPCFUNC)apc_code, GetCurrentThread(), (ULONG_PTR)args);
1131
12-
   -- Configuring repositories
32+
+#if 0
13-
      ----> Repository : LocalInstalled, Enabled: true
33+
+    QueueUserAPC((PAPCFUNC)apc_code, GetCurrentThread(), (ULONG_PTR)&nfs41_dg);
14-
      ----> Repository : UserExtensions, Enabled: true
34+
+#endif
35+
+
1539
16-
>>>>>>>>>>>>> Preparing the environment for Debugger Extensions Gallery repositories completed, duration 0.000 seconds
40+
1741
18-
************* Waiting for Debugger Extensions Gallery to Initialize **************
42+
1943
20-
>>>>>>>>>>>>> Waiting for Debugger Extensions Gallery to Initialize completed, duration 0.437 seconds
44+
21-
   ----> Repository : UserExtensions, Enabled: true, Packages count: 0
45+
22-
   ----> Repository : LocalInstalled, Enabled: true, Packages count: 41
46+
2347
24-
Microsoft (R) Windows Debugger Version 10.0.27553.1004 AMD64
48+
25-
Copyright (c) Microsoft Corporation. All rights reserved.
49+
2650
2751
28-
Loading Dump File [C:\Windows\MEMORY.DMP]
52+
29-
Kernel Bitmap Dump File: Kernel address space is available, User address space may not be available.
53+
3054
3155
32-
************* Path validation summary **************
56+
33-
Response                         Time (ms)     Location
57+
34-
Deferred                                       srv*
58+
35-
Symbol search path is: srv*
59+
36-
Executable search path is:
60+
37-
Windows 10 Kernel Version 19041 MP (8 procs) Free x64
61+
38-
Product: WinNt, suite: TerminalServer SingleUserTS
62+
39-
Edition build lab: 19041.1.amd64fre.vb_release.191206-1406
63+
40-
Kernel base = 0xfffff804`46a00000 PsLoadedModuleList = 0xfffff804`4762a820
64+
41-
Debug session time: Wed Jul 24 12:08:35.387 2024 (UTC + 2:00)
65+
42-
System Uptime: 0 days 0:04:20.113
66+
43-
Loading Kernel Symbols
67+
44-
...............................................................
68+
45-
...........Page 101a2c not present in the dump file. Type ".hh dbgerr004" for details
69+
46-
.....................................................
70+
47-
................................................................
71+
48-
......
72+
49-
Loading User Symbols
73+
50-
PEB is paged out (Peb.Ldr = 000000dc`9b394018).  Type ".hh dbgerr001" for details
74+
51-
Loading unloaded module list
75+
52-
......
76+
53-
For analysis of this file, run !analyze -v
77+
54-
nt!KeBugCheckEx:
78+
55-
fffff804`46dfdde0 48894c2408      mov     qword ptr [rsp+8],rcx ss:0018:fffff886`52ec9d10=0000000000000139
79+
56-
4: kd> !analyze -v
80+
57-
*******************************************************************************
81+
58-
*                                                                             *
82+
59-
*                        Bugcheck Analysis                                    *
83+
60-
*                                                                             *
84+
61-
*******************************************************************************
85+
6286
63-
KERNEL_SECURITY_CHECK_FAILURE (139)
87+
64-
A kernel component has corrupted a critical data structure.  The corruption
88+
65-
could potentially allow a malicious user to gain control of this machine.
89+
66-
Arguments:
90+
67-
Arg1: 0000000000000003, A LIST_ENTRY has been corrupted (i.e. double remove).
91+
68-
Arg2: fffff88652eca030, Address of the trap frame for the exception that caused the BugCheck
92+
69-
Arg3: fffff88652ec9f88, Address of the exception record for the exception that caused the BugCheck
93+
70-
Arg4: 0000000000000000, Reserved
94+
7195
72-
Debugging Details:
96+
73-
------------------
97+
7498
75-
Unable to load image \SystemRoot\system32\DRIVERS\nfs41_driver.sys, Win32 error 0n2
99+
76100
77-
KEY_VALUES_STRING: 1
101+
78102
79-
    Key  : Analysis.CPU.mSec
103+
80-
    Value: 5061
104+
81105
82-
    Key  : Analysis.Elapsed.mSec
106+
83-
    Value: 6187
107+
84108
85-
    Key  : Analysis.IO.Other.Mb
109+
86-
    Value: 0
110+
87111
88-
    Key  : Analysis.IO.Read.Mb
112+
89-
    Value: 2
113+
90114
91-
    Key  : Analysis.IO.Write.Mb
115+
92-
    Value: 1
116+
93117
94-
    Key  : Analysis.Init.CPU.mSec
118+
95-
    Value: 936
119+
96120
97-
    Key  : Analysis.Init.Elapsed.mSec
121+
98-
    Value: 36047
122+
99123
100-
    Key  : Analysis.Memory.CommitPeak.Mb
124+
101-
    Value: 92
125+
102126
103-
    Key  : Bugcheck.Code.KiBugCheckData
127+
104-
    Value: 0x139
128+
105129
106-
    Key  : Bugcheck.Code.LegacyAPI
130+
107-
    Value: 0x139
131+
108132
109-
    Key  : Bugcheck.Code.TargetModel
133+
110-
    Value: 0x139
134+
111135
112-
    Key  : FailFast.Name
136+
113-
    Value: CORRUPT_LIST_ENTRY
137+
114138
115-
    Key  : FailFast.Type
139+
116-
    Value: 3
140+
117141
118-
    Key  : Failure.Bucket
142+
119-
    Value: 0x139_3_CORRUPT_LIST_ENTRY_nfs41_driver!nfs41_downcall
143+
120144
121-
    Key  : Failure.Hash
145+
122-
    Value: {a27df1dd-f47c-8bad-92f0-22e713d43992}
146+
123147
124-
    Key  : Hypervisor.Enlightenments.Value
148+
125-
    Value: 12576
149+
126150
127-
    Key  : Hypervisor.Enlightenments.ValueHex
151+
128-
    Value: 3120
152+
129153
130-
    Key  : Hypervisor.Flags.AnyHypervisorPresent
154+
131-
    Value: 1
155+
132156
133-
    Key  : Hypervisor.Flags.ApicEnlightened
157+
134-
    Value: 0
158+
135159
136-
    Key  : Hypervisor.Flags.ApicVirtualizationAvailable
160+
137-
    Value: 0
161+
138162
139-
    Key  : Hypervisor.Flags.AsyncMemoryHint
163+
140-
    Value: 0
164+
141165
142-
    Key  : Hypervisor.Flags.CoreSchedulerRequested
166+
143-
    Value: 0
167+
144168
145-
    Key  : Hypervisor.Flags.CpuManager
169+
146-
    Value: 0
170+
147171
148-
    Key  : Hypervisor.Flags.DeprecateAutoEoi
172+
149-
    Value: 1
173+
150174
151-
    Key  : Hypervisor.Flags.DynamicCpuDisabled
175+
152-
    Value: 0
176+
153177
154-
    Key  : Hypervisor.Flags.Epf
178+
155-
    Value: 0
179+
156180
157-
    Key  : Hypervisor.Flags.ExtendedProcessorMasks
181+
158-
    Value: 0
182+
159183
160-
    Key  : Hypervisor.Flags.HardwareMbecAvailable
184+
161-
    Value: 0
185+
162186
163-
    Key  : Hypervisor.Flags.MaxBankNumber
187+
164-
    Value: 0
188+
165189
166-
    Key  : Hypervisor.Flags.MemoryZeroingControl
190+
167-
    Value: 0
191+
168192
169-
    Key  : Hypervisor.Flags.NoExtendedRangeFlush
193+
170-
    Value: 1
194+
171195
172-
    Key  : Hypervisor.Flags.NoNonArchCoreSharing
196+
173-
    Value: 0
197+
174198
175-
    Key  : Hypervisor.Flags.Phase0InitDone
199+
176-
    Value: 1
200+
177201
178-
    Key  : Hypervisor.Flags.PowerSchedulerQos
202+
179-
    Value: 0
203+
180204
181-
    Key  : Hypervisor.Flags.RootScheduler
205+
182-
    Value: 0
206+
183207
184-
    Key  : Hypervisor.Flags.SynicAvailable
208+
185-
    Value: 1
209+
186210
187-
    Key  : Hypervisor.Flags.UseQpcBias
211+
188-
    Value: 0
212+
189213
190-
    Key  : Hypervisor.Flags.Value
214+
191-
    Value: 536632
215+
192216
193-
    Key  : Hypervisor.Flags.ValueHex
217+
194-
    Value: 83038
218+
195219
196-
    Key  : Hypervisor.Flags.VpAssistPage
220+
197-
    Value: 1
221+
198222
199-
    Key  : Hypervisor.Flags.VsmAvailable
223+
200-
    Value: 0
224+
201225
202-
    Key  : Hypervisor.RootFlags.AccessStats
226+
203-
    Value: 0
227+
204228
205-
    Key  : Hypervisor.RootFlags.CrashdumpEnlightened
229+
206-
    Value: 0
230+
207231
208-
    Key  : Hypervisor.RootFlags.CreateVirtualProcessor
232+
209-
    Value: 0
233+
210234
211-
    Key  : Hypervisor.RootFlags.DisableHyperthreading
235+
212-
    Value: 0
236+
213237
214-
    Key  : Hypervisor.RootFlags.HostTimelineSync
238+
215-
    Value: 0
239+
216240
217-
    Key  : Hypervisor.RootFlags.HypervisorDebuggingEnabled
241+
218-
    Value: 0
242+
219243
220-
    Key  : Hypervisor.RootFlags.IsHyperV
244+
221-
    Value: 0
245+
222246
223-
    Key  : Hypervisor.RootFlags.LivedumpEnlightened
247+
224-
    Value: 0
248+
225249
226-
    Key  : Hypervisor.RootFlags.MapDeviceInterrupt
250+
227-
    Value: 0
251+
228252
229-
    Key  : Hypervisor.RootFlags.MceEnlightened
253+
230-
    Value: 0
254+
231255
232-
    Key  : Hypervisor.RootFlags.Nested
256+
233-
    Value: 0
257+
234258
235-
    Key  : Hypervisor.RootFlags.StartLogicalProcessor
259+
236-
    Value: 0
260+
237261
238-
    Key  : Hypervisor.RootFlags.Value
262+
239-
    Value: 0
263+
240264
241-
    Key  : Hypervisor.RootFlags.ValueHex
265+
242-
    Value: 0
266+
243267
244-
    Key  : SecureKernel.HalpHvciEnabled
268+
245-
    Value: 0
269+
246270
247-
    Key  : WER.OS.Branch
271+
248-
    Value: vb_release
272+
249273
250-
    Key  : WER.OS.Version
274+
251-
    Value: 10.0.19041.1
275+
252276
253277
254-
BUGCHECK_CODE:  139
278+
255279
256-
BUGCHECK_P1: 3
280+
257281
258-
BUGCHECK_P2: fffff88652eca030
282+
259283
260-
BUGCHECK_P3: fffff88652ec9f88
284+
261285
262-
BUGCHECK_P4: 0
286+
263287
264-
FILE_IN_CAB:  MEMORY.DMP
288+
265289
266-
TRAP_FRAME:  fffff88652eca030 -- (.trap 0xfffff88652eca030)
290+
267-
NOTE: The trap frame does not contain all registers.
291+
268-
Some register values may be zeroed or incorrect.
292+
269-
rax=fffff8044c016d38 rbx=0000000000000000 rcx=0000000000000003
293+
270-
rdx=0000000000000000 rsi=0000000000000000 rdi=0000000000000000
294+
271-
rip=fffff80446e2e2fb rsp=fffff88652eca1c0 rbp=fffff88652eca251
295+
272-
 r8=0000000000000000  r9=0000000000000000 r10=0000000000000000
296+
273-
r11=fffff780000003b0 r12=0000000000000000 r13=0000000000000000
297+
274-
r14=0000000000000000 r15=0000000000000000
298+
275-
iopl=0         nv up ei pl nz ac pe nc
299+
276-
nt!KeWaitForSingleObject+0x1f6d2b:
300+
277-
fffff804`46e2e2fb cd29            int     29h
301+
278-
Resetting default scope
302+
279303
280-
EXCEPTION_RECORD:  fffff88652ec9f88 -- (.exr 0xfffff88652ec9f88)
304+
281-
ExceptionAddress: fffff80446e2e2fb (nt!KeWaitForSingleObject+0x00000000001f6d2b)
305+
282-
   ExceptionCode: c0000409 (Security check failure or stack buffer overrun)
306+
283-
  ExceptionFlags: 00000001
307+
284-
NumberParameters: 1
308+
285-
   Parameter[0]: 0000000000000003
309+
286-
Subcode: 0x3 FAST_FAIL_CORRUPT_LIST_ENTRY
310+
287311
288-
BLACKBOXBSD: 1 (!blackboxbsd)
312+
289313
290314
291-
BLACKBOXNTFS: 1 (!blackboxntfs)
315+
292316
293317
294-
BLACKBOXWINLOGON: 1
318+
295319
296-
PROCESS_NAME:  nfsd_debug.exe
320+
297321
298-
ERROR_CODE: (NTSTATUS) 0xc0000409 - Das System hat in dieser Anwendung den  berlauf eines stapelbasierten Puffers ermittelt. Dieser  berlauf k nnte einem b sartigen Benutzer erm glichen, die Steuerung der Anwendung zu  bernehmen.
322+
299323
300-
EXCEPTION_CODE_STR:  c0000409
324+
301325
302-
EXCEPTION_PARAMETER1:  0000000000000003
326+
303327
304-
EXCEPTION_STR:  0xc0000409
328+
305329
306-
STACK_TEXT:
330+
307-
fffff886`52ec9d08 fffff804`46e125a9     : 00000000`00000139 00000000`00000003 fffff886`52eca030 fffff886`52ec9f88 : nt!KeBugCheckEx
331+
308-
fffff886`52ec9d10 fffff804`46e12b50     : 00000000`00000000 00000000`00000000 fffff886`52ec9f50 00000000`00000000 : nt!KiBugCheckDispatch+0x69
332+
309-
fffff886`52ec9e50 fffff804`46e109f2     : ffff950f`53c20a20 ffff950f`53c20a20 ffff950f`594be8b8 fffff804`4c010a30 : nt!KiFastFailDispatch+0xd0
333+
310-
fffff886`52eca030 fffff804`46e2e2fb     : ffff950f`50e04380 fffff804`000001c0 fffff886`00000000 ffff950f`5812e010 : nt!KiRaiseSecurityCheckFailure+0x332
334+
311-
fffff886`52eca1c0 fffff804`46cf295a     : fffff804`4c016d30 00000000`00000022 fffff804`4c02c600 ffff950f`583c9a00 : nt!KeWaitForSingleObject+0x1f6d2b
335+
312-
fffff886`52eca2b0 fffff804`46c3c2c2     : 00000000`00000000 ffff950f`583c9a60 fffff804`4c016d18 fffff804`46c3ad40 : nt!ExpAcquireFastMutexContended+0x7a
336+
313-
fffff886`52eca2f0 fffff804`4c002839     : ffff950f`583c9a60 fffff886`00000001 ffff950f`00000000 fffff886`00000000 : nt!ExAcquireFastMutex+0x162
337+
314-
fffff886`52eca340 fffff804`4bffca9e     : ffff950f`53c20a20 00000000`0028201c fffff804`47725440 00000000`00000000 : nfs41_driver!nfs41_downcall+0x159 [C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\sys\nfs41_driver.c @ 2070]
338+
315-
fffff886`52eca3b0 fffff804`4c02c976     : ffff950f`53c20a20 ffff950f`53b78060 00000000`00000002 ffff950f`53c20a20 : nfs41_driver!nfs41_DevFcbXXXControlFile+0x13e [C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\sys\nfs41_driver.c @ 2566]
339+
316-
fffff886`52eca430 fffff804`4c02c698     : ffff950f`53c20a20 ffff950f`53c20a20 ffff950f`53b78000 ffff950f`53c20a20 : nfs41_driver!RxXXXControlFileCallthru+0x76 [base\fs\rdr2\rdbss\ntdevfcb.c @ 130]
340+
317-
fffff886`52eca460 fffff804`4c009542     : 00000000`00000000 ffff950f`583c9a60 ffff950f`53b78001 00000000`00000000 : nfs41_driver!RxCommonDevFCBIoCtl+0x58 [base\fs\rdr2\rdbss\ntdevfcb.c @ 491]
341+
318-
fffff886`52eca490 fffff804`4c02397d     : fffff804`4c016370 ffff950f`50e02100 ffff950f`59d01440 ffff950f`53b78060 : nfs41_driver!RxFsdCommonDispatch+0x442 [base\fs\rdr2\rdbss\ntfsd.c @ 848]
342+
319-
fffff886`52eca590 fffff804`4bffd8d7     : ffff950f`5806de40 00000000`00000002 fffff886`52eca630 00000000`0000000f : nfs41_driver!RxFsdDispatch+0xfd [base\fs\rdr2\rdbss\ntfsd.c @ 442]
343+
320-
fffff886`52eca5c0 fffff804`46c2d3f5     : ffff950f`53b78060 ffff950f`583c9a60 ffff950f`588e5730 fffff804`46c3cd1b : nfs41_driver!nfs41_FsdDispatch+0x67 [C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\sys\nfs41_driver.c @ 7284]
344+
321-
fffff886`52eca600 fffff804`4b16f248     : fffff804`4b168000 00000000`00000000 ffff950f`53989b60 ffff950f`5a2eae68 : nt!IofCallDriver+0x55
345+
322-
fffff886`52eca640 fffff804`4b16ed99     : ffff828e`1d6e6b90 00000000`00000000 fffff804`4b168000 00000000`00000000 : mup!MupiCallUncProvider+0xb8
346+
323-
fffff886`52eca6b0 fffff804`4b16ecce     : ffff950f`583c9a60 ffff950f`5a2eae60 ffff950f`5ac2e500 00000000`00000000 : mup!MupStateMachine+0x59
347+
324-
fffff886`52eca6e0 fffff804`46c2d3f5     : ffff950f`5ac2e500 00000000`00000000 ffff950f`5806de40 00000000`00000001 : mup!MupFsdIrpPassThrough+0x17e
348+
325-
fffff886`52eca750 fffff804`444a4a76     : ffff950f`0028201c fffff886`52eca950 ffff950f`53b78060 fffff804`4701cdf1 : nt!IofCallDriver+0x55
349+
326-
fffff886`52eca790 fffff804`46c2d3f5     : 00000000`00000002 ffff950f`583c9c50 fffff886`20206f49 fffff886`52eca950 : FLTMGR!FltpDispatch+0xd6
350+
327-
fffff886`52eca7f0 fffff804`4701bddc     : 00000000`00000001 00000000`0028201c ffff950f`5ac2e500 ffff950f`577df080 : nt!IofCallDriver+0x55
351+
328-
fffff886`52eca830 fffff804`4701ba2a     : 00000000`0028201c fffff886`52ecab80 00000000`00000000 00000000`0028201c : nt!IopSynchronousServiceTail+0x34c
352+
329-
fffff886`52eca8d0 fffff804`4701ad06     : 00007ff7`4f06a8d0 00000000`00000000 00000000`00000000 00000000`00000000 : nt!IopXxxControlFile+0xd0a
353+
330-
fffff886`52ecaa20 fffff804`46e11d05     : 00000000`00000000 fffff804`46c3d22e ffff950f`5766e080 000000dc`9b394000 : nt!NtDeviceIoControlFile+0x56
354+
331-
fffff886`52ecaa90 00007fff`064cd644     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiSystemServiceCopyEnd+0x25
355+
332-
000000dc`9cbfa358 00000000`00000000     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x00007fff`064cd644
356+
333357
334358
335-
FAULTING_SOURCE_LINE:  C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\sys\nfs41_driver.c
359+
336360
337-
FAULTING_SOURCE_FILE:  C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\sys\nfs41_driver.c
361+
338362
339-
FAULTING_SOURCE_LINE_NUMBER:  2070
363+
340364
341-
FAULTING_SOURCE_CODE:
365+
342-
  2066:         goto out_free;
366+
343-
  2067:     }
367+
344-
  2068:
368+
345-
  2069:     ExAcquireFastMutex(&cur->lock);
369+
346-
> 2070:     if (cur->state == NFS41_NOT_WAITING) {
370+
347-
  2071:         DbgP("[downcall] Nobody is waiting for this request!!!\n");
371+
348-
  2072:         switch(cur->opcode) {
372+
349-
  2073:         case NFS41_WRITE:
373+
350-
  2074:         case NFS41_READ:
374+
351-
  2075:             MmUnmapLockedPages(cur->buf, cur->u.ReadWrite.MdlAddress);
375+
352376
353377
354-
SYMBOL_NAME:  nfs41_driver!nfs41_downcall+159
378+
355379
356-
MODULE_NAME: nfs41_driver
380+
357381
358-
IMAGE_NAME:  nfs41_driver.sys
382+
359383
360-
STACK_COMMAND:  .cxr; .ecxr ; kb
384+
361385
362-
BUCKET_ID_FUNC_OFFSET:  159
386+
363387
364-
FAILURE_BUCKET_ID:  0x139_3_CORRUPT_LIST_ENTRY_nfs41_driver!nfs41_downcall
388+
365389
366-
OS_VERSION:  10.0.19041.1
390+
367391
368-
BUILDLAB_STR:  vb_release
392+
369393
370-
OSPLATFORM_TYPE:  x64
394+
371395
372-
OSNAME:  Windows 10
396+
373397
374-
FAILURE_ID_HASH:  {a27df1dd-f47c-8bad-92f0-22e713d43992}
398+
375399
376-
Followup:     MachineOwner
400+
377-
---------
401+
378402
379403

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at