Crash when dismounting TrueCrypt drives

Things you’d like to miss in the future...
Forum rules
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
Post Reply
byates
Posts: 29
Joined: 18 Mar 2007 00:59
Location: Atlanta, GA USA

Crash when dismounting TrueCrypt drives

Post by byates »

XYplorer crashes when I dismount a TrueCrypt drive. I am running XYplorer version 8.50.0036 and using TrueCrypt version 6.3 on a fresh install of Windows XP, SP3. Sometimes XYplorer gives an error message like this (but not always):

Code: Select all

Error 	91 (0000005B)
Desc	Object variable or With block variable not set
Dll	3
Proc	Watch2

Source	XYplorer
XY ver	8.50.0036
OS	Windows XP (Service Pack 3)
Date	11/1/2009 11:01:03 PM
I tested mounting and unmounting drives with the SUBST command from a dos prompt and got no errors or crashes.

admin
Site Admin
Posts: 64900
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Crash when dismounting TrueCrypt drives

Post by admin »

byates wrote:Sometimes XYplorer gives an error message like this (but not always): ...
You mean sometimes it does not crash, or sometimes it crashes without error? In case of the former (which I think you meant) , it's hard to debug (without having TrueCrypt).

Here's one thing you can do: enter this into the address bar and press <enter>:

Code: Select all

::logchange 1
Now you get a message box after dismounting a TrueCrypt drive. What does it say?

byates
Posts: 29
Joined: 18 Mar 2007 00:59
Location: Atlanta, GA USA

Re: Crash when dismounting TrueCrypt drives

Post by byates »

XY always crashes after the drive dismount. Sometimes it gives the error message but most of the time it does not. I turned on logging as you suggested and ran the test several times. The test consist of simply starting XY, mounting a drive, dismounting a drive. The crash happens after the dismount. Here are the log windows I got:

Mount drive
ScreenShot001.png
ScreenShot001.png (11.49 KiB) Viewed 3197 times
Dismount drive
(got two of these messages back to back)
ScreenShot002.png
ScreenShot002.png (11.37 KiB) Viewed 3197 times
(on some of the runs I got this message, but not every time)
ScreenShot004.png
ScreenShot004.png (11.36 KiB) Viewed 3197 times

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Crash when dismounting TrueCrypt drives

Post by TheQwerty »

I haven't been able to reproduce this, could you try creating a new small TrueCrypt volume and seeing if XY crashes; to ensure it's not specific to that particular volume?

That said, I only tested on a standard volume using the default settings and using an extracted (instead of installed) copy of TrueCrypt 6.3. I know on 6.2 I use to have a few problems trying to access a mounted volume, but that wasn't exclusive to XY, and I've since lost the need for TrueCrypt.

byates
Posts: 29
Joined: 18 Mar 2007 00:59
Location: Atlanta, GA USA

Re: Crash when dismounting TrueCrypt drives

Post by byates »

Thanks for trying to reproduce this. I have verified that it crashes with three different volumes. I don't have any problems accessing the drives, just when dismounting. I just reformatted and reinstalled XP pro this weekend (to replace a bad HDD) so everything is as clean as can be. I have anti-virus turned off, if that matters.
Last edited by byates on 02 Nov 2009 17:02, edited 1 time in total.

byates
Posts: 29
Joined: 18 Mar 2007 00:59
Location: Atlanta, GA USA

Re: Crash when dismounting TrueCrypt drives

Post by byates »

Some more info:

1) I believe that this is not a new issue. Starting this weekend is the first time that I have started mounting and dismounting TrueCrypt volumes. Prior to this point I just mounted a volume and left it mounted until power-off.
2) I just used the tool VCdControlTool (from MicroSoft) to mount an ISO image as a drive. XY did not crash when I dis-mounted the ISO image.

So, in summary, XY does only seems to crash when dismounting TrueCrypt drives. I does not crash when dismounting SUBST drives or VCdControlTool ISO drives.

admin
Site Admin
Posts: 64900
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Crash when dismounting TrueCrypt drives

Post by admin »

Difficult. I tried something anyway. Check next BETA...

admin
Site Admin
Posts: 64900
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Crash when dismounting TrueCrypt drives

Post by admin »

admin wrote:Difficult. I tried something anyway. Check next BETA...
No, please check this special EXE:
http://www.xyplorer.com/download/XYplorer_8.50.0038.zip

Still crashes when dismounting TrueCrypt drives?

byates
Posts: 29
Joined: 18 Mar 2007 00:59
Location: Atlanta, GA USA

Re: Crash when dismounting TrueCrypt drives

Post by byates »

Still crashes.... :x

admin
Site Admin
Posts: 64900
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Crash when dismounting TrueCrypt drives

Post by admin »

byates wrote:Still crashes.... :x
Argh. So if I got you right, it either crashes (app goes down without notice) or you get an error "Error 91" and can continue. Correct?

byates
Posts: 29
Joined: 18 Mar 2007 00:59
Location: Atlanta, GA USA

Re: Crash when dismounting TrueCrypt drives

Post by byates »

That is correct, except for the continue part. XY always 'goes away' after the crash or the error 91. BTW, I haven't seen the error 91 in a while. Now I just get the standard windows exception "do you want to debug..." crash notification.

admin
Site Admin
Posts: 64900
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Crash when dismounting TrueCrypt drives

Post by admin »

byates wrote:That is correct, except for the continue part. XY always 'goes away' after the crash or the error 91. BTW, I haven't seen the error 91 in a while. Now I just get the standard windows exception "do you want to debug..." crash notification.
Ok, how long would it take me to download and install TrueCrypt and reproduce the error?

byates
Posts: 29
Joined: 18 Mar 2007 00:59
Location: Atlanta, GA USA

Re: Crash when dismounting TrueCrypt drives

Post by byates »

True crypt is trival to download and install. It is very light weight. http://www.truecrypt.org/. Create a small (10MB) file volume (use all defaults) and mount it one any available drive.

admin
Site Admin
Posts: 64900
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Crash when dismounting TrueCrypt drives

Post by admin »

byates wrote:True crypt is trival to download and install. It is very light weight. http://www.truecrypt.org/. Create a small (10MB) file volume (use all defaults) and mount it one any available drive.
OK, I think I got it. The problem was indeed the back-to-back notification. For unknown reasons TrueCrypt sends the DRIVEREMOVED message 2 times. The second time made XY crash for reasons that were very trivial to fix. Upload coming...

Nice program BTW this truecrypt. :) Keeper...

byates
Posts: 29
Joined: 18 Mar 2007 00:59
Location: Atlanta, GA USA

Re: Crash when dismounting TrueCrypt drives

Post by byates »

Great! Thanks for the (amazingly) quick turn-around.

TrueCrypt is a nice program. I had a laptop stolen once and learned my lesson. Now all sensitive files are on TrueCrypt volumes that I mount only when needed.

Post Reply