Code: Select all
======================================================================
Summary
======================================================================
Exception: 0xC0000005 - STATUS_ACCESS_VIOLATION
Details: Memory at 00000010 could not be read
errno: 0x00000000 - No error
LastError: 0x00000032 - The request is not supported.
NTSTATUS: 0xC0000034 - Object Name not found.
Address: 0x00014644 - luafar3.dll!LF_DlgProc+0x44
Function: ProcessDialogEventW
Source:
File: C:\Apps\Far3\Plugins\LuaMacro\LuaMacro.dll
Plugin: LuaMacro 3.0.777.0 (Far macros in Lua, Shmuel Zeigerman & Far Group)
======================================================================
System information
======================================================================
Far: 3.0.6151.0 x86 (89ca1ab)
Compiler: Microsoft Visual C++, version 19.29.30148.0
PE time: 2023-05-23 00:05:49.000
File time: 2023-05-23 00:05:52.000
Time: 2023-05-24 20:13:23.328
Uptime: 00:01:46
OS: Windows NT Workstation 10.0.19045, 0x100/0x30 (Windows 10 Pro, version 22H2, OS build 19045.2965)
Kernel: 10.0.19041.2965 (WinBuild.160101.0800)
Locale: de-DE | LCID=00000809 (Lang=0809 (Primary=009 Sub=02) Sort=0 SortVersion=0) | ANSI=1252 OEM=850
Host: 0xC0000003 - {Invalid Parameter} The specified information class is not a valid information class for the specified object.
Parent: C:\Windows\explorer.exe 10.0.19041.2845 (WinBuild.160101.0800)
Command: "C:\Apps\Far3\Far.exe"
Access: User
======================================================================
Exception
======================================================================
----------------------------------------------------------------------
Stack
----------------------------------------------------------------------
00014644 luafar3.dll!LF_DlgProc+0x44
0000109D LuaMacro.dll!_DlgProc@16+0x3D (luaplug.obj)
002B8F3B Far.exe!std::_Func_impl_no_alloc<class ```pluginapi::apiDialogInit(struct _GUID const *,struct _GUID const *,int,int,int,int,wchar_t const *,struct FarDialogItem const *,unsigned int,int,unsigned __int64,int (__stdcall*)(void *,int,int,void *),void *)'::`2'::<lambda_1>::operator()(void)const '::`11'::plugin_dialog::plugin_dialog(struct ``pluginapi::apiDialogInit(struct _GUID const *,struct _GUID const *,int,int,int,int,wchar_t const *,struct FarDialogItem const *,unsigned int,int,unsigned __int64,int (__stdcall*)(void *,int,int,void *),void *)'::`2'::<lambda_1>::operator()(void)const '::`11'::plugin_dialog::private_tag,class span<struct FarDialogItem const >,int (__stdcall*const)(void *,int,int,void *),void * const)'::`1'::<lambda_2_>,int,class Dialog *,int,int,void *>::_Do_call(class Dialog * &&,int &&,int &&,void * &&)+0x2B (plugapi.obj)
00155627 Far.exe!Dialog::DlgProc(int,int,void *)+0xA7 (dialog.obj)
00157C4C Far.exe!Dialog::SendMessageW(int,int,void *)+0x233C (dialog.obj)
0025F10B Far.exe!FarMacroApi::dlggetvalueFunc(void)const +0x46B (macro.obj)
0025996E Far.exe!KeyMacro::CallFar(int,struct FarMacroCall *)+0x3ABE (macro.obj)
002B8D57 Far.exe!_Closure_wrapper_b196500b_160::<lambda_invoker_cdecl>(void *)+0x27 (plugapi.obj)
0019E1C7 Far.exe!detail::cpp_try(class function_ref<void __cdecl(void)>,class function_ref<void __cdecl(void)>,class function_ref<void __cdecl(class std::exception const &)>)+0x47 (exception_handler.obj)
002B4DDE Far.exe!cpp_try<class `pluginapi::apiCallFar(int,struct FarMacroCall *)'::`2'::<lambda_1>,class `pluginapi::apiCallFar(int,struct FarMacroCall *)'::`2'::<lambda_2>,struct detail::no_handler>(class `pluginapi::apiCallFar(int,struct FarMacroCall *)'::`2'::<lambda_1> const &,class `pluginapi::apiCallFar(int,struct FarMacroCall *)'::`2'::<lambda_2> const &,struct detail::no_handler const &)+0x4E (plugapi.obj)
002B4D6D Far.exe!pluginapi::apiCallFar(int,struct FarMacroCall *)+0x3D (plugapi.obj)
00009137 luafar3.dll!LF_Gsub+0x21A7
00002C38 lua51.dll!<unknown> (get the pdb)
00016CA2 lua51.dll!lua_pcall+0x62
00005DFF luafar3.dll!LF_ProcessDialogEvent+0x24F
00001E44 LuaMacro.dll!ProcessDialogEventW+0x34
002A9603 Far.exe!_Closure_wrapper_8ad60419_16::<lambda_invoker_cdecl>(void *)+0x13 (plclass.obj)
002A90E7 Far.exe!_Closure_wrapper_8ad60419_2::<lambda_invoker_cdecl>(void *)+0x47 (plclass.obj)
0019E1C7 Far.exe!detail::cpp_try(class function_ref<void __cdecl(void)>,class function_ref<void __cdecl(void)>,class function_ref<void __cdecl(class std::exception const &)>)+0x47 (exception_handler.obj)
002A838F Far.exe!cpp_try<class ``Plugin::ExecuteFunctionImpl(enum export_index,class function_ref<void __cdecl(void)>)'::`2'::<lambda_2>::operator()(void)const '::`2'::<lambda_3>,class ``Plugin::ExecuteFunctionImpl(enum export_index,class function_ref<void __cdecl(void)>)'::`2'::<lambda_2>::operator()(void)const '::`2'::<lambda_4>,class ``Plugin::ExecuteFunctionImpl(enum export_index,class function_ref<void __cdecl(void)>)'::`2'::<lambda_2>::operator()(void)const '::`2'::<lambda_5> >(class ``Plugin::ExecuteFunctionImpl(enum export_index,class function_ref<void __cdecl(void)>)'::`2'::<lambda_2>::operator()(void)const '::`2'::<lambda_3> const &,class ``Plugin::ExecuteFunctionImpl(enum export_index,class function_ref<void __cdecl(void)>)'::`2'::<lambda_2>::operator()(void)const '::`2'::<lambda_4> const &,class ``Plugin::ExecuteFunctionImpl(enum export_index,class function_ref<void __cdecl(void)>)'::`2'::<lambda_2>::operator()(void)const '::`2'::<lambda_5> const &)+0x2F (plclass.obj)
002A925C Far.exe!_Closure_wrapper_8ad60419_4::<lambda_invoker_cdecl>(void *)+0x7C (plclass.obj)
0019E260 Far.exe!detail::seh_try(class function_ref<void __cdecl(void)>,class function_ref<unsigned long __cdecl(struct _EXCEPTION_POINTERS *)>,class function_ref<void __cdecl(unsigned long)>)+0x40 (exception_handler.obj)
002A8353 Far.exe!Plugin::ExecuteFunctionImpl(enum export_index,class function_ref<void __cdecl(void)>)+0xA3 (plclass.obj)
002A781D Far.exe!Plugin::ProcessDialogEvent(struct ProcessDialogEventInfo *)+0x6D (plclass.obj)
002D1F12 Far.exe!PluginManager::ProcessDialogEvent(int,struct FarDialogEvent *)const +0x42 (plugins.obj)
00155651 Far.exe!Dialog::DlgProc(int,int,void *)+0xD1 (dialog.obj)
00155166 Far.exe!Dialog::CloseDialog(void)+0x46 (dialog.obj)
00155ED5 Far.exe!Dialog::SendMessageW(int,int,void *)+0x5C5 (dialog.obj)
002B54B7 Far.exe!_Closure_wrapper_b196500b_23::<lambda_invoker_cdecl>(void *)+0x87 (plugapi.obj)
0019E1C7 Far.exe!detail::cpp_try(class function_ref<void __cdecl(void)>,class function_ref<void __cdecl(void)>,class function_ref<void __cdecl(class std::exception const &)>)+0x47 (exception_handler.obj)
002ACFAE Far.exe!cpp_try<class `pluginapi::apiSendDlgMessage(void *,int,int,void *)'::`2'::<lambda_2>,class `pluginapi::apiSendDlgMessage(void *,int,int,void *)'::`2'::<lambda_3>,struct detail::no_handler>(class `pluginapi::apiSendDlgMessage(void *,int,int,void *)'::`2'::<lambda_2> const &,class `pluginapi::apiSendDlgMessage(void *,int,int,void *)'::`2'::<lambda_3> const &,struct detail::no_handler const &)+0x4E (plugapi.obj)
002ACF3B Far.exe!pluginapi::apiSendDlgMessage(void *,int,int,void *)+0x5B (plugapi.obj)
00013F82 luafar3.dll!LF_Message+0x4B22
00002C38 lua51.dll!<unknown> (get the pdb)
00016CA2 lua51.dll!lua_pcall+0x62
000146C1 luafar3.dll!LF_DlgProc+0xC1
0000109D LuaMacro.dll!_DlgProc@16+0x3D (luaplug.obj)
002B8F3B Far.exe!std::_Func_impl_no_alloc<class ```pluginapi::apiDialogInit(struct _GUID const *,struct _GUID const *,int,int,int,int,wchar_t const *,struct FarDialogItem const *,unsigned int,int,unsigned __int64,int (__stdcall*)(void *,int,int,void *),void *)'::`2'::<lambda_1>::operator()(void)const '::`11'::plugin_dialog::plugin_dialog(struct ``pluginapi::apiDialogInit(struct _GUID const *,struct _GUID const *,int,int,int,int,wchar_t const *,struct FarDialogItem const *,unsigned int,int,unsigned __int64,int (__stdcall*)(void *,int,int,void *),void *)'::`2'::<lambda_1>::operator()(void)const '::`11'::plugin_dialog::private_tag,class span<struct FarDialogItem const >,int (__stdcall*const)(void *,int,int,void *),void * const)'::`1'::<lambda_2_>,int,class Dialog *,int,int,void *>::_Do_call(class Dialog * &&,int &&,int &&,void * &&)+0x2B (plugapi.obj)
00155627 Far.exe!Dialog::DlgProc(int,int,void *)+0xA7 (dialog.obj)
00151229 Far.exe!Dialog::ProcessKey(class Manager::Key const &)+0x259 (dialog.obj)
0026B057 Far.exe!Manager::ProcessKey(class Manager::Key)+0x437 (manager.obj)
0026A74D Far.exe!Manager::ProcessMainLoop(void)+0x1DD (manager.obj)
0026A54E Far.exe!Manager::EnterMainLoop(void)+0x8E (manager.obj)
00263C62 Far.exe!MainProcess(class std::basic_string_view<wchar_t,struct std::char_traits<wchar_t> >,class std::basic_string_view<wchar_t,struct std::char_traits<wchar_t> >,class std::basic_string_view<wchar_t,struct std::char_traits<wchar_t> >,class std::basic_string_view<wchar_t,struct std::char_traits<wchar_t> >,int,int)+0x8B2 (main.obj)
0026768C Far.exe!_Closure_wrapper_7e43c91d_4::<lambda_invoker_cdecl>(void *)+0x9C (main.obj)
0019E1C7 Far.exe!detail::cpp_try(class function_ref<void __cdecl(void)>,class function_ref<void __cdecl(void)>,class function_ref<void __cdecl(class std::exception const &)>)+0x47 (exception_handler.obj)
00266AC4 Far.exe!cpp_try<class `mainImpl(class span<wchar_t const * const>)'::`2'::<lambda_4>,class `mainImpl(class span<wchar_t const * const>)'::`2'::<lambda_5>,class `mainImpl(class span<wchar_t const * const>)'::`2'::<lambda_6> >(class `mainImpl(class span<wchar_t const * const>)'::`2'::<lambda_4> const &,class `mainImpl(class span<wchar_t const * const>)'::`2'::<lambda_5> const &,class `mainImpl(class span<wchar_t const * const>)'::`2'::<lambda_6> const &)+0x64 (main.obj)
00266660 Far.exe!mainImpl(class span<wchar_t const * const>)+0x960 (main.obj)
00266E68 Far.exe!`wmain_seh(void)'::`2'::<lambda_1>::operator()(void)const +0x48 (main.obj)
0026770F Far.exe!_Closure_wrapper_7e43c91d_9::<lambda_invoker_cdecl>(void *)+0xF (main.obj)
0019E1C7 Far.exe!detail::cpp_try(class function_ref<void __cdecl(void)>,class function_ref<void __cdecl(void)>,class function_ref<void __cdecl(class std::exception const &)>)+0x47 (exception_handler.obj)
00266FB4 Far.exe!cpp_try<class `wmain_seh(void)'::`2'::<lambda_1>,class `wmain_seh(void)'::`2'::<lambda_2>,class `wmain_seh(void)'::`2'::<lambda_3> >(class `wmain_seh(void)'::`2'::<lambda_1> const &,class `wmain_seh(void)'::`2'::<lambda_2> const &,class `wmain_seh(void)'::`2'::<lambda_3> const &)+0x64 (main.obj)
00266D6C Far.exe!wmain_seh(void)+0x16C (main.obj)
002677A7 Far.exe!_Closure_wrapper_7e43c91d_11::<lambda_invoker_cdecl>(void *)+0x57 (main.obj)
0019E260 Far.exe!detail::seh_try(class function_ref<void __cdecl(void)>,class function_ref<unsigned long __cdecl(struct _EXCEPTION_POINTERS *)>,class function_ref<void __cdecl(unsigned long)>)+0x40 (exception_handler.obj)
0026706C Far.exe!_main+0x8C (main.obj)
00341A29 Far.exe!__scrt_common_main_seh(void)+0xFA (LIBCMT:exe_main.obj)
000200C9 KERNEL32.DLL!BaseThreadInitThunk+0x19
00067B4E ntdll.dll!RtlGetAppContainerNamedObjectPath+0x11E
00067B1E ntdll.dll!RtlGetAppContainerNamedObjectPath+0xEE
----------------------------------------------------------------------
Registers
----------------------------------------------------------------------
EAX = 00001016
EBX = 00000000
ECX = 23646C8A
EDX = 00000000
ESI = 06B95178
EDI = 00000000
EIP = 6C034644
ESP = 006DD568
EBP = 006DD57C
EFL = 00210216
----------------------------------------------------------------------
Disassembly
----------------------------------------------------------------------
00014644 luafar3.dll!LF_DlgProc+0x44:
6c034629 ffd0 call eax
6c03462b 8bd8 mov ebx,eax
6c03462d 8b4510 mov eax,dword ptr [ebp+10h]
6c034630 3d0c100000 cmp eax,100Ch
6c034635 750d jne luafar3!LF_DlgProc+0x44 (6c034644)
6c034637 85db test ebx,ebx
6c034639 7409 je luafar3!LF_DlgProc+0x44 (6c034644)
6c03463b 837b1400 cmp dword ptr [ebx+14h],0
6c03463f 7503 jne luafar3!LF_DlgProc+0x44 (6c034644)
6c034641 897308 mov dword ptr [ebx+8],esi
6c034644 837b1000 cmp dword ptr [ebx+10h],0
0000109D LuaMacro.dll!_DlgProc@16+0x3D (luaplug.obj):
6c0a107a ff1500f00a6c call dword ptr [LuaMacro!ProcessConsoleInputW+0xcfb0 (6c0af000)]
6c0a1080 85c0 test eax,eax
6c0a1082 7430 je LuaMacro+0x10b4 (6c0a10b4)
6c0a1084 56 push esi
6c0a1085 ff7514 push dword ptr [ebp+14h]
6c0a1088 ff7510 push dword ptr [ebp+10h]
6c0a108b ff750c push dword ptr [ebp+0Ch]
6c0a108e ff7508 push dword ptr [ebp+8]
6c0a1091 ff35d8720b6c push dword ptr [LuaMacro!ProcessConsoleInputW+0x15288 (6c0b72d8)]
6c0a1097 ff15a8f10a6c call dword ptr [LuaMacro!ProcessConsoleInputW+0xd158 (6c0af1a8)]
6c0a109d 83c414 add esp,14h
002B8F3B Far.exe!std::_Func_impl_no_alloc<class ```pluginapi::apiDialogInit(struct _GUID const *,struct _GUID const *,int,int,int,int,wchar_t const *,struct FarDialogItem const *,unsigned int,int,unsigned __int64,int (__stdcall*)(void *,int,int,void *),void *)'::`2'::<lambda_1>::operator()(void)const '::`11'::plugin_dialog::plugin_dialog(struct ``pluginapi::apiDialogInit(struct _GUID const *,struct _GUID const *,int,int,int,int,wchar_t const *,struct FarDialogItem const *,unsigned int,int,unsigned __int64,int (__stdcall*)(void *,int,int,void *),void *)'::`2'::<lambda_1>::operator()(void)const '::`11'::plugin_dialog::private_tag,class span<struct FarDialogItem const >,int (__stdcall*const)(void *,int,int,void *),void * const)'::`1'::<lambda_2_>,int,class Dialog *,int,int,void *>::_Do_call(class Dialog * &&,int &&,int &&,void * &&)+0x2B (plugapi.obj):
00aa8f23 8b450c mov eax,dword ptr [ebp+0Ch]
00aa8f26 57 push edi
00aa8f27 8b30 mov esi,dword ptr [eax]
00aa8f29 8b4508 mov eax,dword ptr [ebp+8]
00aa8f2c 56 push esi
00aa8f2d 8b10 mov edx,dword ptr [eax]
00aa8f2f 8b4304 mov eax,dword ptr [ebx+4]
00aa8f32 52 push edx
00aa8f33 8b8010010000 mov eax,dword ptr [eax+110h]
00aa8f39 ffd0 call eax
00aa8f3b 5f pop edi
00155627 Far.exe!Dialog::DlgProc(int,int,void *)+0xA7 (dialog.obj):
0094560e 8b01 mov eax,dword ptr [ecx]
00945610 8d542410 lea edx,[esp+10h]
00945614 52 push edx
00945615 8d542418 lea edx,[esp+18h]
00945619 52 push edx
0094561a 8d542420 lea edx,[esp+20h]
0094561e 52 push edx
0094561f 8d542428 lea edx,[esp+28h]
00945623 52 push edx
00945624 ff5008 call dword ptr [eax+8]
00945627 f7465800008000 test dword ptr [esi+58h],offset Far+0x10000 (00800000)
00157C4C Far.exe!Dialog::SendMessageW(int,int,void *)+0x233C (dialog.obj):
00947c2d 0f843a010000 je Far+0x157d6d (00947d6d)
00947c33 83e801 sub eax,1
00947c36 7431 je Far+0x157c69 (00947c69)
00947c38 83e807 sub eax,7
00947c3b 7414 je Far+0x157c51 (00947c51)
00947c3d 52 push edx
00947c3e ffb504ffffff push dword ptr [ebp-0FCh]
00947c44 51 push ecx
00947c45 8bcf mov ecx,edi
00947c47 e834d9ffff call Far+0x155580 (00945580)
00947c4c e90f020000 jmp Far+0x157e60 (00947e60)
0025F10B Far.exe!FarMacroApi::dlggetvalueFunc(void)const +0x46B (macro.obj):
00a4f0f5 5d pop ebp
00a4f0f6 ac lods byte ptr [esi]
00a4f0f7 8b75b4 mov esi,dword ptr [ebp-4Ch]
00a4f0fa 8d4d9c lea ecx,[ebp-64h]
00a4f0fd 51 push ecx
00a4f0fe 57 push edi
00a4f0ff 6816100000 push 1016h
00a4f104 8b06 mov eax,dword ptr [esi]
00a4f106 8bce mov ecx,esi
00a4f108 ff5074 call dword ptr [eax+74h]
00a4f10b 85c0 test eax,eax
0025996E Far.exe!KeyMacro::CallFar(int,struct FarMacroCall *)+0x3ABE (macro.obj):
00a49939 8d8d60fbffff lea ecx,[ebp-4A0h]
00a4993f c645fc23 mov byte ptr [ebp-4],23h
00a49943 e8b8c1ffff call Far+0x255b00 (00a45b00)
00a49948 8d8de4fbffff lea ecx,[ebp-41Ch]
00a4994e e83d51e6ff call Far+0xbea90 (008aea90)
00a49953 8d8de4faffff lea ecx,[ebp-51Ch]
00a49959 e8328a0000 call Far+0x262390 (00a52390)
00a4995e e96cfaffff jmp Far+0x2593cf (00a493cf)
00a49963 8d8d60fbffff lea ecx,[ebp-4A0h]
00a49969 e832530000 call Far+0x25eca0 (00a4eca0)
00a4996e e95cfaffff jmp Far+0x2593cf (00a493cf)
002B8D57 Far.exe!_Closure_wrapper_b196500b_160::<lambda_invoker_cdecl>(void *)+0x27 (plugapi.obj):
00aa8d39 8b7508 mov esi,dword ptr [ebp+8]
00aa8d3c 8b88f0000000 mov ecx,dword ptr [eax+0F0h]
00aa8d42 8b5604 mov edx,dword ptr [esi+4]
00aa8d45 85c9 test ecx,ecx
00aa8d47 740e je Far+0x2b8d57 (00aa8d57)
00aa8d49 8b4204 mov eax,dword ptr [edx+4]
00aa8d4c ff30 push dword ptr [eax]
00aa8d4e 8b02 mov eax,dword ptr [edx]
00aa8d50 ff30 push dword ptr [eax]
00aa8d52 e859d1f9ff call Far+0x255eb0 (00a45eb0)
00aa8d57 8b06 mov eax,dword ptr [esi]
0019E1C7 Far.exe!detail::cpp_try(class function_ref<void __cdecl(void)>,class function_ref<void __cdecl(void)>,class function_ref<void __cdecl(class std::exception const &)>)+0x47 (exception_handler.obj):
0098e19f 8d45f4 lea eax,[ebp-0Ch]
0098e1a2 64a300000000 mov dword ptr fs:[00000000h],eax
0098e1a8 8965f0 mov dword ptr [ebp-10h],esp
0098e1ab 803d792cc20000 cmp byte ptr [Far+0x432c79 (00c22c79)],0
0098e1b2 740d je Far+0x19e1c1 (0098e1c1)
0098e1b4 837d1800 cmp dword ptr [ebp+18h],0
0098e1b8 7443 je Far+0x19e1fd (0098e1fd)
0098e1ba c745fc00000000 mov dword ptr [ebp-4],0
0098e1c1 ff7508 push dword ptr [ebp+8]
0098e1c4 ff550c call dword ptr [ebp+0Ch]
0098e1c7 83c404 add esp,4
002B4DDE Far.exe!cpp_try<class `pluginapi::apiCallFar(int,struct FarMacroCall *)'::`2'::<lambda_1>,class `pluginapi::apiCallFar(int,struct FarMacroCall *)'::`2'::<lambda_2>,struct detail::no_handler>(class `pluginapi::apiCallFar(int,struct FarMacroCall *)'::`2'::<lambda_1> const &,class `pluginapi::apiCallFar(int,struct FarMacroCall *)'::`2'::<lambda_2> const &,struct detail::no_handler const &)+0x4E (plugapi.obj):
00aa4db5 8910 mov dword ptr [eax],edx
00aa4db7 c74004708daa00 mov dword ptr [eax+4],offset Far+0x2b8d70 (00aa8d70)
00aa4dbe 8d44241c lea eax,[esp+1Ch]
00aa4dc2 89442428 mov dword ptr [esp+28h],eax
00aa4dc6 8bc4 mov eax,esp
00aa4dc8 894c242c mov dword ptr [esp+2Ch],ecx
00aa4dcc 8d4c2428 lea ecx,[esp+28h]
00aa4dd0 8908 mov dword ptr [eax],ecx
00aa4dd2 c74004308daa00 mov dword ptr [eax+4],offset Far+0x2b8d30 (00aa8d30)
00aa4dd9 e8a293eeff call Far+0x19e180 (0098e180)
00aa4dde 8b44241c mov eax,dword ptr [esp+1Ch]