Miranda NG Official Community Forum

Forum for English speaking Miranda NG users => Support/Help => Topic started by: uncajesse on 19 04 2016, 17:44:48

Title: Miranda (#16716) freezes if DNS points to IPv6 address
Post by: uncajesse on 19 04 2016, 17:44:48
I updated to the latest nightly this morning (0.95.5 alpha build #16716) and Miranda hangs/freezes when any of my protocols try to connect.

If I have them all set to Offline, I can still open the Options window. Once one (or more) tries to connect, trying to open the Options window completely hangs the contact list. Also, the protocol icons that normally spin to show they are connecting do show up but they don't spin.

The Updater plugin and CrashDumper plugins *do* still work (while using networking) however (but only before a protocol tries to connect, no way to try it after from the contact list).

VersionInfo
Quote
CPU: Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz [Intel64 Family 6 Model 30 Stepping 5] [8 CPUs]
Installed RAM: 16376 MBytes
Microsoft Windows 7 Ultimate Edition, 64-bit Service Pack 1 (build 7601)
Internet Explorer: 9.11.9600.18282 (build 99600)
Administrator privileges: Yes
OS Languages: (UI | Locale (User/System)) : English/English | English/English
Free disk space on Miranda partition: 4300 MBytes

Miranda NG Version: 0.95.5 alpha build #16716 [running inside WOW64]
Build time: 19 Apr 2016 4:04:26
Profile: C:\Miranda NG\Profiles\Jesse\Jesse.dat (dbx mmap driver)
Profile size: 69074944 Bytes
Profile creation date: 20 May 2014 23:11:32
Language pack: No language pack installed
Service Mode: No

Active Plugins (29):
¤ AdvaImg.dll v.0.11.0.2 [19 Apr 2016 4:01:14] - Miranda image services
¤ AIM.dll v.0.11.0.1 [19 Apr 2016 4:00:18] - AIM protocol
¤ AutoRun.dll v.0.1.0.1 [19 Apr 2016 4:02:38] - AutoRun
¤ AVS.dll v.0.95.3.4 [19 Apr 2016 4:00:10] - Avatar service
¤ CrashDumper.dll v.0.0.5.2 [19 Apr 2016 4:01:58] - Crash dumper
¤ CryptoPP.dll v.1.0.4.8 [19 Apr 2016 4:04:02] - Crypto++ |ANSI|
¤ Db_autobackups.dll v.0.0.0.10 [19 Apr 2016 4:00:58] - Db autobackuper
¤ DbEditorPP.dll v.4.0.1.1 [19 Apr 2016 4:02:02] - Database editor++
¤ Dbx_mmap.dll v.0.95.3.1 [19 Apr 2016 4:00:12] - Miranda NG mmap database driver
¤ Facebook.dll v.0.2.13.0 [19 Apr 2016 4:01:34] - Facebook RM
¤ Fingerprint.dll v.0.1.0.0 [19 Apr 2016 4:02:36] - Fingerprint NG
¤ HistoryPP.dll v.1.5.1.5 [15 Apr 2016 14:37:06] - History++
¤ ICQ.dll v.0.11.3.4 [19 Apr 2016 4:00:40] - IcqOscarJ protocol
¤ IgnoreState.dll v.0.0.3.0 [19 Apr 2016 4:01:02] - Ignore state
¤ Import.dll v.0.95.4.3 [19 Apr 2016 4:00:10] - Import contacts and messages
¤ Jabber.dll v.0.11.0.4 [19 Apr 2016 4:00:48] - Jabber protocol
¤ KeepStatus.dll v.0.9.0.2 [19 Apr 2016 4:01:22] - Keep status
¤ MirOTR.dll v.0.14.1.16 [19 Apr 2016 4:03:10] - Miranda OTR
¤ MSN.dll v.0.12.1.1 [19 Apr 2016 4:00:40] - MSN protocol
¤ PluginUpdater.dll v.0.1.2.5 [19 Apr 2016 4:02:14] - Plugin updater
¤ Popup.dll v.2.1.1.12 [19 Apr 2016 4:01:10] - Popup plus
¤ SmileyAdd.dll v.0.2.4.1 [19 Apr 2016 4:01:18] - SmileyAdd
¤ SpellChecker.dll v.0.2.6.3 [19 Apr 2016 4:01:54] - Spell checker
¤ StopSpamMod.dll v.0.0.2.0 [19 Apr 2016 4:02:22] - StopSpam mod
¤ TabSRMM.dll v.3.4.0.11 [19 Apr 2016 4:00:24] - TabSRMM
¤ Tipper.dll v.2.1.0.7 [19 Apr 2016 4:01:18] - Tipper
¤ TopToolBar.dll v.0.8.0.4 [19 Apr 2016 4:01:40] - TopToolBar
¤ Variables.dll v.0.2.3.11 [19 Apr 2016 4:01:38] - Variables
¤ Yahoo.dll v.0.11.0.2 [19 Apr 2016 4:00:34] - Yahoo protocol

Unloadable Plugins (1):
¤ DbChecker.dll v.0.0.0.0 [19 Apr 2016 4:02:04] - <unknown>


Protocols and Accounts:
-------------------------------------------------------------------------------
AIM                      1 - Enabled 0 - Disabled  Loaded
Facebook                 1 - Enabled 0 - Disabled  Loaded
ICQ                      1 - Enabled 0 - Disabled  Loaded
JABBER                   1 - Enabled 0 - Disabled  Loaded
MSN                      0 - Enabled 1 - Disabled  Loaded
YAHOO                    1 - Enabled 0 - Disabled  Loaded
MetaContacts             1 - Enabled 0 - Disabled  Loaded

Icon Packs:
-------------------------------------------------------------------------------
 Flags_icons.dll [19 Apr 2016 4:02:52]
 Fp_icons.dll [19 Apr 2016 4:02:36]
 HistoryPP_icons.dll [19 Apr 2016 4:02:18]
 Proto_AIM.dll [19 Apr 2016 4:01:42]
 Proto_Facebook.dll [19 Apr 2016 4:01:40]
 Proto_GG.dll [19 Apr 2016 4:01:42]
 Proto_ICQ.dll [19 Apr 2016 4:01:42]
 Proto_IRC.dll [19 Apr 2016 4:01:42]
 Proto_Jabber.dll [19 Apr 2016 4:01:42]
 Proto_MetaContacts.dll [19 Apr 2016 4:03:40]
 Proto_MSN.dll [19 Apr 2016 4:01:42]
 Proto_Yahoo.dll [19 Apr 2016 4:01:42]
 TabSRMM_icons.dll [19 Apr 2016 4:02:18]
 Toolbar_icons.dll [19 Apr 2016 4:01:44]
 xStatus_ICQ.dll [19 Apr 2016 4:00:34]
 xStatus_Jabber.dll [19 Apr 2016 4:00:36]
[close]


wWinMainCRTStartup stack
ntoskrnl.exe!KeWaitForMultipleObjects+0xc0a
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x712
ntoskrnl.exe!KeWaitForSingleObject+0x19f
ntoskrnl.exe!PoStartNextPowerIrp+0xbb4
ntoskrnl.exe!PoStartNextPowerIrp+0x185d
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x91d
ntoskrnl.exe!KeWaitForMultipleObjects+0x26a
ntoskrnl.exe!NtWaitForSingleObject+0x40f
ntoskrnl.exe!IoReportTargetDeviceChange+0x1229
ntoskrnl.exe!KeSynchronizeExecution+0x3a23
wow64cpu.dll!TurboDispatchJumpAddressEnd+0x6c0
wow64cpu.dll!TurboDispatchJumpAddressEnd+0xf5
wow64.dll!Wow64SystemServiceEx+0x1ce
wow64.dll!Wow64LdrpInitialize+0x42a
ntdll.dll!RtlUniform+0x6e6
ntdll.dll!EtwEventSetInformation+0x1da09
ntdll.dll!LdrInitializeThunk+0xe
ntdll.dll!NtWaitForMultipleObjects+0x15
kernel32.dll!WaitForMultipleObjectsEx+0x8e
Miranda32.exe!wWinMain+0x16a
[close]


Here's the stack of what's probably related to the problem, the CPU & Cycles Delta goes way up when I try to connect a protocol. In this case, it's XMPP protocol.
mir_core.mir!forkthreadex_r stack
ntoskrnl.exe!KeWaitForMultipleObjects+0xc0a
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x712
ntoskrnl.exe!KeWaitForSingleObject+0x19f
ntoskrnl.exe!PoStartNextPowerIrp+0xbb4
ntoskrnl.exe!PoStartNextPowerIrp+0x185d
ntoskrnl.exe!PoStartNextPowerIrp+0x1ad7
mir_app.mir!BindSocketToPort+0x1cd
mir_app.mir!my_connectIPv6+0x304
mir_app.mir!my_connect+0x6
mir_app.mir!NetlibDoConnect+0x82
mir_app.mir!NetlibOpenConnection+0xe4
mir_core.mir!CallService+0x58
Jabber.dll!CJabberProto::WsConnect+0x42
Jabber.dll!CJabberProto::ServerThread+0x616
mir_core.mir!forkthreadex_r+0x28
ntdll.dll!RtlInitializeExceptionChain+0x63
ntdll.dll!RtlInitializeExceptionChain+0x36
[close]


And this even though it's probably not useful.
netlog.txt
[12:27:12 0A90] Setting protocol/module name to 'AIM'
[12:27:12 0A90] Setting protocol/module name to 'ICQ'
[12:27:12 1C9C] Info-Update thread starting.
[12:27:12 0A90] [ICQ] ICQ: Protocol instance 'ICQ' created.
[12:27:12 0A90] Setting protocol/module name to 'JABBER'
[12:27:12 0A90] CAPS: set caps 36436467fdff for: http://miranda-ng.org/caps, 0.95.5.16716
[12:27:12 0A90] CAPS: set caps 100 for: http://miranda-ng.org/caps, cmds
[12:27:12 0A90] CAPS: set caps 4000000000 for: http://miranda-ng.org/caps, activity
[12:27:12 0A90] CAPS: set caps 4000000 for: http://miranda-ng.org/caps, mood
[12:27:12 0A90] CAPS: set caps 8000000000 for: http://miranda-ng.org/caps, mir_notes
[12:27:12 0A90] CAPS: set caps 6026067fcff for: http://miranda-ng.org/caps, 0.95.5.16716
[12:27:12 0A90] CAPS: set caps 100000000000 for: http://miranda-ng.org/caps, x86
[12:27:12 0A90] CAPS: set caps 200000000000 for: http://miranda-ng.org/caps, x64
[12:27:12 0A90] [Facebook_1] *** GetMyAvatar
[12:27:12 0A90] [YahooGetMyAvatar]
[12:27:12 0A90] KeepStatus: assigning status 40071 to AIM
[12:27:12 0A90] KeepStatus: assigning status 40071 to Facebook_1
[12:27:12 0A90] KeepStatus: assigning status 40071 to ICQ
[12:27:12 0A90] KeepStatus: assigning status 40071 to JABBER
[12:27:12 0A90] KeepStatus: assigning status 40071 to YAHOO
[12:27:47 0A90] [JABBER] SetAwayMsg called, wParam=40072 lParam=(null)
[12:27:47 0A90] [JABBER] PS_SETSTATUS(40072)
[12:27:47 0A90] KeepStatus: assigning status 40072 to JABBER
[12:27:47 1E58] [JABBER] Thread started: type=0
[12:27:47 0A90] [JABBER] SetAwayMsg called, wParam=40072 lParam=(null)
[12:27:47 1E58] [JABBER] Connection request to talk.google.com:5223 (Flags 0)....
[12:27:47 1E58] [JABBER] (0A0FBDA8) Connecting to server talk.google.com:5223....
[12:27:47 1E58] [JABBER] (0A0FBDA8) Connecting to ip [2607:f8b0:4003:c08::7d]:5223 ....
[close]


I tried rolling back the update from the backup (and 0.95.4 stable), and I tried several database backups from the last few days. That had no effect on the problem.

I did have a Windows Update waiting for a reboot, and rebooted this morning right before Miranda updated, so I'm thinking that could have had something to do with this. The updates that finished this morning are:
Windows updates that finished this morning, KB# list
KB3035583, KB3148198, KB3148851, KB3143693, KB3142042, KB3149090, KB2952664, KB3102433, KB3145739, KB890830, KB3146706, KB3146963, KB3157071
[close]

So far there's no problems with any other software on the system today.

[edit] corrected topic title [/edit]
Title: Re: Miranda (#16716) freezes on any protocol connecting
Post by: uncajesse on 19 04 2016, 18:58:51
Hmm... after grabbing some lunch (and catching up with breakfast) I'm noticing... Miranda is binding to an IPv6 address. How can I make it not do that? The connection also has a normal IPv4 address on it.
Title: Re: Miranda (#16716) freezes on any protocol connecting
Post by: Robyer on 19 04 2016, 20:39:34
I'm experiencing same problem for few days already. I first realized that when I was fixing FB plugin at saturday.

Windows 10, recently installed system updates too. I'm wondering what's the cause...
Title: Re: Miranda (#16716) freezes on any protocol connecting
Post by: Vulpix on 19 04 2016, 21:11:35
I'm on W10 x64 10586.164 and miranda x86 #16720, and I have no issues and I have not had any so far, so it's possible that it's caused by the new W10 update (10586.218). I'll check this.


EDIT: copied my miranda to my VM where 10586.218 (with latest updates) is, no issues. Maybe whatever this was had been fixed by the recent changes?
Title: Re: Miranda (#16716) freezes on any protocol connecting
Post by: uncajesse on 19 04 2016, 21:55:46
EDIT: copied my miranda to my VM where 10586.218 (with latest updates) is, no issues. Maybe whatever this was had been fixed by the recent changes?

Does talk.google.com (for instance) resolve to an IPv6 address on your system? It does here, 2607:f8b0:4003:c18::7d with rDNS talk.l.google.com.
Title: Re: Miranda (#16716) freezes if DNS points to IPv6 address
Post by: Robyer on 20 04 2016, 07:11:13
Maybe whatever this was had been fixed by the recent changes?
Yeah, it seems fixed in build from yesterday/today. I hope.
Title: Re: Miranda (#16716) freezes if DNS points to IPv6 address
Post by: uncajesse on 20 04 2016, 15:30:25
Not fixed here
VersionInfo
Quote
CPU: Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz [Intel64 Family 6 Model 30 Stepping 5] [8 CPUs]
Installed RAM: 16376 MBytes
Microsoft Windows 7 Ultimate Edition, 64-bit Service Pack 1 (build 7601)
Internet Explorer: 9.11.9600.18282 (build 99600)
Administrator privileges: Yes
OS Languages: (UI | Locale (User/System)) : English/English | English/English
Free disk space on Miranda partition: 3262 MBytes

Miranda NG Version: 0.95.5 alpha build #16721 [running inside WOW64]
Build time: 20 Apr 2016 4:04:24
Profile: C:\Miranda NG\Profiles\Jesse\Jesse.dat (dbx mmap driver)
Profile size: 69074944 Bytes
Profile creation date: 20 May 2014 23:11:32
Language pack: No language pack installed
Service Mode: No

Active Plugins (29):
¤ AdvaImg.dll v.0.11.0.2 [19 Apr 2016 4:01:14] - Miranda image services
¤ AIM.dll v.0.11.0.1 [20 Apr 2016 4:00:24] - AIM protocol
¤ AutoRun.dll v.0.1.0.1 [19 Apr 2016 4:02:38] - AutoRun
¤ AVS.dll v.0.95.3.4 [20 Apr 2016 4:00:12] - Avatar service
¤ CrashDumper.dll v.0.0.5.2 [19 Apr 2016 4:01:58] - Crash dumper
¤ CryptoPP.dll v.1.0.4.8 [19 Apr 2016 4:04:02] - Crypto++ |ANSI|
¤ Db_autobackups.dll v.0.0.0.10 [19 Apr 2016 4:00:58] - Db autobackuper
¤ DbEditorPP.dll v.4.0.1.1 [19 Apr 2016 4:02:02] - Database editor++
¤ Dbx_mmap.dll v.0.95.3.1 [20 Apr 2016 4:00:14] - Miranda NG mmap database driver
¤ Facebook.dll v.0.2.13.0 [19 Apr 2016 4:01:34] - Facebook RM
¤ Fingerprint.dll v.0.1.0.0 [19 Apr 2016 4:02:36] - Fingerprint NG
¤ HistoryPP.dll v.1.5.1.5 [15 Apr 2016 14:37:06] - History++
¤ ICQ.dll v.0.11.3.4 [19 Apr 2016 4:00:40] - IcqOscarJ protocol
¤ IgnoreState.dll v.0.0.3.0 [19 Apr 2016 4:01:02] - Ignore state
¤ Import.dll v.0.95.4.3 [19 Apr 2016 4:00:10] - Import contacts and messages
¤ Jabber.dll v.0.11.0.4 [20 Apr 2016 4:00:38] - Jabber protocol
¤ KeepStatus.dll v.0.9.0.2 [19 Apr 2016 4:01:22] - Keep status
¤ MirOTR.dll v.0.14.1.16 [19 Apr 2016 4:03:10] - Miranda OTR
¤ MSN.dll v.0.12.1.1 [19 Apr 2016 4:00:40] - MSN protocol
¤ PluginUpdater.dll v.0.1.2.5 [19 Apr 2016 4:02:14] - Plugin updater
¤ Popup.dll v.2.1.1.12 [19 Apr 2016 4:01:10] - Popup plus
¤ SmileyAdd.dll v.0.2.4.1 [19 Apr 2016 4:01:18] - SmileyAdd
¤ SpellChecker.dll v.0.2.6.3 [19 Apr 2016 4:01:54] - Spell checker
¤ StopSpamMod.dll v.0.0.2.0 [19 Apr 2016 4:02:22] - StopSpam mod
¤ TabSRMM.dll v.3.4.0.11 [19 Apr 2016 4:00:24] - TabSRMM
¤ Tipper.dll v.2.1.0.7 [20 Apr 2016 4:01:20] - Tipper
¤ TopToolBar.dll v.0.8.0.4 [19 Apr 2016 4:01:40] - TopToolBar
¤ Variables.dll v.0.2.3.11 [19 Apr 2016 4:01:38] - Variables
¤ Yahoo.dll v.0.11.0.2 [19 Apr 2016 4:00:34] - Yahoo protocol

Unloadable Plugins (1):
¤ DbChecker.dll v.0.0.0.0 [20 Apr 2016 4:02:04] - <unknown>


Protocols and Accounts:
-------------------------------------------------------------------------------
AIM                      1 - Enabled 0 - Disabled  Loaded
Facebook                 1 - Enabled 0 - Disabled  Loaded
ICQ                      1 - Enabled 0 - Disabled  Loaded
JABBER                   1 - Enabled 0 - Disabled  Loaded
MSN                      0 - Enabled 1 - Disabled  Loaded
YAHOO                    1 - Enabled 0 - Disabled  Loaded
MetaContacts             1 - Enabled 0 - Disabled  Loaded

Icon Packs:
-------------------------------------------------------------------------------
 Flags_icons.dll [19 Apr 2016 4:02:52]
 Fp_icons.dll [19 Apr 2016 4:02:36]
 HistoryPP_icons.dll [19 Apr 2016 4:02:18]
 Proto_AIM.dll [20 Apr 2016 4:01:40]
 Proto_Facebook.dll [19 Apr 2016 4:01:40]
 Proto_GG.dll [19 Apr 2016 4:01:42]
 Proto_ICQ.dll [19 Apr 2016 4:01:42]
 Proto_IRC.dll [19 Apr 2016 4:01:42]
 Proto_Jabber.dll [20 Apr 2016 4:01:42]
 Proto_MetaContacts.dll [20 Apr 2016 4:03:36]
 Proto_MSN.dll [19 Apr 2016 4:01:42]
 Proto_Yahoo.dll [19 Apr 2016 4:01:42]
 TabSRMM_icons.dll [19 Apr 2016 4:02:18]
 Toolbar_icons.dll [20 Apr 2016 4:01:42]
 xStatus_ICQ.dll [19 Apr 2016 4:00:34]
 xStatus_Jabber.dll [20 Apr 2016 4:00:38]
[close]
but I'm going to try the 3 Windows updates that I see this morning, before I start uninstalling the updates from yesterday one by one.

One of today's Winddows updates... "This update improves the reliability of Journal.dll by removing unused code." ... no comment.  :D
Title: Re: Miranda (#16716) freezes if DNS points to IPv6 address
Post by: uncajesse on 10 05 2016, 01:15:37
Sorry to reply so late. I tried rolling back those updates. It didn't fix the problem.

I would think there's a way to specify to whatever API that Miranda specifically wants an IPv4 address from it?

Or is Miranda normally able to work with IPv6 and the bug is something else related?

For what it's worth... I'm able to connect to ICQ, which my dns server resolves to an IPv4 address (and I'm guessing doesn't try to connect to any other IPv6 addresses while logging in). But I have to wait till it connects, or else it'll freeze if I go to the Options while it's connecting.
Title: Re: Miranda (#16716) freezes if DNS points to IPv6 address
Post by: uncajesse on 10 05 2016, 01:20:25
I just noticed that this other topic was started within a day of mine and within a few build numbers. Could this somehow be related?

"Last Dev builds fail connecting through proxy"
http://forum.miranda-ng.org/index.php?topic=4601.0
Title: Re: Miranda (#16716) freezes if DNS points to IPv6 address
Post by: Robyer on 10 05 2016, 07:37:33
Do you still have this freezing problem with latest build? Mentioned proxy issue was fixed.
Title: Re: Miranda (#16716) freezes if DNS points to IPv6 address
Post by: uncajesse on 11 05 2016, 22:49:23
Still not connecting, and going to options freezes the contact list.

Only ICQ does connect. Yahoo, Jabber, Facebook doesn't. I should probably disable the AIM plugin for now too.

Yahoo does show a tiny bit of network traffic in process explorer, but then stops. None of the others show any traffic in process explorer. (obviously a pcap would be better, in case process explorer doesn't show DNS requests)

Of course there's the possibility that this isn't IPv6 related.  :-\

VersionInfo
Quote
CPU: Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz [Intel64 Family 6 Model 30 Stepping 5] [8 CPUs]
Installed RAM: 16376 MBytes
Microsoft Windows 7 Ultimate Edition, 64-bit Service Pack 1 (build 7601)
Internet Explorer: 9.11.9600.18282 (build 99600)
Administrator privileges: Yes
OS Languages: (UI | Locale (User/System)) : English/English | English/English
Free disk space on Miranda partition: 2853 MBytes

Miranda NG Version: 0.95.5 alpha build #16816 [running inside WOW64]
Build time: 11 May 2016 4:04:18
Profile: C:\Miranda NG\Profiles\Jesse\Jesse.dat (dbx mmap driver)
Profile size: 69074944 Bytes
Profile creation date: 20 May 2014 23:11:32
Language pack: No language pack installed
Service Mode: No

Active Plugins (29):
¤ AdvaImg.dll v.0.11.0.2 [19 Apr 2016 4:01:14] - Miranda image services
¤ AIM.dll v.0.11.0.1 [30 Apr 2016 4:00:16] - AIM protocol
¤ AutoRun.dll v.0.1.0.1 [19 Apr 2016 4:02:38] - AutoRun
¤ AVS.dll v.0.95.3.4 [8 May 2016 4:00:10] - Avatar service
¤ CrashDumper.dll v.0.0.5.2 [19 Apr 2016 4:01:58] - Crash dumper
¤ CryptoPP.dll v.1.0.4.8 [19 Apr 2016 4:04:02] - Crypto++ |ANSI|
¤ Db_autobackups.dll v.0.0.0.10 [19 Apr 2016 4:00:58] - Db autobackuper
¤ DbEditorPP.dll v.4.0.1.1 [30 Apr 2016 4:01:56] - Database editor++
¤ Dbx_mmap.dll v.0.95.3.1 [11 May 2016 4:00:10] - Miranda NG mmap database driver
¤ Facebook.dll v.0.2.13.1 [22 Apr 2016 11:34:24] - Facebook RM
¤ Fingerprint.dll v.0.1.0.0 [19 Apr 2016 4:02:36] - Fingerprint NG
¤ HistoryPP.dll v.1.5.1.5 [26 Apr 2016 17:55:10] - History++
¤ ICQ.dll v.0.11.3.4 [30 Apr 2016 4:00:28] - IcqOscarJ protocol
¤ IgnoreState.dll v.0.0.3.0 [19 Apr 2016 4:01:02] - Ignore state
¤ Import.dll v.0.95.4.3 [19 Apr 2016 4:00:10] - Import contacts and messages
¤ Jabber.dll v.0.11.0.4 [30 Apr 2016 4:00:38] - Jabber protocol
¤ KeepStatus.dll v.0.9.0.2 [30 Apr 2016 4:01:14] - Keep status
¤ MirOTR.dll v.0.14.1.16 [19 Apr 2016 4:03:10] - Miranda OTR
¤ MSN.dll v.0.12.1.1 [19 Apr 2016 4:00:40] - MSN protocol
¤ PluginUpdater.dll v.0.1.2.5 [19 Apr 2016 4:02:14] - Plugin updater
¤ Popup.dll v.2.1.1.12 [19 Apr 2016 4:01:10] - Popup plus
¤ SmileyAdd.dll v.0.2.4.1 [4 May 2016 4:01:16] - SmileyAdd
¤ SpellChecker.dll v.0.2.6.3 [19 Apr 2016 4:01:54] - Spell checker
¤ StopSpamMod.dll v.0.0.2.0 [19 Apr 2016 4:02:22] - StopSpam mod
¤ TabSRMM.dll v.3.4.0.11 [30 Apr 2016 4:00:22] - TabSRMM
¤ Tipper.dll v.2.1.0.7 [8 May 2016 4:01:20] - Tipper
¤ TopToolBar.dll v.0.8.0.4 [19 Apr 2016 4:01:40] - TopToolBar
¤ Variables.dll v.0.2.3.11 [30 Apr 2016 4:01:32] - Variables
¤ Yahoo.dll v.0.11.0.2 [19 Apr 2016 4:00:34] - Yahoo protocol

Unloadable Plugins (1):
¤ DbChecker.dll v.0.0.0.0 [11 May 2016 4:02:02] - <unknown>


Protocols and Accounts:
-------------------------------------------------------------------------------
AIM                      1 - Enabled 0 - Disabled  Loaded
Facebook                 1 - Enabled 0 - Disabled  Loaded
ICQ                      1 - Enabled 0 - Disabled  Loaded
JABBER                   1 - Enabled 0 - Disabled  Loaded
MSN                      0 - Enabled 1 - Disabled  Loaded
YAHOO                    1 - Enabled 0 - Disabled  Loaded
MetaContacts             1 - Enabled 0 - Disabled  Loaded

Icon Packs:
-------------------------------------------------------------------------------
 Flags_icons.dll [19 Apr 2016 4:02:52]
 Fp_icons.dll [19 Apr 2016 4:02:36]
 HistoryPP_icons.dll [30 Apr 2016 4:02:16]
 Proto_AIM.dll [30 Apr 2016 4:01:36]
 Proto_Facebook.dll [22 Apr 2016 11:34:26]
 Proto_GG.dll [19 Apr 2016 4:01:42]
 Proto_ICQ.dll [30 Apr 2016 4:01:36]
 Proto_IRC.dll [19 Apr 2016 4:01:42]
 Proto_Jabber.dll [30 Apr 2016 4:01:36]
 Proto_MetaContacts.dll [11 May 2016 4:03:36]
 Proto_MSN.dll [19 Apr 2016 4:01:42]
 Proto_Yahoo.dll [19 Apr 2016 4:01:42]
 TabSRMM_icons.dll [30 Apr 2016 4:02:16]
 Toolbar_icons.dll [8 May 2016 4:01:44]
 xStatus_ICQ.dll [30 Apr 2016 4:00:30]
 xStatus_Jabber.dll [30 Apr 2016 4:00:32]
[close]


Here's the shortest of the call stack that shows up almost all the time, only the offset for "mir_app.mir!Clist_GroupDelete+0x[whatever]" changes for these.

mir_core.mir!Thread_Push+0xbb call stack
ntoskrnl.exe!KeWaitForMultipleObjects+0xc0a
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x712
ntoskrnl.exe!KeWaitForSingleObject+0x19f
ntoskrnl.exe!PoStartNextPowerIrp+0xbb4
ntoskrnl.exe!PoStartNextPowerIrp+0x185d
ntoskrnl.exe!PoStartNextPowerIrp+0x1ad7
mir_app.mir!Clist_GroupDelete+0x10260
mir_app.mir!GetPluginLangId+0x45c0
mir_app.mir!GetPluginLangId+0x48c3
mir_app.mir!GetPluginLangId+0x5038
Jabber.dll+0xbef2
Jabber.dll+0x1840d
mir_core.mir!Thread_Push+0xe3
[close]


But sometimes it's different. More often than other changes, there's Winsock calls just below (in the list) Clist_GroupDelete.

There's other times the stack is showing exception & error related calls...

mir_core.mir!Thread_Push+0xbb call stack
ntoskrnl.exe!KeWaitForMultipleObjects+0xc0a
kernel32.dll!SetLastError
MSVCR100.dll!wcsnlen+0x3af
MSVCR100.dll!strtol+0x23
kernel32.dll!SetLastError
MSVCR100.dll!_wcsnicoll+0x3d
MSVCR100.dll!strtol+0x23
mir_app.mir!Clist_GroupDelete+0x10162
mir_app.mir!GetPluginLangId+0x45c0
mir_app.mir!GetPluginLangId+0x48c3
mir_app.mir!GetPluginLangId+0x5038
mir_app.mir!GetPluginLangId+0x8c86
mir_core.mir!CallService+0x58
ntdll.dll!RtlInitUnicodeString+0x164
ntdll.dll!RtlDosApplyFileIsolationRedirection_Ustr+0x435
mir_core.mir!Thread_Push+0xe3
kernel32.dll!BaseThreadInitThunk+0x12
ntdll.dll!RtlInitializeExceptionChain+0x63
ntdll.dll!RtlInitializeExceptionChain+0x36
[close]


mir_core.mir!Thread_Push+0xbb call stack
ntoskrnl.exe!KeWaitForMultipleObjects+0xc0a
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x712
ntoskrnl.exe!KeWaitForSingleObject+0x19f
ntoskrnl.exe!PoStartNextPowerIrp+0xbb4
ntoskrnl.exe!PoStartNextPowerIrp+0x185d
ntoskrnl.exe!PoStartNextPowerIrp+0x1ad7
mir_app.mir!Clist_GroupDelete+0x10260
mir_app.mir!GetPluginLangId+0x45c0
mir_app.mir!GetPluginLangId+0x48c3
mir_app.mir!GetPluginLangId+0x5038
mir_app.mir!GetPluginLangId+0x8c86
mir_core.mir!CallService+0x58
ntdll.dll!RtlInitUnicodeString+0x164
ntdll.dll!RtlDosApplyFileIsolationRedirection_Ustr+0x435
mir_core.mir!Thread_Push+0xe3
kernel32.dll!BaseThreadInitThunk+0x12
ntdll.dll!RtlInitializeExceptionChain+0x63
ntdll.dll!RtlInitializeExceptionChain+0x36
[close]


mir_core.mir!Thread_Push+0xbb call stack
ntoskrnl.exe!KeWaitForMultipleObjects+0xc0a
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x712
ntoskrnl.exe!KeWaitForSingleObject+0x19f
ntoskrnl.exe!PoStartNextPowerIrp+0xbb4
ntoskrnl.exe!PoStartNextPowerIrp+0x185d
ntoskrnl.exe!PoStartNextPowerIrp+0x1ad7
MSVCR100.dll!_wcsnicoll+0xe8
MSVCR100.dll!strtol+0x23
mir_app.mir!Clist_GroupDelete+0x10191
mir_app.mir!GetPluginLangId+0x45c0
mir_app.mir!GetPluginLangId+0x48c3
mir_app.mir!GetPluginLangId+0x5038
mir_app.mir!GetPluginLangId+0x8c86
mir_core.mir!CallService+0x58
ntdll.dll!RtlInitUnicodeString+0x164
ntdll.dll!RtlDosApplyFileIsolationRedirection_Ustr+0x435
mir_core.mir!Thread_Push+0xe3
kernel32.dll!BaseThreadInitThunk+0x12
ntdll.dll!RtlInitializeExceptionChain+0x63
ntdll.dll!RtlInitializeExceptionChain+0x36
[close]


mir_core.mir!Thread_Push+0xbb call stack
ntoskrnl.exe!KeWaitForMultipleObjects+0xc0a
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x712
ntoskrnl.exe!KeWaitForSingleObject+0x19f
ntoskrnl.exe!PoStartNextPowerIrp+0xbb4
ntoskrnl.exe!PoStartNextPowerIrp+0x185d
ntoskrnl.exe!PoStartNextPowerIrp+0x1ad7
MSVCR100.dll!_getptd+0x77
MSVCR100.dll!_wcsnicoll+0x3d
MSVCR100.dll!_getptd+0x77
MSVCR100.dll!_wcsnicoll+0x3d
MSVCR100.dll!strtol+0x23
mir_app.mir!Clist_GroupDelete+0x10191
mir_app.mir!GetPluginLangId+0x45c0
mir_app.mir!GetPluginLangId+0x48c3
mir_app.mir!GetPluginLangId+0x5038
mir_app.mir!GetPluginLangId+0x8c86
mir_core.mir!CallService+0x58
ntdll.dll!RtlInitUnicodeString+0x164
ntdll.dll!RtlDosApplyFileIsolationRedirection_Ustr+0x435
mir_core.mir!Thread_Push+0xe3
kernel32.dll!BaseThreadInitThunk+0x12
ntdll.dll!RtlInitializeExceptionChain+0x63
ntdll.dll!RtlInitializeExceptionChain+0x36
[close]


mir_core.mir!Thread_Push+0xbb call stack
ntoskrnl.exe!KeWaitForMultipleObjects+0xc0a
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x712
ntoskrnl.exe!KeWaitForSingleObject+0x19f
ntoskrnl.exe!PoStartNextPowerIrp+0xbb4
ntoskrnl.exe!PoStartNextPowerIrp+0x185d
ntoskrnl.exe!PoStartNextPowerIrp+0x1ad7
MSVCR100.dll!_fcloseall+0x1716
MSVCR100.dll!strtol+0x23
mir_app.mir!Clist_GroupDelete+0x10191
mir_app.mir!GetPluginLangId+0x45c0
mir_app.mir!GetPluginLangId+0x48c3
mir_app.mir!GetPluginLangId+0x5038
mir_app.mir!GetPluginLangId+0x8c86
mir_core.mir!CallService+0x58
ntdll.dll!RtlInitUnicodeString+0x164
ntdll.dll!RtlDosApplyFileIsolationRedirection_Ustr+0x435
mir_core.mir!Thread_Push+0xe3
kernel32.dll!BaseThreadInitThunk+0x12
ntdll.dll!RtlInitializeExceptionChain+0x63
ntdll.dll!RtlInitializeExceptionChain+0x36
[close]


This one has the CList_GroupDelete closer to the top...

mir_core.mir!Thread_Push+0xbb call stack
ntoskrnl.exe!KeWaitForMultipleObjects+0xc0a
ntoskrnl.exe!ExfReleasePushLock+0x900
ntoskrnl.exe!PoStartNextPowerIrp+0x331
mir_app.mir!Clist_GroupDelete+0x10277
mir_app.mir!GetPluginLangId+0x45c0
mir_app.mir!GetPluginLangId+0x48c3
mir_app.mir!GetPluginLangId+0x5038
mir_app.mir!GetPluginLangId+0x8c86
mir_core.mir!CallService+0x58
ntdll.dll!RtlInitUnicodeString+0x164
ntdll.dll!RtlDosApplyFileIsolationRedirection_Ustr+0x435
mir_core.mir!Thread_Push+0xe3
kernel32.dll!BaseThreadInitThunk+0x12
ntdll.dll!RtlInitializeExceptionChain+0x63
ntdll.dll!RtlInitializeExceptionChain+0x36
[close]



Hopefully that's enough to see a pattern that catches someone's attention. If you need I can clean up a copy of my database and just remove the Contacts and the personal info from the protocol tables.
Title: Re: Miranda (#16716) freezes if DNS points to IPv6 address
Post by: Robyer on 06 07 2016, 12:55:36
You should try new clean Miranda profile if you experience freezes after opening options.
Title: Re: Miranda (#16716) freezes if DNS points to IPv6 address
Post by: uncajesse on 07 07 2016, 05:10:06
I did that, and only imported contacts and history, NOT settings, and almost the same thing happens. The animated spinning connection icons (which aren't the same i was using but still animate/spin) actually stay animated now. But nothing ever connects, and it still freezes when I go to the options window (which never actually displays btw).

Using the latest nightly.

Is there a way to import the contacts and history but not the accounts, and then re-associate the contacts/history with new recreations of the accounts? Assuming it's worth trying that, if it's possible something in every single account section is causing this.
Title: Re: Miranda (#16716) freezes if DNS points to IPv6 address
Post by: Robyer on 07 07 2016, 05:45:14
uncajesse, did you tried really clean profile without importing anything and manually creating your new accounts? It might be contact's or history data, that is somehow broken. Can you open options in completely clean profile without accounts or anything? Can you connect to single protocol you newly create?

You need to really separate the causes of this issue. You should even try completely clean basic Miranda - without any additional plugin (just the installer/zip package with core plugins). Try everything on clean Miranda. If it works, then keep adding your plugins until it breaks.