Ticket #289 (closed defect: fixed)
Volume enumeration crash
| Reported by: | iann0036 | Owned by: | Joel |
|---|---|---|---|
| Priority: | critical | Milestone: | Eraser 6.0.7 |
| Component: | User Interface (UX) | Version: | 6.0.6.1376 |
| Keywords: | Cc: | ||
| Processor Architecture: | i386 (32-bit) | Blocked By: | |
| Blocking: | Operating System: | Windows Vista |
Description
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
Exception Text
System.UnauthorizedAccessException?: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Eraser.Util.VolumeInfo?..ctor(String volumeId)
at Eraser.Util.VolumeInfo?.get_Volumes()
at Eraser.TaskDataSelectionForm?..ctor()
at Eraser.TaskPropertiesForm?.dataAdd_Click(Object sender, EventArgs? e)
at System.Windows.Forms.Control.OnClick?(EventArgs? e)
at System.Windows.Forms.Button.OnClick?(EventArgs? e)
at System.Windows.Forms.Button.OnMouseUp?(MouseEventArgs? mevent)
at System.Windows.Forms.Control.WmMouseUp?(Message& m, MouseButtons? button, Int32 clicks)
at System.Windows.Forms.Control.WndProc?(Message& m)
at System.Windows.Forms.ButtonBase?.WndProc?(Message& m)
at System.Windows.Forms.Button.WndProc?(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow?.OnMessage?(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow?.WndProc?(Message& m)
at System.Windows.Forms.NativeWindow?.Callback(IntPtr? hWnd, Int32 msg, IntPtr? wparam, IntPtr? lparam)
Loaded Assemblies
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4200 (NetFxQFE.050727-4200)
CodeBase?: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
Eraser
Assembly Version: 6.0.6.1376
Win32 Version: 6.0.6.1376
CodeBase?: file:///C:/Program%20Files/Eraser/Eraser.exe
Eraser.Manager
Assembly Version: 6.0.6.1376
Win32 Version: 6.0.6.1376
CodeBase?: file:///C:/Program%20Files/Eraser/Eraser.Manager.DLL
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase?: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase?: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase?: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
Microsoft.VisualBasic?
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase?: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
Eraser.Util
Assembly Version: 6.0.6.1376
Win32 Version: 6.0.6.1376
CodeBase?: file:///C:/Program%20Files/Eraser/Eraser.Util.DLL
Eraser.DefaultPlugins?
Assembly Version: 6.0.6.1376
Win32 Version: 6.0.6.1376
CodeBase?: file:///C:/Program%20Files/Eraser/Plugins/Eraser.DefaultPlugins.dll
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.1 built by: SP
CodeBase?: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
Eraser.resources
Assembly Version: 6.0.6.1376
Win32 Version: 6.0.6.1376
CodeBase?: file:///C:/Program%20Files/Eraser/en/Eraser.resources.DLL
Assembly Version: 1.0.3589.29437
Win32 Version: 1.0.0.0
CodeBase?: file:///C:/Program%20Files/Eraser/BevelLine.DLL
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase?: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
Eraser.Manager.resources
Assembly Version: 6.0.6.1376
Win32 Version: 6.0.6.1376
CodeBase?: file:///C:/Program%20Files/Eraser/en/Eraser.Manager.resources.DLL
JIT Debugging
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Blocking
| Id | Summary | Milestone |
|---|---|---|
| #289 | └ Volume enumeration crash | Eraser 6.0.7 |
Blocked by
| Id | Summary | Milestone |
|---|---|---|
| #289 | └ Volume enumeration crash | Eraser 6.0.7 |
Change History
comment:1 Changed 3 years ago by Joel
- Status changed from new to pending
- Milestone set to Eraser 6.0.7
comment:4 Changed 3 years ago by Joel
- Summary changed from Crash when I click "Add Task" to Volume enumeration crash
comment:5 Changed 3 years ago by Joel
- Status changed from accepted to closed
- Resolution set to fixed
See source:/branches/eraser6/6.0/Eraser.Util/VolumeInfo.cs for revision changes. I will mark this as closed as the changes from r1637 to r1732 seem to address the problem.

I'll need complete information about your disks installed on your computer as well as the partitioning information.