Xbox LIVE Indie Games
Sort Discussions: Previous Discussion Next Discussion
Page 1 of 1 (1 posts)

Crash in CoreMessaging.dll on Windows 10 1709 Update when loading DINPUT.DLL during runt ime

Last post 11/7/2017 8:26 PM by Jeff12345. 0 replies.
  • 11/7/2017 8:26 PM

    Crash in CoreMessaging.dll on Windows 10 1709 Update when loading DINPUT.DLL during runt ime

    We have a Win32 application that's running as a service that immediately crashes on startup on Windows 10 1709. On 1703 there hasn't been a problem. The crash doesn't occur when running it under the Local System account, only when using a specific user account. 

    I've found the exception generated when trying to load DINPUT.DLL during run time:

    HINSTANCE diHinst = ::LoadLibrary("DINPUT.DLL");

    Why does loading this particular DLL generate an exception, and why only under the conditions as stated above?

    Unhandled exception at 0x7163B325 in KService.exe.5556.dmp: 0xE0464645 (parameters: 0x00000058).

    CoreMessaging.dll!Cn::FailFast::Do(struct _EXCEPTION_RECORD *,struct _CONTEXT *)Unknown
    CoreMessaging.dll!Microsoft::CoreUI::Support::Utils::OnProtocolException(int)Unknown
    CoreMessaging.dll!Microsoft::CoreUI::Registrar::RemoteRegistrarClient::OnProtocolException(struct Microsoft::CoreUI::ProtocolError)Unknown
    CoreMessaging.dll!Microsoft::CoreUI::Registrar::RemoteRegistrarClientReceiveThunk::OnProtocolException(struct Microsoft::CoreUI::ProtocolError)Unknown
    CoreMessaging.dll!IRegistrarClient_Receive<struct Microsoft::CoreUI::Registrar::RemoteRegistrarClientReceiveThunk>::Thunk_OnProtocolException_0(void *,void * *)Unknown
    CoreMessaging.dll!_CoreUICallReceive()  Unknown
    CoreMessaging.dll!Microsoft::CoreUI::Registrar::RemoteRegistrarClient$R::Microsoft__CoreUI__Registrar__IAlpcClientHost_Impl::UnformatAndInvokeMethod(class System::Object *,void *,unsigned int)Unknown
    CoreMessaging.dll!Microsoft::CoreUI::Registrar::IAlpcClientHost::UnformatAndInvokeMethod(void *,unsigned int)Unknown
    CoreMessaging.dll!Microsoft::CoreUI::Registrar::AlpcClientThunk::ProcessReply(struct IAlpcClientConnection *,void const *,int)Unknown
    CoreMessaging.dll!AlpcClientConnection::HandleSynchronousReply(struct IAlpcClientConnectionHost *,struct AlpcBuffer *)Unknown
    CoreMessaging.dll!AlpcConnection::Callback_HandleReceivedBuffer(struct IAlpcConnectionHost *,bool,bool *)Unknown
    CoreMessaging.dll!AlpcClientConnection::SendBufferWithReply(struct IAlpcClientConnectionHost *,struct AlpcBuffer *,unsigned long)Unknown
    CoreMessaging.dll!Microsoft::CoreUI::Registrar::ClientMessageCallSendHost::SubmitBuffer(unsigned __int64 *,unsigned int,void *,unsigned int)Unknown
    CoreMessaging.dll!_CoreUICallSend() Unknown
    CoreMessaging.dll!Microsoft::CoreUI::Registrar::RegistrarServerCaller::RegisterConversationClient_MessageCall(class Microsoft::CoreUI::Registrar::AlpcClientAdapter *,class System::String *,struct Microsoft::CoreUI::Registrar::ScopeID,unsigned int)Unknown
    CoreMessaging.dll!Microsoft::CoreUI::Registrar::RegistrarServerCaller::RegisterConversationClient(class Microsoft::CoreUI::Registrar::AlpcClientAdapter *,class System::String *,struct Microsoft::CoreUI::Registrar::ScopeID,unsigned int,unsigned int &,struct Microsoft::CoreUI::Conversations::ConversationInfo &,struct Microsoft::CoreUI::Conversations::ConversationPeerInfo &)Unknown
    CoreMessaging.dll!Microsoft::CoreUI::Conversations::ConversationClient::ConnectWithRegistrar(void)Unknown
    CoreMessaging.dll!Microsoft::CoreUI::Conversations::ConversationClient::Connect(class Microsoft::CoreUI::Dispatch::ThreadContext *,class System::String *,struct Microsoft::CoreUI::Registrar::ScopeID,class Microsoft::CoreUI::ICallbackMessageConversationHost *) Unknown
    CoreMessaging.dll!Microsoft::CoreUI::Messaging::MessageSession::JoinConversationAsClientWorker(class System::String *,struct Microsoft::CoreUI::Registrar::ScopeID,class Microsoft::CoreUI::ICallbackMessageConversationHost *,unsigned int &)Unknown
    CoreMessaging.dll!Microsoft::CoreUI::Messaging::MessageSession$R::Microsoft__CoreUI__IExportMessageSession_Impl::JoinConversationAsClient(class System::Object *,class System::String *,class Microsoft::CoreUI::ICallbackMessageConversationHost *,unsigned int &) Unknown
    CoreMessaging.dll!Microsoft::CoreUI::IExportMessageSession::JoinConversationAsClient(class System::String *,class Microsoft::CoreUI::ICallbackMessageConversationHost *,unsigned int &)Unknown
    CoreMessaging.dll!Microsoft::CoreUI::IExportMessageSession$X__ExportAdapter::JoinConversationAsClient(wchar_t const *,struct Microsoft::CoreUI::ICallbackMessageConversationHost$X__ComVTable *,unsigned int *,class Microsoft::CoreUI::IExportMessageConversation$X__ExportAdapter * *) Unknown
    inputhost.dll!InputDeliveryClient::RuntimeClassInitialize(struct IInputDeliveryClientHost *,unsigned short const *,enum InputDeliveryClient::TestMode)Unknown
    inputhost.dll!Microsoft::WRL::Details::MakeAndInitialize<class InputDeliveryClient,struct IInputDeliveryClient,struct IInputDeliveryClientHost * &,unsigned short const (&)[21],enum InputDeliveryClient::TestMode>(struct IInputDeliveryClient * *,struct IInputDeliveryClientHost * &,unsigned short const (&)[21],enum InputDeliveryClient::TestMode &&)Unknown
    inputhost.dll!_CreateInputDeliveryClient@8()  Unknown
    inputhost.dll!InputHost::Initialize(void) Unknown
    inputhost.dll!InputHost::Create(struct IInputHost * *)Unknown
    inputhost.dll!std::_Callback_once<class std::tuple<class <lambda_491990e02d8ff35ef23f4ce586f59cc4> &&,class std::exception_ptr &>,struct std::integer_sequence<unsigned int,0>,1>(void *,void *,void * *)Unknown
    inputhost.dll!std::_Func_class<void>::operator()(void)Unknown
    inputhost.dll!MessagingThread::RunOnThread(class std::function<void >,bool)Unknown
    CoreMessaging.dll!Microsoft__CoreUI__DispatchGroupHandler$CallbackThunk(class System::Delegate *)Unknown
    CoreMessaging.dll!System::Action::Invoke(void)  Unknown
    CoreMessaging.dll!Microsoft::CoreUI::Dispatch::DeferredCall::Callback_Dispatch(void)Unknown
    CoreMessaging.dll!Microsoft::CoreUI::Dispatch::DeferredCallDispatcher::Callback_OnDispatch(void)Unknown
    CoreMessaging.dll!Microsoft::CoreUI::Dispatch::Dispatcher::Callback_DispatchLoop(struct Microsoft::CoreUI::Dispatch::RunnablePriorityMask)Unknown
    CoreMessaging.dll!Microsoft::CoreUI::Dispatch::EventLoop::Callback_RunCoreLoop(struct Microsoft::CoreUI::Dispatch::RunMode,bool,bool &)Unknown
    CoreMessaging.dll!Microsoft::CoreUI::Dispatch::EventLoop::Callback_Run(struct Microsoft::CoreUI::Dispatch::RunMode)Unknown
    CoreMessaging.dll!Microsoft::CoreUI::Messaging::MessageSession$R::Microsoft__CoreUI__IExportMessageSession_Impl::Run(class System::Object *)Unknown
    CoreMessaging.dll!Microsoft::CoreUI::IExportMessageSession::Run(void)Unknown
    CoreMessaging.dll!Microsoft::CoreUI::IExportMessageSession$X__ExportAdapter::Run(void)Unknown
    inputhost.dll!MessagingThread::ThreadProc(void)  Unknown
    inputhost.dll!MessagingThread::MessagingThread(class std::function<void >)Unknown
    kernel32.dll!@BaseThreadInitThunk@12()  Unknown
    ntdll.dll!__RtlUserThreadStart() Unknown
    ntdll.dll!__RtlUserThreadStart@8() Unknown
Page 1 of 1 (1 posts) Previous Discussion Next Discussion