Author Topic: I can't close the miranda...  (Read 6141 times)

0 Members and 1 Guest are viewing this topic.

Offline Havokdan

I can't close the miranda...
« on: 07 09 2021, 19:24:34 »
Good afternoon, I'm using the latest 64-bit version of miranda, with two irc accounts (Rizon and IrcHighWay), one for icq, one for ToX, however after configuring them and installing the plugins that interest me, Miranda doesn't close By conventional means, I click to close the application, however it only terminates after I end the process in the process manager. Any tips on how to solve this problem?
 

Offline ghazan

Re: I can't close the miranda...
« Reply #1 on: 08 09 2021, 07:14:43 »
Havokdan,
yes, follow the instructions from https://wiki.miranda-ng.org/index.php?title=Using_Process_Explorer_as_the_debugging_tool
you need to dump the stack trace of the main thread (one with WinMain)

to make a good stack trace you need to switch to the version with debug symbols first (look at Plugin Updater's options)
 

Offline Havokdan

Re: I can't close the miranda...
« Reply #2 on: 08 09 2021, 09:01:31 »
Code: [Select]
ntdll.dll!NtWaitForSingleObject+0x14
KERNELBASE.dll!WaitForSingleObjectEx+0x8e
EmLanProto.dll!CLan::StopListen+0x3c
EmLanProto.dll!CMLan::StopChecking+0x46
EmLanProto.dll!CMLan::SetMirandaStatus+0x56
EmLanProto.dll!EMPSetStatus+0xb
mir_core.mir!CallService+0x8e
mir_app.mir!ProtoCallService+0x6f
mir_app.mir!CallProtoServiceInt+0x445
mir_app.mir!Proto_SetStatus+0x86
mir_app.mir!StatusMenuExecService+0x26e
mir_core.mir!CallService+0x8e
mir_core.mir!CallServiceSync+0x48
mir_app.mir!Menu_ProcessCommand+0x6a
StatusManager.dll!OnOkToExit+0x278
mir_core.mir!CallHookSubscribers+0xcf
mir_core.mir!NotifyEventHooks+0x50
mir_app.mir!Miranda_OkToExit+0x16
mir_app.mir!Miranda_Close+0x48
Clist_modern.dll!CloseAction+0x11
mir_core.mir!CallService+0x8e
mir_app.mir!TrayMenuExecService+0x14
mir_core.mir!CallService+0x8e
mir_core.mir!CallServiceSync+0x48
mir_app.mir!Menu_ProcessCommand+0x6a
mir_app.mir!Menu_ProcessCommandById+0x7d
mir_app.mir!fnContactListWndProc+0xbc1
Clist_modern.dll!CLUI::cli_ContactListWndProc+0x311
mir_app.mir!ContactListWndProc+0x70
mir_core.mir!mir_callNextSubclass+0xb3
FltContacts.dll!newMirandaWndProc+0x150
mir_core.mir!MSubclassWndProc+0x54
USER32.dll!CallWindowProcW+0x3f8
USER32.dll!DispatchMessageW+0x259
mir_app.mir!mir_main+0x3c9
Miranda64.exe!wWinMain+0xd8
Miranda64.exe!__scrt_common_main_seh+0x106
KERNEL32.DLL!BaseThreadInitThunk+0x14
ntdll.dll!RtlUserThreadStart+0x21


Thus?
 

Offline dartraiden

Re: I can't close the miranda...
« Reply #3 on: 08 09 2021, 13:21:46 »
 

Offline ghazan

Re: I can't close the miranda...
« Reply #4 on: 08 09 2021, 13:24:51 »
Havokdan,
yes, thanks. this bug is already registered, https://github.com/miranda-ng/miranda-ng/issues/2897
you can subscribe to this bug, so you'd be notified when it gets fixed
 

Offline Havokdan

Re: I can't close the miranda...
« Reply #5 on: 08 09 2021, 13:51:05 »
Havokdan,
yes, thanks. this bug is already registered, https://github.com/miranda-ng/miranda-ng/issues/2897
you can subscribe to this bug, so you'd be notified when it gets fixed

Thanks.

Known problem with Em-LAN
https://github.com/miranda-ng/miranda-ng/issues/2897

As a palliative solution, just disabling the plugin then?
 

Offline dartraiden

Re: I can't close the miranda...
« Reply #6 on: 08 09 2021, 13:53:05 »
Yes, disable protocol via Options -> Plugins.
 
The following users thanked this post: Havokdan

Offline ghazan

Re: I can't close the miranda...
« Reply #7 on: 08 09 2021, 14:30:41 »
Havokdan,
this bug might have been fixed in the development version by the recent commit
try to update the nightly build
 
The following users thanked this post: Havokdan

Offline Havokdan

Re: I can't close the miranda...
« Reply #8 on: 09 09 2021, 10:11:32 »
Havokdan,
this bug might have been fixed in the development version by the recent commit
try to update the nightly build
I'll try, but I wanted to say something I forgot, yesterday I erased the said plugin and even then the problem persists. But I'll try the development version, thank you.
 

Offline Havokdan

Re: I can't close the miranda...
« Reply #9 on: 09 09 2021, 10:21:19 »
Here (even without the plugin):

Code: [Select]
ntoskrnl.exe!KeSynchronizeExecution+0x5b66
ntoskrnl.exe!KeWaitForSingleObject+0x1460
ntoskrnl.exe!KeWaitForSingleObject+0x98f
ntoskrnl.exe!KeWaitForSingleObject+0x233
ntoskrnl.exe!ExWaitForRundownProtectionRelease+0x7dd
ntoskrnl.exe!KeWaitForSingleObject+0x3a29
ntoskrnl.exe!KeWaitForSingleObject+0x1787
ntoskrnl.exe!KeWaitForSingleObject+0x98f
ntoskrnl.exe!KeWaitForSingleObject+0x233
ntoskrnl.exe!ObWaitForSingleObject+0x91
ntoskrnl.exe!NtWaitForSingleObject+0x6a
ntoskrnl.exe!setjmpex+0x7cb8
ntdll.dll!NtWaitForSingleObject+0x14
KERNELBASE.dll!WaitForSingleObjectEx+0x8e
NotifyAnything.dll!stop_threads+0x5e
NotifyAnything.dll!CMPlugin::Unload+0x9
mir_app.mir!Plugin_Uninit+0x2d
mir_app.mir!UnloadNewPlugins+0x39
mir_app.mir!UnloadDefaultModules+0x1d
mir_app.mir!SystemShutdownProc+0x9
mir_core.mir!CallHookSubscribers+0xcf
mir_core.mir!NotifyEventHooks+0x50
mir_app.mir!mir_main+0x411
Miranda64.exe!wWinMain+0xd8
Miranda64.exe!__scrt_common_main_seh+0x106
KERNEL32.DLL!BaseThreadInitThunk+0x14
ntdll.dll!RtlUserThreadStart+0x21
 
The following users thanked this post: ghazan

Offline ghazan

Re: I can't close the miranda...
« Reply #10 on: 09 09 2021, 17:36:33 »
Havokdan,
NotifyAnything this time
ok, another step to make :)
 
The following users thanked this post: Havokdan

Offline ghazan

Re: I can't close the miranda...
« Reply #11 on: 09 09 2021, 19:41:04 »
Havokdan,
all those issues should be fixed in the dev version
 
The following users thanked this post: Havokdan

Offline Havokdan

Re: I can't close the miranda...
« Reply #12 on: 09 09 2021, 19:53:39 »
Havokdan,
all those issues should be fixed in the dev version
I returned to stable version, now without these two plugins and is ok now, but in all form I will test this development version soon, with the troublesome plugins, to see if the problem still occurs. Thanks.