[Bug 37531] HxD and HexEdit fail to access raw disk/partitions via ' \\\\.\\PhysicalDriveX'
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Jun 11 17:29:19 CDT 2019
https://bugs.winehq.org/show_bug.cgi?id=37531
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Keywords| |download
URL| |https://web.archive.org/web
| |/20190403125220/https://mh-
| |nexus.de/downloads/HxDSetup
| |EN.zip
Summary|HxD and HexEdit fail to |HxD and HexEdit fail to
|access disks |access raw disk/partitions
| |via '\\\\.\\PhysicalDriveX'
Ever confirmed|0 |1
--- Comment #9 from Anastasius Focht <focht at gmx.net> ---
Hello folks,
adding stable download links and trace log. Kinda exotic use-case to run a tool
that requires raw disk access since Linux already provides all the
mechanics/tools.
--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/HxD
$ WINEDEBUG=+seh,+relay,+ntdll,+mountmgr wine ./HxD.exe >>log.txt 2>&1
...
0009:Call KERNEL32.CreateFileA(00905128
"\\\\.\\PhysicalDrive0",80000000,00000003,00000000,00000003,b0000000,00000000)
ret=004d7be4
0009:trace:ntdll:FILE_CreateFile handle=0x34f994 access=80100080
name=L"\\??\\PhysicalDrive0" objattr=00000040 root=(nil) sec=(nil) io=0x34f9a0
alloc_size=(nil) attr=00000000 sharing=00000003 disp=1 options=0000086a
ea=(nil).0x00000000
0009:Ret KERNEL32.CreateFileA() retval=000000cc ret=004d7be4
0009:Call
KERNEL32.DeviceIoControl(000000cc,000700a0,00000000,00000000,0034faf0,00000028,0034fb30,00000000)
ret=004d7c8a
0024:Ret KERNEL32.WaitForMultipleObjectsEx() retval=00000001 ret=7fb243d2f1c6
0009:trace:ntdll:NtDeviceIoControlFile
(0xcc,(nil),(nil),(nil),0x34fa08,0x000700a0,(nil),0x00000000,0x34faf0,0x00000028)
...
0024:Call driver dispatch 0x7fb243d2dc30 (device=0x2f5c0,irp=0x75c80)
...
0024:Ret driver dispatch 0x7fb243d2dc30 (device=0x2f5c0,irp=0x75c80)
retval=c0000010
...
0024:Call driver dispatch 0x7fb2521b7f20 (device=0x2f5c0,irp=0x75c80)
0024:trace:mountmgr:harddisk_ioctl ioctl 700a0 insize 0 outsize 40
0024:fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and
DISK_DETECTION_INFO structures will not be filled
0024:Call ntoskrnl.exe.IoCompleteRequest(00075c80,00000000) ret=7fb2521b8019
...
0024:Ret ntoskrnl.exe.IoCompleteRequest() retval=00000001 ret=7fb2521b8019
0024:Ret driver dispatch 0x7fb2521b7f20 (device=0x2f5c0,irp=0x75c80)
retval=00000000
...
0009:Ret KERNEL32.DeviceIoControl() retval=00000001 ret=004d7c8a
...
0009:Call user32.CreateMDIWindowW(001adf4c
L"TFormHexView.UnicodeClass",00000000,06cf0000,80000000,80000000,80000000,80000000,0001009c,00400000,00000000)
ret=004c3e51
...
0009:Call KERNEL32.SetFilePointer(000000cc,00000000,0034f578,00000000)
ret=0040b3d7
0009:trace:ntdll:NtSetInformationFile
(0xcc,0x34f488,0x34f480,0x00000008,0x0000000e)
0009:Ret KERNEL32.SetFilePointer() retval=ffffffff ret=0040b3d7
0009:Call KERNEL32.GetLastError() ret=0043c079
0009:Ret KERNEL32.GetLastError() retval=00000042 ret=0043c079
...
0009:Call KERNEL32.WideCharToMultiByte(00000000,00000000,001b3fe4 L"Bad device
type.",00000010,0034e53c,00000fff,00000000,00000000) ret=004c5f91
0009:Ret KERNEL32.WideCharToMultiByte() retval=00000010 ret=004c5f91
0009:Call KERNEL32.RaiseException(0eedfade,00000001,00000007,0034f554)
ret=0043c0ba
0009:trace:seh:raise_exception code=eedfade flags=1 addr=0x7b45008b ip=7b45008b
tid=0009
0009:trace:seh:raise_exception info[0]=0043c0ba
0009:trace:seh:raise_exception info[1]=0090b480
0009:trace:seh:raise_exception info[2]=00000042
0009:trace:seh:raise_exception info[3]=00911990
0009:trace:seh:raise_exception info[4]=00ed0000
0009:trace:seh:raise_exception info[5]=0034f584
0009:trace:seh:raise_exception info[6]=0034f570
0009:trace:seh:raise_exception eax=0034f4a0 ebx=0034f584 ecx=00000018
edx=0034f554 esi=0034f554 edi=0034f520
0009:trace:seh:raise_exception ebp=0034f4f8 esp=0034f494 cs=340023 ds=34002b
es=f7c2002b fs=f7c20063 gs=f7c2006b flags=00000212
0009:trace:seh:call_vectored_handlers calling handler at 0x7d4a6040
code=eedfade flags=1
--- snip ---
$ sha1sum HxDSetupEN.zip
e2c3c761f2d52b754a82709c1b47c5efe9e06417 HxDSetupEN.zip
$ du -sh HxDSetupEN.zip
852K HxDSetupEN.zip
$ wine --version
wine-4.10
Regards
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list