Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, May 22, 2018 11:48 PM
We have an event log file record of our UWP App (running on Windows IoT Core 10 17134) continually trying to load and getting hung up on this DLL - twinapi.appcore.dll.
The error text below is from the Application Event Log:
The error
Faulting application name: [OUR UWP APP NAME].exe, version: 1.0.0.0, time stamp: 0x5ab454fb
Faulting module name: twinapi.appcore.dll, version: 10.0.17134.48, time stamp: 0x23ff1e7e
Exception code: 0xc0000409
Fault offset: 0x00085043
Faulting process id: 0xe6c
Faulting application start time: 0x01d3e93588f3b0c8
Faulting application path: c:\data\Programs\WindowsApps\OUR UWP APP NAME].[OUR UWP APP VERSION]_arm__3ym0hckg60t6j\OUR UWP APP NAME].exe
Faulting module path: C:\windows\SYSTEM32\twinapi.appcore.dll
Report Id: dc82ee49-429f-491e-996e-f936299800e5
Faulting package full name: [OUR UWP APP NAME].[OUR UWP APP VERSION]_arm__3ym0hckg60t6j
Faulting package-relative application ID: App
The information message
Fault bucket 1510090958267412516, type 5
Event Name: MoBEX
Response: Not available
Cab Id: 0
Problem signature:
P1: [OUR UWP APP NAME]_[OUR UWP APP VERSION]_arm__3ym0hckg60t6j
P2: praid:App
P3: 1.0.0.0
P4: 5ab454fb
P5: twinapi.appcore.dll
P6: 10.0.17134.48
P7: 23ff1e7e
P8: 00085043
P9: c0000409
P10: 00000007
Can anyone advise on possible cause or next steps?
Cheers.
All replies (4)
Wednesday, May 23, 2018 2:45 AM
Hello James,
twinapi.appcore.dll is statically linked to the following files:
msvcrt.dll
api-ms-win-core-util-l1-1-0.dll
api-ms-win-core-winrt-string-l1-1-0.dll
api-ms-win-core-synch-l1-2-0.dll
api-ms-win-core-heap-l1-2-0.dll
api-ms-win-eventing-classicprovider-l1-1-0.dll
api-ms-win-core-winrt-error-l1-1-1.dll
api-ms-win-eventing-provider-l1-1-0.dll
api-ms-win-core-libraryloader-l1-2-0.dll
api-ms-win-core-profile-l1-1-0.dll
api-ms-win-core-processthreads-l1-1-2.dll
api-ms-win-core-sysinfo-l1-2-1.dll
api-ms-win-core-errorhandling-l1-1-1.dll
api-ms-win-core-debug-l1-1-1.dll
api-ms-win-core-localization-l1-2-1.dll
api-ms-win-core-handle-l1-1-0.dll
api-ms-win-core-winrt-l1-1-0.dll
api-ms-win-core-heap-l2-1-0.dll
api-ms-win-core-registry-l1-1-0.dll
api-ms-win-core-processenvironment-l1-2-0.dll
api-ms-win-core-threadpool-l1-2-0.dll
api-ms-win-core-synch-l1-2-1.dll
api-ms-win-core-rtlsupport-l1-2-0.dll
api-ms-win-core-quirks-l1-1-0.dll
api-ms-win-security-base-l1-2-0.dll
api-ms-win-core-string-l1-1-0.dll
api-ms-win-security-sddl-l1-1-0.dll
USERENV.dll
api-ms-win-core-memory-l1-1-2.dll
RPCRT4.dll
api-ms-win-core-com-midlproxystub-l1-1-0.dll
api-ms-win-core-kernel32-legacy-l1-1-1.dll
api-ms-win-core-threadpool-legacy-l1-1-0.dll
api-ms-win-core-atoms-l1-1-0.dll
api-ms-win-core-psm-key-l1-1-0.dll
api-ms-win-core-winrt-registration-l1-1-0.dll
api-ms-win-core-apiquery-l1-1-0.dll
combase.dll
ntdll.dll
api-ms-win-service-management-l1-1-0.dll
api-ms-win-core-delayload-l1-1-1.dll
api-ms-win-core-shlwapi-obsolete-l1-2-0.dll
api-ms-win-service-private-l1-1-1.dll
If one of these files is corrupted or missing, twinapi.appcore.dll won't be loaded. But I can not find the following files on Window IoT Core 17134:
api-ms-win-core-winrt-string-l1-1-0.dll
api-ms-win-core-heap-l1-2-0.dll
api-ms-win-core-winrt-error-l1-1-1.dll
api-ms-win-core-libraryloader-l1-2-0.dll
api-ms-win-core-winrt-l1-1-0.dll
api-ms-win-core-heap-l2-1-0.dll
api-ms-win-core-synch-l1-2-1.dll
api-ms-win-core-rtlsupport-l1-2-0.dll
api-ms-win-core-quirks-l1-1-0.dll
api-ms-win-security-base-l1-2-0.dll
api-ms-win-core-com-midlproxystub-l1-1-0.dll
api-ms-win-core-atoms-l1-1-0.dll
api-ms-win-core-psm-key-l1-1-0.dll
api-ms-win-core-winrt-registration-l1-1-0.dll
api-ms-win-core-apiquery-l1-1-0.dll
api-ms-win-core-shlwapi-obsolete-l1-2-0.dll
I am trying to involve someone familiar with this topic to confirm if windows iot core support this dll.
Best Regards,
Michael
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].
Wednesday, May 23, 2018 4:06 AM
Hi Michael,
Thanks for this. Appreciate you following this up!
Cheers,
James.
Wednesday, May 23, 2018 5:36 AM
Hello James,
Which device did you run Windows IoT Core on, Raspberry Pi, MinnowBoard or Dragonboard?
Could you please provide more detailed information about your UWP app,such as mainly code snippet when loads the dll?
I got the update information about the dependencies of twinapi.appcore.dll on Windows IoT Core, like following.You can check the files in c:\windows\system32\downlevel folder.
Dependencies:
api-ms-win-core-apiquery-l1-1-0
api-ms-win-core-atoms-l1-1-0
api-ms-win-core-com-midlproxystub-l1-1-0
api-ms-win-core-debug-l1-1-0
api-ms-win-core-delayload-l1-1-0
api-ms-win-core-delayload-l1-1-1
api-ms-win-core-errorhandling-l1-1-0
api-ms-win-core-handle-l1-1-0
api-ms-win-core-heap-l1-1-0
api-ms-win-core-heap-l2-1-0
api-ms-win-core-interlocked-l1-1-0
api-ms-win-core-kernel32-legacy-l1-1-0
api-ms-win-core-libraryloader-l1-2-0
api-ms-win-core-localization-l1-2-0
api-ms-win-core-memory-l1-1-0
api-ms-win-core-processenvironment-l1-1-0
api-ms-win-core-processthreads-l1-1-0
api-ms-win-core-processthreads-l1-1-1
api-ms-win-core-profile-l1-1-0
api-ms-win-core-psapi-l1-1-0
api-ms-win-core-psm-key-l1-1-0
api-ms-win-core-quirks-l1-1-0
api-ms-win-core-registry-l1-1-0
api-ms-win-core-rtlsupport-l1-1-0
api-ms-win-core-shlwapi-obsolete-l1-1-0
api-ms-win-core-string-l1-1-0
api-ms-win-core-synch-l1-1-0
api-ms-win-core-synch-l1-2-0
api-ms-win-core-synch-l1-2-1
api-ms-win-core-sysinfo-l1-1-0
api-ms-win-core-sysinfo-l1-2-0
api-ms-win-core-threadpool-l1-2-0
api-ms-win-core-threadpool-legacy-l1-1-0
api-ms-win-core-util-l1-1-0
api-ms-win-core-winrt-error-l1-1-0
api-ms-win-core-winrt-error-l1-1-1
api-ms-win-core-winrt-l1-1-0
api-ms-win-core-winrt-registration-l1-1-0
api-ms-win-core-winrt-string-l1-1-0
api-ms-win-crt-private-l1-1-0
api-ms-win-crt-runtime-l1-1-0
api-ms-win-crt-string-l1-1-0
api-ms-win-eventing-classicprovider-l1-1-0
api-ms-win-eventing-provider-l1-1-0
api-ms-win-security-base-l1-1-0
api-ms-win-security-lsapolicy-l1-1-0
api-ms-win-security-sddl-l1-1-0
api-ms-win-service-management-l1-1-0
api-ms-win-service-private-l1-1-0
combase.dll
ntdll.dll
rmclient.dll
rpcrt4.dll
Best Regards,
Michael
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].
Thursday, May 24, 2018 10:06 PM
Hi Michael,
It's a RaspberryPi. I will get more details of the app and respond.
Cheers