[Bug 49939] Clive Barker's Jericho Demo claims not enough room on C: when Wine is built with mingw (NtMapViewOfSection returns STATUS_NOMEMORY)

WineHQ Bugzilla wine-bugs at winehq.org
Thu Jan 7 14:24:18 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=49939

--- Comment #8 from Anastasius Focht <focht at gmx.net> ---
Hello Gijs,

your trace:

--- snip ---
...
0024:Call KERNEL32.CreateFileA(0031ebcc
"C:\\users\\gverm\\Temp\\pft9080.tmp\\pftw1.pkg",80000000,00000001,00000000,00000003,00000080,00000000)
ret=00401026
...
0024:Ret  KERNEL32.CreateFileA() retval=00000088 ret=00401026
0024:Call
KERNEL32.CreateFileMappingA(00000088,00000000,00000002,00000000,00000000,00000000)
ret=00401048
0024:Call
ntdll.NtCreateSection(0031e7f4,000f0005,0031e808,0031e7f8,00000002,08000000,00000088)
ret=7b06a1d9
0024:Ret  ntdll.NtCreateSection() retval=00000000 ret=7b06a1d9
0024:Call ntdll.RtlNtStatusToDosError(00000000) ret=7b06a291
0024:Ret  ntdll.RtlNtStatusToDosError() retval=00000000 ret=7b06a291
0024:Ret  KERNEL32.CreateFileMappingA() retval=0000008c ret=00401048
0024:Call KERNEL32.MapViewOfFile(0000008c,00000004,00000000,00000000,00000000)
ret=0040105c
0024:Call
ntdll.NtMapViewOfSection(0000008c,ffffffff,0031e824,00000000,00000000,0031e7f8,0031e820,00000001,00000000,00000002)
ret=7b0384c7
0024:trace:virtual:NtMapViewOfSection handle=0x8c process=0xffffffff addr=(nil)
off=000000000 size=0 access=2
0024:Ret  ntdll.NtMapViewOfSection() retval=c0000017 ret=7b0384c7
0024:Call ntdll.RtlNtStatusToDosError(c0000017) ret=7b038509
0024:Ret  ntdll.RtlNtStatusToDosError() retval=00000008 ret=7b038509
0024:Ret  KERNEL32.MapViewOfFile() retval=00000000 ret=0040105c 
--- snip ---

My trace:

--- snip ---
0024:Call KERNEL32.CreateFileA(0031ed0c
"C:\\users\\focht\\Temp\\pfte772.tmp\\pftw1.pkg",80000000,00000001,00000000,00000003,00000080,00000000)
ret=00401026
...
0024:Ret  KERNEL32.CreateFileA() retval=00000088 ret=00401026
0024:Call
KERNEL32.CreateFileMappingA(00000088,00000000,00000002,00000000,00000000,00000000)
ret=00401048
0024:Call
ntdll.NtCreateSection(0031e710,000f0005,0031e714,0031e700,00000002,08000000,00000088)
ret=7b049fb4
0024: create_mapping( access=000f0005, flags=08000000, file_access=00000001,
size=00000000, file_handle=0088,
objattr={rootdir=0000,attributes=00000080,sd={},name=L""} )
0024: create_mapping() = 0 { handle=008c }
0024:Ret  ntdll.NtCreateSection() retval=00000000 ret=7b049fb4
0024:Call ntdll.RtlNtStatusToDosError(00000000) ret=7b049fd0
0024:Ret  ntdll.RtlNtStatusToDosError() retval=00000000 ret=7b049fd0
0024:Ret  KERNEL32.CreateFileMappingA() retval=0000008c ret=00401048
0024:Call KERNEL32.MapViewOfFile(0000008c,00000004,00000000,00000000,00000000)
ret=0040105c
0024:Call
ntdll.NtMapViewOfSection(0000008c,ffffffff,0031e960,00000000,00000000,0031e968,0031e964,00000001,00000000,00000002)
ret=7b0293f3
0024:trace:virtual:NtMapViewOfSection handle=0x8c process=0xffffffff addr=(nil)
off=000000000 size=0 access=2
0024: get_mapping_info( handle=008c, access=00000004 )
0024: get_mapping_info() = 0 { size=438dd5ae, flags=00800000, shared_file=0000,
image={} }
0024: get_handle_fd( handle=008c )
0024: *fd* 008c -> 47
0024: get_handle_fd() = 0 { type=1, cacheable=1, access=000f0005,
options=00000020 }
0024:trace:virtual:map_view got mem with anon mmap 0x37312000-0x7abf0000
0024:trace:virtual:create_view forcing exec permission on 0x37320000-0x7abfdfff
0024:trace:virtual:virtual_map_section handle=0x8c size=438de000
offset=000000000
0024:trace:virtual:map_file_into_view forcing exec permission on mapping
0x37320000-0x7abfdfff
0024: map_view( mapping=008c, access=00000004, base=37320000, size=438de000,
start=00000000 )
0024: map_view() = 0
0024:trace:virtual:dump_view View: 0x37320000 - 0x7abfdfff (file)
0024:trace:virtual:dump_view       0x37320000 - 0x7abfdfff c-r--
0024:Ret  ntdll.NtMapViewOfSection() retval=00000000 ret=7b0293f3
0024:Ret  KERNEL32.MapViewOfFile() retval=37320000 ret=0040105c
0024:Call KERNEL32.UnmapViewOfFile(37320000) ret=004010a4
...
0024:Call ntdll.NtUnmapViewOfSection(ffffffff,37320000) ret=7b0295cf
0024: unmap_view( base=37320000 )
0024: unmap_view() = 0
0024:Ret  ntdll.NtUnmapViewOfSection() retval=00000000 ret=7b0295cf
0024:Ret  KERNEL32.UnmapViewOfFile() retval=00000001 ret=004010a4
0024:Call KERNEL32.CloseHandle(0000008c) ret=004010b2
...
0024:Ret  KERNEL32.CloseHandle() retval=00000001 ret=004010bc 
--- snip ---

Can you attach +ntdll,+virtual,+server trace?

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