君
君hou
The problem is opened a case, analysis is normal, but lenovo still want to prove it at MS official forum.
As you can see from the following analysis, the reason is that the app deployment service has been started before the user is logged in and has the request and creation of the task, so it has caused the problem of the black screen. Although it seems that the logic of the program is normal, I understand that the phenomenon of the black screen is still a problem, because when you see the black screen, some users are likely to force the computer to reboot. After restarting, you may also encounter the black screen problem, so repeated operation will cause the system to crash.
Although 6B KB (6B KB, system version 17134.112) is part of the problem of fixing the black screen, there are other black screen problems at the moment.
It is hoped that the UWP APP deployment mechanism will be improved in the future, such as deployment ahead of time (after starting the boot to a place where the logo circle is in place), or postponed (after getting into the system desktop and waiting for some time to start deploying).
RS2 and RS3 don't have this problem
The information is as follows:
Case ID
=======
118060618326638
Problem Description
===================
Blank screen after Backup/Restore with DISM
What we have done
==================
The first dump analysis:
Appreadiness services wait for the deployment complete for preInstalled packages. 1527c705-839a-4832-9118-54d4Bd6a0c89_cw5n1h2txyewy is the first package.
0: kd> !mex.t -c
Process Thread CID UserTime KernelTime ContextSwitches Wait Reason Time State COM-Initialized
svchost.exe (appreadiness, AppReadiness) (ffffca8bb8ffb080) ffffca8bb8f93040 103c.182c 31ms 16ms 378 UserRequest 8s.125 Waiting APTKIND_MULTITHREADED (MTA)
WaitBlockList:
Object Type Other Waiters
ffffca8bafb0a7a0 SynchronizationEvent 0
Priority:
Current Base UB FB IO Page
9 8 0 0 2 5
# Call Site
0 nt!KiSwapContext+0x76
1 nt!KiSwapThread+0x2c6
2 nt!KiCommitThreadWait+0x13b
3 nt!KeWaitForSingleObject+0x1ff
4 nt!NtWaitForSingleObject+0xfc
5 nt!KiSystemServiceCopyEnd+0x13
6 ntdll!ZwWaitForSingleObject+0x14
7 KERNELBASE!WaitForSingleObjectEx+0xa2
8 appreadiness!Windows::Management:eployment::WaitForDeploymentOperation+0x109
9 appreadiness!Windows::Management:eployment::WaitForDeploymentOperation+0xa
a appreadiness!<lambda_ed6e5c6c32e4fa2b1d111271ece46331>:perator()+0xaf
b appreadiness!AppReadiness::User::ExecuteUnderContext+0x47
c appreadiness!AppReadiness::User::MergePreInstalledPackagesForUser+0x5dd
d appreadiness!AppReadiness::User:repareTasks+0x8f
e appreadiness!AppReadiness::User:rocessTasks+0x3c8
f appreadiness!AppReadiness::Service:rocessUsers+0xe2
10 appreadiness!<lambda_fab533d88b690a7934006dd99040af2a>:perator()+0x15
11 appreadiness!EnforceNoThrowSeh<<lambda_fab533d88b690a7934006dd99040af2a> >+0x9
12 appreadiness!Windows::StdNoThrowBoundry+0x14
13 appreadiness!AppReadiness::StaticProcessUserTaskCallback+0x83
14 ntdll!RtlpTpWaitCallback+0x9b
15 ntdll!TppExecuteWaitCallback+0xa0
16 ntdll!TppWorkerThread+0x2a9
17 KERNEL32!BaseThreadInitThunk+0x14
18 ntdll!RtlUserThreadStart+0x21
0: kd> !mex.ddt 00000194af60ea00+0x000 appreadiness!std::_String_val<std::_Simple_types<unsigned short> >::_Bxty
dt 00000194af60ea00+0x000 appreadiness!std::_String_val<std::_Simple_types<unsigned short> >::_Bxty () Recursive: [ -r1 -r2 -r ] Verbose Normal dt
==================================================================================
+0x000 _Buf : [8] "厠꽡Ɣ"
+0x000 _Ptr : 0x00000194`af6153a0 "1527c705-839a-4832-9118-54d4Bd6a0c89_cw5n1h2txyewy"
+0x000 _Alias : [8] "???"
Next we go to the AppXSvc, we could see it is deploying this package and update the StateRepository.
0: kd> !mex.t -c
Process Thread CID UserTime KernelTime ContextSwitches Wait Reason Time State COM-Initialized
svchost.exe (wsappx, AppXSvc) (ffffca8bb82e03c0) ffffca8bb7b2a080 678.197c 0s 94ms 932 WrPageIn 15ms Waiting APTKIND_MULTITHREADED (MTA)
WaitBlockList:
Object Type Other Waiters
ffffca8bb50a5c90(MmIn) NotificationEvent 0
Irp List:
IRP File Driver
ffffca8bb81cc010 Disk
Priority:
Current Base UB FB IO Page
11 10 0 0 2 5
# Call Site
0 nt!KiSwapContext+0x76
1 nt!KiSwapThread+0x2c6
2 nt!KiCommitThreadWait+0x13b
3 nt!KeWaitForSingleObject+0x1ff
4 nt!MiWaitForInPageComplete+0xc5
5 nt!MiPfCompleteInPageSupport+0x74
6 nt!MiPfCompletePrefetchIos+0x4e
7 nt!MmWaitForCacheManagerPrefetch+0x35
8 nt!CcFetchDataForRead+0x100
9 nt!CcMapAndCopyFromCache+0xd9
a nt!CcCopyReadEx+0x12e
b Ntfs!NtfsCopyReadA+0x273
c FLTMGR!FltpPerformFastIoCall+0x10b
d FLTMGR!FltpPassThroughFastIo+0xc7
e FLTMGR!FltpFastIoRead+0x159
f nt!NtReadFile+0x44b
10 nt!KiSystemServiceCopyEnd+0x13
11 ntdll!ZwReadFile+0x14
12 KERNELBASE!ReadFile+0xfa
13 StateRepository_Core!winRead+0x75
14 StateRepository_Core!sqlite3OsRead+0x24
15 StateRepository_Core!readDbPage+0x42
16 StateRepository_Core!getPageNormal+0x1ea
17 StateRepository_Core!sqlite3PagerGet+0x27
18 StateRepository_Core!getAndInitPage+0x56
19 StateRepository_Core!moveToChild+0x5a
1a StateRepository_Core!moveToLeftmost+0x56
1b StateRepository_Core!sqlite3BtreeNext+0x54
1c StateRepository_Core!sqlite3VdbeExec+0x3e3
1d StateRepository_Core!sqlite3Step+0x46
1e StateRepository_Core!sqlite3_step+0xb4
1f StateRepository_Core!sqlite3_exec+0xfa
20 appxdeploymentserver!StateRepository:atabase::dal_exec+0x1d1
21 appxdeploymentserver!StateRepository:atabase::Execute+0x3d
22 appxdeploymentserver!StateRepository:atabase::Analyze+0x36
23 appxdeploymentserver!StateRepository:atabase::UpdateDatabaseStatistics+0x106
24 appxdeploymentserver!PackageRepository::RepositorySession::CommitTransaction+0x5b0
25 appxdeploymentserver!PackageManagerInternal:eploymentRequest::Commit+0x12a
26 appxdeploymentserver!PackageManagerInternal:eploymentRequest::Run+0x2023
27 appxdeploymentserver!PackageManagerInternal:eploymentDequeuer::RunThread+0x213
28 appxdeploymentserver!PackageManagerInternal:eploymentDequeuerDispatcherThread+0x9
29 ntdll!TppSimplepExecuteCallback+0x95
2a ntdll!TppWorkerThread+0x728
2b KERNEL32!BaseThreadInitThunk+0x14
2c ntdll!RtlUserThreadStart+0x21
@rsi mainPackageMoniker = 0x000001c5`107f64d0 "1527c705-839a-4832-9118-54d4Bd6a0c89_10.0.17134.1_neutral_neutral_cw5n1h2txyewy"
0000006b`d67ff830 userSidStringBuffer = "S-1-5-21-3060846661-4071180455-3668768800-1001" [len=46, buf=47]
My understanding is that if there are lots of packages require to deploy at first logon, the blank screen will be shown.
Second dump analysis:
The explorer.exe will start logon task which calls into AppReadiness service.explorer.exe将启动登录任务,调用AppReadiness服务。
0: kd> !mex.t -c
Process Thread CID UserTime KernelTime ContextSwitches Wait Reason Time State COM-Initialized
explorer.exe (ffffb58ec6b8e580) ffffb58ec6bb0700 12bc.1294 16ms 0s 332 UserRequest 765ms Waiting APTKIND_APARTMENTTHREADED (STA)
WaitBlockList:
Object Type Other Waiters
ffffb58ec69cdc60 SynchronizationEvent 0
ffffb58ec6ba0fe0 SynchronizationEvent 0
ffffb58ec6bc6640 Queue 0
# Call Site Info
0 nt!KiSwapContext+0x76
1 nt!KiSwapThread+0x2c6
2 nt!KiCommitThreadWait+0x13b
3 nt!KeWaitForMultipleObjects+0x467
4 nt!ObWaitForMultipleObjects+0x2a0
5 win32kfull!xxxMsgWaitForMultipleObjectsEx+0xcd
6 win32kfull!NtUserMsgWaitForMultipleObjectsEx+0x381
7 nt!KiSystemServiceCopyEnd+0x13
8 win32u!ZwUserMsgWaitForMultipleObjectsEx+0x14
9 user32!RealMsgWaitForMultipleObjectsEx+0x1d
a combase!CCliModalLoop::BlockFn+0x123
b combase!ModalLoop+0xd2
c combase!ThreadSendReceive+0x3b0 Server PID: 0x1430
d combase!CSyncClientCall::SwitchAptAndDispatchCall+0x96
e combase!CSyncClientCall::SendReceive2+0x178
f combase!SyncClientCallRetryContext::SendReceiveWithRetry+0x33
10 combase!CSyncClientCall::SendReceiveInRetryContext+0x33
11 combase!ClassicSTAThreadSendReceive+0xb0
12 combase!CSyncClientCall::SendReceive+0x2d2
13 combase!CClientChannel::SendReceive+0x8f
14 combase!NdrExtpProxySendReceive+0xec
15 RPCRT4!Ndr64pSendReceive+0x2f
16 RPCRT4!NdrpClientCall3+0x430
17 combase!ObjectStublessClient+0x138
18 combase!ObjectStubless+0x42
19 Explorer!AppReadinessTaskStart+0xcc
1a Explorer!CLogonTaskFramework::s_AppReadinessTaskStart+0xe
1b Explorer!CLogonTaskFramework::s_AppReadinessPreShellGroupStartMethod+0x5f
1c Explorer!CLogonTaskFramework::_ExecuteTaskFunction+0x298
1d Explorer!CLogonTaskFramework::_RunLogonTask+0x166
1e Explorer!CLogonTaskFramework::_RunLogonOrWaitTask+0x22f
1f Explorer!CLogonTaskFramework::_RunLogonTasksInPhase+0x412
20 Explorer!CLogonTaskFramework::_RunPhase+0x44
21 Explorer!CLogonTaskFramework::RunAllLogonTasks+0x1d9
22 Explorer!RunAllLogonTasks+0x3e
23 Explorer!wWinMain+0x98b
24 Explorer!__wmainCRTStartup+0x1c9
25 KERNEL32!BaseThreadInitThunk+0x14
26 ntdll!RtlUserThreadStart+0x21
In AppReadiness service, it received the request and create task for user before logon.
0: kd> !mex.t -c
Process Thread CID UserTime KernelTime ContextSwitches Wait Reason Time State COM-Initialized
svchost.exe (appreadiness, AppReadiness) (ffffb58ec6b84580) ffffb58ec6b81700 1430.1458 0s 0s 6 UserRequest 1m:14.906 Waiting APTKIND_MULTITHREADED (MTA)
WaitBlockList:
Object Type Other Waiters Info
ffffb58ec6c08d60 Semaphore 0 Limit: 1
Could not find field dwClientPID on type tagOutgoingCallData at address 0x2725824f25c
# Call Site Info
0 nt!KiSwapContext+0x76
1 nt!KiSwapThread+0x2c6
2 nt!KiCommitThreadWait+0x13b
3 nt!KeWaitForSingleObject+0x1ff
4 nt!NtWaitForSingleObject+0xfc
5 nt!KiSystemServiceCopyEnd+0x13
6 ntdll!ZwWaitForSingleObject+0x14
7 KERNELBASE!WaitForSingleObjectEx+0xa2
8 appreadiness!Microsoft::WRL::Wrappers::Semaphore::Lock+0xf
9 appreadiness!Microsoft::WRL::Wrappers::Semaphore::Lock+0x16
a appreadiness!AppReadiness::User::CreateTask+0x57
b appreadiness!<lambda_9efd1f14ff3e9761cff1c61030c36864>:perator()+0x19d
c appreadiness!<lambda_fab533d88b690a7934006dd99040af2a>:perator()+0x15
d appreadiness!EnforceNoThrowSeh<<lambda_fab533d88b690a7934006dd99040af2a> >+0x9
e appreadiness!Windows::StdNoThrowBoundry+0x11
f appreadiness!AppReadiness::Api::CreateTaskForUser+0xd3
10 appreadiness!AppReadiness::Api::CreateTask+0x25
11 RPCRT4!Invoke+0x73
12 RPCRT4!Ndr64StubWorker+0xbed
13 RPCRT4!NdrStubCall3+0xb4
14 combase!CStdStubBuffer_Invoke+0x62
15 RPCRT4!CStdStubBuffer_Invoke+0x3b
16 combase!InvokeStubWithExceptionPolicyAndTracing::__l6::<lambda_76d9e92c799d246a4afbe64a2bf5673d>:perator()+0x2b
17 combase!ObjectMethodExceptionHandlingAction<<lambda_76d9e92c799d246a4afbe64a2bf5673d> >+0x53
18 combase!InvokeStubWithExceptionPolicyAndTracing+0xc3
19 combase!DefaultStubInvoke+0x295
1a combase!SyncStubCall::Invoke+0x2b
1b combase!SyncServerCall::StubInvoke+0x2b
1c combase!StubInvoke+0x2cc
1d combase!ServerCall::ContextInvoke+0x496 Server PID: 0x1430
1e combase!CServerChannel::ContextInvoke+0x89
1f combase!DefaultInvokeInApartment+0xa2
20 combase!AppInvoke+0x328
21 combase!ComInvokeWithLockAndIPID+0x59c
22 combase!ThreadInvoke+0x1320
23 RPCRT4!DispatchToStubInCNoAvrf+0x24
24 RPCRT4!RPC_INTERFACE:ispatchToStubWorker+0x1d8
25 RPCRT4!RPC_INTERFACE:ispatchToStub+0x98
26 RPCRT4!RPC_INTERFACE:ispatchToStubWithObject+0x154
27 RPCRT4!LRPC_SBINDING:ispatchToStubWithObject+0x1f
28 RPCRT4!LRPC_SCALL:ispatchRequest+0x18d
29 RPCRT4!LRPC_SCALL::QueueOrDispatchCall+0x127
2a RPCRT4!LRPC_SCALL::HandleRequest+0x86c Request from explorer.exe (ffffb58ec6b8e580) PID: 0x12bc TID: 0x1294
2b RPCRT4!LRPC_SASSOCIATION::HandleRequest+0x1fa
2c RPCRT4!LRPC_ADDRESS::HandleRequest+0x33d
2d RPCRT4!LRPC_ADDRESS:rocessIO+0x8ad
2e RPCRT4!LrpcServerIoHandler+0x18
2f RPCRT4!LrpcIoComplete+0xd8
30 ntdll!TppAlpcpExecuteCallback+0x22e
31 ntdll!TppWorkerThread+0x258
32 KERNEL32!BaseThreadInitThunk+0x14
33 ntdll!RtlUserThreadStart+0x21
And a new thread will be created to process the task, it finallys goes into AppXSvc.
0: kd> !mex.t -c
Process Thread CID UserTime KernelTime ContextSwitches Wait Reason Time State COM-Initialized
svchost.exe (appreadiness, AppReadiness) (ffffb58ec6b84580) ffffb58ec6c0a700 1430.1450 31ms 0s 366 WrLpcReply 1m:14.750 Waiting APTKIND_MULTITHREADED (MTA)
WaitBlockList:
Object Type Other Waiters Info
ffffb58ec6c0ad48 Semaphore 0 Limit: 1
Priority:
Current Base UB FB IO Page
9 8 0 0 2 5
LPC Msg ServerProcess ServerThread
ffffa38692d06040 svchost.exe (wsappx, AppXSvc)(ffffb58ec5acd580) ffffb58ec6a4a080
# Call Site
0 nt!KiSwapContext+0x76
1 nt!KiSwapThread+0x2c6
2 nt!KiCommitThreadWait+0x13b
3 nt!KeWaitForSingleObject+0x1ff
4 nt!AlpcpWaitForSingleObject+0x2a
5 nt!AlpcpSignalAndWait+0x17b
6 nt!AlpcpReceiveSynchronousReply+0x56
7 nt!AlpcpProcessSynchronousRequest+0x372
8 nt!NtAlpcSendWaitReceivePort+0x1e2
9 nt!KiSystemServiceCopyEnd+0x13
a ntdll!ZwAlpcSendWaitReceivePort+0x14
b RPCRT4!RpcpAlpcSendWaitReceivePort+0x31
c RPCRT4!LRPC_CASSOCIATION::AlpcSendWaitReceivePort+0x6c
d RPCRT4!LRPC_BASE_CCALL:oSendReceive+0xfd
e RPCRT4!LRPC_BASE_CCALL::SendReceive+0x12e
f RPCRT4!I_RpcSendReceive+0x94
10 RPCRT4!NdrSendReceive+0xc0
11 RPCRT4!Ndr64pSendReceive+0x3ff
12 RPCRT4!NdrpClientCall3+0x800
13 RPCRT4!NdrClientCall3+0xf0
14 AppXDeploymentClient!c_StartServerSideDeployment+0xcc
15 AppXDeploymentClient!Windows::Management:eployment::ClientDeploymentRequest::StartImpl::__l2::<lambda_373729798c8e8c18b922aa36c196bc62>:perator()+0x136
16 AppXDeploymentClient!DoRpcCall<<lambda_373729798c8e8c18b922aa36c196bc62> >+0x1bf
17 AppXDeploymentClient!Windows::Management:eployment::ClientDeploymentRequest::StartImpl+0x24f
18 AppXDeploymentClient!Windows::Management:eployment::ClientDeploymentRequest::StartServerSideWork+0x387
19 AppXDeploymentClient!Windows::Management:eployment::ClientDeploymentRequest::StartWork+0x7b
1a AppXDeploymentClient!Windows::Management:eployment::ClientDeploymentRequest::OnStart+0x7a
1b AppXDeploymentClient!Microsoft::WRL::AsyncBase<Windows::Foundation::IAsyncOperationWithProgressCompletedHandler<Windows::Management:eployment:eploymentResult * __ptr64,Windows::Management:eployment:eploymentProgress>,Microsoft::WRL:etails::Nil,1,Microsoft::WRL::AsyncOptions<-1,0,&GUID_CAUSALITY_WINDOWS_PLATFORM_ID,2> >::Start+0x7e
1c AppXDeploymentClient!Windows::Management:eployment::ClientDeploymentRequest::Initialize+0x3bc
1d AppXDeploymentClient!Windows::Management:eployment::ClientDeploymentRequest::Initialize+0x48
1e AppXDeploymentClient!Windows::Management:eployment::Internal:ackageManagerInternal::OnDemandRegisterPackagesAsync+0x12a
1f appreadiness!<lambda_ed6e5c6c32e4fa2b1d111271ece46331>:perator()+0x62
20 appreadiness!AppReadiness::User::ExecuteUnderContext+0x47
21 appreadiness!AppReadiness::User::MergePreInstalledPackagesForUser+0x5dd
22 appreadiness!AppReadiness::User:repareTasks+0x8f
23 appreadiness!AppReadiness::User:rocessTasks+0x3c8
24 appreadiness!AppReadiness::Service:rocessUsers+0xe2
25 appreadiness!<lambda_fab533d88b690a7934006dd99040af2a>:perator()+0x15
26 appreadiness!EnforceNoThrowSeh<<lambda_fab533d88b690a7934006dd99040af2a> >+0x9
27 appreadiness!Windows::StdNoThrowBoundry+0x14
28 appreadiness!AppReadiness::StaticProcessUserTaskCallback+0x83
29 ntdll!RtlpTpWaitCallback+0x9b
2a ntdll!TppExecuteWaitCallback+0xa0
2b ntdll!TppWorkerThread+0x2a9
2c KERNEL32!BaseThreadInitThunk+0x14
2d ntdll!RtlUserThreadStart+0x21
And in the AppXSvc, from the call stack, it is trying to donwload the appx using windows update service.
0: kd> !mex.t -c
Process Thread CID UserTime KernelTime ContextSwitches Wait Reason Time State COM-Initialized
svchost.exe (wsappx, AppXSvc) (ffffb58ec5acd580) ffffb58ec6a4a080 ea8.1248 31ms 0s 265 WrLpcReply 1m:13.421 Waiting APTKIND_MULTITHREADED (MTA)
WaitBlockList:
Object Type Other Waiters Info
ffffb58ec6a4a6c8 Semaphore 0 Limit: 1
Priority:
Current Base UB FB IO Page
9 8 0 0 2 3
LPC Msg ServerProcess ServerThread
ffffa38692d90040 svchost.exe (rpcss)(ffffb58ec6033580) ffffb58ec6199040
# Call Site Info
0 nt!KiSwapContext+0x76
1 nt!KiSwapThread+0x2c6
2 nt!KiCommitThreadWait+0x13b
3 nt!KeWaitForSingleObject+0x1ff
4 nt!AlpcpWaitForSingleObject+0x2a
5 nt!AlpcpSignalAndWait+0x17b
6 nt!AlpcpReceiveSynchronousReply+0x56
7 nt!AlpcpProcessSynchronousRequest+0x372
8 nt!NtAlpcSendWaitReceivePort+0x1e2
9 nt!KiSystemServiceCopyEnd+0x13
a ntdll!ZwAlpcSendWaitReceivePort+0x14
b RPCRT4!RpcpAlpcSendWaitReceivePort+0x31
c RPCRT4!LRPC_CASSOCIATION::AlpcSendWaitReceivePort+0x6c
d RPCRT4!LRPC_BASE_CCALL:oSendReceive+0x111
e RPCRT4!LRPC_BASE_CCALL::SendReceive+0x24
f RPCRT4!LRPC_CCALL::SendReceive+0x48
10 RPCRT4!I_RpcSendReceive+0xce
11 combase!CMessageCall::CallI_RpcSendReceive+0x2d
12 combase!ThreadSendReceive+0x178
13 combase!CSyncClientCall::SwitchAptAndDispatchCall+0x96
14 combase!CSyncClientCall::SendReceive2+0x178
15 combase!SyncClientCallRetryContext::SendReceiveWithRetry+0x2d
16 combase!CSyncClientCall::SendReceiveInRetryContext+0x2d
17 combase!DefaultSendReceive+0x5c
18 combase!CSyncClientCall::SendReceive+0x17f
19 combase!CClientChannel::SendReceive+0x8f
1a combase!NdrExtpProxySendReceive+0xec
1b RPCRT4!Ndr64pSendReceive+0x2f
1c RPCRT4!NdrpClientCall3+0x430
1d combase!ObjectStublessClient+0x138
1e combase!ObjectStubless+0x42
1f combase!CRpcResolver::CreateInstance+0x2dd
20 combase!CClientContextActivator::CreateInstance+0x1bd
21 combase!ActivationPropertiesIn:elegateCreateInstance+0xb7
22 combase!ICoCreateInstanceEx+0xa38
23 combase!CComActivator:oCreateInstance+0x169
24 combase!CoCreateInstanceEx+0x88
25 combase!CoCreateInstance+0xc3 B8FC52F5-CB03-4E10-8BCB-E3EC794C54A5
26 AppxPackaging!Appx:ackaging::Consumption::AppxDataSourceFactory::CreateStreamingDataSource+0x126
27 AppxPackaging!Appx:ackaging::AppxFactoryInternalImpl::CreateStreamingDataSourceFromSourceUri+0x26
28 appxdeploymentserver!Common:eployment::StagingSession::CreateSession+0x13f
29 appxdeploymentserver!Common:eployment::StagingManager::CreateStagingSession+0x2e
2a appxdeploymentserver!PackageManagerInternal:eploymentRequest::GetStagingSession+0xbe
2b appxdeploymentserver!PackageManagerInternal:eploymentRequest::GetManifestReaderFromValidatedManifest+0x291
2c appxdeploymentserver!PackageManagerInternal:eploymentRequest::GetManifestReader+0x12
2d appxdeploymentserver!PackageManagerInternal::AddParameterProcessor::SetMainPackageFamilyNameForOptionalPackage+0x61
2e appxdeploymentserver!PackageManagerInternal::AddParameterProcessor:rocess+0x726
2f appxdeploymentserver!PackageManagerInternal:eploymentRequest::Initialize+0x4bf
30 appxdeploymentserver!PackageManagerInternal:eploymentQueueStoreReader::ReadRequestsFromFilePath+0x901
31 appxdeploymentserver!PackageManagerInternal:eploymentQueueStoreReader::ReadDeploymentRequestsForUser+0x505
32 appxdeploymentserver!PackageManagerInternal:eploymentQueueStoreReader::ReadDeploymentRequests+0xeb
33 appxdeploymentserver!PackageManagerInternal::CommandProcessor::RestoreRequestsFromQueueStore+0x191
34 appxdeploymentserver!PackageManagerInternal::CommandProcessor:rocess+0xd9
35 appxdeploymentserver!<lambda_1c3a9949a26c14279635405dde020e53>:perator()+0x3b0
36 appxdeploymentserver!StartDeploymentImplementationInternal+0x843
37 appxdeploymentserver!StartDeploymentImplementation+0x12f
38 appxdeploymentserver!StartServerSideDeployment+0x180
39 RPCRT4!Invoke+0x73
3a RPCRT4!Ndr64StubWorker+0xbed
3b RPCRT4!NdrServerCallAll+0x3c
3c RPCRT4!DispatchToStubInCNoAvrf+0x24
3d RPCRT4!RPC_INTERFACE:ispatchToStubWorker+0x1d8
3e RPCRT4!RPC_INTERFACE:ispatchToStub+0xcb
3f RPCRT4!LRPC_SBINDING:ispatchToStub+0x1b9
40 RPCRT4!LRPC_SCALL:ispatchRequest+0x346
41 RPCRT4!LRPC_SCALL::QueueOrDispatchCall+0x127
42 RPCRT4!LRPC_SCALL::HandleRequest+0x86c Request from svchost.exe (appreadiness, AppReadiness) (ffffb58ec6b84580) PID: 0x1430 TID: 0x1450
43 RPCRT4!LRPC_SASSOCIATION::HandleRequest+0x1fa
44 RPCRT4!LRPC_ADDRESS::HandleRequest+0x33d
45 RPCRT4!LRPC_ADDRESS:rocessIO+0x8ad
46 RPCRT4!LrpcServerIoHandler+0x18
47 RPCRT4!LrpcIoComplete+0xd8
48 ntdll!TppAlpcpExecuteCallback+0x22e
49 ntdll!TppWorkerThread+0x258
4a KERNEL32!BaseThreadInitThunk+0x14
4b ntdll!RtlUserThreadStart+0x21
@rsi sourceUri = 0x0000020d`510032a0 "x-windowsupdate://E86AEC18-4FE6-44B0-A5B4-2738BFA952C2/0E639757-DC24-4E5B-9B33-226F71DCD952/8846cbdf3e2e9c2552b19698be5da3c2f117e22f"
0000005e`c88fd760 targetingData = "{"blob.version":1688867040460800,"content.bundledPackages":["Microsoft.Office.Desktop.Excel_16030.9330.2124.0_x86__8wekyb3d8bbwe","Microsoft.Office.Desktop.Excel_16030.9330.2124.0_x86a64__8wekyb3d8bbwe"],"content.isMain":false,"content.maintainPackageArchOnAmd64":true,"content.packageId":"Microsoft.Office.Desktop.Excel_16030.9330.2124.0_neutral_~_8wekyb3d8bbwe","content.productId":"4abf7e89-29cb-4af9-a3b3-fc57e3ad598b","content.targetPlatforms":[{"platform.maxVersionTested":2814750835278016,"platform.minVersion":2814750835278016,"platform.target":3}],"content.type":7,"policy":{"category.first":"app","category.second":"Productivity","optOut.backupRestore":false,"optOut.removeableMedia":false},"policy2":{"ageRating":0,"optOut.DVR":false,"thirdPartyAppRatings":[{"level":0,"systemId":0}]}}" [len=796, buf=797]
Based on my understading, it shall be normal behavior that AppXSvc to upgrade the package.
Continue reading...
As you can see from the following analysis, the reason is that the app deployment service has been started before the user is logged in and has the request and creation of the task, so it has caused the problem of the black screen. Although it seems that the logic of the program is normal, I understand that the phenomenon of the black screen is still a problem, because when you see the black screen, some users are likely to force the computer to reboot. After restarting, you may also encounter the black screen problem, so repeated operation will cause the system to crash.
Although 6B KB (6B KB, system version 17134.112) is part of the problem of fixing the black screen, there are other black screen problems at the moment.
It is hoped that the UWP APP deployment mechanism will be improved in the future, such as deployment ahead of time (after starting the boot to a place where the logo circle is in place), or postponed (after getting into the system desktop and waiting for some time to start deploying).
RS2 and RS3 don't have this problem
The information is as follows:
Case ID
=======
118060618326638
Problem Description
===================
Blank screen after Backup/Restore with DISM
What we have done
==================
The first dump analysis:
Appreadiness services wait for the deployment complete for preInstalled packages. 1527c705-839a-4832-9118-54d4Bd6a0c89_cw5n1h2txyewy is the first package.
0: kd> !mex.t -c
Process Thread CID UserTime KernelTime ContextSwitches Wait Reason Time State COM-Initialized
svchost.exe (appreadiness, AppReadiness) (ffffca8bb8ffb080) ffffca8bb8f93040 103c.182c 31ms 16ms 378 UserRequest 8s.125 Waiting APTKIND_MULTITHREADED (MTA)
WaitBlockList:
Object Type Other Waiters
ffffca8bafb0a7a0 SynchronizationEvent 0
Priority:
Current Base UB FB IO Page
9 8 0 0 2 5
# Call Site
0 nt!KiSwapContext+0x76
1 nt!KiSwapThread+0x2c6
2 nt!KiCommitThreadWait+0x13b
3 nt!KeWaitForSingleObject+0x1ff
4 nt!NtWaitForSingleObject+0xfc
5 nt!KiSystemServiceCopyEnd+0x13
6 ntdll!ZwWaitForSingleObject+0x14
7 KERNELBASE!WaitForSingleObjectEx+0xa2
8 appreadiness!Windows::Management:eployment::WaitForDeploymentOperation+0x109
9 appreadiness!Windows::Management:eployment::WaitForDeploymentOperation+0xa
a appreadiness!<lambda_ed6e5c6c32e4fa2b1d111271ece46331>:perator()+0xaf
b appreadiness!AppReadiness::User::ExecuteUnderContext+0x47
c appreadiness!AppReadiness::User::MergePreInstalledPackagesForUser+0x5dd
d appreadiness!AppReadiness::User:repareTasks+0x8f
e appreadiness!AppReadiness::User:rocessTasks+0x3c8
f appreadiness!AppReadiness::Service:rocessUsers+0xe2
10 appreadiness!<lambda_fab533d88b690a7934006dd99040af2a>:perator()+0x15
11 appreadiness!EnforceNoThrowSeh<<lambda_fab533d88b690a7934006dd99040af2a> >+0x9
12 appreadiness!Windows::StdNoThrowBoundry+0x14
13 appreadiness!AppReadiness::StaticProcessUserTaskCallback+0x83
14 ntdll!RtlpTpWaitCallback+0x9b
15 ntdll!TppExecuteWaitCallback+0xa0
16 ntdll!TppWorkerThread+0x2a9
17 KERNEL32!BaseThreadInitThunk+0x14
18 ntdll!RtlUserThreadStart+0x21
0: kd> !mex.ddt 00000194af60ea00+0x000 appreadiness!std::_String_val<std::_Simple_types<unsigned short> >::_Bxty
dt 00000194af60ea00+0x000 appreadiness!std::_String_val<std::_Simple_types<unsigned short> >::_Bxty () Recursive: [ -r1 -r2 -r ] Verbose Normal dt
==================================================================================
+0x000 _Buf : [8] "厠꽡Ɣ"
+0x000 _Ptr : 0x00000194`af6153a0 "1527c705-839a-4832-9118-54d4Bd6a0c89_cw5n1h2txyewy"
+0x000 _Alias : [8] "???"
Next we go to the AppXSvc, we could see it is deploying this package and update the StateRepository.
0: kd> !mex.t -c
Process Thread CID UserTime KernelTime ContextSwitches Wait Reason Time State COM-Initialized
svchost.exe (wsappx, AppXSvc) (ffffca8bb82e03c0) ffffca8bb7b2a080 678.197c 0s 94ms 932 WrPageIn 15ms Waiting APTKIND_MULTITHREADED (MTA)
WaitBlockList:
Object Type Other Waiters
ffffca8bb50a5c90(MmIn) NotificationEvent 0
Irp List:
IRP File Driver
ffffca8bb81cc010 Disk
Priority:
Current Base UB FB IO Page
11 10 0 0 2 5
# Call Site
0 nt!KiSwapContext+0x76
1 nt!KiSwapThread+0x2c6
2 nt!KiCommitThreadWait+0x13b
3 nt!KeWaitForSingleObject+0x1ff
4 nt!MiWaitForInPageComplete+0xc5
5 nt!MiPfCompleteInPageSupport+0x74
6 nt!MiPfCompletePrefetchIos+0x4e
7 nt!MmWaitForCacheManagerPrefetch+0x35
8 nt!CcFetchDataForRead+0x100
9 nt!CcMapAndCopyFromCache+0xd9
a nt!CcCopyReadEx+0x12e
b Ntfs!NtfsCopyReadA+0x273
c FLTMGR!FltpPerformFastIoCall+0x10b
d FLTMGR!FltpPassThroughFastIo+0xc7
e FLTMGR!FltpFastIoRead+0x159
f nt!NtReadFile+0x44b
10 nt!KiSystemServiceCopyEnd+0x13
11 ntdll!ZwReadFile+0x14
12 KERNELBASE!ReadFile+0xfa
13 StateRepository_Core!winRead+0x75
14 StateRepository_Core!sqlite3OsRead+0x24
15 StateRepository_Core!readDbPage+0x42
16 StateRepository_Core!getPageNormal+0x1ea
17 StateRepository_Core!sqlite3PagerGet+0x27
18 StateRepository_Core!getAndInitPage+0x56
19 StateRepository_Core!moveToChild+0x5a
1a StateRepository_Core!moveToLeftmost+0x56
1b StateRepository_Core!sqlite3BtreeNext+0x54
1c StateRepository_Core!sqlite3VdbeExec+0x3e3
1d StateRepository_Core!sqlite3Step+0x46
1e StateRepository_Core!sqlite3_step+0xb4
1f StateRepository_Core!sqlite3_exec+0xfa
20 appxdeploymentserver!StateRepository:atabase::dal_exec+0x1d1
21 appxdeploymentserver!StateRepository:atabase::Execute+0x3d
22 appxdeploymentserver!StateRepository:atabase::Analyze+0x36
23 appxdeploymentserver!StateRepository:atabase::UpdateDatabaseStatistics+0x106
24 appxdeploymentserver!PackageRepository::RepositorySession::CommitTransaction+0x5b0
25 appxdeploymentserver!PackageManagerInternal:eploymentRequest::Commit+0x12a
26 appxdeploymentserver!PackageManagerInternal:eploymentRequest::Run+0x2023
27 appxdeploymentserver!PackageManagerInternal:eploymentDequeuer::RunThread+0x213
28 appxdeploymentserver!PackageManagerInternal:eploymentDequeuerDispatcherThread+0x9
29 ntdll!TppSimplepExecuteCallback+0x95
2a ntdll!TppWorkerThread+0x728
2b KERNEL32!BaseThreadInitThunk+0x14
2c ntdll!RtlUserThreadStart+0x21
@rsi mainPackageMoniker = 0x000001c5`107f64d0 "1527c705-839a-4832-9118-54d4Bd6a0c89_10.0.17134.1_neutral_neutral_cw5n1h2txyewy"
0000006b`d67ff830 userSidStringBuffer = "S-1-5-21-3060846661-4071180455-3668768800-1001" [len=46, buf=47]
My understanding is that if there are lots of packages require to deploy at first logon, the blank screen will be shown.
Second dump analysis:
The explorer.exe will start logon task which calls into AppReadiness service.explorer.exe将启动登录任务,调用AppReadiness服务。
0: kd> !mex.t -c
Process Thread CID UserTime KernelTime ContextSwitches Wait Reason Time State COM-Initialized
explorer.exe (ffffb58ec6b8e580) ffffb58ec6bb0700 12bc.1294 16ms 0s 332 UserRequest 765ms Waiting APTKIND_APARTMENTTHREADED (STA)
WaitBlockList:
Object Type Other Waiters
ffffb58ec69cdc60 SynchronizationEvent 0
ffffb58ec6ba0fe0 SynchronizationEvent 0
ffffb58ec6bc6640 Queue 0
# Call Site Info
0 nt!KiSwapContext+0x76
1 nt!KiSwapThread+0x2c6
2 nt!KiCommitThreadWait+0x13b
3 nt!KeWaitForMultipleObjects+0x467
4 nt!ObWaitForMultipleObjects+0x2a0
5 win32kfull!xxxMsgWaitForMultipleObjectsEx+0xcd
6 win32kfull!NtUserMsgWaitForMultipleObjectsEx+0x381
7 nt!KiSystemServiceCopyEnd+0x13
8 win32u!ZwUserMsgWaitForMultipleObjectsEx+0x14
9 user32!RealMsgWaitForMultipleObjectsEx+0x1d
a combase!CCliModalLoop::BlockFn+0x123
b combase!ModalLoop+0xd2
c combase!ThreadSendReceive+0x3b0 Server PID: 0x1430
d combase!CSyncClientCall::SwitchAptAndDispatchCall+0x96
e combase!CSyncClientCall::SendReceive2+0x178
f combase!SyncClientCallRetryContext::SendReceiveWithRetry+0x33
10 combase!CSyncClientCall::SendReceiveInRetryContext+0x33
11 combase!ClassicSTAThreadSendReceive+0xb0
12 combase!CSyncClientCall::SendReceive+0x2d2
13 combase!CClientChannel::SendReceive+0x8f
14 combase!NdrExtpProxySendReceive+0xec
15 RPCRT4!Ndr64pSendReceive+0x2f
16 RPCRT4!NdrpClientCall3+0x430
17 combase!ObjectStublessClient+0x138
18 combase!ObjectStubless+0x42
19 Explorer!AppReadinessTaskStart+0xcc
1a Explorer!CLogonTaskFramework::s_AppReadinessTaskStart+0xe
1b Explorer!CLogonTaskFramework::s_AppReadinessPreShellGroupStartMethod+0x5f
1c Explorer!CLogonTaskFramework::_ExecuteTaskFunction+0x298
1d Explorer!CLogonTaskFramework::_RunLogonTask+0x166
1e Explorer!CLogonTaskFramework::_RunLogonOrWaitTask+0x22f
1f Explorer!CLogonTaskFramework::_RunLogonTasksInPhase+0x412
20 Explorer!CLogonTaskFramework::_RunPhase+0x44
21 Explorer!CLogonTaskFramework::RunAllLogonTasks+0x1d9
22 Explorer!RunAllLogonTasks+0x3e
23 Explorer!wWinMain+0x98b
24 Explorer!__wmainCRTStartup+0x1c9
25 KERNEL32!BaseThreadInitThunk+0x14
26 ntdll!RtlUserThreadStart+0x21
In AppReadiness service, it received the request and create task for user before logon.
0: kd> !mex.t -c
Process Thread CID UserTime KernelTime ContextSwitches Wait Reason Time State COM-Initialized
svchost.exe (appreadiness, AppReadiness) (ffffb58ec6b84580) ffffb58ec6b81700 1430.1458 0s 0s 6 UserRequest 1m:14.906 Waiting APTKIND_MULTITHREADED (MTA)
WaitBlockList:
Object Type Other Waiters Info
ffffb58ec6c08d60 Semaphore 0 Limit: 1
Could not find field dwClientPID on type tagOutgoingCallData at address 0x2725824f25c
# Call Site Info
0 nt!KiSwapContext+0x76
1 nt!KiSwapThread+0x2c6
2 nt!KiCommitThreadWait+0x13b
3 nt!KeWaitForSingleObject+0x1ff
4 nt!NtWaitForSingleObject+0xfc
5 nt!KiSystemServiceCopyEnd+0x13
6 ntdll!ZwWaitForSingleObject+0x14
7 KERNELBASE!WaitForSingleObjectEx+0xa2
8 appreadiness!Microsoft::WRL::Wrappers::Semaphore::Lock+0xf
9 appreadiness!Microsoft::WRL::Wrappers::Semaphore::Lock+0x16
a appreadiness!AppReadiness::User::CreateTask+0x57
b appreadiness!<lambda_9efd1f14ff3e9761cff1c61030c36864>:perator()+0x19d
c appreadiness!<lambda_fab533d88b690a7934006dd99040af2a>:perator()+0x15
d appreadiness!EnforceNoThrowSeh<<lambda_fab533d88b690a7934006dd99040af2a> >+0x9
e appreadiness!Windows::StdNoThrowBoundry+0x11
f appreadiness!AppReadiness::Api::CreateTaskForUser+0xd3
10 appreadiness!AppReadiness::Api::CreateTask+0x25
11 RPCRT4!Invoke+0x73
12 RPCRT4!Ndr64StubWorker+0xbed
13 RPCRT4!NdrStubCall3+0xb4
14 combase!CStdStubBuffer_Invoke+0x62
15 RPCRT4!CStdStubBuffer_Invoke+0x3b
16 combase!InvokeStubWithExceptionPolicyAndTracing::__l6::<lambda_76d9e92c799d246a4afbe64a2bf5673d>:perator()+0x2b
17 combase!ObjectMethodExceptionHandlingAction<<lambda_76d9e92c799d246a4afbe64a2bf5673d> >+0x53
18 combase!InvokeStubWithExceptionPolicyAndTracing+0xc3
19 combase!DefaultStubInvoke+0x295
1a combase!SyncStubCall::Invoke+0x2b
1b combase!SyncServerCall::StubInvoke+0x2b
1c combase!StubInvoke+0x2cc
1d combase!ServerCall::ContextInvoke+0x496 Server PID: 0x1430
1e combase!CServerChannel::ContextInvoke+0x89
1f combase!DefaultInvokeInApartment+0xa2
20 combase!AppInvoke+0x328
21 combase!ComInvokeWithLockAndIPID+0x59c
22 combase!ThreadInvoke+0x1320
23 RPCRT4!DispatchToStubInCNoAvrf+0x24
24 RPCRT4!RPC_INTERFACE:ispatchToStubWorker+0x1d8
25 RPCRT4!RPC_INTERFACE:ispatchToStub+0x98
26 RPCRT4!RPC_INTERFACE:ispatchToStubWithObject+0x154
27 RPCRT4!LRPC_SBINDING:ispatchToStubWithObject+0x1f
28 RPCRT4!LRPC_SCALL:ispatchRequest+0x18d
29 RPCRT4!LRPC_SCALL::QueueOrDispatchCall+0x127
2a RPCRT4!LRPC_SCALL::HandleRequest+0x86c Request from explorer.exe (ffffb58ec6b8e580) PID: 0x12bc TID: 0x1294
2b RPCRT4!LRPC_SASSOCIATION::HandleRequest+0x1fa
2c RPCRT4!LRPC_ADDRESS::HandleRequest+0x33d
2d RPCRT4!LRPC_ADDRESS:rocessIO+0x8ad
2e RPCRT4!LrpcServerIoHandler+0x18
2f RPCRT4!LrpcIoComplete+0xd8
30 ntdll!TppAlpcpExecuteCallback+0x22e
31 ntdll!TppWorkerThread+0x258
32 KERNEL32!BaseThreadInitThunk+0x14
33 ntdll!RtlUserThreadStart+0x21
And a new thread will be created to process the task, it finallys goes into AppXSvc.
0: kd> !mex.t -c
Process Thread CID UserTime KernelTime ContextSwitches Wait Reason Time State COM-Initialized
svchost.exe (appreadiness, AppReadiness) (ffffb58ec6b84580) ffffb58ec6c0a700 1430.1450 31ms 0s 366 WrLpcReply 1m:14.750 Waiting APTKIND_MULTITHREADED (MTA)
WaitBlockList:
Object Type Other Waiters Info
ffffb58ec6c0ad48 Semaphore 0 Limit: 1
Priority:
Current Base UB FB IO Page
9 8 0 0 2 5
LPC Msg ServerProcess ServerThread
ffffa38692d06040 svchost.exe (wsappx, AppXSvc)(ffffb58ec5acd580) ffffb58ec6a4a080
# Call Site
0 nt!KiSwapContext+0x76
1 nt!KiSwapThread+0x2c6
2 nt!KiCommitThreadWait+0x13b
3 nt!KeWaitForSingleObject+0x1ff
4 nt!AlpcpWaitForSingleObject+0x2a
5 nt!AlpcpSignalAndWait+0x17b
6 nt!AlpcpReceiveSynchronousReply+0x56
7 nt!AlpcpProcessSynchronousRequest+0x372
8 nt!NtAlpcSendWaitReceivePort+0x1e2
9 nt!KiSystemServiceCopyEnd+0x13
a ntdll!ZwAlpcSendWaitReceivePort+0x14
b RPCRT4!RpcpAlpcSendWaitReceivePort+0x31
c RPCRT4!LRPC_CASSOCIATION::AlpcSendWaitReceivePort+0x6c
d RPCRT4!LRPC_BASE_CCALL:oSendReceive+0xfd
e RPCRT4!LRPC_BASE_CCALL::SendReceive+0x12e
f RPCRT4!I_RpcSendReceive+0x94
10 RPCRT4!NdrSendReceive+0xc0
11 RPCRT4!Ndr64pSendReceive+0x3ff
12 RPCRT4!NdrpClientCall3+0x800
13 RPCRT4!NdrClientCall3+0xf0
14 AppXDeploymentClient!c_StartServerSideDeployment+0xcc
15 AppXDeploymentClient!Windows::Management:eployment::ClientDeploymentRequest::StartImpl::__l2::<lambda_373729798c8e8c18b922aa36c196bc62>:perator()+0x136
16 AppXDeploymentClient!DoRpcCall<<lambda_373729798c8e8c18b922aa36c196bc62> >+0x1bf
17 AppXDeploymentClient!Windows::Management:eployment::ClientDeploymentRequest::StartImpl+0x24f
18 AppXDeploymentClient!Windows::Management:eployment::ClientDeploymentRequest::StartServerSideWork+0x387
19 AppXDeploymentClient!Windows::Management:eployment::ClientDeploymentRequest::StartWork+0x7b
1a AppXDeploymentClient!Windows::Management:eployment::ClientDeploymentRequest::OnStart+0x7a
1b AppXDeploymentClient!Microsoft::WRL::AsyncBase<Windows::Foundation::IAsyncOperationWithProgressCompletedHandler<Windows::Management:eployment:eploymentResult * __ptr64,Windows::Management:eployment:eploymentProgress>,Microsoft::WRL:etails::Nil,1,Microsoft::WRL::AsyncOptions<-1,0,&GUID_CAUSALITY_WINDOWS_PLATFORM_ID,2> >::Start+0x7e
1c AppXDeploymentClient!Windows::Management:eployment::ClientDeploymentRequest::Initialize+0x3bc
1d AppXDeploymentClient!Windows::Management:eployment::ClientDeploymentRequest::Initialize+0x48
1e AppXDeploymentClient!Windows::Management:eployment::Internal:ackageManagerInternal::OnDemandRegisterPackagesAsync+0x12a
1f appreadiness!<lambda_ed6e5c6c32e4fa2b1d111271ece46331>:perator()+0x62
20 appreadiness!AppReadiness::User::ExecuteUnderContext+0x47
21 appreadiness!AppReadiness::User::MergePreInstalledPackagesForUser+0x5dd
22 appreadiness!AppReadiness::User:repareTasks+0x8f
23 appreadiness!AppReadiness::User:rocessTasks+0x3c8
24 appreadiness!AppReadiness::Service:rocessUsers+0xe2
25 appreadiness!<lambda_fab533d88b690a7934006dd99040af2a>:perator()+0x15
26 appreadiness!EnforceNoThrowSeh<<lambda_fab533d88b690a7934006dd99040af2a> >+0x9
27 appreadiness!Windows::StdNoThrowBoundry+0x14
28 appreadiness!AppReadiness::StaticProcessUserTaskCallback+0x83
29 ntdll!RtlpTpWaitCallback+0x9b
2a ntdll!TppExecuteWaitCallback+0xa0
2b ntdll!TppWorkerThread+0x2a9
2c KERNEL32!BaseThreadInitThunk+0x14
2d ntdll!RtlUserThreadStart+0x21
And in the AppXSvc, from the call stack, it is trying to donwload the appx using windows update service.
0: kd> !mex.t -c
Process Thread CID UserTime KernelTime ContextSwitches Wait Reason Time State COM-Initialized
svchost.exe (wsappx, AppXSvc) (ffffb58ec5acd580) ffffb58ec6a4a080 ea8.1248 31ms 0s 265 WrLpcReply 1m:13.421 Waiting APTKIND_MULTITHREADED (MTA)
WaitBlockList:
Object Type Other Waiters Info
ffffb58ec6a4a6c8 Semaphore 0 Limit: 1
Priority:
Current Base UB FB IO Page
9 8 0 0 2 3
LPC Msg ServerProcess ServerThread
ffffa38692d90040 svchost.exe (rpcss)(ffffb58ec6033580) ffffb58ec6199040
# Call Site Info
0 nt!KiSwapContext+0x76
1 nt!KiSwapThread+0x2c6
2 nt!KiCommitThreadWait+0x13b
3 nt!KeWaitForSingleObject+0x1ff
4 nt!AlpcpWaitForSingleObject+0x2a
5 nt!AlpcpSignalAndWait+0x17b
6 nt!AlpcpReceiveSynchronousReply+0x56
7 nt!AlpcpProcessSynchronousRequest+0x372
8 nt!NtAlpcSendWaitReceivePort+0x1e2
9 nt!KiSystemServiceCopyEnd+0x13
a ntdll!ZwAlpcSendWaitReceivePort+0x14
b RPCRT4!RpcpAlpcSendWaitReceivePort+0x31
c RPCRT4!LRPC_CASSOCIATION::AlpcSendWaitReceivePort+0x6c
d RPCRT4!LRPC_BASE_CCALL:oSendReceive+0x111
e RPCRT4!LRPC_BASE_CCALL::SendReceive+0x24
f RPCRT4!LRPC_CCALL::SendReceive+0x48
10 RPCRT4!I_RpcSendReceive+0xce
11 combase!CMessageCall::CallI_RpcSendReceive+0x2d
12 combase!ThreadSendReceive+0x178
13 combase!CSyncClientCall::SwitchAptAndDispatchCall+0x96
14 combase!CSyncClientCall::SendReceive2+0x178
15 combase!SyncClientCallRetryContext::SendReceiveWithRetry+0x2d
16 combase!CSyncClientCall::SendReceiveInRetryContext+0x2d
17 combase!DefaultSendReceive+0x5c
18 combase!CSyncClientCall::SendReceive+0x17f
19 combase!CClientChannel::SendReceive+0x8f
1a combase!NdrExtpProxySendReceive+0xec
1b RPCRT4!Ndr64pSendReceive+0x2f
1c RPCRT4!NdrpClientCall3+0x430
1d combase!ObjectStublessClient+0x138
1e combase!ObjectStubless+0x42
1f combase!CRpcResolver::CreateInstance+0x2dd
20 combase!CClientContextActivator::CreateInstance+0x1bd
21 combase!ActivationPropertiesIn:elegateCreateInstance+0xb7
22 combase!ICoCreateInstanceEx+0xa38
23 combase!CComActivator:oCreateInstance+0x169
24 combase!CoCreateInstanceEx+0x88
25 combase!CoCreateInstance+0xc3 B8FC52F5-CB03-4E10-8BCB-E3EC794C54A5
26 AppxPackaging!Appx:ackaging::Consumption::AppxDataSourceFactory::CreateStreamingDataSource+0x126
27 AppxPackaging!Appx:ackaging::AppxFactoryInternalImpl::CreateStreamingDataSourceFromSourceUri+0x26
28 appxdeploymentserver!Common:eployment::StagingSession::CreateSession+0x13f
29 appxdeploymentserver!Common:eployment::StagingManager::CreateStagingSession+0x2e
2a appxdeploymentserver!PackageManagerInternal:eploymentRequest::GetStagingSession+0xbe
2b appxdeploymentserver!PackageManagerInternal:eploymentRequest::GetManifestReaderFromValidatedManifest+0x291
2c appxdeploymentserver!PackageManagerInternal:eploymentRequest::GetManifestReader+0x12
2d appxdeploymentserver!PackageManagerInternal::AddParameterProcessor::SetMainPackageFamilyNameForOptionalPackage+0x61
2e appxdeploymentserver!PackageManagerInternal::AddParameterProcessor:rocess+0x726
2f appxdeploymentserver!PackageManagerInternal:eploymentRequest::Initialize+0x4bf
30 appxdeploymentserver!PackageManagerInternal:eploymentQueueStoreReader::ReadRequestsFromFilePath+0x901
31 appxdeploymentserver!PackageManagerInternal:eploymentQueueStoreReader::ReadDeploymentRequestsForUser+0x505
32 appxdeploymentserver!PackageManagerInternal:eploymentQueueStoreReader::ReadDeploymentRequests+0xeb
33 appxdeploymentserver!PackageManagerInternal::CommandProcessor::RestoreRequestsFromQueueStore+0x191
34 appxdeploymentserver!PackageManagerInternal::CommandProcessor:rocess+0xd9
35 appxdeploymentserver!<lambda_1c3a9949a26c14279635405dde020e53>:perator()+0x3b0
36 appxdeploymentserver!StartDeploymentImplementationInternal+0x843
37 appxdeploymentserver!StartDeploymentImplementation+0x12f
38 appxdeploymentserver!StartServerSideDeployment+0x180
39 RPCRT4!Invoke+0x73
3a RPCRT4!Ndr64StubWorker+0xbed
3b RPCRT4!NdrServerCallAll+0x3c
3c RPCRT4!DispatchToStubInCNoAvrf+0x24
3d RPCRT4!RPC_INTERFACE:ispatchToStubWorker+0x1d8
3e RPCRT4!RPC_INTERFACE:ispatchToStub+0xcb
3f RPCRT4!LRPC_SBINDING:ispatchToStub+0x1b9
40 RPCRT4!LRPC_SCALL:ispatchRequest+0x346
41 RPCRT4!LRPC_SCALL::QueueOrDispatchCall+0x127
42 RPCRT4!LRPC_SCALL::HandleRequest+0x86c Request from svchost.exe (appreadiness, AppReadiness) (ffffb58ec6b84580) PID: 0x1430 TID: 0x1450
43 RPCRT4!LRPC_SASSOCIATION::HandleRequest+0x1fa
44 RPCRT4!LRPC_ADDRESS::HandleRequest+0x33d
45 RPCRT4!LRPC_ADDRESS:rocessIO+0x8ad
46 RPCRT4!LrpcServerIoHandler+0x18
47 RPCRT4!LrpcIoComplete+0xd8
48 ntdll!TppAlpcpExecuteCallback+0x22e
49 ntdll!TppWorkerThread+0x258
4a KERNEL32!BaseThreadInitThunk+0x14
4b ntdll!RtlUserThreadStart+0x21
@rsi sourceUri = 0x0000020d`510032a0 "x-windowsupdate://E86AEC18-4FE6-44B0-A5B4-2738BFA952C2/0E639757-DC24-4E5B-9B33-226F71DCD952/8846cbdf3e2e9c2552b19698be5da3c2f117e22f"
0000005e`c88fd760 targetingData = "{"blob.version":1688867040460800,"content.bundledPackages":["Microsoft.Office.Desktop.Excel_16030.9330.2124.0_x86__8wekyb3d8bbwe","Microsoft.Office.Desktop.Excel_16030.9330.2124.0_x86a64__8wekyb3d8bbwe"],"content.isMain":false,"content.maintainPackageArchOnAmd64":true,"content.packageId":"Microsoft.Office.Desktop.Excel_16030.9330.2124.0_neutral_~_8wekyb3d8bbwe","content.productId":"4abf7e89-29cb-4af9-a3b3-fc57e3ad598b","content.targetPlatforms":[{"platform.maxVersionTested":2814750835278016,"platform.minVersion":2814750835278016,"platform.target":3}],"content.type":7,"policy":{"category.first":"app","category.second":"Productivity","optOut.backupRestore":false,"optOut.removeableMedia":false},"policy2":{"ageRating":0,"optOut.DVR":false,"thirdPartyAppRatings":[{"level":0,"systemId":0}]}}" [len=796, buf=797]
Based on my understading, it shall be normal behavior that AppXSvc to upgrade the package.
Continue reading...