ContextMenu64 = APPCRASH
Forum rules
You might want to read this if you're looking for priority service
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%).
Use Your Profile Or Signature
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.
How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
You might want to read this if you're looking for priority service
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".
-
Zardoz2293
- Posts: 638
- Joined: 09 Nov 2011 20:20
- Location: USA
Re: ContextMenu64 = APPCRASH
The crashing behavior has the appearance of a memory leak as the long XY is loaded and active the higher the probability of the APPCRASH event.
XYplorer v28.50.0101
MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%
MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%
-
Zardoz2293
- Posts: 638
- Joined: 09 Nov 2011 20:20
- Location: USA
Re: ContextMenu64 = APPCRASH
Just for curiosity, if it was the AV why would the APPCRASH behavior be sporadic? Typically if it's an AV issue then it would be directly related to the size of the object being scanned as the 'lock' on the object could cause a theoretical hang event in the object's associated program (or owner) from that program's inability to handle the 'slower' than expected object responsiveness. Currently, nothing indicates any possibility that ESET Smart Security (my AV) has any negative effect or influence on this concern, as I've performed several tests since your AV inquiry.Mesh wrote:For what it's worth, I have had all sorts of odd behavior in XY pop up as a result of my AV settings. And it's not just about real-time scanning - features that monitor the system for malicious changes (in KAV, it's called System Monitor) have also caused issues.TheQwerty wrote:Still cannot reproduce with 13.60.0013... ContextMenu64 is solid here.
Perhaps you want to try disabling your AV software and see if that's causing a compatibility issue.
It depends on one's perspective, if there is a serious interest (which I believe exists) in trying to resolve this concern, I'm all for it and will assist where possible. Clearly, few (perhaps only me), are or have experienced this problem. Therefore, in most development circles the problem gets bumped to ultra low priority and even forgotten (99% of time). In my world it's high priority as the event is an application crash. I'm not indicating that I'd expect or even desire Don or Mesh (you) to focus more than a smidgen of time on this as clearly a phantom error and looking at it from time to time. All I can suggest is that consideration is taken to review the API calls ContextMenu64 is making and verify against the versions of those API calls the parameters are correctly configured. Many of Windows System API calls can cause undesired behavior if the COM interopt (ODL/TLB TypeLib) is incorrect. Further, what versions of the calling API are expected and what actually exists on the end-user system? I've encountered many times vendor libraries with the same assembly, version, and UUID/GUID information for an API with different binary signatures (including the operating system). I'll probe on my end but the reality is tracing a binary to discover what is causing a crash without diagnostics is difficult at best not to mention a huge resource hog.
XYplorer v28.50.0101
MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%
MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%
-
Mesh
- Posts: 956
- Joined: 24 Mar 2008 21:22
Re: ContextMenu64 = APPCRASH
The inquiry into the AV was due to that type of software causing a multitude of problems in the past - not only with XY, but with other apps as well. From past experience, the nature of the issues can be very odd - and not intuitively predictable. The frequency can also be seemingly random and not related to file size or obvious metric. I once witnessed an issue that could not be resolved by turning off the AV software - but by uninstalling it completely. It was a worthwhile item to look into, especially since to my knowledge, no one else has reported this behavior.
You previously mentioned that you had zero issues with v13.60.0011. If you run that version now, does that still hold true?
If so, try taking the ContextMenu64.exe from 13.60.0011 and put it into the current build folder (backing up the existing version) and see how that works.
You previously mentioned that you had zero issues with v13.60.0011. If you run that version now, does that still hold true?
If so, try taking the ContextMenu64.exe from 13.60.0011 and put it into the current build folder (backing up the existing version) and see how that works.
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: ContextMenu64 = APPCRASH
It might simply be this old and known problem, only this time with a 64-bit shell extension:
http://www.xyplorer.com/faq-topic.php?id=ctxcrash
http://www.xyplorer.com/faq-topic.php?id=ctxcrash
FAQ | XY News RSS | XY X
-
Zardoz2293
- Posts: 638
- Joined: 09 Nov 2011 20:20
- Location: USA
Re: ContextMenu64 = APPCRASH
Just to enlighten me are you performing an out-of-process call for whatever system APIs your calling? If so, you might consider preventing ContextMenu64 from tanking if it encounters a failure rather than the failure cascading down to ContextMenu64.Mesh wrote:The inquiry into the AV was due to that type of software causing a multitude of problems in the past - not only with XY, but with other apps as well. From past experience, the nature of the issues can be very odd - and not intuitively predictable. The frequency can also be seemingly random and not related to file size or obvious metric. I once witnessed an issue that could not be resolved by turning off the AV software - but by uninstalling it completely. It was a worthwhile item to look into, especially since to my knowledge, no one else has reported this behavior.
You previously mentioned that you had zero issues with v13.60.0011. If you run that version now, does that still hold true?
If so, try taking the ContextMenu64.exe from 13.60.0011 and put it into the current build folder (backing up the existing version) and see how that works.
What I'm not hearing in any of these conversations is why ContextMenu64 isn't isolating a failure generated from an outside element which is presumed to be the cause (and I don't deny it). I haven't had/made the time to check what ContextMenu64 is written in, care to share?
Loading and unloading XY and verifying the back-grade is in fact all of the prior components and unloading ESET with all of my configuration/network setting/system access/etc. and then validating it's unloaded all are not options just to see. If there's no diagnostics I'm running around achieving virtually nothing. That doesn't work for me. I never reinstall the operating system because of some totally unknown quantity.
I'll investigate disabling/unloading any potential BHO in Internet Explorer (which I don't use) and a host of other things until I don't experience the fault. However, that being said, ultimately, the code within ContextMenu64 isn't protecting itself from ill-behaved something. I ask again, since the push is that it's an external thing causing the problem, why isn't ContactMenu64 calling things via out-of-process? If the oop tanks as long as you are using the pointers/references correctly there should not be any negative effects on ContextMenu64. Inconsistent failures are almost always improper pointer/reference usage and if you believe an AV could be causing the problem then why or what in the code are you performing that could possibly lead you to believe this might be the cause?
XYplorer v28.50.0101
MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%
MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%
-
Mesh
- Posts: 956
- Joined: 24 Mar 2008 21:22
Re: ContextMenu64 = APPCRASH
I never asked you to reinstall the operating system, I asked you if the prior version of XY which you said worked fine still works fine. Since XY is a portable app that does not require installing or uninstalling, it's absolutely trivial to check, and would have taken less time than you took to type your post talking about the fact that you don't want to do it.Zardoz2293 wrote:
Loading and unloading XY and verifying the back-grade is in fact all of the prior components and unloading ESET with all of my configuration/network setting/system access/etc. and then validating it's unloaded all are not options just to see. If there's no diagnostics I'm running around achieving virtually nothing. That doesn't work for me. I never reinstall the operating system because of some totally unknown quantity.
I already answered you several times as to why I thought it might be worthwhile to try turning off your AV. I never said that's what the cause was - I only said that AV software has been known to cause all sorts of random problems with XY (and other apps), and turning it off for 60 seconds to see if it affects anything is an easy, fast, and worthwhile test to run.Zardoz2293 wrote:
I'll investigate disabling/unloading any potential BHO in Internet Explorer (which I don't use) and a host of other things until I don't experience the fault. However, that being said, ultimately, the code within ContextMenu64 isn't protecting itself from ill-behaved something. I ask again, since the push is that it's an external thing causing the problem, why isn't ContactMenu64 calling things via out-of-process? If the oop tanks as long as you are using the pointers/references correctly there should not be any negative effects on ContextMenu64. Inconsistent failures are almost always improper pointer/reference usage and if you believe an AV could be causing the problem then why or what in the code are you performing that could possibly lead you to believe this might be the cause?
For someone asking for help, you seem to be awfully resistant to try the suggestions being proffered.
As for the code, it was not designed to be a bulletproof, mission-critical app. It was written in my spare time to fulfill a task, which has thus far been successful for everyone else except you. I'm happy to see what can be done to improve it, but as I'm sure you understand - if I can't duplicate your problem, it makes it far more difficult to do anything about it.
I posted my idea of using a 64-bit helper app to achieve this functionality many months ago. Don openly stated that if anyone coded such an app, he would integrate it. If you want to criticise how this app was coded, you had every opportunity to write it yourself.
-
Zardoz2293
- Posts: 638
- Joined: 09 Nov 2011 20:20
- Location: USA
Re: ContextMenu64 = APPCRASH
Never said you did, I'm just putting it out there. I here the term "corruption" and me think like Mr. Bill "Oh, no!"Mesh wrote: I never asked you to reinstall the operating system, I asked you if the prior version of XY which you said worked fine still works fine. Since XY is a portable app that does not require installing or uninstalling, it's absolutely trivial to check, and would have taken less time than you took to type your post talking about the fact that you don't want to do it.
I haven't had the time or opportunity to test prior (potentially non-failing) XY version. Frankly, I'm sure it will fail too as everything about the crash is saying memory-leak or pointer reference = random.
As for XY being a portable App (when installed)... I can't comment on as I haven't investigated. If true, simply deleting its folder would be snap. The reality is, it isn't a trivial issue as you describe. When I write software it works, mission-critical or otherwise and that takes an understanding of whatever it is your doing. You're getting a little bent out of shape over nothing. I stated that sometimes it happens and sometimes it doesn't, perhaps related to something in XY when its been loaded for a long time-- all I know is when there isn't a repeatable pattern and it becomes squirrley there's major effort to find the pattern to reproduce or find the offending code.
Mesh, you did make the comment turning off AV didn't solve a problem so you uninstalled it, thereby implying that might be required.Mesh wrote: I already answered you several times as to why I thought it might be worthwhile to try turning off your AV. I never said that's what the cause was - I only said that AV software has been known to cause all sorts of random problems with XY (and other apps), and turning it off for 60 seconds to see if it affects anything is an easy, fast, and worthwhile test to run.
I find it interesting answering a simple question as to what language you wrote it is most interesting. I'm absolutely not asking for help. I'm reporting a defect in the software so the developer can fix buggy software, and I'm getting "it's not my code that's defective" argument. I don't try techniques I know will not result in achieving a positive objective outcome, and I'm being honest and direct about it.
I appreciate your efforts in writing ContextMenu64, that's why I played with it so quickly.
As far as what you can do to improve your product: I'd investigate why it consumes so much memory, I'm showing memory usage exceeding XY's memory consumption. Resolving that consumption might also resolve this thread.
Mesh, I fully appreciate the difficulty in the inability or extremely difficult task of attempting to resolve something you, yourself, can't replicate. When you find the problem you can give yourself a metal of achievement. It's the reason why I suggested performing an out-of-process as anything using a pointer reference that isn't protected from illegal access will burn hours away like nothing else. I think I covered the part regarding the priority and the level of effort to fix -- don't. I'd work on why it uses so much memory as that might indirectly fix it. Problem is with the type of APPCRASH that's occurring any diagnostics would need to be written to the device with an open/append/close/flush technique otherwise any buffered output would be lost and the wrong location would/could be indicated from lost diagnostic data. If you are interested in doing such a thing I'll run it on my system, with it recording and when it throws the APPCRASH you will have at least a very good starting point.
XYplorer v28.50.0101
MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%
MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: ContextMenu64 = APPCRASH
Let's get back to attempting to debug this...
If you don't mind try the following steps...
1) Download the latest no-install package.
2) Extract it somewhere (say C:\XY-Test\).
3) Ensure no instances of ContextMenu64.exe, XYcopy.exe, or XYplorer.exe are running.
4) Run the fresh XYplorer (C:\XY-Test\XYplorer.exe).
5) In fresh XY go to Help > Various Information.
6) Copy and paste the contents of the displayed dialog to a reply.
7) Do as little as possible to recreate the crash.
If it's more than just right-clicking an archive, selecting Show 64-bit Context Menu, and then selecting a WinRAR action please tells us what all you had to do or options that needed changed. In an ideal world the no-install archive from step 1 would cause the crash, so we would be able to attempt to recreate with the exact same file then.
9) Locate ContextMenu64.exe.
10) The Command Line column should read something like: "C:\XY-Test\ContextMenu64.exe" "C:\Users\Zardoz2293\AppData\Local\Temp\~XYxxx.tmp".
11) Open the specified ~XYxxx.tmp file in a text editor.
12) Copy and paste the contents of the temp file to a reply.
(You could attach the file to your post instead, but you'll have to zip it up or change the extension to xys, or something, since the forum blocks tmp, txt, and log.)
If ContextMenu64.exe isn't in the process list, you could check the local temp directory for the file, otherwise we might need to use Process Monitor to watch the life of ContextMenu64.exe.
In all honesty, I doubt that this will shed light on the cause but it might help narrow things down or improve the possibility of recreating the issue. At this stage it's all about removing variance.
*Sorry if the directions are too simple, I was trying to be thorough not offensive.
If you don't mind try the following steps...
1) Download the latest no-install package.
2) Extract it somewhere (say C:\XY-Test\).
3) Ensure no instances of ContextMenu64.exe, XYcopy.exe, or XYplorer.exe are running.
4) Run the fresh XYplorer (C:\XY-Test\XYplorer.exe).
5) In fresh XY go to Help > Various Information.
6) Copy and paste the contents of the displayed dialog to a reply.
7) Do as little as possible to recreate the crash.
If it's more than just right-clicking an archive, selecting Show 64-bit Context Menu, and then selecting a WinRAR action please tells us what all you had to do or options that needed changed. In an ideal world the no-install archive from step 1 would cause the crash, so we would be able to attempt to recreate with the exact same file then.
In Windows Task Manager, on the Processes tab ensure the Command Line column is visible (View > Select Columns). (If you have Process Explorer use that instead since you can copy the command line value.)
9) Locate ContextMenu64.exe.
10) The Command Line column should read something like: "C:\XY-Test\ContextMenu64.exe" "C:\Users\Zardoz2293\AppData\Local\Temp\~XYxxx.tmp".
11) Open the specified ~XYxxx.tmp file in a text editor.
12) Copy and paste the contents of the temp file to a reply.
(You could attach the file to your post instead, but you'll have to zip it up or change the extension to xys, or something, since the forum blocks tmp, txt, and log.)
If ContextMenu64.exe isn't in the process list, you could check the local temp directory for the file, otherwise we might need to use Process Monitor to watch the life of ContextMenu64.exe.
In all honesty, I doubt that this will shed light on the cause but it might help narrow things down or improve the possibility of recreating the issue. At this stage it's all about removing variance.
*Sorry if the directions are too simple, I was trying to be thorough not offensive.
-
Zardoz2293
- Posts: 638
- Joined: 09 Nov 2011 20:20
- Location: USA
Re: ContextMenu64 = APPCRASH
Just some information ContextMenu64 is typically utilizing while idle:
- 265 Handles
7 Threads
92 GDI Objects
- 59 MB/s Data
- ContextMenu64 appears to allocate about 35 GDI Objects and about 90 Handles are permanently allocated regardless if it's displayed or not and allocates about 30 MB of data at one point or another.
- ContextMenu64 stays loaded in memory after 'Shell Integration > 64-bit Windows > Show the 64-bit context menu' is unchecked. Requires unloading and reloading XY to remove from memory.
XYplorer v28.50.0101
MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%
MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
-
Zardoz2293
- Posts: 638
- Joined: 09 Nov 2011 20:20
- Location: USA
Re: ContextMenu64 = APPCRASH
Didn't you just make a comment about staying on subject?
Folks, if there isn't a serious desire to discover and resolve this APPCRASH then I'm not going to waste my time. I was under the impression this is the "Bug Reports" section, and hence, I reported a bug. Obviously I need to improve my native language skills.
XYplorer v28.50.0101
MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%
MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: ContextMenu64 = APPCRASH
I did and it was ignored in favor of complaining about resource consumption.Zardoz2293 wrote:Didn't you just make a comment about staying on subject?
Sorry but I'm not going to get all Jerry Maguire over trying to reproduce this issue.
-
Zardoz2293
- Posts: 638
- Joined: 09 Nov 2011 20:20
- Location: USA
Re: ContextMenu64 = APPCRASH
TheQwerty wrote:I did and it was ignored in favor of complaining about resource consumption.Zardoz2293 wrote:Didn't you just make a comment about staying on subject?
Sorry but I'm not going to get all Jerry Maguire over trying to reproduce this issue.
You might want to think about what you write.Zardoz2293 wrote:I think I covered the part regarding the priority and the level of effort to fix -- don't.
XYplorer v28.50.0101
MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%
MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: ContextMenu64 = APPCRASH
If you ever want to actually try helping us recreate the issue, let us know.
-
tedy
- Posts: 323
- Joined: 17 Jun 2009 21:48
Re: ContextMenu64 = APPCRASH
I had great expectations and was enthusiastic to try the new 64 bit context menu.
I was disappointed.
While it works for me Ok and I had no problems with crashing (although I also have Winrar 5.01 x64), two things forced me to disable it.
1. It opens way too slowly. I set it as the default context menu, the ContextMenu64 process seems to be always loaded in task manager, but every time I try to open the menu for arbitratry file, it opens slowly (half a second or more), and it steals focus from XY (this is clear why, being another process, and is not a big deal anyway).
2. It lacks the xy-added entries in the native 32 bit Xy context menu - To Clipboard, Rename special, ZIP, etc. which are at the top. This proved to be really useful.
Anyway, I had added the most important context menu handlers to the 32 bit context menu using the registry, long time ago.
The ContextMenu64.exe workaround is certainly a good addition for those who greatly miss their 64bit context menu entries, but for now, it's hardly usable to me
.
I was disappointed.
While it works for me Ok and I had no problems with crashing (although I also have Winrar 5.01 x64), two things forced me to disable it.
1. It opens way too slowly. I set it as the default context menu, the ContextMenu64 process seems to be always loaded in task manager, but every time I try to open the menu for arbitratry file, it opens slowly (half a second or more), and it steals focus from XY (this is clear why, being another process, and is not a big deal anyway).
2. It lacks the xy-added entries in the native 32 bit Xy context menu - To Clipboard, Rename special, ZIP, etc. which are at the top. This proved to be really useful.
Anyway, I had added the most important context menu handlers to the 32 bit context menu using the registry, long time ago.
The ContextMenu64.exe workaround is certainly a good addition for those who greatly miss their 64bit context menu entries, but for now, it's hardly usable to me
XYplorer Beta Club