mIRC Homepage
Posted By: cgfiend 7.63 crashing intermittently. - 31/08/20 03:31 PM
I'm using Windows 10 64-bit, 16gb of RAM. For some reason, mIRC crashes intermittently. It can go for hours or minutes between crashes. There's no indication, no error message showing up in the status logs. It just closes itself. Are there any known issues? Is there anything I can do to log said crashes or provide more info?
Posted By: maroon Re: 7.63 crashing intermittently. - 31/08/20 03:54 PM
The only similar issue I've seen lately is https://forums.mirc.com/ubbthreads.php/topics/267529/mirc-7-62-and-previous-betas-crashing
which was reported only in Win7 in v7.62, and 7.63 seemed to fix it. Which was the most recent version where you did not have this problem?

One thing you can check is to confirm that your 7.63's installer and mirc.exe itself have valid digital signatures. Under 7.63 I get the following result:

Code
//echo -a $version $file($mircexe).sig $beta $hmac($mircexe,2)

7.63 ok 05ab7ff1607621b3a990ebcb402d86ea79cee379
Posted By: KindOne Re: 7.63 crashing intermittently. - 31/08/20 03:55 PM
Can you see if mIRC is leaving anything in the Event Logs?

https://www.isunshare.com/windows-10/6-ways-to-open-event-viewer-in-windows-10.html

Once you have Event Viewer opened, on the treebar on the left side: Event Viewer -> Windows Logs -> Application

Scroll thought it and in the "Level" section, look for "Error", click those and look for the ones with mIRC.


You should see some stuff like this "Faulting application name: mirc.exe, version:". (like here).

Paste that info here.


Can you run this and paste the contents here:

Code
//echo -a $os $version $beta $md5($mircexe,2) $file($mircexe).sig $alias(0) $script(0) $dll(0) $com(0)
Posted By: cgfiend Re: 7.63 crashing intermittently. - 31/08/20 06:23 PM
Application Errors:

Faulting application name: mirc.exe, version: 7.63.0.0, time stamp: 0x5f3a5b91
Faulting module name: ntdll.dll, version: 10.0.18362.815, time stamp: 0x2995af02
Exception code: 0xc0000374
Fault offset: 0x000dfa1d
Faulting process id: 0x7ab0
Faulting application start time: 0x01d67e3667e111a5
Faulting application path: C:\Program Files (x86)\mIRC\mirc.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 48d1a69e-8a73-4752-a319-d5c362869c86
Faulting package full name:
Faulting package-relative application ID:

Application Hang:

The program mirc.exe version 7.63.0.0 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel.
Process ID: 7fcc
Start Time: 01d67f1cecd8bda6
Termination Time: 4294967295
Application Path: C:\Program Files (x86)\mIRC\mirc.exe
Report Id: 0b00bf4b-7006-4141-9d21-85d1f25b9b80
Faulting package full name:
Faulting package-relative application ID:
Hang type: Top level window is idle

Quote
//echo -a $version $file($mircexe).sig $beta $hmac($mircexe,2)

7.63 ok 3af2b5380b699947584afdb97e915460ea51aedf

Quote
//echo -a $os $version $beta $md5($mircexe,2) $file($mircexe).sig $alias(0) $script(0) $dll(0) $com(0)

10 7.63 9ff6317dc5ce1528da51f2f7af29c62f ok 1 1 0 0

I found this link pertaining to Heap Corruption for 0xc0000374.
https://docs.microsoft.com/en-us/archive/blogs/calvin_hsia/heap-corruption-exception-0xc0000374

Now I suppose it's possible that a couple scripts I'm using from 2003 and 2006 could be causing issue. I unloaded them to see if I still get crashes. I used them all the time back in the day without issue. I'll update the thread as soon as I know for sure.
Posted By: Sat Re: 7.63 crashing intermittently. - 31/08/20 07:18 PM
Originally Posted by maroon
$hmac($mircexe,2)

FWIW, this hashes the mIRC path string with key '2', so differing outputs should not be taken as a warning sign here..
Posted By: maroon Re: 7.63 crashing intermittently. - 31/08/20 07:33 PM
Yeah, i realized my error when I was outside, but you beat me back to the pc. It should have been

//echo -a $version $file($mircexe).sig $beta $hmac($mircexe,$null,sha1,2)

result: 7.63 ok 0536e81a5595b711016b1b9d37d8b42ff8d693da

$hmac is confusing because everywhere else in the world the syntax is presented as HMAC(key,message) but here it's $hmac(message,key)
Posted By: cgfiend Re: 7.63 crashing intermittently. - 31/08/20 09:00 PM
Just to be sure, I downloaded directly from the website, reinstalled it. After fixing the command line, the key matches.

7.63 ok 0536e81a5595b711016b1b9d37d8b42ff8d693da
Posted By: cgfiend Re: 7.63 crashing intermittently. - 01/09/20 04:06 AM
It ran for hours, then crashed on a DCC send of a photo.

Fault bucket 1891125652279013456, type 1
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Faulting application name: mirc.exe, version: 7.63.0.0, time stamp: 0x5f3a5b91
Faulting module name: ntdll.dll, version: 10.0.18362.815, time stamp: 0x2995af02
Exception code: 0xc0000374
Fault offset: 0x000dfa1d
Faulting process id: 0xa510
Faulting application start time: 0x01d67fc5fba1bb86
Faulting application path: C:\Program Files (x86)\mIRC\mirc.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 3ea363d5-4456-4cab-8984-a02c35dd56a9
Faulting package full name:
Faulting package-relative application ID:
Posted By: Khaled Re: 7.63 crashing intermittently. - 01/09/20 08:25 AM
Thanks for your bug report and feeback.

An intermittent crashing issue with v7.62 was reported by some users. A fix was applied that resolved the issue for them. However, the issue you are seeing sounds very similar.

Which version of mIRC were you using before v7.63?

Did the issue with v7.63 begin immediately after using it?

If you restart your computer, do you still see the same issue?
Posted By: cgfiend Re: 7.63 crashing intermittently. - 01/09/20 01:53 PM
I just came back to using IRC after three years. I'm on a PC that hasn't had mIRC on it. The only version I've used is 7.63 so far. I've rebooted, yes.

I've tracked down what's causing it. When a user plays a certain sound, I crash. /sound porkysob.wav We just tried it three times and three times in a row I crashed. I have the sound in my sound folder and it plays locally. I've changed the .WAV file association to be a different app, like WinAmp, but it doesn't make a difference, it crashed a fourth time.

I installed 7.38, enabled sounds, downloaded her sound (!username porkysob.wav) and then had her play it, I was able to hear the sound--no crash.
The only difference between this .WAV file and the other files I have is it appears to have ID tag data. I can view it when I look at the properties of the file, under ID_Tag tab.

I deleted porkysob.wav in 7.63's sound folder, loaded back up 7.63, downloaded the file from the other user, had them play it and again mIRC crashed.

I will be using 7.38 in the short term.
Posted By: Khaled Re: 7.63 crashing intermittently. - 01/09/20 03:12 PM
Thanks for the wav file. I tested your wav file with different versions of mIRC, including v7.63, under Windows XP, 7, and 10 64bit, and was unable to reproduce a crash here. I played the wav file many times repeatedly in each case.

In the past, similar issues have been reported where a user had a corrupted codec installed that lead to a crash when it was used. Newer versions of mIRC use newer APIs, such as DirectSound, to play wav files.

Have you installed codecs in the past, such as VLC? You may need to uninstall and reinstall them to see if that helps.

You might also want to run dxdiag to see if it reports any issues.
Posted By: cgfiend Re: 7.63 crashing intermittently. - 01/09/20 03:14 PM
I edited my post after you had replied. I moved up to 7.38, which seems to work fine, no crash when playing the file. No codec change. I will try what you've suggested. Yes, I do have VLC installed.
Posted By: cgfiend Re: 7.63 crashing intermittently. - 01/09/20 03:17 PM
dxdiag results ... no problems found. There's one .DLL I use for SAMBroadcaster for the mic, which it's reporting as unsigned, but that shouldn't affect .WAV playback. I'm reinstalling VLC.
Posted By: Khaled Re: 7.63 crashing intermittently. - 01/09/20 03:22 PM
DirectSound support was added in v7.48, so you could try testing v7.47 and v7.48 to see if there is a difference.
Posted By: cgfiend Re: 7.63 crashing intermittently. - 01/09/20 03:22 PM
Uninstalled VLC completely. Loaded back in 7.63 and tried playing the sound locally using /sound. Crashed instantly.
Posted By: cgfiend Re: 7.63 crashing intermittently. - 01/09/20 03:26 PM
Where do I download 7.47/7.48? I can't find it on the website. I already know 7.38 doesn't have the issue. I found 7.55 in an old backup folder, it crashes as well.
Posted By: kap Re: 7.63 crashing intermittently. - 01/09/20 03:29 PM
This link might help: https://mircscripts.net/oldversion/
Posted By: cgfiend Re: 7.63 crashing intermittently. - 01/09/20 03:35 PM
Thanks. Here's what I've got...

v6.17 no crash
v7.38 no crash
Uninstalled VLC
v7.47 no crash
v7.48 crash whether played local or remotely
v7.55 crash whether played local or remotely
v7.63 crash whether played local or remotely
Posted By: Khaled Re: 7.63 crashing intermittently. - 01/09/20 03:50 PM
Quote
v7.47 no crash
v7.48 crash whether played local or remotely

Thanks for testing it out.

In general, unless other users are seeing the same issue with your wav file, the most common cause is a codec corruption issue on your system.
Posted By: cgfiend Re: 7.63 crashing intermittently. - 01/09/20 03:52 PM
Ok, I've fixed it.

It was indeed a codec issue. My guess is one of the codecs didn't like the ID tag format. I uninstalled every codec package I could find. It's stable using 7.63 now. I'm going to try installing VLC again and see if it changes anything.

UPDATE: VLC installed, still no crashes.
Posted By: Khaled Re: 7.63 crashing intermittently. - 02/09/20 04:10 PM
Good to hear :-) Thanks for the feedback.
© mIRC Discussion Forums