Page 1 of 1

Crash when dismounting TrueCrypt drives

Posted: 02 Nov 2009 05:11
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.

Re: Crash when dismounting TrueCrypt drives

Posted: 02 Nov 2009 09:29
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?

Re: Crash when dismounting TrueCrypt drives

Posted: 02 Nov 2009 15:08
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 3198 times
Dismount drive
(got two of these messages back to back)
ScreenShot002.png
ScreenShot002.png (11.37 KiB) Viewed 3198 times
(on some of the runs I got this message, but not every time)
ScreenShot004.png
ScreenShot004.png (11.36 KiB) Viewed 3198 times

Re: Crash when dismounting TrueCrypt drives

Posted: 02 Nov 2009 15:53
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.

Re: Crash when dismounting TrueCrypt drives

Posted: 02 Nov 2009 16:13
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.

Re: Crash when dismounting TrueCrypt drives

Posted: 02 Nov 2009 17:01
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.

Re: Crash when dismounting TrueCrypt drives

Posted: 02 Nov 2009 20:33
by admin
Difficult. I tried something anyway. Check next BETA...

Re: Crash when dismounting TrueCrypt drives

Posted: 02 Nov 2009 20:55
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?

Re: Crash when dismounting TrueCrypt drives

Posted: 02 Nov 2009 20:59
by byates
Still crashes.... :x

Re: Crash when dismounting TrueCrypt drives

Posted: 02 Nov 2009 21:05
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?

Re: Crash when dismounting TrueCrypt drives

Posted: 02 Nov 2009 21:20
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.

Re: Crash when dismounting TrueCrypt drives

Posted: 02 Nov 2009 21:36
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?

Re: Crash when dismounting TrueCrypt drives

Posted: 02 Nov 2009 21:54
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.

Re: Crash when dismounting TrueCrypt drives

Posted: 02 Nov 2009 22:16
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...

Re: Crash when dismounting TrueCrypt drives

Posted: 02 Nov 2009 22:43
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.