Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on exit in twinapi.appcore.dll #400

Closed
dinhngtu opened this issue Apr 21, 2024 · 2 comments
Closed

Crash on exit in twinapi.appcore.dll #400

dinhngtu opened this issue Apr 21, 2024 · 2 comments
Labels
archived bug Something isn't working fixed

Comments

@dinhngtu
Copy link
Contributor

dinhngtu commented Apr 21, 2024

The newest version of NanaZip (2b5fb98) is crashing on Windows 10
(10.0.19045.4291).
Strangely I couldn't reproduce under debugger.
I disabled mitigations and DllBlock but it didn't fix the issue.

Unhandled exception at 0x00007FFE44A223CE (twinapi.appcore.dll) in NanaZip.Modern.exe.17892.dmp: 0xC0000005: Access violation reading location 0x0000000000000000.

 	twinapi.appcore.dll!Microsoft::WRL::ActivationFactory<struct Microsoft::WRL::Implements<struct Microsoft::WRL::RuntimeClassFlags<3>,struct Windows::ApplicationModel::Core::ICoreApplication,struct Windows::ApplicationModel::Core::ICoreApplication2,struct Windows::ApplicationModel::Core::ICoreApplication3,struct Windows::ApplicationModel::Core::ICoreApplicationExit,struct Windows::ApplicationModel::Core::ICoreImmersiveApplication,struct Windows::ApplicationModel::Core::ICoreImmersiveApplication2,struct Windows::ApplicationModel::Core::ICoreImmersiveApplication3,struct Windows::ApplicationModel::Core::ICoreApplicationUnhandledError,struct Microsoft::WRL::Implements<struct Microsoft::WRL::RuntimeClassFlags<3>,struct Microsoft::WRL::CloakedIid<struct Windows::ApplicationModel::Core::ICoreApplicationUseCount>,struct Microsoft::WRL::CloakedIid<struct IServiceProvider>,struct Microsoft::WRL::CloakedIid<struct IObjectWithSite>,struct Microsoft::WRL::CloakedIid<struct Windows::ApplicationModel::Infrastructure::ICoreApplicationInitializat()	Unknown
 	Windows.UI.Xaml.dll!ctl::ComPtr<DirectUI::IThemeResourceExpression>::InternalRelease() Line 276	C++
 	[Inline Frame] Windows.UI.Xaml.dll!ctl::ComPtr<Windows::ApplicationModel::Core::ICoreApplication2>::{dtor}() Line 345	C++
 	Windows.UI.Xaml.dll!DirectUI::FrameworkApplication::HookBackgroundActivationEvents(bool fRegister) Line 1233	C++
 	Windows.UI.Xaml.dll!DirectUI::FrameworkApplication::~FrameworkApplication() Line 591	C++
 	Windows.UI.Xaml.dll!ctl::ComObject<DirectUI::FrameworkApplication>::`scalar deleting destructor'(unsigned int)	C++
 	Windows.UI.Xaml.dll!ctl::ComBase::ReleaseImpl() Line 307	C++
>	[Inline Frame] NanaZip.Modern.exe!winrt::Windows::Foundation::IUnknown::release_ref() Line 2264	C++
 	[Inline Frame] NanaZip.Modern.exe!winrt::Windows::Foundation::IUnknown::{dtor}() Line 2169	C++
 	[Inline Frame] NanaZip.Modern.exe!winrt::impl::root_implements<winrt::NanaZip::Modern::implementation::App,winrt::Windows::UI::Xaml::IApplicationOverrides,winrt::Windows::UI::Xaml::IApplicationOverrides2,winrt::composing,winrt::Windows::UI::Xaml::Markup::IXamlMetadataProvider>::{dtor}() Line 7656	C++
 	NanaZip.Modern.exe!winrt::impl::heap_implements<winrt::NanaZip::Modern::implementation::App>::`scalar deleting destructor'(unsigned int)	C++
 	[Inline Frame] NanaZip.Modern.exe!winrt::impl::root_implements<winrt::NanaZip::Modern::implementation::AboutPage,winrt::NanaZip::Modern::AboutPage,winrt::composing,winrt::Windows::UI::Xaml::Controls::IPageOverrides,winrt::Windows::UI::Xaml::Controls::IControlOverrides,winrt::Windows::UI::Xaml::Controls::IControlOverrides6,winrt::Windows::UI::Xaml::IFrameworkElementOverrides,winrt::Windows::UI::Xaml::IFrameworkElementOverrides2,winrt::Windows::UI::Xaml::IUIElementOverrides,winrt::Windows::UI::Xaml::IUIElementOverrides7,winrt::Windows::UI::Xaml::IUIElementOverrides8,winrt::Windows::UI::Xaml::IUIElementOverrides9,winrt::Windows::UI::Xaml::Markup::IComponentConnector,winrt::Windows::UI::Xaml::Markup::IComponentConnector2>::NonDelegatingRelease() Line 7727	C++
 	[Inline Frame] NanaZip.Modern.exe!winrt::impl::root_implements<winrt::NanaZip::Modern::implementation::AboutPage,winrt::NanaZip::Modern::AboutPage,winrt::composing,winrt::Windows::UI::Xaml::Controls::IPageOverrides,winrt::Windows::UI::Xaml::Controls::IControlOverrides,winrt::Windows::UI::Xaml::Controls::IControlOverrides6,winrt::Windows::UI::Xaml::IFrameworkElementOverrides,winrt::Windows::UI::Xaml::IFrameworkElementOverrides2,winrt::Windows::UI::Xaml::IUIElementOverrides,winrt::Windows::UI::Xaml::IUIElementOverrides7,winrt::Windows::UI::Xaml::IUIElementOverrides8,winrt::Windows::UI::Xaml::IUIElementOverrides9,winrt::Windows::UI::Xaml::Markup::IComponentConnector,winrt::Windows::UI::Xaml::Markup::IComponentConnector2>::Release() Line 7612	C++
 	[Inline Frame] NanaZip.Modern.exe!winrt::implements<winrt::NanaZip::Modern::implementation::AboutPage,winrt::NanaZip::Modern::AboutPage,winrt::composing,winrt::Windows::UI::Xaml::Controls::IPageOverrides,winrt::Windows::UI::Xaml::Controls::IControlOverrides,winrt::Windows::UI::Xaml::Controls::IControlOverrides6,winrt::Windows::UI::Xaml::IFrameworkElementOverrides,winrt::Windows::UI::Xaml::IFrameworkElementOverrides2,winrt::Windows::UI::Xaml::IUIElementOverrides,winrt::Windows::UI::Xaml::IUIElementOverrides7,winrt::Windows::UI::Xaml::IUIElementOverrides8,winrt::Windows::UI::Xaml::IUIElementOverrides9,winrt::Windows::UI::Xaml::Markup::IComponentConnector,winrt::Windows::UI::Xaml::Markup::IComponentConnector2>::Release() Line 8252	C++
 	NanaZip.Modern.exe!winrt::impl::produce_base<winrt::NanaZip::Modern::implementation::AboutPage,winrt::NanaZip::Modern::IAboutPage,void>::Release() Line 7281	C++
 	Windows.UI.Xaml.dll!ctl::release_interface<DirectUI::FrameworkApplication>(DirectUI::FrameworkApplication * & pInterface) Line 137	C++
 	[Inline Frame] Windows.UI.Xaml.dll!DirectUI::FrameworkApplication::GlobalDeinit() Line 668	C++
 	Windows.UI.Xaml.dll!DeinitializeDll() Line 319	C++
 	Windows.UI.Xaml.dll!DllMain(HINSTANCE__ * hinstDLL, unsigned int fdwReason, void * __formal) Line 394	C++
 	Windows.UI.Xaml.dll!dllmain_dispatch(HINSTANCE__ * const instance, const unsigned long reason, void * const reserved) Line 200	C++
 	ntdll.dll!LdrpCallInitRoutine()	Unknown
 	ntdll.dll!LdrShutdownProcess()	Unknown
 	ntdll.dll!RtlExitUserProcess()	Unknown
 	kernel32.dll!ExitProcessImplementation()	Unknown
 	ucrtbase.dll!exit_or_terminate_process()	Unknown
 	ucrtbase.dll!common_exit()	Unknown
 	NanaZip.Modern.exe!__scrt_common_main_seh() Line 295	C++
 	kernel32.dll!BaseThreadInitThunk()	Unknown
 	ntdll.dll!RtlUserThreadStart()	Unknown
@MouriNaruto MouriNaruto added the bug Something isn't working label Apr 22, 2024
@MouriNaruto
Copy link
Member

I can reproduce that on my Windows 10 Build 1904x devices. I tried to make a workaround for that.

Kenji Mouri

@MouriNaruto
Copy link
Member

The NanaZip 3.0 has been released. The issue can be closed due to fixed.

Kenji Mouri

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
archived bug Something isn't working fixed
Projects
None yet
Development

No branches or pull requests

2 participants