[Bug 18551] Xenocode: NtMapViewOfSection() callers must take non-negative NTSTATUS into account (STATUS_IMAGE_NOT_AT_BASE)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri May 22 05:38:30 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=18551





--- Comment #1 from Anastasius Focht <focht at gmx.net>  2009-05-22 05:38:30 ---
Hello,

another trace log snippet, showing the problem in the second location
(dlls/ntdll/loader.c:load_native_dll
), bolstering my analysis:

--- snip ---
...
0009:trace:module:get_load_order looking for L"C:\\Program Files\\RVG
Software\\Holdem Manager\\HMClass.dll"
0009:trace:module:get_load_order got hardcoded default for L"C:\\Program
Files\\RVG Software\\Holdem Manager\\HMClass.dll"
0009:trace:module:load_builtin_dll Trying built-in L"C:\\Program Files\\RVG
Software\\Holdem Manager\\HMClass.dll"
...
0009:trace:module:load_builtin_dll Trying built-in L"HMClass.dll"
0009:warn:module:load_builtin_dll cannot open .so lib for builtin
L"HMClass.dll": /opt/wine/wine-install/bin/../lib/wine/hmclass.dll.so: cannot
open shared object file: No such file or directory
0009:trace:module:load_native_dll Trying native dll L"C:\\Program Files\\RVG
Software\\Holdem Manager\\HMClass.dll"
0009: create_mapping( access=000f0007, attributes=00000000, protect=00000043,
size=001da000, file_handle=0000, objattr={rootdir=0000,sd={},name=L""} )
0009: create_mapping() = 0 { handle=0170 }
0009:trace:virtual:NtMapViewOfSection handle=0x170 process=0xffffffff
addr=0x10000000 off=000000000 size=0 access=4
0009: get_mapping_info( handle=0170, access=00000002 )
0009: get_mapping_info() = 0 { size=001da000, protect=67, header_size=0,
base=00000000, mapping=0178, shared_file=0000 }
0009: get_handle_fd( handle=0170 )
0009: *fd* 0170 -> 95
0009: get_handle_fd() = 0 { type=1, removable=0, access=000f0007,
options=00000020 }
0009: close_handle( handle=0178 )
0009: close_handle() = 0
0009:trace:virtual:NtMapViewOfSection handle=0x170 process=0xffffffff
addr=(nil) off=000000000 size=0 access=4
0009: get_mapping_info( handle=0170, access=00000002 )
0009: get_mapping_info() = 0 { size=001da000, protect=67, header_size=0,
base=00000000, mapping=0178, shared_file=0000 }
0009:trace:virtual:map_view got mem in reserved area 0x4e90000-0x506a000
0009:trace:virtual:VIRTUAL_DumpView View: 0x4e90000 - 0x5069fff (anonymous)
0009:trace:virtual:VIRTUAL_DumpView       0x4e90000 - 0x5069fff c-rw-
0009:trace:virtual:create_view forcing exec permission on 0x4e90000-0x5069fff
0009:trace:virtual:NtMapViewOfSection handle=0x170 size=1da000 offset=000000000
0009:warn:module:load_dll Failed to load module L"C:\\Program Files\\RVG
Software\\Holdem Manager\\HMClass.dll"; status=40000003
0009:fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for 40000003
...
0009:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b84385b
ip=7b84385b tid=0009
0009:trace:seh:raise_exception  info[0]=19930520
0009:trace:seh:raise_exception  info[1]=0032b280
0009:trace:seh:raise_exception  info[2]=7a34dfdc
0009:trace:seh:raise_exception  eax=7b82ca1d ebx=7b8c2918 ecx=00000000
edx=00004000 esi=00004000 edi=0016c6c8
0009:trace:seh:raise_exception  ebp=0032b214 esp=0032b1b0 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000246
...
--- snip ---

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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