[Bug 47464] wineboot crashes after building as PE file starting with Wine 4.12

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jul 6 04:38:07 CDT 2019


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

--- Comment #3 from Anastasius Focht <focht at gmx.net> ---
Hello again,

forgot to include the debugger/disassembly from the crash site in my last
comment.

--- snip ---
0000000000402550 | 53       | push rbx                     |
0000000000402551 | 89F8     | mov eax,edi                  |
0000000000402553 | 0FA2     | cpuid                        |
0000000000402555 | 8906     | mov dword ptr ds:[rsi],eax   | rsi:L"Intel64" <--
0000000000402557 | 895E 04  | mov dword ptr ds:[rsi+4],ebx | rsi+4:L"tel64"
000000000040255A | 894E 08  | mov dword ptr ds:[rsi+8],ecx | rsi+8:L"l64"
000000000040255D | 8956 0C  | mov dword ptr ds:[rsi+C],edx |
0000000000402560 | 5B       | pop rbx                      |
0000000000402561 | C3       | ret                          |
--- snip ---

It matches the generated backtrace:

--- snip ---
000b:trace:seh:NtRaiseException code=c0000005 flags=0 addr=0x402555 ip=402555
tid=000b
000b:trace:seh:NtRaiseException  info[0]=0000000000000001
000b:trace:seh:NtRaiseException  info[1]=000000000040b6e0
000b:trace:seh:NtRaiseException  rax=0000000000000001 rbx=0000000000000000
rcx=0000000000000000 rdx=0000000000000000
000b:trace:seh:NtRaiseException  rsi=000000000040b6e0 rdi=00000000000000c0
rbp=0000000000000000 rsp=000000000032ecc0
000b:trace:seh:NtRaiseException   r8=000000000007ffff  r9=000000000032e542
r10=0000000000000000 r11=0000000000000246
000b:trace:seh:NtRaiseException  r12=0000000000000000 r13=00000000000000c0
r14=0000000000000000 r15=000000000040a685 
--- snip ---

Disassembly of caller, 'get_identifier' (although it should already be
obvious):

--- snip ---
0000000000402C80 | 56              | push rsi        ; rsi:L"Intel64"
0000000000402C81 | 53              | push rbx         
0000000000402C82 | 48:83EC 58      | sub rsp,58       
0000000000402C86 | 48:89D6         | mov rsi,rdx      
0000000000402C89 | 48:8D5424 40    | lea rdx,qword ptr ss:[rsp+40]
0000000000402C8E | 48:89CB         | mov rbx,rcx      
0000000000402C91 | B9 01000000     | mov ecx,1        
0000000000402C96 | 48:C74424 40 00 | mov qword ptr ss:[rsp+40],0
0000000000402C9F | 48:C74424 48 00 | mov qword ptr ss:[rsp+48],0
0000000000402CA8 | E8 A3F8FFFF     | call <wineboot.sub_402550>
--- snip ---

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