mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 122
S
STING Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Dec 2002
Posts: 122
I'm investigating some nasty crashes I'm having with 7.06 with procmon and I noticed some error messages in the log when switching windows.

However I don't think this is related, as 6.35 generates the same error messages. Also don't know if i may cause any problems for users.

Code:
Path: HKLM\SOFTWARE\Microsoft\CTF\KnownClasses
Result: NAME NOT FOUND


When talking in a channel and the log file is upated:

Code:
Operation: WriteFile
Result: FAST IO DISALLOWED
Path: C:\Users\xx\AppData\Roaming\mIRC\logs\#test.xxx.log


OS Windows 7

Last edited by STING; 03/07/10 09:33 AM.
Joined: Dec 2002
Posts: 5,411
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,411
Does this happen with a clean install of mIRC? Are you able to reproduce the issue using a specific set of steps? Listing error results from procmon is not that helpful I am afraid - it is quite normal for events to return error values, "name not found" values or other combinations of succesful or not succesful results from calls to functions. Also note that mIRC has no idea what "HKLM\SOFTWARE\Microsoft\CTF\KnownClasses" is and does not access that registry key itself, so it is likely that one the system DLLs is doing so on behalf of mIRC. mIRC, like all other applications, uses system DLLs which perform all kinds of functions that mIRC has no control over.

Last edited by Khaled; 10/07/10 10:20 AM.
Joined: Dec 2002
Posts: 122
S
STING Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Dec 2002
Posts: 122
This is really nasty, it seems to be random.
I can't reproduce it.
The crashes occur starting from 7.0x.

Are there any way for me to provide you with exact debugging information?

In the meantime I'll try to reproduce with a clean mIRC.

Code:
EventType=APPCRASH
EventTime=129232256292963090
ReportType=2
Consent=1
Sig[0].Name=Application Name
Sig[0].Value=mirc.exe
Sig[1].Name=Application Version
Sig[1].Value=7.0.7.0
Sig[2].Name=Application Timestamp
Sig[2].Value=4c372d00
Sig[3].Name=Fault Module Name
Sig[3].Value=mirc.exe
Sig[4].Name=Fault Module Version
Sig[4].Value=7.0.7.0
Sig[5].Name=Fault Module Timestamp
Sig[5].Value=4c372d00
Sig[6].Name=Exception Code
Sig[6].Value=c0000005
Sig[7].Name=Exception Offset
Sig[7].Value=000f7156
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.1.7600.2.0.0.256.1
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1043
DynamicSig[22].Name=Additional Information 1
DynamicSig[22].Value=0a9e
DynamicSig[23].Name=Additional Information 2
DynamicSig[23].Value=0a9e372d3b4ad19135b953a78882e789
DynamicSig[24].Name=Additional Information 3
DynamicSig[24].Value=0a9e
DynamicSig[25].Name=Additional Information 4
DynamicSig[25].Value=0a9e372d3b4ad19135b953a78882e789



Last edited by STING; 10/07/10 09:08 AM.
Joined: Dec 2002
Posts: 5,411
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,411
I would need to know a step by step method of reproducing the issue in order to track it down I'm afraid. Please remember that you should only test with the latest beta since all previous betas have known issues.

Joined: Dec 2002
Posts: 122
S
STING Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Dec 2002
Posts: 122
Originally Posted By: Khaled
I would need to know a step by step method of reproducing the issue in order to track it down I'm afraid. Please remember that you should only test with the latest beta since all previous betas have known issues.


Yes, I always use the latest beta smile
Ok, as soon as I can reproduce it I'll let you know.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Looking at your screenshots, you are using a folder name for mIRC that looks like it's a script name. Are you experiencing this problem on a clean copy of the beta without any scripts loaded? Or only when you have scripts loaded? And if you're using a MTF theme, does it happen without that theme loaded?


Invision Support
#Invision on irc.irchighway.net
Joined: Dec 2002
Posts: 122
S
STING Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Dec 2002
Posts: 122
I'm experiencing this problem with my own script, yes.
The problem is, it seems very random.

Additional debugging info:
Code:
(1c34.560): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=035042c0 ebx=00000000 ecx=00000560 edx=00000000 esi=050b3b98 edi=035042c0
eip=014b7156 esp=001e7c00 ebp=001e7c3c iopl=0         nv up ei pl zr na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00210246
*** ERROR: Module load completed but symbols could not be loaded for D:\BorgIRC\BorgIRC 2.7\mirc.exe
mirc+0xf7156:
014b7156 c7425c00000000  mov     dword ptr [edx+5Ch],0 ds:0023:0000005c=????????

Last edited by STING; 10/07/10 06:35 PM.
Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
You still didn't answer the only important question here, can you make it crash with a clean install of mirc 7.07 ?


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Dec 2002
Posts: 122
S
STING Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Dec 2002
Posts: 122
Originally Posted By: Wims
You still didn't answer the only important question here, can you make it crash with a clean install of mirc 7.07 ?


Still trying, but so far no luck.
My current suspicison is mdx.dll.
Time to upgrade the remaining dialogs to dcx I guess.

Last edited by STING; 10/07/10 06:56 PM.
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
That would have been a very important piece of information to start with. We already know that MDX doesn't work well in 7.x.


Invision Support
#Invision on irc.irchighway.net
Joined: Dec 2002
Posts: 122
S
STING Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Dec 2002
Posts: 122
Originally Posted By: Riamus2
That would have been a very important piece of information to start with. We already know that MDX doesn't work well in 7.x.


You're right, I had hoped the debugging information would be enough for Khaled to locate the problem wink

Unfortunately, MDX is not the problem.
Now disabled DCX as well. Have to run it for a couple of days before I know if it doesn't crash anymore.
6.35 doesn't have this problem.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
DLLs will need to be updated. Even DCX probably does, but you should have no problems downloading a current version of DCX that will work, whereas MDX doesn't have any new versions. Also, just as a note on MDX, it will work depending on what parts of it you use. I have one old script that I made that uses MDX (before I found out about DCX and switched) and it works fine. I don't know which parts of the DLL don't work... you'd have to test each feature to find out what part(s) don't work in mIRC 7.

Also, fixes for DLL problems isn't Khaled's job. That's up to the DLL (or script) authors. Khaled makes mIRC and does his best for compatibility, but he cannot make everything compatible while still improving mIRC as much as possible. A major change to mIRC such as Unicode support prevents maintaining compatibility with everything. That means the script and DLL authors need to make updates for compatibility. Leaving out vital information in hopes that Khaled will fix a script or DLL problem just wastes his time (and those of us on the forum who try to help) because we try to verify and find your problem on a clean copy of mIRC where it won't obviously have that problem.


Invision Support
#Invision on irc.irchighway.net
Joined: Dec 2002
Posts: 122
S
STING Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Dec 2002
Posts: 122
Of course DLL problems are not Khaled's job.
If mIRC still crashes without any DLL loaded, there must be something in the script that causes mIRC to crash. Since it's so random, I haven't been able to reproduce it, so I used external tools to produce debugging info. I have insufficient knowledge of programming to know if this helps Khaled or not. Unfortunately it didn't, so I have to keep on trying to reproduce it in such a way others can reproduce it as well.



Link Copied to Clipboard