[Bug 33376] Stick soldier 2 crash on startup

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Apr 27 03:41:12 CDT 2013


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

fox6x6x6 at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fox6x6x6 at gmail.com

--- Comment #3 from fox6x6x6 at gmail.com 2013-04-27 03:41:12 CDT ---
0024:Call KERNEL32.ReadFile(0000006c,0014be20,00000200,0033f798,00000000)
ret=7e0a291b
0024:Ret  KERNEL32.ReadFile() retval=00000001 ret=7e0a291b
0024:Ret  msvcrt.fgetc() retval=ffffffff ret=7e15cdb2
0024:Ret 
msvcp60.?getline@?$basic_istream at DU?$char_traits at D@std@@@std@@QAEAAV12 at PADH@Z()
retval=0033fb20 ret=004119c6
0024:Call
msvcp60.??4?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAEAAV01 at PBD@Z(0033fbc0,0033fbd0
"") ret=004119d9
0024:Call ntdll.strlen(0033fbd0 "") ret=7e18c8ce
0024:Ret  ntdll.strlen() retval=00000000 ret=7e18c8ce
0024:Ret 
msvcp60.??4?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAEAAV01 at PBD@Z()
retval=0033fbc0 ret=004119d9
0024:Call
msvcp60.??A?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAEAADI at Z(0033fbc0,00000000)
ret=004119e7
0024:Ret 
msvcp60.??A?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAEAADI at Z()
retval=00000000 ret=004119e7
0009:Ret  KERNEL32.WaitForDebugEvent() retval=00000001 ret=7edbe4de
0009:Call KERNEL32.GetThreadContext(00000030,7edf8aa0) ret=7edbe31b
0009:Ret  KERNEL32.GetThreadContext() retval=00000001 ret=7edbe31b
0009:Call KERNEL32.SetThreadContext(00000030,7edf8aa0) ret=7edbf32e
0009:Ret  KERNEL32.SetThreadContext() retval=00000001 ret=7edbf32e
0009:Call KERNEL32.ContinueDebugEvent(00000023,00000024,80010001) ret=7edbe5b1
0009:Ret  KERNEL32.ContinueDebugEvent() retval=00000001 ret=7edbe5b1
0009:Call KERNEL32.WaitForDebugEvent(0033de40,ffffffff) ret=7edbe4de
0024:Call msvcrt._except_handler3(0033f9f0,0033fe50,0033f724,0033f66c)
ret=7bc7805d
0024:Call msvcrt._XcptFilter(c0000005,0033f518) ret=0047fe79
0024:Ret  msvcrt._XcptFilter() retval=00000000 ret=0047fe79
0024:Ret  msvcrt._except_handler3() retval=00000001 ret=7bc7805d
0024:Call KERNEL32.UnhandledExceptionFilter(0033f5a8) ret=7bc8eb75
0024:Ret  KERNEL32.UnhandledExceptionFilter() retval=00000000 ret=7bc8eb75
0009:Ret  KERNEL32.WaitForDebugEvent() retval=00000001 ret=7edbe4de
0009:Call KERNEL32.GetThreadContext(00000030,7edf8aa0) ret=7edbe31b
0009:Ret  KERNEL32.GetThreadContext() retval=00000001 ret=7edbe31b
0009:Call KERNEL32.WriteFile(00000013,7edf7a20,0000005a,0033dc0c,00000000)
ret=7edc4172
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code
(0x004119e7).

The function
msvcp60.??A?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAEAADI at Z
is the string-operator at.
If you track that function, one call is with an empty string (this->size == 0
and more important this->ptr == NULL) at position 0. The return value is then
this->ptr+pos == NULL, which then causes the page fault.
Such a call shouldn't happen, or does it work to access an empty string at
position 0 under Windows.

-- 
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