Crash - error 390
Forum rules
READ THIS AND DO IT!!!
Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
-
JLoftus
- Posts: 600
- Joined: 22 Jan 2014 14:58
Crash - error 390
Crash with Error 390 if Smartscreen.exe is blocked by firewall:
Error: 390 (0x00000186)
Desc: Can't access hDC outside event sub if HasDC is False or Windowless is True
Dll: 0
Proc: tmrDelay_Timer: 16>0
Source: XYplorer
XY ver: XYplorer 24.20.0015 - Lifetime License Enterprise
OS: Windows 11 Pro, 64-bit, Version 22H2, Build 25309.1000 (10.0)
Locale: 1033 (en-US)
ANSI: 1252, ACP: 1252 (ANSI - Latin I)
Font: Leelawadee UI 12, Leelawadee UI 12, DBCS: No
DPI: 96 (100%), 5120x1440
Date: 2023-03-08 07:54:20
Error: 390 (0x00000186)
Desc: Can't access hDC outside event sub if HasDC is False or Windowless is True
Dll: 0
Proc: tmrDelay_Timer: 16>0
Source: XYplorer
XY ver: XYplorer 24.20.0015 - Lifetime License Enterprise
OS: Windows 11 Pro, 64-bit, Version 22H2, Build 25309.1000 (10.0)
Locale: 1033 (en-US)
ANSI: 1252, ACP: 1252 (ANSI - Latin I)
Font: Leelawadee UI 12, Leelawadee UI 12, DBCS: No
DPI: 96 (100%), 5120x1440
Date: 2023-03-08 07:54:20
-
admin
- Site Admin
- Posts: 66582
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
JLoftus
- Posts: 600
- Joined: 22 Jan 2014 14:58
Re: Crash - error 390
running an .EXE file, smartscreen wants to connect outbound to scan the file, but I block smartscreen at the firewall.
-
admin
- Site Admin
- Posts: 66582
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Crash - error 390
Lack of precision. :\
You mean you run any EXE file from XYplorer, eg by double-clicking it in the list?
You mean you run any EXE file from XYplorer, eg by double-clicking it in the list?
FAQ | XY News RSS | XY X
-
JLoftus
- Posts: 600
- Joined: 22 Jan 2014 14:58
Re: Crash - error 390
Sorry, yes. Also, it's not every .exe, mostly it is happening with downloaded files, probably a MOTW thing...
https://www.google.com/search?q=windows ... of+the+web
...but the hDC error suggests maybe something about UAC or the firewall software prompt (WFC, binisoft.org)?
This has been happening for a while, but never posted about it. Today it's happened a few times in a row, Einstein's Definition of Insanity, so I figured I'd mention it. Seems pretty reproducible.
https://www.google.com/search?q=windows ... of+the+web
...but the hDC error suggests maybe something about UAC or the firewall software prompt (WFC, binisoft.org)?
This has been happening for a while, but never posted about it. Today it's happened a few times in a row, Einstein's Definition of Insanity, so I figured I'd mention it. Seems pretty reproducible.
-
admin
- Site Admin
- Posts: 66582
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Crash - error 390
It's the list auto-refresh timer that throws the error. Why is there a refresh?
1) Run this script:
2) Provoke the error
3) Run this script:
4) Post the results
1) Run this script:
logchange 5;2) Provoke the error
3) Run this script:
dlog;4) Post the results
FAQ | XY News RSS | XY X
-
JLoftus
- Posts: 600
- Joined: 22 Jan 2014 14:58
Re: Crash - error 390
More info: Does seem like it's MOTW related:
If I tick this box, the crash does not happen, since the file is not blocked by Windows. So it appears not related to my firewall blocking smartscreen.exe, rather that Windows marked the file with MOTW. I'm not sure how long this has been causing XY to crash, but I do know Windows has been using this Unblock feature for a very long time.
If I tick this box, the crash does not happen, since the file is not blocked by Windows. So it appears not related to my firewall blocking smartscreen.exe, rather that Windows marked the file with MOTW. I'm not sure how long this has been causing XY to crash, but I do know Windows has been using this Unblock feature for a very long time.
To see the attached files, you need to log into the forum.
-
JLoftus
- Posts: 600
- Joined: 22 Jan 2014 14:58
Re: Crash - error 390
This is all that appears after entering "logchange 5;" causing the crash, then running "dlog;" :
XYplorer 24.20.0015 - Lifetime License Enterprise - Windows 11 Pro, 64-bit, Version 22H2, Build 25309.1000 (10.0) - 2023-03-08 08:32:25
=============================================================================================================================================
-
admin
- Site Admin
- Posts: 66582
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Crash - error 390
OK, thanks! This is also telling me what I need to know. The error will be gone in the next beta.
FAQ | XY News RSS | XY X
-
JLoftus
- Posts: 600
- Joined: 22 Jan 2014 14:58
Re: Crash - error 390
Awesome! Don, as always, you are, without question, the single most responsive software Developer I have ever had the pleasure of working with. Many thanks!
-
admin
- Site Admin
- Posts: 66582
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Crash - error 390
Thanks. 
BTW, with this (changed 5 to 6) there should be an actual result in the debug log:
1) Run this script:
2) Provoke the error
3) Run this script:
4) Post the results
BTW, with this (changed 5 to 6) there should be an actual result in the debug log:
1) Run this script:
logchange 6;2) Provoke the error
3) Run this script:
dlog;4) Post the results
FAQ | XY News RSS | XY X
-
JLoftus
- Posts: 600
- Joined: 22 Jan 2014 14:58
Re: Crash - error 390
Same result with logchange 6;
XYplorer 24.20.0015 - Lifetime License Enterprise - Windows 11 Pro, 64-bit, Version 22H2, Build 25309.1000 (10.0) - 2023-03-08 08:56:47
=============================================================================================================================================
XYplorer 24.20.0015 - Lifetime License Enterprise - Windows 11 Pro, 64-bit, Version 22H2, Build 25309.1000 (10.0) - 2023-03-08 08:56:47
=============================================================================================================================================
-
admin
- Site Admin
- Posts: 66582
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Crash - error 390
Hmm
It will be fixed anyway, but now I don't understand why. 
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 66582
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
JLoftus
- Posts: 600
- Joined: 22 Jan 2014 14:58
Re: Crash - error 390
Unfortunately, still crashing with 24.20.0016
locgchange 6; still produces only the header line.
The file I am using to reproduce this is the K-lite update:
https://www.codecguide.com/klcp_update.htm
Once you run the file once, you will need to download it again to restore the MOTW.
locgchange 6; still produces only the header line.
The file I am using to reproduce this is the K-lite update:
https://www.codecguide.com/klcp_update.htm
Once you run the file once, you will need to download it again to restore the MOTW.
XYplorer Beta Club