mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2011
Posts: 462
K
KindOne Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 462
Windows 7 SP1 64-bit.

I'm running multiple beta versions of mIRC at the same time, they have the separate mirc.ini files in the same folder as the .exe. Each version has 13 connections into my ZNC on my LAN. All connections into ZNC are SSL with a self signed cert, mIRC is set to automatically accept invalid certificates.

Each beta version was started in the order they were released, with the newer versions starting a few seconds later. I don't have the older releases.

//echo -ag $os $version $beta

7 7.61 961 ; Still running, 12 hours.
7 7.61 1001 ; Crashed at 55 minutes and 25 seconds.
7 7.61 1161 ; Still running, 12 hours.
7 7.61 1242 ; Crashed at 3 hours, 29 minutes and 4 seconds.
7 7.61 1281 ; Crashed at 15 minutes and 16 seconds.


7 7.62 ; Crashed multiple times before I started debugging this.


Triggered?
7.61.1001 ; Crashed while znc was reconnecting/rejoining channels due to internet disconnect/connect?
7.61.1242 ; Crashed when joining channels?
7.61.1281 ; Crashed for unknown reasons?


7.62 ; Crashed multiple times for unknown reasons after X minutes I typed something?

...

Faulting application name: mirc.exe, version: 7.62.0.0, time stamp: 0x5f215821
Faulting module name: ntdll.dll, version: 6.1.7601.24545, time stamp: 0x5e0eb751
Exception code: 0xc000000d
Fault offset: 0x0009850e
Faulting process id: 0xea8
Faulting application start time: 0x01d6682bd372205a
Faulting application path: M:\mirc.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: 83589905-d42e-11ea-999a-005056c00008



Faulting application name: mirc.exe, version: 7.62.0.0, time stamp: 0x5f215821
Faulting module name: ntdll.dll, version: 6.1.7601.24545, time stamp: 0x5e0eb751
Exception code: 0xc000000d
Fault offset: 0x0009820f
Faulting process id: 0xc44
Faulting application start time: 0x01d668564ebf0f80
Faulting application path: M:\mirc.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: 39bf2d1c-d44d-11ea-999a-005056c00008



Faulting application name: mirc-7.61-1281.exe, version: 7.61.1281.0, time stamp: 0x5f1a9bd4
Faulting module name: ntdll.dll, version: 6.1.7601.24545, time stamp: 0x5e0eb751
Exception code: 0xc000000d
Fault offset: 0x0009820f
Faulting process id: 0xcc8
Faulting application start time: 0x01d61fe198470fa9
Faulting application path: C:\beta\7.61.1281\mirc-7.61-1281.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: f41500f1-8bd6-11ea-999c-005056c00008


Faulting application name: mirc-7.61.1001.exe, version: 7.61.1001.0, time stamp: 0x5eeccfe7
Faulting module name: ntdll.dll, version: 6.1.7601.24545, time stamp: 0x5e0eb751
Exception code: 0xc000000d
Fault offset: 0x0009850e
Faulting process id: 0x12b0
Faulting application start time: 0x01d61fe18bf04d9e
Faulting application path: C:\beta\7.61.1001\mirc-7.61.1001.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: 870888d2-8bdc-11ea-999c-005056c00008


Faulting application name: mirc-7.61.1242.exe, version: 7.61.1242.0, time stamp: 0x5f0c54f9
Faulting module name: ntdll.dll, version: 6.1.7601.24545, time stamp: 0x5e0eb751
Exception code: 0xc000000d
Fault offset: 0x0009820f
Faulting process id: 0x128
Faulting application start time: 0x01d61fe194582995
Faulting application path: C:\beta\7.61.1242\mirc-7.61.1242.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: 06c52f8e-8bf2-11ea-999c-005056c00008


...

Another weird thing,


7.62 from a few days ago: https://www.dropbox.com/s/m18jrg06vbye5ie/mirc-double-buttons.png

Some? of the beta versions did this before I closed out of everything and re-started the testing above. I have not been able to replicate this in the current testing session.

...


Another user has also reported only the crashing ##mirc on freenode. They are using Windows 7, 32bit, 7.62 using ZNC connected via SSL. Have not been able to get more info from the user.

Joined: Dec 2002
Posts: 5,490
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,490
Thanks for your bug report. If you run just mIRC v7.61, and no other versions at all, do you see the same issue?

Also, when did this issue begin? The earlier betas have been out for quite some time. Is it possible that this issue is due to a recent change in your scripts/DLLs/etc.?

Regarding the user that reported a crash: they will need to post a separate bug report detailing their issue, including their configuration, scripts/DLLs that they are using, whether they had an issue with v7.61, and so on, ie. the usual requirements for a bug report.

Last edited by Khaled; 03/08/20 11:53 AM.
Joined: Dec 2002
Posts: 5,490
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,490
Do you have tray tips enabled? If you disable them, does that resolve the issue?

It is possible that the issue reported here regarding tray tips may be causing this, although I haven't been able to reproduce any crashes due to tray tips myself.

Joined: Feb 2011
Posts: 462
K
KindOne Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 462
7.61 works fine with everything I use, never crashed. I know for a fact its not a script DLL, I've been testing all of these without any DLL's.


The older beta versions are also crashing at random.

7.61.159 crashed
7.61.367 crashed
7.61.439 crashed
7.61.817 crashed

Fault offsets are sightly different, like in the others I reported.

Tips are disabled.

Maybe openssl doing something weird since its been upgraded? I've been using SSL connections with ZNC for all my testing. Other user also said they were using ssl connections.

This might be related? Fault at ntdll.dll? https://github.com/openssl/openssl/issues/12524


Maybe something in here? I've narrowed it down to just using this code and using ssl connections with ZNC. I've been manually entering "//scon -a list -n" and other commands at random times.

Code
; perform.mrc
on *:start:{
  window -iz @peaks
  server 192.168.254.66:+10000 KindOne/freenode:<password_removed>
  server -m 192.168.254.66:+10000 KindOne/SwiftIRC:<password_removed>
  ; 11 more networks here.... 
}
on ^*:join:#:{
  if ($nick != $me) {
    if ($nick($chan,0)) && ((!$hget(peaks,$network $+ $chan)) || ($wd($hget(peaks, $network $+ $chan),1) < $nick($chan,0))) {
      hadd -m peaks $network $+ $chan $nick($chan,0) $ctime
      echo @peaks *** New Peak - $asctime - $network - $chan - $nick($chan,0)
    }
  }
  ; $calc(1 plus ...) 
  if ($nick == $me) {
    if ($nick($chan,0)) && ((!$hget(peaks,$network $+ $chan)) || ($wd($hget(peaks, $network $+ $chan),1) < $calc(1 + $nick($chan,0)))) {
      hadd -m peaks $network $+ $chan $nick($chan,0) $ctime
      echo @peaks *** New Peak - $asctime - $network - $chan - $nick($chan,0)
    }
  }
  ; else { inc %stat.joins }
}
alias wd { return $gettok($1,$2 $+ $3,32) }

raw 322:*:{
  if ($3) && ((!$hget(peaks,$network $+ $2)) || ($wd($hget(peaks, $network $+ $2),1) < $3)) {
    hadd -m peaks $network $+ $2 $3 $ctime
    echo @peaks *** New Peak - $asctime - $network - $2 - $3
  }
}


This was also in my alias tab, not sure if related to the crashing.
Code
; aliases.mrc
wd { return $gettok($1,$2 $+ $3,32) }



Right now I'm testing plain text connections with 7.61.159 and 7.62 into ZNC with only the code above.

Joined: Dec 2002
Posts: 5,490
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,490
Great. Thanks for the feedback. That narrows down the issue to the handful of changes in the first beta release, v7.61.159.

It is possible that the issue could be due to updating to a newer version of OpenSSL. Beta v7.61.159 updated to OpenSSL v1.1.1e.

That said, the issue could also be due to one of the other changes.

I am going to create several betas based on v7.61.159 to narrow down the issue further and will let you know when they are ready.

Joined: Feb 2011
Posts: 462
K
KindOne Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 462
Looks like SSL is not the issue. 7.61.159 and 7.62 crashed while using only plain text connections into my ZNC. I'll try narrowing it down more.

Joined: Jul 2014
Posts: 332
Pan-dimensional mouse
Offline
Pan-dimensional mouse
Joined: Jul 2014
Posts: 332
I do not detect any crashed in the use of the new version of mIRC 7.62. I also use a ZNC connection and mIRC works perfectly.

Windows 10 Pro 1909 (OS Build 18363.959)


TECO
irc.PTirc.org (Co-Admin)
Joined: Feb 2011
Posts: 462
K
KindOne Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 462
Can't comment on Windows 10. I've only got Windows 7.

Installed Windows 7 SP1 on a VM, I've only tested 7.62 and it crashed with the same fault/ntdll.dll message, still working on figuring out what it causing it.

Joined: Jul 2014
Posts: 332
Pan-dimensional mouse
Offline
Pan-dimensional mouse
Joined: Jul 2014
Posts: 332
I know. I commented that in Windows 10 Pro I do not detect any problems, so Khaled has more information available, but if there are problems in Windows 7 SP1, a solution will be found soon.


TECO
irc.PTirc.org (Co-Admin)
Joined: Dec 2002
Posts: 5,490
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,490
Thanks for your help in testing the new betas and tracking this down.

It looks like the issue is due to the recent changes in Control+Break. Control+Break was changed so that it is detected only when mIRC is active. This required a more complex combination of API calls.

So far, I have not been able to reproduce the issue in Windows 7 or Windows 10, so it looks like it triggers only in certain contexts, which is why it is intermittent.

I have made a change to Control+Break, to how the APIs are called, that seems to resolve the issue for you.

This fix will be in the next beta.


Link Copied to Clipboard