mIRC Homepage
Posted By: keystroke 7.1 crash after about 2-4 days - 28/08/10 01:14 AM
I have been using mIRC since 1996 and since installing mIRC 7.1 I have had more crashes than in the last 14 years. I did a clean install, selecting to replace everything except mirc.ini. So I do not believe any scripts are loaded.

It crashes randomly after about a few days. I believe it might be related to an SSL server I am connected to, as when I see it crashed, I notice the SSL dialog box open, asking to confirm the certificate.

I am using the latest openSSL from here: http://www.mirc.com/download/openssl-0.9.8o-setup.exe

I am running Windows 7 64bit.

How can I help debug this?

PS:
//echo -a $version $os $md5($mircexe,2) $file($mircexe).sig $script(0) $dll(0)
gives..
7.1 7 972d762e7e0ce8540400eebaaccd0ee0 ok 1 0
Posted By: argv0 Re: 7.1 crash after about 2-4 days - 28/08/10 07:41 AM
It's very hard to conclude that this is SSL related with this information. I guess the only way to really prove this is to connect without SSL for at least a week and confirm that it no longer crashes.
Posted By: keystroke Re: 7.1 crash after about 2-4 days - 28/08/10 04:35 PM
Yes I agree. I have been connected to non-SSL only for the last day and will report back.
Posted By: tontito Re: 7.1 crash after about 2-4 days - 28/08/10 08:39 PM
I have it running on my server with 2 irc servers, using ssl to send emails and stuff, and running some other stuff (with dlls) for several weeks.
I never had a crash.
Posted By: keystroke Re: 7.1 crash after about 2-4 days - 05/09/10 03:31 PM
No crash after over 8 days when just on a standard server.
Posted By: tontito Re: 7.1 crash after about 2-4 days - 05/09/10 03:48 PM
Try to run at the same time another instance of mist connected to a ssl server.

It might be a problem with the sll version
My dlls say version 0.9.8.1

Regards
Posted By: Khaled Re: 7.1 crash after about 2-4 days - 06/09/10 12:41 PM
Thanks for the feedback, I should be releasing a public beta in the bug reports forum later this week - if you could try it out when it comes out and let us know if you still see the same issue that would be appreciated.
Posted By: keystroke Re: 7.1 crash after about 2-4 days - 11/09/10 03:32 AM
Thanks Khaled, it's working great! I'll let you know if there is a crash smile Out of curiosity, what was the bug?
Posted By: keystroke Re: 7.1 crash after about 2-4 days - 13/09/10 12:29 AM
It has crashed 3 times on me today. Any way I can help debug?
Thanks
Posted By: Khaled Re: 7.1 crash after about 2-4 days - 13/09/10 07:40 AM
I could not reproduce the issue, however some extra error checking was added to a number of SSL routines to see if that would help.
Posted By: Khaled Re: 7.1 crash after about 2-4 days - 13/09/10 07:51 AM
Thanks for the feedback. That really is odd - I have been connected to several SSL servers for some time and have not experienced a crash yet. When the crash occurs, what message do you see in the windows crash dialog? Does it say the issue occurred in mIRC or in OpenSSL?

Quote:
I believe it might be related to an SSL server I am connected to, as when I see it crashed, I notice the SSL dialog box open, asking to confirm the certificate.

The SSL certificate confirmation dialog was the cause of some freezing issues in mIRC v6.35 which I was able to reproduce regularly and was resolved in mIRC v7.x. I am testing the SSL support by connecting to multiple servers at a time, eg.:

testssl {
server -m irc.zybourne.net:+6697
server -m irc.distributed.net:+994
server -m irc.link-net.org:+7000
server -m irc.indymedia.org:+6697
server -m irc.villageirc.net:+9999
server -m irc.kaffee-net.de:+6670
server -m irc.theonering.net:+6697
}

In all cases, the certificates are not added to the cache, which means that mIRC will prompt me to accept the certificate for each connection. If you use the above alias and connect to these servers, are you able to force the crash to reproduce?
Posted By: keystroke Re: 7.1 crash after about 2-4 days - 15/09/10 02:28 AM
Hi Khaled,

The crash is in mIRC not OpenSSL. Here is what came up:

Source
mIRC

Summary
Stopped working

Date
‎9/‎14/‎2010 2:12 AM

Status
Report sent

Description
Faulting Application Path: C:\mIRC\mirc.exe

Problem signature
Problem Event Name: APPCRASH
Application Name: mirc.exe
Application Version: 7.11.0.0
Application Timestamp: 4c867953
Fault Module Name: ntdll.dll
Fault Module Version: 6.1.7600.16559
Fault Module Timestamp: 4ba9b29c
Exception Code: c0000005
Exception Offset: 0002e1fe
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Previous times are below:

Source
mIRC

Summary
Stopped working

Date
‎9/‎12/‎2010 8:27 PM

Status
Report sent

Description
Faulting Application Path: C:\mIRC\mirc.exe

Problem signature
Problem Event Name: APPCRASH
Application Name: mirc.exe
Application Version: 7.11.0.0
Application Timestamp: 4c867953
Fault Module Name: mirc.exe
Fault Module Version: 7.11.0.0
Fault Module Timestamp: 4c867953
Exception Code: c0000005
Exception Offset: 000dd224
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Source
mIRC

Summary
Stopped working

Date
‎9/‎12/‎2010 6:24 PM

Status
Report sent

Description
Faulting Application Path: C:\mIRC\mirc.exe

Problem signature
Problem Event Name: APPCRASH
Application Name: mirc.exe
Application Version: 7.11.0.0
Application Timestamp: 4c867953
Fault Module Name: ntdll.dll
Fault Module Version: 6.1.7600.16559
Fault Module Timestamp: 4ba9b29c
Exception Code: c0000005
Exception Offset: 0002e1fe
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

I have 2 copies open now, one to my usual servers and another to the ones you listed in the alias. I will let you know what happens.

Thanks for the help!
Posted By: keystroke Re: 7.1 crash after about 2-4 days - 15/09/10 02:18 PM
Both crashed overnight:

Source
mIRC

Summary
Stopped working

Date
‎9/‎15/‎2010 6:50 AM

Status
Not reported

Description
Faulting Application Path: C:\mIRC\mirc.exe

Problem signature
Problem Event Name: APPCRASH
Application Name: mirc.exe
Application Version: 7.11.0.0
Application Timestamp: 4c867953
Fault Module Name: ntdll.dll
Fault Module Version: 6.1.7600.16559
Fault Module Timestamp: 4ba9b29c
Exception Code: c0000005
Exception Offset: 0002e1fe
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Source
mIRC

Summary
Stopped working

Date
‎9/‎15/‎2010 7:38 AM

Status
Not reported

Description
Faulting Application Path: C:\mIRC\mirc.exe

Problem signature
Problem Event Name: APPCRASH
Application Name: mirc.exe
Application Version: 7.11.0.0
Application Timestamp: 4c867953
Fault Module Name: mirc.exe
Fault Module Version: 7.11.0.0
Fault Module Timestamp: 4c867953
Exception Code: c0000005
Exception Offset: 001ea71e
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Posted By: Khaled Re: 7.1 crash after about 2-4 days - 15/09/10 05:29 PM
Thanks, did you happen to see the SSL dialog box open in both copies when they crashed?
Posted By: keystroke Re: 7.1 crash after about 2-4 days - 16/09/10 11:34 PM
Actually on every prior crash I saw the SSL dialog box but not on this one interestingly enough.
Posted By: Khaled Re: 7.1 crash after about 2-4 days - 17/09/10 08:00 AM
Let's see if we can determine whether the SSL dialog box is the cause - if you enable the option "Automatically accept invalid certificates", which prevents the SSL dialog from being displayed, do you still see a crash?
Posted By: keystroke Re: 7.1 crash after about 2-4 days - 18/09/10 03:31 PM
Thanks for working with me on this one Khaled. No crash yet but I will keep both copies running and let you know if anything happens.
Posted By: keystroke Re: 7.1 crash after about 2-4 days - 25/09/10 03:40 AM
No crash yet - it has almost been one week. I will keep both copies running and update again next week, or when it crashes. Thanks!
Posted By: Khaled Re: 7.1 crash after about 2-4 days - 25/09/10 02:21 PM
Thanks for the feedback. Good to hear :-) I may have tracked down the cause of this issue, so the next public beta (out soon) should hopefully resolve it.
Posted By: keystroke Re: 7.1 crash after about 2-4 days - 28/09/10 02:42 AM
Awesome! Looking forward to it.
Posted By: keystroke Re: 7.1 crash after about 2-4 days - 09/10/10 08:22 PM
Rock solid Khaled! Although I no longer see the certificate window as it might have stored it even though it was invalid. Which I believe was another bug which you have corrected... Thanks!
Posted By: Khaled Re: 7.1 crash after about 2-4 days - 10/10/10 09:19 AM
Great :-) If mIRC has saved the certificate to the SSL Cache, you can clear the SSL Cache via the Tools menu in the Clear History dialog. This will make the dialogs pop up again if you prefer that.
© mIRC Discussion Forums