pbatard / rufus

The Reliable USB Formatting Utility
https://rufus.ie
GNU General Public License v3.0
29.48k stars 2.61k forks source link

Store version chrashes when formating a 64GB micro sd card as FAT32 #1824

Closed theChaosCoder closed 3 years ago

theChaosCoder commented 3 years ago



Checklist

Issue description

I happens only in the store version of Rufus. At least since ver 3.16 IDK how to provide a log from the store version since it crashes after clicking on start. No problems with the "regular" version.

My "Settings". image

pbatard commented 3 years ago

Please install DebugView from https://docs.microsoft.com/en-us/sysinternals/downloads/debugview.

Rufus sends its log messages there as well, so you can capture the log data even if the application crashes.

Also, even without using DebugView, I'm still interested in your log before the application crash (i.e. what you get right after opening Rufus), especially if you apply the Alt-. cheat mode that enables enumeration Debug.

If you do that, you should at least be able to provide something like the following, which may provide important information:

Rufus x64 v3.17.1846 (AppStore version)
Windows version: Windows 10 Pro Workstation, 64-bit (Build 19043.1348)
Syslinux versions: 4.07/2013-07-25, 6.04/pre1
Grub versions: 0.4.6a, 2.06
System locale ID: 0x0809 (en-GB)
Will use default UI locale 0x0809
SetLGP: Successfully set NoDriveTypeAutorun policy to 0x0000009E
Localization set to 'en-US'
Notice: Windows VDS is unavailable
Processing Hub 1:
  Hub[1] = '\\?\usb#vid_174c&pid_3074#5&1cc0e58a&0&20#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
  Found ID[059]: USB\VID_0424&PID_5534\6&2C14036A&0&1
Processing Hub 2:
Processing Hub 3:
Processing Hub 4:
  Hub[2] = '\\?\usb#asmediaroot_hub#5&13f8d294&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
  Found ID[040]: USB\VID_05E3&PID_0612&ASMEDIAUSBD_HUBSS\00000820
  Found ID[100]: USB\VID_05E3&PID_0610&ASMEDIAUSBD_HUB\00000840
Processing Hub 5:
  Hub[3] = '\\?\usb#vid_05e3&pid_0612&asmediausbd_hubss#00000820#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
  Found ID[113]: USB_ASMEDIA\VID_174C&PID_55AA\000000000025
Processing Hub 6:
  Hub[4] = '\\?\usb#vid_174c&pid_2074#5&1cc0e58a&0&9#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
  Found ID[019]: USB\VID_0424&PID_2134\6&16396D6C&0&1
Processing Hub 7:
Processing Hub 8:
  Hub[5] = '\\?\usb#vid_05e3&pid_0610&asmediausbd_hub#00000840#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
  Found ID[139]: USB\VID_045E&PID_0288&ASMEDIAUSBD_HUB\10000840
Processing Hub 9:
  Hub[6] = '\\?\usb#root_hub30#4&34be82cc&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
  Found ID[225]: USB\VID_174C&PID_3074\5&1CC0E58A&0&20
  Found ID[245]: USB\VID_174C&PID_2074\5&1CC0E58A&0&9
  Found ID[119]: USB\VID_0B05&PID_180A\F0038C9991CB
  Found ID[028]: USB\VID_04B3&PID_301A\5&1CC0E58A&0&6
Processing Hub 10:
  Hub[7] = '\\?\usb#vid_04b3&pid_301a#5&1cc0e58a&0&6#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
  Found ID[089]: USB\VID_04B3&PID_301B\6&3522BF70&0&1
  Found ID[182]: USB\VID_046D&PID_C077\6&3522BF70&0&3
Processing Hub 11:
  Hub[8] = '\\?\usb#vid_0424&pid_2134#6&16396d6c&0&1#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
  Found ID[081]: USB\VID_045E&PID_028E\1F3251C
Processing Hub 12:
  Hub[9] = '\\?\usb#vid_045e&pid_0288&asmediausbd_hub#10000840#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
  Found ID[063]: USB\VID_045E&PID_0289\11000040
Processing IDs belonging to 'USBSTOR':
  USB_ASMEDIA\VID_174C&PID_55AA\000000000025
Processing 'SCSI' device:
  Hardware ID: ''
Found non-USB non-removable device 'Asgard AN3 500NVMe-M.2/80' => Eliminated
Processing 'SCSI' device:
  Hardware ID: 'SCSI\DiskWDC_____WD60EMAZ-11LW3B080.0'
Found non-USB non-removable device 'WDC WD60EMAZ-11LW3B0' => Eliminated
Processing 'STORAGE' device:
  Unsupported or disabled by policy
Processing 'SCSI' device:
  Hardware ID: 'SCSI\Disk________ST8000DM004-2CX10001'
Found non-USB non-removable device 'ST8000DM004-2CX188' => Eliminated
Processing 'SCSI' device:
  Hardware ID: ''
Found non-USB non-removable device 'NVME SSD 512GB' => Eliminated
Processing 'USBSTOR' device:
  Hardware ID: 'USBSTOR\DiskMushkin_Ventura_Ultra___0___'
  Matched with ID[113]: USB_ASMEDIA\VID_174C&PID_55AA\000000000025
  Matched with Hub[3]: '\\?\usb#vid_05e3&pid_0612&asmediausbd_hubss#00000820#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
Could not get node connection information for 'USB_ASMEDIA\VID_174C&PID_55AA\000000000025': [0x0000001F] A device attached to the system is not functioning.
Found USB device 'Mushkin Ventura Ultra USB Device' (174C:55AA) [ID]
Using autorun.inf label for drive G: 'CCCOMA_X64FRE_EN-GB_DV9'
1 device found
Windows volumes from this device:
● \\?\Volume{d640ba0e-b195-4539-9278-0e5932cde365}\ @407896064
● \\?\Volume{f88ee577-c19f-4d81-8490-8ef3404ec8be}\ @1048576
Disk type: FIXED, Disk size: 120 GB, Sector size: 512 bytes
Cylinders: 14593, Tracks per cylinder: 255, Sectors per track: 63
Partition type: GPT, NB Partitions: 3
Disk GUID: {484E3C7A-CA6E-44C6-9324-4B9A2EF07A61}
Max parts: 128, Start Offset: 17408, Usable = 120034089472 bytes
Partition 1:
  Type: EFI System Partition
  Name: 'EFI System Partition'
  ID: {F88EE577-C19F-4D81-8490-8EF3404EC8BE}
  Size: 260 MB (272629760 bytes)
  Start Sector: 2048, Attributes: 0x0000000000000000
Partition 2:
  Type: Microsoft System Reserved Partition
  Name: 'Microsoft Reserved Partition'
  ID: {D5BFD50D-7DC6-4607-8240-060E0F1E3701}
  Size: 128 MB (134217728 bytes)
  Start Sector: 534528, Attributes: 0x0000000000000000
Partition 3:
  Type: Microsoft Basic Data Partition
  Name: 'Main Data Partition'
  ID: {D640BA0E-B195-4539-9278-0E5932CDE365}
  Size: 111.4 GB (119626210816 bytes)
  Start Sector: 796672, Attributes: 0x0000000000000000

So, please provide both the DebugView output from the crash as well as the pre-crash application log. Note that, if you don't see the line Rufus x64 v3.17.1846 (AppStore version) appear in DebugView, you may have to run it as admin and also play with the Capture menu options.

theChaosCoder commented 3 years ago

Rufus log after start with alt + .

Rufus x64 v3.17.1846 (AppStore version)
Windows version: Windows 10 Pro, 64-bit (Build 19043.1288)
Syslinux versions: 4.07/2013-07-25, 6.04/pre1
Grub versions: 0.4.6a, 2.06
System locale ID: 0x0407 (de-DE)
Will use default UI locale 0x0407
SetLGP: Successfully set NoDriveTypeAutorun policy to 0x0000009E
Localization set to 'de-DE'
Notice: Windows VDS is unavailable
Processing Hub 1:
  Hub[1] = '\\?\usb#vid_0bda&pid_5412#6&3223911d&0&1#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
  Found ID[207]: USB\VID_046D&PID_C52E\7&2565C421&0&2
Processing Hub 2:
  Hub[2] = '\\?\usb#root_hub30#5&f2e74e8&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
  Found ID[074]: USB\VID_2537&PID_1081\0123456789ABCDE
Processing Hub 3:
Processing Hub 4:
Processing Hub 5:
  Hub[3] = '\\?\usb#root_hub30#5&e780179&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
  Found ID[057]: USB\VID_046D&PID_C083\187C38503330
  Found ID[184]: USB\VID_0BDA&PID_0412\6&3223911D&0&5
  Found ID[018]: USB\VID_0BDA&PID_5412\6&3223911D&0&1
Processing IDs belonging to 'USBSTOR':
  USB\VID_2537&PID_1081\0123456789ABCDE
Processing 'SCSI' device:
  Hardware ID: ''
Found non-USB non-removable device 'INTEL SSDPEKKW010T8' => Eliminated
Processing 'USBSTOR' device:
  Hardware ID: 'USBSTOR\DiskNORELSYS1081____________0___'
  Matched with ID[074]: USB\VID_2537&PID_1081\0123456789ABCDE
  Matched with Hub[2]: '\\?\usb#root_hub30#5&f2e74e8&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
Found USB 3.0 device 'NORELSYS 1081 USB Device' (2537:1081)
Windows volumes from this device:
● \\?\Volume{4f471a68-370e-11ec-9ed7-309c23ad6cbe} @1048576
Processing 'SCSI' device:
  Hardware ID: ''
Found non-USB non-removable device 'PNY CS3030 1TB SSD' => Eliminated
Processing 'SCSI' device:
  Hardware ID: 'SCSI\Disk_________CT1000MX500SSD1M3CR'
Found non-USB non-removable device 'CT1000MX500SSD1' => Eliminated
Processing 'SCSI' device:
  Hardware ID: 'SCSI\DiskSanDisk_____SDSSDH3_2T004110'
Found non-USB non-removable device 'SanDisk SDSSDH3 2T00' => Eliminated
Processing 'SCSI' device:
  Hardware ID: 'SCSI\Disk_________CT2000MX500SSD1M3CR'
Found non-USB non-removable device 'CT2000MX500SSD1' => Eliminated
1 device found
Windows volumes from this device:
● \\?\Volume{4f471a68-370e-11ec-9ed7-309c23ad6cbe}\ @1048576
No volume information for drive 0x86
Disk type: Removable, Disk size: 64 GB, Sector size: 512 bytes
Cylinders: 7764, Tracks per cylinder: 255, Sectors per track: 63
Partition type: MBR, NB Partitions: 1
Disk ID: 0x15C22BBE
Drive has a Zeroed Master Boot Record
Partition 1:
  Type: FAT32 LBA (0x0c)
  Size: 59.5 GB (63863521280 bytes)
  Start Sector: 2048, Boot: No
Unable to send request: The attempt to connect to the server failed.
Found USB 3.0 device 'NORELSYS 1081 USB Device' (2537:1081)
1 device found
No volume information for drive 0x86
Disk type: Removable, Disk size: 64 GB, Sector size: 512 bytes
Cylinders: 7764, Tracks per cylinder: 255, Sectors per track: 63
Partition type: MBR, NB Partitions: 1
Disk ID: 0x15C22BBE
Drive has a Zeroed Master Boot Record
Partition 1:
  Type: FAT32 LBA (0x0c)
  Size: 59.5 GB (63863521280 bytes)
  Start Sector: 2048, Boot: No

DebugView log

00000001    0.00000000  [10968] 18:22:55.336 18   AudioDeviceSession OnStateChanged Active *SystemSounds {0.0.0.00000000}.{1edb2e1d-33e2-4078-a280-c16f75f4f850}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|1%b#     
00000002    0.23828609  [10968] 18:22:55.575 UI WindowsTaskbar Current: Location=Bottom, AutoHide=False, Taskbar=7148238, Size=[Left=0,Top=1400,Right=2560,Bottom=1440], Monitor=Screen[Bounds={X=0,Y=0,Width=2560,Height=1440} WorkingArea={X=0,Y=0,Width=2560,Height=1400} Primary=True DeviceName=\\.\DISPLAY1   
00000003    0.32616529  [10968] NVD3DREL:   
00000004    0.32618421  [10968] GR-805 : DX9 Overlay is DISABLED    
00000005    1.51488245  [10968] 18:22:56.851 18   AudioDeviceSession OnStateChanged Inactive *SystemSounds {0.0.0.00000000}.{1edb2e1d-33e2-4078-a280-c16f75f4f850}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|1%b#   
00000006    1.62345350  [9668] *** Rufus init ***   
00000007    1.62686324  [9668] AppStore version detected    
00000008    1.63374615  [9668] Binary executable is signed by 'Akeo Consulting'     
00000009    1.63377023  [9668] Will use settings from registry  
00000010    1.63382554  [9668] found locale 'de-DE'     
00000011    1.73978364  [9668] Notice: Disabling VDS (Could not load VDS Service: Windows error code 0x80070005 (FormatMessage error code 0x00003AFC))  
00000012    1.74034882  [9668] loc file not found in current directory - embedded one will be used  
00000013    1.74143279  [9668] localization: extracted data to 'C:\Users\anato\AppData\Local\Temp\Ruf5F8.tmp'   
00000014    1.74707139  [9668] localization: found locale 'en-US'   
00000015    1.74741995  [9668] localization: found locale 'ar-SA'   
00000016    1.74743879  [9668] embedded.loc(592): the version of this translation is older than the base one and may result in some messages not being properly translated. 
00000017    1.74743879  [9668] If you are the translator, please update your translation with the changes that intervened between v3.5 and v3.14.   
00000018    1.74743879  [9668] See https://github.com/pbatard/rufus/blob/master/res/loc/ChangeLog.txt   
00000019    1.74788439  [9668] localization: found locale 'bg-BG'   
00000020    1.74793923  [9668] embedded.loc(959): the version of this translation is older than the base one and may result in some messages not being properly translated. 
00000021    1.74793923  [9668] If you are the translator, please update your translation with the changes that intervened between v3.5 and v3.14.   
00000022    1.74793923  [9668] See https://github.com/pbatard/rufus/blob/master/res/loc/ChangeLog.txt   
00000023    1.74827218  [9668] localization: found locale 'zh-CN'   
00000024    1.74852765  [9668] localization: found locale 'zh-TW'   
00000025    1.74877203  [9668] localization: found locale 'hr-HR'   
00000026    1.74903226  [9668] localization: found locale 'cs-CZ'   
00000027    1.74905157  [9668] embedded.loc(2457): the version of this translation is older than the base one and may result in some messages not being properly translated.    
00000028    1.74905157  [9668] If you are the translator, please update your translation with the changes that intervened between v3.5 and v3.14.   
00000029    1.74905157  [9668] See https://github.com/pbatard/rufus/blob/master/res/loc/ChangeLog.txt   
00000030    1.74930882  [9668] localization: found locale 'da-DK'   
00000031    1.74955201  [9668] localization: found locale 'nl-NL'   
00000032    1.74980557  [9668] localization: found locale 'fi-FI'   
00000033    1.75005960  [9668] localization: found locale 'fr-FR'   
00000034    1.75032234  [9668] localization: found locale 'de-DE'   
00000035    1.75058556  [9668] localization: found locale 'el-GR'   
00000036    1.75060320  [9668] embedded.loc(4666): the version of this translation is older than the base one and may result in some messages not being properly translated.    
00000037    1.75060320  [9668] If you are the translator, please update your translation with the changes that intervened between v3.5 and v3.14.   
00000038    1.75060320  [9668] See https://github.com/pbatard/rufus/blob/master/res/loc/ChangeLog.txt   
00000039    1.75093997  [9668] localization: found locale 'he-IL'   
00000040    1.75125003  [9668] localization: found locale 'hu-HU'   
00000041    1.75126755  [9668] embedded.loc(5417): the version of this translation is older than the base one and may result in some messages not being properly translated.    
00000042    1.75126755  [9668] If you are the translator, please update your translation with the changes that intervened between v3.5 and v3.14.   
00000043    1.75126755  [9668] See https://github.com/pbatard/rufus/blob/master/res/loc/ChangeLog.txt   
00000044    1.75152802  [9668] localization: found locale 'id-ID'   
00000045    1.75179124  [9668] localization: found locale 'it-IT'   
00000046    1.75205481  [9668] localization: found locale 'ja-JP'   
00000047    1.75235379  [9668] localization: found locale 'ko-KR'   
00000048    1.75263321  [9668] localization: found locale 'lv-LV'   
00000049    1.75290000  [9668] localization: found locale 'lt-LT'   
00000050    1.75316477  [9668] localization: found locale 'ms-MY'   
00000051    1.75319004  [9668] embedded.loc(8021): the version of this translation is older than the base one and may result in some messages not being properly translated.    
00000052    1.75319004  [9668] If you are the translator, please update your translation with the changes that intervened between v3.5 and v3.14.   
00000053    1.75319004  [9668] See https://github.com/pbatard/rufus/blob/master/res/loc/ChangeLog.txt   
00000054    1.75342321  [9668] localization: found locale 'nb-NO'   
00000055    1.75366676  [9668] localization: found locale 'fa-IR'   
00000056    1.75368321  [9668] embedded.loc(8748): the version of this translation is older than the base one and may result in some messages not being properly translated.    
00000057    1.75368321  [9668] If you are the translator, please update your translation with the changes that intervened between v3.5 and v3.14.   
00000058    1.75368321  [9668] See https://github.com/pbatard/rufus/blob/master/res/loc/ChangeLog.txt   
00000059    1.75402761  [9668] localization: found locale 'pl-PL'   
00000060    1.75428057  [9668] localization: found locale 'pt-BR'   
00000061    1.75430119  [9668] embedded.loc(9493): the version of this translation is older than the base one and may result in some messages not being properly translated.    
00000062    1.75430119  [9668] If you are the translator, please update your translation with the changes that intervened between v3.5 and v3.14.   
00000063    1.75430119  [9668] See https://github.com/pbatard/rufus/blob/master/res/loc/ChangeLog.txt   
00000064    1.75454497  [9668] localization: found locale 'pt-PT'   
00000065    1.75480115  [9668] localization: found locale 'ro-RO'   
00000066    1.75481796  [9668] embedded.loc(10223): the version of this translation is older than the base one and may result in some messages not being properly translated.   
00000067    1.75481796  [9668] If you are the translator, please update your translation with the changes that intervened between v3.5 and v3.14.   
00000068    1.75481796  [9668] See https://github.com/pbatard/rufus/blob/master/res/loc/ChangeLog.txt   
00000069    1.75506163  [9668] localization: found locale 'ru-RU'   
00000070    1.75507843  [9668] embedded.loc(10589): the version of this translation is older than the base one and may result in some messages not being properly translated.   
00000071    1.75507843  [9668] If you are the translator, please update your translation with the changes that intervened between v3.5 and v3.14.   
00000072    1.75507843  [9668] See https://github.com/pbatard/rufus/blob/master/res/loc/ChangeLog.txt   
00000073    1.75536823  [9668] localization: found locale 'sr-SP'   
00000074    1.75561643  [9668] localization: found locale 'sk-SK'   
00000075    1.75587285  [9668] localization: found locale 'sl-SI'   
00000076    1.75611985  [9668] localization: found locale 'es-ES'   
00000077    1.75636756  [9668] localization: found locale 'sv-SE'   
00000078    1.75660598  [9668] localization: found locale 'th-TH'   
00000079    1.75694036  [9668] localization: found locale 'tr-TR'   
00000080    1.75718856  [9668] localization: found locale 'uk-UA'   
00000081    1.75748265  [9668] localization: found locale 'vi-VN'   
00000082    1.75749958  [9668] embedded.loc(13957): the version of this translation is older than the base one and may result in some messages not being properly translated.   
00000083    1.75749958  [9668] If you are the translator, please update your translation with the changes that intervened between v3.5 and v3.14.   
00000084    1.75749958  [9668] See https://github.com/pbatard/rufus/blob/master/res/loc/ChangeLog.txt   
00000085    1.75785816  [9668] Note: UAC is active  
00000086    1.77315676  [9668] localization: initializing default message table     
00000087    1.78459620  [9668] localization: using locale base 'en-US'  
00000088    1.96578598  [9668] Rufus x64 v3.17.1846 (AppStore version)  
00000089    1.96866882  [9668] Windows version: Windows 10 Pro, 64-bit (Build 19043.1288)   
00000090    1.96910143  [9668] Syslinux versions: 4.07/2013-07-25, 6.04/pre1    
00000091    1.96950316  [9668] Grub versions: 0.4.6a, 2.06  
00000092    1.96991038  [9668] System locale ID: 0x0407 (de-DE)     
00000093    1.97030878  [9668] Will use default UI locale 0x0407    
00000094    1.97030878  [9668] SetLGP: Successfully set NoDriveTypeAutorun policy to 0x0000009E     
00000095    1.97030878  [9668] Localization set to 'de-DE'  
00000096    1.97075045  [9668] Notice: Windows VDS is unavailable   
00000097    2.01036048  [9668] Unable to send request: The attempt to connect to the server failed.     
00000098    2.09188437  [9668] Processing Hub 1:    
00000099    2.09264350  [9668]   Hub[1] = '\\?\usb#vid_0bda&pid_5412#6&3223911d&0&1#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'     
00000100    2.09314203  [9668]   Found ID[207]: USB\VID_046D&PID_C52E\7&2565C421&0&2    
00000101    2.09355736  [9668] Processing Hub 2:    
00000102    2.09398150  [9668]   Hub[2] = '\\?\usb#root_hub30#5&f2e74e8&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'     
00000103    2.09439111  [9668]   Found ID[074]: USB\VID_2537&PID_1081\0123456789ABCDE   
00000104    2.09480524  [9668] Processing Hub 3:    
00000105    2.09520912  [9668] Processing Hub 4:    
00000106    2.09560990  [9668] Processing Hub 5:    
00000107    2.09601760  [9668]   Hub[3] = '\\?\usb#root_hub30#5&e780179&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'     
00000108    2.09642887  [9668]   Found ID[057]: USB\VID_046D&PID_C083\187C38503330  
00000109    2.09683824  [9668]   Found ID[184]: USB\VID_0BDA&PID_0412\6&3223911D&0&5    
00000110    2.09725523  [9668]   Found ID[018]: USB\VID_0BDA&PID_5412\6&3223911D&0&1    
00000111    2.15885043  [9668] Processing IDs belonging to 'USBSTOR':   
00000112    2.15931416  [9668]   USB\VID_2537&PID_1081\0123456789ABCDE  
00000113    2.15988517  [9668] Processing 'SCSI' device:    
00000114    2.16032648  [9668]   Hardware ID: ''    
00000115    2.16078854  [9668] Found non-USB non-removable device 'INTEL SSDPEKKW010T8' => Eliminated   
00000116    2.16122794  [9668] Processing 'USBSTOR' device:     
00000117    2.16164875  [9668]   Hardware ID: 'USBSTOR\DiskNORELSYS1081____________0___'    
00000118    2.16210961  [9668]   Matched with ID[074]: USB\VID_2537&PID_1081\0123456789ABCDE    
00000119    2.16280365  [9668]   Matched with Hub[2]: '\\?\usb#root_hub30#5&f2e74e8&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'     
00000120    2.16382217  [9668] Found USB 3.0 device 'NORELSYS 1081 USB Device' (2537:1081)  
00000121    2.21505761  [9668] Windows volumes from this device:    
00000122    2.21637797  [9668] ● \\?\Volume{4f471a68-370e-11ec-9ed7-309c23ad6cbe} @1048576  
00000123    2.23652530  [9668] Processing 'SCSI' device:    
00000124    2.23677039  [9668]   Hardware ID: ''    
00000125    2.23699927  [9668] Found non-USB non-removable device 'PNY CS3030 1TB SSD' => Eliminated    
00000126    2.23721552  [9668] Processing 'SCSI' device:    
00000127    2.23741293  [9668]   Hardware ID: 'SCSI\Disk_________CT1000MX500SSD1M3CR'   
00000128    2.23777008  [9668] Found non-USB non-removable device 'CT1000MX500SSD1' => Eliminated   
00000129    2.23799038  [9668] Processing 'SCSI' device:    
00000130    2.23819327  [9668]   Hardware ID: 'SCSI\DiskSanDisk_____SDSSDH3_2T004110'   
00000131    2.23842096  [9668] Found non-USB non-removable device 'SanDisk SDSSDH3 2T00' => Eliminated  
00000132    2.23863459  [9668] Processing 'SCSI' device:    
00000133    2.23883581  [9668]   Hardware ID: 'SCSI\Disk_________CT2000MX500SSD1M3CR'   
00000134    2.23905730  [9668] Found non-USB non-removable device 'CT2000MX500SSD1' => Eliminated   
00000135    2.23943686  [9668] 1 device found   
00000136    2.25364566  [9668] Windows volumes from this device:    
00000137    2.25386429  [9668] ● \\?\Volume{4f471a68-370e-11ec-9ed7-309c23ad6cbe}\ @1048576     
00000138    2.26537156  [9668] No volume information for drive 0x86     
00000139    2.26783586  [9668] Disk type: Removable, Disk size: 64 GB, Sector size: 512 bytes   
00000140    2.26804471  [9668] Cylinders: 7764, Tracks per cylinder: 255, Sectors per track: 63     
00000141    2.26823568  [9668] Partition type: MBR, NB Partitions: 1    
00000142    2.26841831  [9668] Disk ID: 0x15C22BBE  
00000143    2.27455211  [9668] Drive has a Zeroed Master Boot Record    
00000144    2.27477646  [9668] Partition 1:     
00000145    2.27495289  [9668]   Type: FAT32 LBA (0x0c)     
00000146    2.27495289  [9668]   Size: 59.5 GB (63863521280 bytes)  
00000147    2.27495289  [9668]   Start Sector: 2048, Boot: No   
00000148    3.38876915  [1632]  
00000149    3.38876915  [1632] *** Status originated: -1073741811   
00000150    3.38876915  [1632] ***   Source File: onecore\com\netfx\windowsbuilt\iso_legacy\base\isolation\hier_hierarchy.cpp, line 230 
00000151    3.38876915  [1632]  
00000152    3.39085484  [1632]  
00000153    3.39085484  [1632] *** Status originated: -1073741811   
00000154    3.39085484  [1632] ***   Source File: onecore\com\netfx\windowsbuilt\iso_legacy\base\isolation\hier_hierarchy.cpp, line 230 
00000155    3.39085484  [1632]  
00000156    3.42368150  [1632]  
00000157    3.42368150  [1632] *** Status originated: -1073741811   
00000158    3.42368150  [1632] ***   Source File: onecore\com\netfx\windowsbuilt\iso_legacy\base\isolation\hier_hierarchy.cpp, line 230 
00000159    3.42368150  [1632]  
00000160    3.42547917  [1632]  
00000161    3.42547917  [1632] *** Status originated: -1073741811   
00000162    3.42547917  [1632] ***   Source File: onecore\com\netfx\windowsbuilt\iso_legacy\base\isolation\hier_hierarchy.cpp, line 230 
00000163    3.42547917  [1632]  
00000164    4.54304075  [9668] Found USB 3.0 device 'NORELSYS 1081 USB Device' (2537:1081)  
00000165    4.58638573  [9668] 1 device found   
00000166    4.61203623  [9668] No volume information for drive 0x86     
00000167    4.61455202  [9668] Disk type: Removable, Disk size: 64 GB, Sector size: 512 bytes   
00000168    4.61480188  [9668] Cylinders: 7764, Tracks per cylinder: 255, Sectors per track: 63     
00000169    4.61495256  [9668] Partition type: MBR, NB Partitions: 1    
00000170    4.61512423  [9668] Disk ID: 0x15C22BBE  
00000171    4.62141180  [9668] Drive has a Zeroed Master Boot Record    
00000172    4.62161779  [9668] Partition 1:     
00000173    4.62178898  [9668]   Type: FAT32 LBA (0x0c)     
00000174    4.62178898  [9668]   Size: 59.5 GB (63863521280 bytes)  
00000175    4.62178898  [9668]   Start Sector: 2048, Boot: No   
00000176    163.72122192    [10968] 18:25:39.058 18   AudioDeviceSession OnStateChanged Active *SystemSounds {0.0.0.00000000}.{1edb2e1d-33e2-4078-a280-c16f75f4f850}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|1%b#     
00000177    165.22680664    [9668]      
00000178    165.22680664    [9668] Format operation started     
00000179    165.23129272    [9668] Requesting disk access...    
00000180    165.23963928    [9668] No drive letter was assigned...  
00000181    165.24215698    [9668] Will use 'H:' as volume mountpoint   
00000182    165.24487305    [9668] Warning: Could not delete partition(s): VDS is not available     
00000183    165.28282166    [9668] Opened \\.\PhysicalDrive6 for shared write access    
00000184    165.28617859    [9668] Requesting logical volume handle...  
00000185    165.31649780    [9668] Analyzing existing boot records...   
00000186    165.32508850    [9668] Drive has a Zeroed Master Boot Record    
00000187    165.32768250    [9668] Clearing MBR/PBR/GPT structures...   
00000188    165.33029175    [9668] Erasing 2048 sectors     
00000189    165.36743164    [9668] Initializing disk...     
00000190    165.37425232    [9668] Partitioning (MBR)...    
00000191    165.37678528    [9668] ● Creating Main Data Partition (offset: 1048576, size: 59.5 GB)  
00000192    165.40394592    [9668] Closing existing volume...   
00000193    165.40832520    [9668] Waiting for logical drive to reappear...     
00000194    165.63563538    [9668] Formatting (Large FAT32)...  
00000195    165.66731262    [9668] Opened \\?\Volume{4f471a68-370e-11ec-9ed7-309c23ad6cbe} for exclusive write access   
00000196    165.70521545    [9668] Size : 59.5 GB 124733440 sectors     
00000197    165.70854187    [9668] Cluster size 32768 bytes, 512 bytes per sector   
00000198    165.71351624    [9668] Volume ID is 19fe:336d   
00000199    165.72001648    [9668] 32 Reserved sectors, 15223 sectors per FAT, 2 FATs   
00000200    165.72145081    [9668] 1948483 Total clusters   
00000201    165.72372437    [9668] 1948482 Free clusters    
00000202    165.72601318    [9668] Clearing out 30542 sectors for reserved sectors, FATs and root cluster...    
00000203    166.16058350    [10968] 18:25:41.497 22   AudioDeviceSession OnStateChanged Inactive *SystemSounds {0.0.0.00000000}.{1edb2e1d-33e2-4078-a280-c16f75f4f850}|#%b{A9EF3FD9-4240-455E-A4D5-F2B3301887B2}|1%b#   
00000204    166.86791992    [1632]  
00000205    166.86791992    [1632] *** Status originated: -1073741811   
00000206    166.86791992    [1632] ***   Source File: onecore\com\netfx\windowsbuilt\iso_legacy\base\isolation\hier_hierarchy.cpp, line 230 
00000207    166.86791992    [1632]  
00000208    166.87394714    [1632]  
00000209    166.87394714    [1632] *** Status originated: -1073741811   
00000210    166.87394714    [1632] ***   Source File: onecore\com\netfx\windowsbuilt\iso_legacy\base\isolation\hier_hierarchy.cpp, line 230 
00000211    166.87394714    [1632]  
00000212    166.90809631    [1632]  
00000213    166.90809631    [1632] *** Status originated: -1073741811   
00000214    166.90809631    [1632] ***   Source File: onecore\com\netfx\windowsbuilt\iso_legacy\base\isolation\hier_hierarchy.cpp, line 230 
00000215    166.90809631    [1632]  
00000216    166.91104126    [1632]  
00000217    166.91104126    [1632] *** Status originated: -1073741811   
00000218    166.91104126    [1632] ***   Source File: onecore\com\netfx\windowsbuilt\iso_legacy\base\isolation\hier_hierarchy.cpp, line 230 
00000219    166.91104126    [1632]  
theChaosCoder commented 3 years ago

Do you also need a log from the working non store version, for comparison?

EDIT: Working PORTABLE version log

Rufus x86 v3.17.1846 (Portable)
Windows version: Windows 10 Pro, 64-bit (Build 19043.1288)
Syslinux versions: 4.07/2013-07-25, 6.04/pre1
Grub versions: 0.4.6a, 2.06
System locale ID: 0x0407 (de-DE)
Will use default UI locale 0x0407
SetLGP: Successfully set NoDriveTypeAutorun policy to 0x0000009E
Localization set to 'de-DE'
Notice: The ISO download feature has been deactivated because 'Check for updates' is disabled in your settings.
Found USB 3.0 device 'NORELSYS 1081 USB Device' (2537:1081)
1 device found
No volume information for drive 0x86
Disk type: Removable, Disk size: 64 GB, Sector size: 512 bytes
Cylinders: 7764, Tracks per cylinder: 255, Sectors per track: 63
Partition type: MBR, NB Partitions: 1
Disk ID: 0x15C78540
Drive has a Zeroed Master Boot Record
Partition 1:
  Type: FAT32 LBA (0x0c)
  Size: 59.5 GB (63863521280 bytes)
  Start Sector: 2048, Boot: No
Processing Hub 1:
  Hub[1] = '\\?\usb#vid_0bda&pid_5412#6&3223911d&0&1#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
  Found ID[207]: USB\VID_046D&PID_C52E\7&2565C421&0&2
Processing Hub 2:
  Hub[2] = '\\?\usb#root_hub30#5&f2e74e8&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
  Found ID[074]: USB\VID_2537&PID_1081\0123456789ABCDE
Processing Hub 3:
Processing Hub 4:
Processing Hub 5:
  Hub[3] = '\\?\usb#root_hub30#5&e780179&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
  Found ID[057]: USB\VID_046D&PID_C083\187C38503330
  Found ID[184]: USB\VID_0BDA&PID_0412\6&3223911D&0&5
  Found ID[018]: USB\VID_0BDA&PID_5412\6&3223911D&0&1
Processing IDs belonging to 'USBSTOR':
  USB\VID_2537&PID_1081\0123456789ABCDE
Processing 'SCSI' device:
  Hardware ID: ''
Found non-USB non-removable device 'INTEL SSDPEKKW010T8' => Eliminated
Processing 'USBSTOR' device:
  Hardware ID: 'USBSTOR\DiskNORELSYS1081____________0___'
  Matched with ID[074]: USB\VID_2537&PID_1081\0123456789ABCDE
  Matched with Hub[2]: '\\?\usb#root_hub30#5&f2e74e8&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
Found USB 3.0 device 'NORELSYS 1081 USB Device' (2537:1081)
Windows volumes from this device:
● \\?\Volume{4f471a68-370e-11ec-9ed7-309c23ad6cbe} @1048576
Processing 'SCSI' device:
  Hardware ID: ''
Found non-USB non-removable device 'PNY CS3030 1TB SSD' => Eliminated
Processing 'SCSI' device:
  Hardware ID: 'SCSI\Disk_________CT1000MX500SSD1M3CR'
Found non-USB non-removable device 'CT1000MX500SSD1' => Eliminated
Processing 'SCSI' device:
  Hardware ID: 'SCSI\DiskSanDisk_____SDSSDH3_2T004110'
Found non-USB non-removable device 'SanDisk SDSSDH3 2T00' => Eliminated
Processing 'SCSI' device:
  Hardware ID: 'SCSI\Disk_________CT2000MX500SSD1M3CR'
Found non-USB non-removable device 'CT2000MX500SSD1' => Eliminated
1 device found
Windows volumes from this device:
● \\?\Volume{4f471a68-370e-11ec-9ed7-309c23ad6cbe}\ @1048576
No volume information for drive 0x86
Disk type: Removable, Disk size: 64 GB, Sector size: 512 bytes
Cylinders: 7764, Tracks per cylinder: 255, Sectors per track: 63
Partition type: MBR, NB Partitions: 1
Disk ID: 0x15C78540
Drive has a Zeroed Master Boot Record
Partition 1:
  Type: FAT32 LBA (0x0c)
  Size: 59.5 GB (63863521280 bytes)
  Start Sector: 2048, Boot: No
Windows volumes from this device:
● \\?\Volume{4f471a68-370e-11ec-9ed7-309c23ad6cbe}\ @1048576
No volume information for drive 0x86
Disk type: Removable, Disk size: 64 GB, Sector size: 512 bytes
Cylinders: 7764, Tracks per cylinder: 255, Sectors per track: 63
Partition type: MBR, NB Partitions: 1
Disk ID: 0x15C78540
Drive has a Zeroed Master Boot Record
Partition 1:
  Type: FAT32 LBA (0x0c)
  Size: 59.5 GB (63863521280 bytes)
  Start Sector: 2048, Boot: No
SearchProcess: Could not open process 4: Access Denied
SearchProcess: Could not open process 648: Access Denied
SearchProcess: Could not open process 896: Access Denied
SearchProcess: Could not open process 988: Access Denied
SearchProcess: Could not open process 996: Access Denied
SearchProcess: Could not open process 696: Access Denied
SearchProcess: Could not open process 3720: Access Denied
SearchProcess: Could not open process 4524: Access Denied
SearchProcess: Could not open process 7516: Access Denied
SearchProcess: Could not open process 9680: Access Denied
SearchProcess: Could not open process 2668: Access Denied
SearchProcess: Could not open process 7668: Access Denied
SearchProcess: Could not open process 16504: Access Denied
SearchProcess: Could not open process 19388: Access Denied
SearchProcess: Could not open process 10924: Access Denied
SearchProcess: Could not open process 17208: Access Denied
SearchProcess: Could not open process 11636: Access Denied
SearchProcess: Could not open process 17336: Access Denied

Format operation started
Requesting disk access...
No drive letter was assigned...
Will use 'H:' as volume mountpoint
Windows volumes from this device:
● \\?\Volume{4f471a68-370e-11ec-9ed7-309c23ad6cbe}\ @0
Opened \\.\PhysicalDrive6 for exclusive write access
Could not lock access to \\.\PhysicalDrive6: Windows error code 0x00000005 (FormatMessage error code 0x00003AFC)
SearchProcess: Could not open process 4: Access Denied
SearchProcess: Could not open process 648: Access Denied
SearchProcess: Could not open process 896: Access Denied
SearchProcess: Could not open process 988: Access Denied
SearchProcess: Could not open process 996: Access Denied
SearchProcess: Could not open process 696: Access Denied
SearchProcess: Could not open process 3720: Access Denied
SearchProcess: Could not open process 4524: Access Denied
SearchProcess: Could not open process 7516: Access Denied
SearchProcess: Could not open process 9680: Access Denied
SearchProcess: Could not open process 2668: Access Denied
SearchProcess: Could not open process 7668: Access Denied
SearchProcess: Could not open process 16504: Access Denied
SearchProcess: Could not open process 19388: Access Denied
SearchProcess: Could not open process 10924: Access Denied
SearchProcess: Could not open process 17208: Access Denied
WARNING: The following process(es) or service(s) are accessing \Device\Harddisk6\DR17:
● [008076] C:\Windows\System32\vds.exe (r)
You should close these applications before attempting to reformat the drive.
Analyzing existing boot records...
Drive has a Zeroed Master Boot Record
Clearing MBR/PBR/GPT structures...
Erasing 2176 sectors
Initializing disk...
Partitioning (MBR)...
● Creating Main Data Partition (offset: 1048576, size: 59.5 GB)
Waiting for logical drive to reappear...
Formatting (Large FAT32)...
Windows volumes from this device:
● \\?\Volume{4f471a68-370e-11ec-9ed7-309c23ad6cbe} @1048576
Opened \\?\Volume{4f471a68-370e-11ec-9ed7-309c23ad6cbe} for exclusive write access
Size : 59.5 GB 124733440 sectors
Cluster size 32768 bytes, 512 bytes per sector
Volume ID is 1a07:335c
32 Reserved sectors, 15223 sectors per FAT, 2 FATs
1948483 Total clusters
1948482 Free clusters
Clearing out 30542 sectors for reserved sectors, FATs and root cluster...
Initializing reserved sectors and FATs...
FAT #0 sector at address: 32
FAT #1 sector at address: 15255
Writing Partition Boot Record...
Using Standard FAT32 partition boot record
Confirmed new volume has a primary FAT32 boot sector
Setting primary FAT32 boot sector for boot...
Confirmed new volume has a secondary FAT32 boot sector
Setting secondary FAT32 boot sector for boot...
Setting label...
Format completed.
Writing Master Boot Record...
Partition is already FAT32 LBA...
Using Zeroed MBR
Found volume \\?\Volume{4f471a68-370e-11ec-9ed7-309c23ad6cbe}\
Created: H:\autorun.inf
Created: H:\autorun.ico
Successfully remounted \\?\Volume{4f471a68-370e-11ec-9ed7-309c23ad6cbe}\ as H:

Processing Hub 1:
  Hub[1] = '\\?\usb#vid_0bda&pid_5412#6&3223911d&0&1#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
  Found ID[207]: USB\VID_046D&PID_C52E\7&2565C421&0&2
Processing Hub 2:
  Hub[2] = '\\?\usb#root_hub30#5&f2e74e8&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
  Found ID[074]: USB\VID_2537&PID_1081\0123456789ABCDE
Processing Hub 3:
Processing Hub 4:
Processing Hub 5:
  Hub[3] = '\\?\usb#root_hub30#5&e780179&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
  Found ID[057]: USB\VID_046D&PID_C083\187C38503330
  Found ID[184]: USB\VID_0BDA&PID_0412\6&3223911D&0&5
  Found ID[018]: USB\VID_0BDA&PID_5412\6&3223911D&0&1
Processing IDs belonging to 'USBSTOR':
  USB\VID_2537&PID_1081\0123456789ABCDE
Processing 'SCSI' device:
  Hardware ID: ''
Found non-USB non-removable device 'INTEL SSDPEKKW010T8' => Eliminated
Processing 'USBSTOR' device:
  Hardware ID: 'USBSTOR\DiskNORELSYS1081____________0___'
  Matched with ID[074]: USB\VID_2537&PID_1081\0123456789ABCDE
  Matched with Hub[2]: '\\?\usb#root_hub30#5&f2e74e8&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}'
Found USB 3.0 device 'NORELSYS 1081 USB Device' (2537:1081)
Using autorun.inf label for drive H: '64 GB'
Processing 'SCSI' device:
  Hardware ID: ''
Found non-USB non-removable device 'PNY CS3030 1TB SSD' => Eliminated
Processing 'SCSI' device:
  Hardware ID: 'SCSI\Disk_________CT1000MX500SSD1M3CR'
Found non-USB non-removable device 'CT1000MX500SSD1' => Eliminated
Processing 'SCSI' device:
  Hardware ID: 'SCSI\DiskSanDisk_____SDSSDH3_2T004110'
Found non-USB non-removable device 'SanDisk SDSSDH3 2T00' => Eliminated
Processing 'SCSI' device:
  Hardware ID: 'SCSI\Disk_________CT2000MX500SSD1M3CR'
Found non-USB non-removable device 'CT2000MX500SSD1' => Eliminated
1 device found
Windows volumes from this device:
● \\?\Volume{4f471a68-370e-11ec-9ed7-309c23ad6cbe}\ @1048576
Disk type: Removable, Disk size: 64 GB, Sector size: 512 bytes
Cylinders: 7764, Tracks per cylinder: 255, Sectors per track: 63
Partition type: MBR, NB Partitions: 1
Disk ID: 0x00000000
Drive has a Zeroed Master Boot Record
Partition 1:
  Type: FAT32 LBA (0x0c)
  Size: 59.5 GB (63863521280 bytes)
  Start Sector: 2048, Boot: No
pbatard commented 3 years ago

I was about to reply that I can always use more logs, but you already provided it, so thanks!

For the record, I'm not seeing issues on my end using the App Store version to format a 64 GB SD card to Large FAT32 using an USB 3.0 adapter:

Rufus x64 v3.17.1846 (AppStore version)
Windows version: Windows 10 Pro Workstation, 64-bit (Build 19043.1348)
Syslinux versions: 4.07/2013-07-25, 6.04/pre1
Grub versions: 0.4.6a, 2.06
System locale ID: 0x0809 (en-GB)
Will use default UI locale 0x0809
SetLGP: Successfully set NoDriveTypeAutorun policy to 0x0000009E
Localization set to 'en-US'
Notice: Windows VDS is unavailable
Found USB 3.0 device 'Lexar microSD RDR USB Device' (05DC:B051)
Using autorun.inf label for drive H: '64 GB'
1 device found
Disk type: Removable, Disk size: 64 GB, Sector size: 512 bytes
Cylinders: 7783, Tracks per cylinder: 255, Sectors per track: 63
Partition type: MBR, NB Partitions: 1
Disk ID: 0x00000000
Drive has a Zeroed Master Boot Record
Partition 1:
  Type: FAT32 LBA (0x0c)
  Size: 59.6 GB (64020807680 bytes)
  Start Sector: 2048, Boot: No

Format operation started
Requesting disk access...
Will use 'H:' as volume mountpoint
Warning: Could not delete partition(s): VDS is not available
Opened \\.\PhysicalDrive9 for shared write access
Requesting logical volume handle...
I/O boundary checks disabled
Analyzing existing boot records...
Drive has a Zeroed Master Boot Record
Clearing MBR/PBR/GPT structures...
Erasing 2048 sectors
Initializing disk...
Partitioning (MBR)...
● Creating Main Data Partition (offset: 1048576, size: 59.6 GB)
Closing existing volume...
Waiting for logical drive to reappear...
Formatting (Large FAT32)...
Opened \\?\Volume{7a6e46ce-43c4-11ec-8cff-f0038c9a2e6f} for exclusive write access
Size : 59.6 GB 125040640 sectors
Cluster size 32768 bytes, 512 bytes per sector
Volume ID is 190c:f53
32 Reserved sectors, 15261 sectors per FAT, 2 FATs
1953282 Total clusters
1953281 Free clusters
Clearing out 30618 sectors for reserved sectors, FATs and root cluster...
Initializing reserved sectors and FATs...
FAT #0 sector at address: 32
FAT #1 sector at address: 15293
Writing Partition Boot Record...
Using Standard FAT32 partition boot record
Confirmed new volume has a primary FAT32 boot sector
Setting primary FAT32 boot sector for boot...
Confirmed new volume has a secondary FAT32 boot sector
Setting secondary FAT32 boot sector for boot...
Setting label...
Format completed.
Writing Master Boot Record...
Partition is already FAT32 LBA...
Using Zeroed MBR
Found volume \\?\Volume{7a6e46ce-43c4-11ec-8cff-f0038c9a2e6f}\
Created: H:\autorun.inf
Created: H:\autorun.ico
Successfully remounted \\?\Volume{7a6e46ce-43c4-11ec-8cff-f0038c9a2e6f}\ as H:

Found USB 3.0 device 'Lexar microSD RDR USB Device' (05DC:B051)
Using autorun.inf label for drive H: '64 GB'
1 device found
Disk type: Removable, Disk size: 64 GB, Sector size: 512 bytes
Cylinders: 7783, Tracks per cylinder: 255, Sectors per track: 63
Partition type: MBR, NB Partitions: 1
Disk ID: 0x00000000
Drive has a Zeroed Master Boot Record
Partition 1:
  Type: FAT32 LBA (0x0c)
  Size: 59.6 GB (64020807680 bytes)
  Start Sector: 2048, Boot: No

So, there seems to be an environmental component to this issue that's linked to your system. All I can say, from your extra log and mine is that the crash happens between Clearing out ##### sectors for reserved sectors, FATs and root cluster... and Initializing reserved sectors and FATs..., so that means this specific section of the code (since we can eliminate a memory allocation issue that would have produced an error). Of course it's also possible that we crash shortly after we start to initialize the reserved sectors and FATs, but that the debug output doesn't get a chance to appear...

But the thing is, all this code does is write some sectors, which, even if we were to pass completely garbage data, I wouldn't expect to crash and there's also nothing specific about the App Store version for that section. As a matter of fact, the 3.17 App Store binary is the same as the standard 64-bit binary, so I'm going to ask you to do a few things:

  1. Try the same thing with the rufus_x64.exe you can find in this zip archive, since that is the exact same binary as the App Store version, except it's not digitally signed (which means that you may get a message about this exe not being an "official" one on startup, that you can safely ignore). Note that it will not say (AppStore version) in the log, because Rufus only enables that mode when it detects a rufus.app file in the same folder as the executable, but that shouldn't really matter for this specific test.
  2. Try using the App Store to format to NTFS.
  3. Try formatting a different USB device that is not an SD card connected to your Norel System (`NORELSYS 1081) device, which, at this point, I am still not sure whether it is an internal device, that you just plug an SD card in, or an external USB card reader that you plug to a USB port.

You also seem to imply that this is something that started to happen after the 3.16 release. Does it mean that you have been able to format the same device to FAT32 without errors using 3.15 or earlier?

theChaosCoder commented 3 years ago

1. It crashes also with rufus_x64.exe from the zip file. (rufus-3.17p.exe [Version 3.17 (Build 1846)] from the website has no problems. I formatted the card many time with the "website" version and it always worked. I could not trigger a single crash)

2. Weird thing happend. Selected format to NTFS, after some time it says "Media is write protected". I happend on both store and portable version. Removing and inserting again my USB-Card reader solved the problem.

Another weird thing: Formating it to exFat (non bootable) seems impossible with rufus for me (both store and portable version). It waits a long time, then it is either "write protected" or it is currently in use by the explorer process . BUT if I select fat32 (portable ver) it happily formats it without complaints. NTFS is also "buggy" for me. Windows itself has also no trouble formating it to exfat or ntfs.

3. I also happens with a different card reader :-/

TL:DR;

Not sure if any of that helps you in any way ^^"

You also seem to imply that this is something that started to happen after the 3.16 release. Does it mean that you have been able to format the same device to FAT32 without errors using 3.15 or earlier?

A couple of month ago I had this issue with v3.16-store. The website already had v3.17 and it worked without any issues, so I just assumed that it was fixed in this version. This week I tried the latest store version v3.17 and same crash happend immediately. So I again went to the webiste, downloaded the latest version => no crash.

Is there a way to test an older store version like 3.15?

pbatard commented 3 years ago

Thanks a lot for these tests.

It's quite strange that exFAT or NTFS would fail formatting, as we're simply invoking the Windows formatting DLL behind the scenes and not running actual Rufus code to perform the operations.

However, your testing gives us a few more things to try:

  1. Can you try the same tests with the rufus_86.exe from the same VS2019.zip archive as before and let me know if it shows the same issue. This will tell us if it's a 64-bit vs 32-bit problem or if it's a MinGW vs MVSC compiler problem, since the version that works for you is the MinGW 32-bit version.
  2. You indicate you tried with a different card reader, but have you also tried with a different card? Considering that I'm unable to replicate the issue, and that I am also not getting reports of crashes when formatting SD cards (even if I know that the store version is of course not as widely used as the regular version), it logically follows that there is some hardware/environmental component to this. Possibly, the card might having issues when accessed in a specific manner, that is being triggered when doing so from a 64-bit or MSVC application, which would of course create all kind of problems that would not be seen with other cards.
  3. If you have the possibility, the best you could do to help with this issue would be to install Visual Studio Community edition which you can download here since it would tell us more precisely where/why it crashes when formatting to FAT32 (and we know that the Visual Studio compiled version of Rufus should crash for 64-bit since that's the version you just tested). If you are willing to install and test with Visual Studio, this is how you should proceed:
    1. When installing Visual Studio, you should make sure that you select the Desktop development with C++ component
    2. When you start Visual Studio, select Clone a repository and enter https://github.com/pbatard/rufus.git as the URL
    3. If you are using VS2022 it will ask you to upgrade the project files, which you should accept (I'll update the solution to VS2022 soon but there are a few things that I need to sort out before I can do that)
    4. After the Rufus source has been downloaded and the project created, make sure you select Debug and x64 per the screenshot below: Image1
    5. Click Local Windows Debugger to build and debug Rufus. Visual Studio will prompt you to restart as administrator when it first launches Rufus, since it's an elevated app, so let it do that (and click Local Windows Debugger again once it has done so).
    6. Try to format your SD card to FAT32. If the application crashes you should see some output like this: Image1
    7. The part of interest is the Call Stack window (bottom pane) that tells us what was the last line of code that was ran before the crash. In the example above, since I'm triggering a crash through a division by zero, the Call Stack points directly into the Rufus code, but in your case it may point to Windows libraries, in which case you need to move up the Call Stack until you are back to the Rufus source and can see the last line from our source that was invoked.
    8. When you are done invetigating the crash, just press the big red "stop" square at the top.

If you can do any of the above, that would help try to figure out what is going on.

As to your question "Is there a way to test an older store version like 3.15?", I'm afraid I don't know any workaround to download old store applications. But I don't think that's needed. I simply wanted to know if recalled testing store versions that worked, so that I could get an idea if there was a specific version where a potential regression had been introduced, but it's not a big deal if you don't have any data like that.

theChaosCoder commented 3 years ago

I feel like the micro sd-card is trolling me.... downloaded the rufus source code, made upgrade (I had to run vs2022 as admin, otherwise it wouldn't run rufus in debug mode), etc. ... and suddenly everything works now. Like a well oiled machine, even the store version. Should I be happy now? :-/

I will try again tomorrow and hope for the worst :D

theChaosCoder commented 3 years ago

Tested today again and still no crashes. The only explanation I have is that there was a "bigger" windows update on my machine. So maybe it was caused by windows, maybe not, idk. All I can say is that it works reliably now

If it happens again I will try to debug in VS2020 first. Will close this issue for now.

Thank you for your quick response and help!! :-)

pbatard commented 3 years ago

Okay, thanks for the info.

As mentioned earlier, it certainly does look like there's an environmental component to the crashes you observe, even if the fact that it crashes with MSVC/x64 and not MinGW/x86 would make one think that it's a specific issue with the MSVC/x64 code...

But if you observe the crashes again in a consistent manner, I'll be interested to know what Visual Studio reports.

github-actions[bot] commented 2 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.