Ventoy icon indicating copy to clipboard operation
Ventoy copied to clipboard

Ventoy2Disk crashes

Open Destroyer opened this issue 4 years ago • 4 comments

After I plugin my flash drive and refresh the device list the app crashes. If I run the tool after I plugin my flashdrive it doesn't show up and crashes right at the start. I have also tested older versions - 1.0.11 and 1.0.16 but they all crash like this.

the D: drive is my flashdrive, it's clean formatted FAT32

Log.txt

 [2020/08/27 11:58:21.261] 
################################ Ventoy2Disk 1.0.0.2 ################################
[2020/08/27 11:58:21.261] Control Flag: 0 1 1
[2020/08/27 11:58:21.277] Windows Version : Windows 10 64-bit (Build 18363)
[2020/08/27 11:58:21.277] 
===================== Enum All PhyDrives =====================
[2020/08/27 11:58:21.277] RegOpenKeyExA <SYSTEM\CurrentControlSet\Services\disk\Enum> Ret:0
[2020/08/27 11:58:21.292] RegQueryValueExA <Count> ret:0  Size:4 Value:3
[2020/08/27 11:58:21.292] GetPhysicalDriveCount: 3
[2020/08/27 11:58:21.299] Logical Drives: 0xc
[2020/08/27 11:58:21.299] LogicalDrive:\\.\C: PhyDrive:1 Offset:126372282368 ExtentLength:129687879680
[2020/08/27 11:58:21.299] C --> 1
[2020/08/27 11:58:21.315] LogicalDrive:\\.\D: PhyDrive:2 Offset:1048576 ExtentLength:15803072000
[2020/08/27 11:58:21.315] D --> 2
[2020/08/27 11:58:21.315] Create file Handle:000001A0 \\.\PhysicalDrive0 status:0
[2020/08/27 11:58:21.330] PHYSICALDRIVE0 size 1000204886016 bytes
[2020/08/27 11:58:21.330] Create file Handle:000001A0 \\.\PhysicalDrive1 status:0
[2020/08/27 11:58:21.330] PHYSICALDRIVE1 size 256060514304 bytes
[2020/08/27 11:58:21.346] Create file Handle:000001A0 \\.\PhysicalDrive2 status:0
[2020/08/27 11:58:21.346] PHYSICALDRIVE2 size 15804137472 bytes

Windows Event log

  <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
  <Provider Name="Application Error" /> 
  <EventID Qualifiers="0">1000</EventID> 
  <Level>2</Level> 
  <Task>100</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2020-08-27T09:58:21.415394400Z" /> 
  <EventRecordID>24301</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>THINKPAD</Computer> 
  <Security /> 
  </System>
  <EventData>
  <Data>Ventoy2Disk.exe</Data> 
  <Data>1.0.0.2</Data> 
  <Data>5f21423e</Data> 
  <Data>Ventoy2Disk.exe</Data> 
  <Data>1.0.0.2</Data> 
  <Data>5f21423e</Data> 
  <Data>c0000409</Data> 
  <Data>00014e00</Data> 
  <Data>90</Data> 
  <Data>01d67c58988f9e0d</Data> 
  <Data>C:\Users\Destroyer\Downloads\ventoy-1.0.19-windows\ventoy-1.0.19\Ventoy2Disk.exe</Data> 
  <Data>C:\Users\Destroyer\Downloads\ventoy-1.0.19-windows\ventoy-1.0.19\Ventoy2Disk.exe</Data> 
  <Data>5b172603-0c5a-49ca-bb24-d06f2ac73152</Data> 
  <Data /> 
  <Data /> 
  </EventData>
  </Event>

Destroyer avatar Aug 27 '20 10:08 Destroyer

@Destroyer What about the latest release?

ventoy avatar Oct 18 '21 07:10 ventoy

Still the same behaviour

Flashdrive plugged in

[2021/10/18 13:54:48.646] 
################################ Ventoy2Disk 1.0.0.3 ################################
[2021/10/18 13:54:48.646] Control Flag: 0 1 1
[2021/10/18 13:54:48.646] Windows Version: <<Windows 10 Edu, 64-bit (Build 19042.1237)>>
[2021/10/18 13:54:48.656] 
===================== Enum All PhyDrives =====================
[2021/10/18 13:54:48.666] RegOpenKeyExA <SYSTEM\CurrentControlSet\Services\disk\Enum> Ret:0
[2021/10/18 13:54:48.666] RegQueryValueExA <Count> ret:0  Size:4 Value:4
[2021/10/18 13:54:48.676] GetPhysicalDriveCount: 4
[2021/10/18 13:54:48.676] Logical Drives: 0xe
[2021/10/18 13:54:48.686] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \\.\B:, error:1
[2021/10/18 13:54:48.696] B --> -1
[2021/10/18 13:54:48.696] LogicalDrive:\\.\C: PhyDrive:1 Offset:126372282368 ExtentLength:129074958336
[2021/10/18 13:54:48.706] C --> 1
[2021/10/18 13:54:48.706] LogicalDrive:\\.\D: PhyDrive:3 Offset:1048576 ExtentLength:15803072000
[2021/10/18 13:54:48.716] D --> 3
[2021/10/18 13:54:48.726] Create file Handle:FFFFFFFF \\.\PhysicalDrive0 status:32
[2021/10/18 13:54:48.726] Create file Handle:FFFFFFFF \\.\PhysicalDrive1 status:32
[2021/10/18 13:54:48.736] Create file Handle:FFFFFFFF \\.\PhysicalDrive2 status:32
[2021/10/18 13:54:48.816] Create file Handle:000001B0 \\.\PhysicalDrive3 status:0
[2021/10/18 13:54:48.816] PHYSICALDRIVE3 size 15804137472 bytes

Plugged in after opening the app and hitting refresh

[2021/10/18 13:55:52.401] 
################################ Ventoy2Disk 1.0.0.3 ################################
[2021/10/18 13:55:52.401] Control Flag: 0 1 1
[2021/10/18 13:55:52.401] Windows Version: <<Windows 10 Edu, 64-bit (Build 19042.1237)>>
[2021/10/18 13:55:52.416] 
===================== Enum All PhyDrives =====================
[2021/10/18 13:55:52.416] RegOpenKeyExA <SYSTEM\CurrentControlSet\Services\disk\Enum> Ret:0
[2021/10/18 13:55:52.432] RegQueryValueExA <Count> ret:0  Size:4 Value:3
[2021/10/18 13:55:52.432] GetPhysicalDriveCount: 3
[2021/10/18 13:55:52.432] Logical Drives: 0x6
[2021/10/18 13:55:52.447] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \\.\B:, error:1
[2021/10/18 13:55:52.447] B --> -1
[2021/10/18 13:55:52.463] LogicalDrive:\\.\C: PhyDrive:1 Offset:126372282368 ExtentLength:129074958336
[2021/10/18 13:55:52.470] C --> 1
[2021/10/18 13:55:52.470] Create file Handle:FFFFFFFF \\.\PhysicalDrive0 status:32
[2021/10/18 13:55:52.470] Create file Handle:FFFFFFFF \\.\PhysicalDrive1 status:32
[2021/10/18 13:55:52.485] Create file Handle:FFFFFFFF \\.\PhysicalDrive2 status:32
[2021/10/18 13:55:52.485] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \\.\B:, error:1
[2021/10/18 13:55:52.501] Logical Drive:B  ===> PhyDrive:-1
[2021/10/18 13:55:52.501] LogicalDrive:\\.\C: PhyDrive:1 Offset:126372282368 ExtentLength:129074958336
[2021/10/18 13:55:52.501] Logical Drive:C  ===> PhyDrive:1
[2021/10/18 13:55:52.563] Load languages from json file ...
[2021/10/18 13:55:52.563] language json file len:154288 json parse:0
[2021/10/18 13:55:52.570] Total 40 languages ...
[2021/10/18 13:55:56.821] #### Now Refresh PhyDrive ####
[2021/10/18 13:55:56.821] 
===================== Enum All PhyDrives =====================
[2021/10/18 13:55:56.831] RegOpenKeyExA <SYSTEM\CurrentControlSet\Services\disk\Enum> Ret:0
[2021/10/18 13:55:56.841] RegQueryValueExA <Count> ret:0  Size:4 Value:4
[2021/10/18 13:55:56.844] GetPhysicalDriveCount: 4
[2021/10/18 13:55:56.856] Logical Drives: 0xe
[2021/10/18 13:55:56.861] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \\.\B:, error:1
[2021/10/18 13:55:56.861] B --> -1
[2021/10/18 13:55:56.872] LogicalDrive:\\.\C: PhyDrive:1 Offset:126372282368 ExtentLength:129074958336
[2021/10/18 13:55:56.882] C --> 1
[2021/10/18 13:55:56.892] LogicalDrive:\\.\D: PhyDrive:3 Offset:1048576 ExtentLength:15803072000
[2021/10/18 13:55:56.892] D --> 3
[2021/10/18 13:55:56.902] Create file Handle:FFFFFFFF \\.\PhysicalDrive0 status:32
[2021/10/18 13:55:56.912] Create file Handle:FFFFFFFF \\.\PhysicalDrive1 status:32
[2021/10/18 13:55:56.917] Create file Handle:FFFFFFFF \\.\PhysicalDrive2 status:32
[2021/10/18 13:55:56.922] Create file Handle:000002F8 \\.\PhysicalDrive3 status:0
[2021/10/18 13:55:56.933] PHYSICALDRIVE3 size 15804137472 bytes

Event log

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Application Error" /> 
  <EventID Qualifiers="0">1000</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>100</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2021-10-18T11:54:48.9361865Z" /> 
  <EventRecordID>15980</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="0" ThreadID="0" /> 
  <Channel>Application</Channel> 
  <Computer>THINKPAD</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>Ventoy2Disk.exe</Data> 
  <Data>1.0.0.3</Data> 
  <Data>616c1b65</Data> 
  <Data>Ventoy2Disk.exe</Data> 
  <Data>1.0.0.3</Data> 
  <Data>616c1b65</Data> 
  <Data>c0000409</Data> 
  <Data>00015cd7</Data> 
  <Data>18a4</Data> 
  <Data>01d7c416f39c161e</Data> 
  <Data>C:\Users\Destroyer\Downloads\ventoy-1.0.55-windows\ventoy-1.0.55\Ventoy2Disk.exe</Data> 
  <Data>C:\Users\Destroyer\Downloads\ventoy-1.0.55-windows\ventoy-1.0.55\Ventoy2Disk.exe</Data> 
  <Data>7be9c2d2-8217-4d3f-819d-f158cdd957d9</Data> 
  <Data /> 
  <Data /> 
  </EventData>
  </Event>

If you want to send anything else let me know.

Now the flash drive has Windows Server 2022 installation image on it (no longer fat32 empty)

Destroyer avatar Oct 18 '21 12:10 Destroyer

i am having the same issue on windows 10 , i went to create the flash drive and it crashes. log.txt

adanrs avatar Oct 20 '21 03:10 adanrs

How is the error handling for faulty drives?

Ventoy crashed for me just after starting the install, without any error in the log. I didn't check the drive for errors, but I removed the partition on the USB thumb drive and did a slow format in Windows when I created a new partition. After this, the install worked just fine and booting and everything works perfectly.

ELFswe avatar Mar 13 '24 18:03 ELFswe