Author Topic: Miranda NG process hangs after exiting  (Read 2897 times)

0 Members and 1 Guest are viewing this topic.

Offline riki

Miranda NG process hangs after exiting
« on: 03 05 2019, 10:54:27 »
Hello, this is not a major problem but something like a little worry or nuisance.

When I exit Miranda - either by menu exit or implicitly when restarting after an update, the window closes OK and the tray icon disappears as expected, but Windows task manager shows the process still there. This means Miranda can't get restarted until I kill that process.

This doesn't happen all the time - I'd say about it's about 50/50.

What diagnostic info can I provide to help pinpoint the problem?

VersionInfo
Quote
CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz [x86 Family 6 Model 15 Stepping 11] [DEP Enabled] [4 CPUs]
Installed RAM: 3327 MBytes
Microsoft Windows XP Professional Service Pack 3 (build 2600)
Internet Explorer: 8.0.6001.18702 (build 86001)
Administrator privileges: Yes
OS Languages: (UI | Locale (User/System)) : English/English | English/English
Free disk space on Miranda partition: 331144 MBytes

Miranda NG Version: 0.95.11 alpha build #21793 (37688aac67)
Build time: 3 May 2019 2:00:34
Profile: C:\Documents and Settings\User\Application Data\Miranda\Profiles\user\user.dat
Profile size: 204181504 Bytes
Profile creation date: 16 Oct 2018 19:14:32
Language pack: No language pack installed
Service Mode: No

Active Plugins (40):
¤ Alarms.dll v.0.4.0.6 [25 Apr 2019 13:10:00] - Alarms
¤ AuthState.dll v.0.0.2.1 [25 Apr 2019 13:09:44] - Authorization state
¤ AvatarHistory.dll v.0.1.0.2 [25 Apr 2019 13:10:24] - Avatar history
¤ AVS.dll v.0.98.1.1 [3 May 2019 2:00:38] - Avatar service
¤ Clist_nicer.dll v.0.9.3.2 [25 Apr 2019 13:09:48] - Clist nicer
¤ Cln_skinedit.dll v.0.0.0.4 [25 Apr 2019 13:09:44] - Skin editor for Clist nicer
¤ CmdLine.dll v.0.1.0.1 [25 Apr 2019 13:10:06] - Command line
¤ CrashDumper.dll v.0.1.0.3 [25 Apr 2019 13:10:10] - Crash dumper
¤ Db_autobackups.dll v.0.1.0.3 [3 May 2019 2:00:42] - Db autobackuper
¤ DbEditorPP.dll v.4.0.1.2 [25 Apr 2019 13:10:10] - Database editor++
¤ Dbx_mdbx.dll v.0.95.9.1 [3 May 2019 2:01:56] - Miranda NG MDBX database driver
¤ Dbx_mmap.dll v.0.95.8.1 [3 May 2019 2:00:36] - Miranda NG mmap database driver
¤ Dbx_sqlite.dll v.0.95.10.2 [25 Apr 2019 13:10:52] - Miranda NG SQLite database driver
¤ Dummy.dll v.0.2.0.0 [3 May 2019 2:01:30] - Dummy protocol
¤ Facebook.dll v.0.4.2.1 [25 Apr 2019 13:10:16] - Facebook
¤ historypp.dll v.1.5.1.5 [12 Apr 2019 16:55:00] - History++
¤ ICQ.dll v.0.95.11.4 [30 Apr 2019 13:52:06] - ICQ-WIM protocol
¤ IEView.dll v.1.6.0.2 [25 Apr 2019 13:09:54] - IEView
¤ Import.dll v.0.95.10.1 [3 May 2019 2:00:52] - Import contacts and messages
¤ IRC.dll v.0.95.10.1 [25 Apr 2019 13:09:46] - IRC protocol
¤ MenuEx.dll v.1.3.2.0 [25 Apr 2019 13:09:52] - Menu item ext
¤ MirLua.dll v.0.11.9.1 [25 Apr 2019 13:10:56] - MirLua
¤ MirOTR.dll v.0.14.2.1 [25 Apr 2019 13:11:06] - Miranda OTR
¤ Msg_Export.dll v.3.1.2.3 [25 Apr 2019 13:10:16] - Message export
¤ MSN.dll v.0.95.11.1 [25 Apr 2019 13:10:18] - MSN protocol
¤ MyDetails.dll v.0.0.1.12 [3 May 2019 2:01:08] - My details
¤ NotesReminders.dll v.0.2.0.4 [25 Apr 2019 13:10:52] - Sticky Notes & Reminders
¤ PluginUpdater.dll v.0.2.0.3 [2 May 2019 12:38:14] - Plugin updater
¤ QuickSearch.dll v.1.4.2.0 [12 Apr 2019 16:54:58] - Quick Search
¤ RecentContacts.dll v.0.1.0.3 [25 Apr 2019 13:10:02] - Recent contacts
¤ Restart.dll v.0.0.6.0 [25 Apr 2019 13:10:12] - Restart
¤ Scriver.dll v.3.0.1.10 [25 Apr 2019 13:09:46] - Scriver
¤ SeenPlugin.dll v.5.0.5.4 [25 Apr 2019 13:09:56] - Last seen
¤ SmileyAdd.dll v.0.3.1.1 [25 Apr 2019 13:10:02] - SmileyAdd
¤ StatusManager.dll v.1.2.0.5 [25 Apr 2019 13:10:46] - Status manager
¤ TopToolBar.dll v.0.8.0.5 [25 Apr 2019 13:10:02] - TopToolBar
¤ Twitter.dll v.1.3.0.2 [25 Apr 2019 13:10:14] - Twitter protocol
¤ UserGuide.dll v.0.0.0.1 [25 Apr 2019 13:09:58] - User guide
¤ Variables.dll v.0.2.3.11 [25 Apr 2019 13:10:06] - Variables
¤ ZeroSwitch.dll v.1.0.0.1 [25 Apr 2019 13:10:40] - Zero switch

Protocols and Accounts:
-------------------------------------------------------------------------------
Facebook                 1 - Enabled 0 - Disabled  Loaded
ICQ                      1 - Enabled 0 - Disabled  Loaded
IRC                      1 - Enabled 0 - Disabled  Loaded
MSN                      3 - Enabled 0 - Disabled  Loaded
WhatsApp                 0 - Enabled 1 - Disabled  Loaded
YAHOO                    1 - Enabled 0 - Disabled  Loaded

Icon Packs:
-------------------------------------------------------------------------------
 C6_icons_aoxsetiii.dll [5 Sep 2018 10:26:10]
 Flags_icons.dll [5 Sep 2018 10:26:10]
 Fp_icons.dll [7 Feb 2019 13:23:44]
 HistoryPP_icons.dll [12 Apr 2019 16:54:56]
 jabber_xstatus.dll [5 Sep 2018 10:26:10]
 Proto_AIM.dll [5 Sep 2018 10:26:10]
 proto_conn_facebook.dll [5 Sep 2018 10:26:10]
 Proto_Dropbox.dll [5 Sep 2018 10:26:10]
 Proto_Dummy.dll [3 May 2019 2:02:20]
 Proto_Facebook.dll [25 Apr 2019 13:11:12]
 Proto_GG.dll [25 Apr 2019 13:11:12]
 Proto_ICQ.dll [30 Apr 2019 13:52:28]
 Proto_IRC.dll [25 Apr 2019 13:11:12]
 Proto_Jabber.dll [25 Apr 2019 13:11:12]
 Proto_MetaContacts.dll [3 May 2019 2:02:20]
 Proto_MRA.dll [30 Apr 2019 13:52:28]
 Proto_MSN.dll [25 Apr 2019 13:11:12]
 Proto_Twitter.dll [25 Apr 2019 13:11:14]
 Proto_WhatsApp.dll [5 Sep 2018 10:26:10]
 Proto_Yahoo.dll [5 Sep 2018 10:26:10]
 round_msn_full.dll [5 Sep 2018 10:26:10]
 TabSRMM_icons.dll [25 Apr 2019 13:11:14]
 Toolbar_icons.dll [3 May 2019 2:02:20]
 xStatus_Jabber.dll [25 Apr 2019 13:11:14]
[close]
 

Offline AnrDaemon

Re: Miranda NG process hangs after exiting
« Reply #1 on: 04 05 2019, 07:24:21 »
I've seen this happen when popup is stuck displaying, but not dismissed correctly.
 

Offline riki

Re: Miranda NG process hangs after exiting
« Reply #2 on: 04 05 2019, 17:55:08 »
Which popup? It appears to happen at random here.

By the way, do you know if there are changelogs? I use updater regularly (daily), and it would be interesting to know what the updates are about.

EDIT - I see there are changelogs on site, but for stable versions only.
« Last Edit: 07 05 2019, 16:26:26 by riki »
 

Offline dartraiden

Re: Miranda NG process hangs after exiting
« Reply #3 on: 08 05 2019, 18:31:11 »
I periodically copy important commits messages and make a beautiful changelog just before the release

Also you can subscribe by RSS or via Twitter.
 

Offline ghazan

Re: Miranda NG process hangs after exiting
« Reply #4 on: 08 05 2019, 18:31:36 »
riki,
make a network log and paste ~20 trailing lines of it here, if it contains words like 'Killing thread...'
 

Offline riki

Re: Miranda NG process hangs after exiting
« Reply #5 on: 18 05 2019, 11:46:16 »
As usual, thanks  @ghazan for the helpful proposal. I still haven't been able to produce such a log.

Apparently, the problem is that when the process hangs, it does so before being able to commit the "Killing thread..." lines to the log. When Miranda closes gracefully, I find these lines in the log. But when it hangs, the log stops before that. I'm still turning on the log each time I shutdown/restart Miranda, so if I fish anything I'll do as you suggested.

Thanks again!
 

Offline ghazan

Re: Miranda NG process hangs after exiting
« Reply #6 on: 22 05 2019, 10:33:12 »
riki,
if Miranda hangs completely before writing these lines, you can use Process Explorer to debug this issue, as described in the Wiki:
https://wiki.miranda-ng.org/index.php?title=Using_Process_Explorer_as_the_debugging_tool

of course, to create a valuable report, you need to have fresh debug symbols for your Miranda (switch to the repo with symbols in Plugin Updater)
 

Offline riki

Re: Miranda NG process hangs after exiting
« Reply #7 on: 31 05 2019, 11:46:20 »
I'm on it, updated to version with debug symbols since you replied, but the half dozen times I closed Miranda since then, everything closed nicely. It seems as if Miranda knows you're watching, so it behaves  ;D
Thanks @ghazan!