[Bug 37338] RobloxPlayer crashes on startup (boost::interprocess needs 'NtQuerySection' for file-backed shared memory object implementation)

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Oct 1 17:06:48 CDT 2014


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |download
             Status|UNCONFIRMED                 |NEW
                URL|                            |http://setup.roblox.com/ver
                   |                            |sion-a9f03e66405a4cee-Roblo
                   |                            |x.exe
                 CC|                            |focht at gmx.net
          Component|-unknown                    |ntdll
            Summary|Unhandled exception         |RobloxPlayer crashes on
                   |0x40000015 in thread 55 at  |startup
                   |address 0x330023:0x013e327c |(boost::interprocess needs
                   |(thread 0055)               |'NtQuerySection' for
                   |                            |file-backed shared memory
                   |                            |object implementation)
     Ever confirmed|0                           |1

--- Comment #4 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

please don't put that crap in the bug summary.
Bugzilla search becomes useless with that kind of summary, it falls in same
class as "it doesn't work".

Your log shows you were using native MSVC++ 2012 runtime overrides.
Don't do that unless explicitly told, this makes bugs potentially invalid and
analysis harder.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/users/focht/Local Settings/Application
Data/RobloxVersions/version-2c1f992c1a264ecc

$ WINEDEBUG=+tid,+seh,+relay wine ./RobloxPlayerBeta.exe >>log.txt 2>&1
...
0023:Call KERNEL32.CreateFileA(015781f8 "C:\\users\\Public\\Application
Data/boost_interprocess//rbx_http_curl_named_mutex",c0000000,00000007,00000000,00000001,00000100,00000000)
ret=0083f04d 
...
0023:Ret  KERNEL32.CreateFileA() retval=0000009c ret=0083f04d
...
0023:Call KERNEL32.GetSystemInfo(0033fa3c) ret=00842d62
0023:Ret  KERNEL32.GetSystemInfo() retval=0033fa3c ret=00842d62
0023:Call KERNEL32.GetFileSizeEx(0000009c,0033fa10) ret=00842765
0023:Ret  KERNEL32.GetFileSizeEx() retval=00000001 ret=00842765
0023:Call
KERNEL32.SetFilePointerEx(0000009c,00000000,00000000,00000000,00000000)
ret=008427b6
0023:Ret  KERNEL32.SetFilePointerEx() retval=00000001 ret=008427b6
0023:Call KERNEL32.WriteFile(0000009c,01149e78,0000000c,0033fa18,00000000)
ret=008427e2
0023:Ret  KERNEL32.WriteFile() retval=00000001 ret=008427e2
0023:Call
KERNEL32.CreateFileMappingA(0000009c,00000000,00000004,00000000,00000000,00000000)
ret=0083c378
0023:Ret  KERNEL32.CreateFileMappingA() retval=000000a0 ret=0083c378
0023:Call KERNEL32.GetSystemInfo(0033fa04) ret=0083c3ae
0023:Ret  KERNEL32.GetSystemInfo() retval=0033fa04 ret=0083c3ae
0023:Call KERNEL32.GetProcAddress(7bc10000,00da6fdc "NtQuerySection")
ret=0083ff43
0023:Ret  KERNEL32.GetProcAddress() retval=7bc22264 ret=0083ff43
0023:Call ntdll.NtQuerySection(000000a0,00000000,0033fa28,00000010,00000000)
ret=0083c3f5
0023:fixme:ntdll:NtQuerySection (0xa0,0,0x33fa28,0x00000010,(nil)) stub!
0023:Ret  ntdll.NtQuerySection() retval=00000000 ret=0083c3f5
0023:Call msvcr110.??0exception at std@@QAE at XZ(0033f974) ret=0083e2bc
0023:Ret  msvcr110.??0exception at std@@QAE at XZ() retval=0033f974 ret=0083e2bc
0023:Call msvcr110.??2 at YAPAXI@Z(00000030) ret=00406e3d
0023:Call ntdll.RtlAllocateHeap(01470000,00000000,00000030) ret=7e1229bb
0023:Ret  ntdll.RtlAllocateHeap() retval=01578130 ret=7e1229bb
0023:Ret  msvcr110.??2 at YAPAXI@Z() retval=01578130 ret=00406e3d
0023:Call msvcr110.memcpy(01578130,00da65c4,0000002c) ret=00406bad
0023:Ret  msvcr110.memcpy() retval=01578130 ret=00406bad
0023:Call msvcr110._CxxThrowException(0033f974,00fc4d9c) ret=008419a0
0023:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0033f904)
ret=7e108871
0023:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b83ae8f
ip=7b83ae8f tid=0023
0023:trace:seh:raise_exception  info[0]=19930520
0023:trace:seh:raise_exception  info[1]=0033f974
0023:trace:seh:raise_exception  info[2]=00fc4d9c
0023:trace:seh:raise_exception  eax=7b826d6d ebx=7b8be000 ecx=19930520
edx=0033f854 esi=0033f900 edi=0033f8c0
0023:trace:seh:raise_exception  ebp=0033f898 esp=0033f834 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000283
0023:trace:seh:call_stack_handlers calling handler at 0xc96728 code=e06d7363
flags=1
0023:trace:seh:call_stack_handlers handler at 0xc96728 returned 1
0023:trace:seh:call_stack_handlers calling handler at 0xc9687d code=e06d7363
flags=1
0023:trace:seh:cxx_frame_handler handling C++ exception rec 0x33f840 frame
0x33fd08 trylevel 11 descr 0xfc4988 nested_frame (nil)
0023:trace:seh:dump_exception_type flags 0 destr 0x83e9b0 handler (nil) type
info 0xfc4dac
0023:trace:seh:dump_exception_type     0: flags 0 type 0x10a5178
{vtable=0xe166cc name=.?AVinterprocess_exception at interprocess@boost@@ ()}
offsets 0,-1,0 size 44 copy ctor 0x83e370
0023:trace:seh:dump_exception_type     1: flags 0 type 0x110adfc
{vtable=0xe166cc name=.?AVexception at std@@ ()} offsets 0,-1,0 size 12 copy ctor
0xb6761e 
...
0023:Call msvcr110._CxxThrowException(00000000,00000000) ret=0083d50b
0023:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0033f154)
ret=7e108871
0023:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b83ae8f
ip=7b83ae8f tid=0023
0023:trace:seh:raise_exception  info[0]=19930520
0023:trace:seh:raise_exception  info[1]=00000000
0023:trace:seh:raise_exception  info[2]=00000000
0023:trace:seh:raise_exception  eax=7b826d6d ebx=7b8be000 ecx=19930520
edx=0033f0a4 esi=0033f150 edi=0033f110
0023:trace:seh:raise_exception  ebp=0033f0e8 esp=0033f084 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000283
0023:trace:seh:call_stack_handlers calling handler at 0x7e112adb code=e06d7363
flags=1
0023:trace:seh:catch_function_nested_handler got nested exception in catch
function
0023:trace:seh:catch_function_nested_handler detect rethrow: exception code:
e06d7363
0023:trace:seh:catch_function_nested_handler re-propage: obj: 33f974, type:
fc4d9c
0023:trace:seh:cxx_frame_handler handling C++ exception rec 0x33f090 frame
0x33fd08 trylevel 15 descr 0xfc4988 nested_frame 0x33f20c
0023:trace:seh:dump_exception_type flags 0 destr 0x83e9b0 handler (nil) type
info 0xfc4dac
0023:trace:seh:dump_exception_type     0: flags 0 type 0x10a5178
{vtable=0xe166cc name=.?AVinterprocess_exception at interprocess@boost@@ ()}
offsets 0,-1,0 size 44 copy ctor 0x83e370
0023:trace:seh:dump_exception_type     1: flags 0 type 0x110adfc
{vtable=0xe166cc name=.?AVexception at std@@ ()} offsets 0,-1,0 size 12 copy ctor
0xb6761e 
...
0023:Call KERNEL32.UnhandledExceptionFilter(0033eb64) ret=7bc9de71
0023:Call msvcr110.?terminate@@YAXXZ() ret=00b680e6
0023:Call KERNEL32.MultiByteToWideChar(00000000,00000000,7e16b9ba "Runtime
error!",0000000e,0033e240,00000400) ret=7e1323d0
0023:Ret  KERNEL32.MultiByteToWideChar() retval=0000000e ret=7e1323d0
0023:Call KERNEL32.MultiByteToWideChar(00000000,00000000,7e16b9e3 "abnormal
program termination",0000001c,0033da40,00000400) ret=7e1323d0
0023:Ret  KERNEL32.MultiByteToWideChar() retval=0000001c ret=7e1323d0
...
0023:Call user32.MessageBoxIndirectW(0033d9f4) ret=7e1152ae 
--- snip ---

The app makes heavy use of Boost C++ libraries, especially boost::interprocess
in this case.

http://www.boost.org/doc/libs/1_56_0/boost/interprocess/detail/managed_open_or_create_impl.hpp

It wants to create a file-backed shared memory object and needs
'NtQuerySection' for that.

Source:
http://source.winehq.org/git/wine.git/blob/97c3bb040e7811fcd506fb5c29f5bdbec4ffead5:/dlls/ntdll/nt.c#l655

--- snip ---
655 NTSTATUS WINAPI NtQuerySection(
656         IN HANDLE SectionHandle,
657         IN SECTION_INFORMATION_CLASS SectionInformationClass,
658         OUT PVOID SectionInformation,
659         IN ULONG Length,
660         OUT PULONG ResultLength)
661 {
662     FIXME("(%p,%d,%p,0x%08x,%p) stub!\n",
663
SectionHandle,SectionInformationClass,SectionInformation,Length,ResultLength);
664     return 0;
665 }
--- snip ---

$ sha1sum RobloxPlayerLauncher.exe
556abff2ab700bb07a371d71bd6b7dfc2e0a524c  RobloxPlayerLauncher.exe

$ du -sh RobloxPlayerLauncher.exe
624K    RobloxPlayerLauncher.exe

$ wine --version
wine-1.7.27-113-g5afbb6b

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