https://bugs.winehq.org/show_bug.cgi?id=37213
Bug ID: 37213 Summary: [EEP10] Crashing at program start Product: Wine Version: 1.6.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: lipkegu@gmail.com
Created attachment 49470 --> https://bugs.winehq.org/attachment.cgi?id=49470 Backtrace - EEP10
EEP10 (EEPX), developed by Trend is an Modeltrain simulation, various tests since EEP6 are showing that the Program doesnt run under Linux (Wine). when the Program starts... im attashing a back-trace from Wine 1.6.2 (Linux Mint 17 - Qiana), from the moment, when trying to start EEPX
Thanks in Advance!
https://bugs.winehq.org/show_bug.cgi?id=37213
Guido Lipke lipkegu@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |kernel32
https://bugs.winehq.org/show_bug.cgi?id=37213
Guido Lipke lipkegu@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #49470|Backtrace - EEP10 |Backtrace - EEP10 description| |Error: kernel32.dll -> | |GetSystemDirectoryA
https://bugs.winehq.org/show_bug.cgi?id=37213
Guido Lipke lipkegu@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.6.2 |1.7.25
https://bugs.winehq.org/show_bug.cgi?id=37213
--- Comment #1 from Guido Lipke lipkegu@gmail.com --- Comment on attachment 49470 --> https://bugs.winehq.org/attachment.cgi?id=49470 Backtrace - EEP10 Error: kernel32.dll -> GetSystemDirectoryA
Unhandled exception: page fault in 64-bit code (0x000000007b86d123). Register dump: rip:000000007b86d123 rsp:000000000051fc68 rbp:000000012d8ee014 eflags:00010212 ( R- -- I -A- - ) rax:000000007b86d110 rbx:0000000140b4e24d rcx:0000000140b4e24d rdx:0000000000000104 rsi:0000000140b4e24d rdi:0000000000010470 r8:0000000000010730 r9:0000000000010730 r10:0000000000000002 r11:0000000000000293 r12:00007fffff7ef000 r13:0000000000000000 r14:00007fffff7e8000 r15:00007fffe5156630 Stack dump: 0x000000000051fc68: 0000000000000000 0000000000000000 0x000000000051fc78: 00007fd0c1c00000 0000000040b56b28 0x000000000051fc88: 00000000c68dde20 000000012d8ee014 0x000000000051fc98: 00007fffe5156630 00007fffff7e8000 0x000000000051fca8: 0000000000000000 00007fffff7ef000 0x000000000051fcb8: 0000000000000293 0000000000000002 0x000000000051fcc8: 0000000000010730 0000000000010730 0x000000000051fcd8: 000000012d8ee014 0000000000299a7e 0x000000000051fce8: 0000000040b50000 0000000000000104 0x000000000051fcf8: 0000000140b4e24d 0000000140b4e24d 0x000000000051fd08: 000000007b86d110 0000000040b50000 0x000000000051fd18: 0000000000299a7e 0000000140c632d2 Backtrace: =>0 0x000000007b86d123 GetSystemDirectoryA+0x13() in kernel32 (0x000000012d8ee014) 1 0x0000000140c632d2 in eep10x64 (+0xc632d1) (0x000000012d8ee014) 2 0x0000000140c5baf3 in eep10x64 (+0xc5baf2) (0x000000012d8ee014) 3 0x000000007b86d110 in kernel32 (+0x4d10f) (0x000000012d8ee014) 0x000000007b86d123 GetSystemDirectoryA+0x13 in kernel32: Modules: Module Address Debug info Name (54 modules) ELF 7b800000- 7bc6f000 Dwarf kernel32<elf> -PE 7b820000- 7bc6f000 \ kernel32 ELF 7be00000- 7c103000 Deferred <wine-loader> PE 140000000- 14110b000 Export eep10x64 ELF 7fd0c13ba000- 7fd0c15e6000 Deferred msacm32<elf> -PE 7fd0c13c0000- 7fd0c15e6000 \ msacm32 ELF 7fd0c15e6000- 7fd0c1877000 Deferred rpcrt4<elf> -PE 7fd0c1600000- 7fd0c1877000 \ rpcrt4 ELF 7fd0c1877000- 7fd0c1bf0000 Deferred ole32<elf> -PE 7fd0c18a0000- 7fd0c1bf0000 \ ole32 ELF 7fd0c1bf0000- 7fd0c1eb1000 Deferred winmm<elf> -PE 7fd0c1c00000- 7fd0c1eb1000 \ winmm ELF 7fd0c1eb1000- 7fd0c20b7000 Deferred libxfixes.so.3 ELF 7fd0c20b7000- 7fd0c22c1000 Deferred libxcursor.so.1 ELF 7fd0c22c1000- 7fd0c24d1000 Deferred libxi.so.6 ELF 7fd0c24d1000- 7fd0c26d4000 Deferred libxcomposite.so.1 ELF 7fd0c26d4000- 7fd0c28de000 Deferred libxrandr.so.2 ELF 7fd0c28de000- 7fd0c2ae8000 Deferred libxrender.so.1 ELF 7fd0c2ae8000- 7fd0c2cee000 Deferred libxxf86vm.so.1 ELF 7fd0c2cee000- 7fd0c2ef1000 Deferred libxinerama.so.1 ELF 7fd0c2ef1000- 7fd0c30f7000 Deferred libxdmcp.so.6 ELF 7fd0c30f7000- 7fd0c32fb000 Deferred libxau.so.6 ELF 7fd0c32fb000- 7fd0c351a000 Deferred libxcb.so.1 ELF 7fd0c351a000- 7fd0c384f000 Deferred libx11.so.6 ELF 7fd0c384f000- 7fd0c3a61000 Deferred libxext.so.6 ELF 7fd0c3a82000- 7fd0c3d1c000 Deferred winex11<elf> -PE 7fd0c3a90000- 7fd0c3d1c000 \ winex11 ELF 7fd0c3d86000- 7fd0c3fb0000 Deferred libexpat.so.1 ELF 7fd0c3fb0000- 7fd0c41ec000 Deferred libfontconfig.so.1 ELF 7fd0c41ec000- 7fd0c4412000 Deferred libpng12.so.0 ELF 7fd0c4412000- 7fd0c462b000 Deferred libz.so.1 ELF 7fd0c462b000- 7fd0c48ce000 Deferred libfreetype.so.6 ELF 7fd0c48ce000- 7fd0c4ae7000 Deferred version<elf> -PE 7fd0c48d0000- 7fd0c4ae7000 \ version ELF 7fd0c4ae7000- 7fd0c4d6a000 Deferred advapi32<elf> -PE 7fd0c4b00000- 7fd0c4d6a000 \ advapi32 ELF 7fd0c4d6a000- 7fd0c50c9000 Deferred gdi32<elf> -PE 7fd0c4d80000- 7fd0c50c9000 \ gdi32 ELF 7fd0c50c9000- 7fd0c5467000 Deferred user32<elf> -PE 7fd0c50f0000- 7fd0c5467000 \ user32 ELF 7fd0c5467000- 7fd0c5673000 Deferred libnss_files.so.2 ELF 7fd0c5673000- 7fd0c587f000 Deferred libnss_nis.so.2 ELF 7fd0c587f000- 7fd0c5a99000 Deferred libnsl.so.1 ELF 7fd0c5a99000- 7fd0c5ca3000 Deferred libnss_compat.so.2 ELF 7fd0c60e4000- 7fd0c62fa000 Deferred libgcc_s.so.1 ELF 7fd0c62fa000- 7fd0c6600000 Deferred libm.so.6 ELF 7fd0c6600000- 7fd0c68f2000 Deferred ntdll<elf> -PE 7fd0c6620000- 7fd0c68f2000 \ ntdll ELF 7fd0c68f5000- 7fd0c6cbb000 Deferred libc.so.6 ELF 7fd0c6cbb000- 7fd0c6ebf000 Deferred libdl.so.2 ELF 7fd0c6ec0000- 7fd0c70de000 Deferred libpthread.so.0 ELF 7fd0c70ff000- 7fd0c74a2000 Dwarf libwine.so.1 ELF 7fd0c74a4000- 7fd0c76c9000 Deferred ld-linux-x86-64.so.2 ELF 7fffe51fe000- 7fffe51ff000 Deferred [vdso].so Threads: process tid prio (all id:s are in hex) 00000008 iexplore.exe 00000035 0 00000033 0 00000032 0 00000031 0 00000030 0 0000002f 0 0000002e -1 0000002d 0 0000002c 0 0000002b 0 0000002a 0 00000029 0 00000026 0 00000025 0 00000024 0 00000009 0 0000000e services.exe 0000001e 0 0000001d 0 00000014 0 00000010 0 0000000f 0 00000012 winedevice.exe 0000001c 0 00000019 0 00000017 0 00000013 0 0000001a plugplay.exe 00000020 0 0000001f 0 0000001b 0 00000021 explorer.exe 00000023 0 00000022 0 0000003d rpcss.exe 0000000d 0 00000043 0 00000044 0 00000040 0 00000042 0 00000047 0 00000054 (D) C:\Program Files (x86)\Trend\EEP10\EEP10x64.exe 00000055 0 <== System information: Wine build: wine-1.7.25 Platform: x86_64 Host system: Linux Host version: 3.13.0-24-generic
https://bugs.winehq.org/show_bug.cgi?id=37213
Guido Lipke lipkegu@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #49470|0 |1 is obsolete| |
--- Comment #2 from Guido Lipke lipkegu@gmail.com --- Created attachment 49471 --> https://bugs.winehq.org/attachment.cgi?id=49471 tried with 1.7.25, also crashing
https://bugs.winehq.org/show_bug.cgi?id=37213
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |win64 Status|UNCONFIRMED |RESOLVED CC| |focht@gmx.net Resolution|--- |DUPLICATE Summary|[EEP10] Crashing at program |64-bit EEP-X / EEP 10 |start |Eisenbahn.exe (train | |simulator) crashes on | |startup (violation of the | |Windows 64-bit ABI, stack | |pointer (RSP) must be | |16-byte aligned when making | |a call to Win64 API)
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
the 64-bit app is broken, dupe of bug 27680
Even without trace log or app disassembly it's pretty obvious to me.
Disassembly of 64-bit Wine 'GetSystemDirectoryA' entry on my system:
--- snip --- $ wine64 winedbg --gdb notepad
0022:0023: create process 'C:\windows\system32\notepad.exe'/0x10980 @0x7f9bc46635ec (0<0>) ... 0022:0023: loads DLL C:\windows\system32\KERNEL32.dll @0x7b820000 (0<0>) 0022:0023: loads DLL C:\windows\system32\ntdll.dll @0x7f9bcafe0000 (0<0>) 0022:0023: loads DLL C:\windows\system32\advapi32.dll @0x7f9bc3260000 (0<0>) 0022:0023: loads DLL C:\windows\system32\gdi32.dll @0x7f9bc34f0000 (0<0>) 0022:0023: loads DLL C:\windows\system32\version.dll @0x7f9bc3040000 (0<0>) 0022:0023: loads DLL C:\windows\system32\user32.dll @0x7f9bc3880000 (0<0>) 0022:0023: loads DLL C:\windows\system32\shlwapi.dll @0x7f9bc3c40000 (0<0>) 0022:0023: loads DLL C:\windows\system32\shell32.dll @0x7f9bc3ee0000 (0<0>) 0022:0023: loads DLL C:\windows\system32\comctl32.dll @0x7f9bc2d10000 (0<0>) 0022:0023: loads DLL C:\windows\system32\winspool.drv @0x7f9bc2ac0000 (0<0>) 0022:0023: loads DLL C:\windows\system32\comdlg32.dll @0x7f9bc4350000 (0<0>) 0022:0023: loads DLL C:\windows\system32\msvcrt.dll @0x7f9bc2800000 (0<0>) 0022:0023: loads DLL C:\windows\system32\winex11.drv @0x7f9bc2500000 (0<0>) 0022:0023: loads DLL C:\windows\system32\uxtheme.dll @0x7f9bc22b0000 (0<0>) 00000022:00000023: exception code=0x80000003 0x00007f9bcb06bc15 in DbgBreakPoint () at /home/focht/projects/wine/wine.repo/src/dlls/ntdll/signal_x86_64.c:3416 3416 } trace: 98 => 80 ... Wine-gdb> disas GetSystemDirectoryA Dump of assembler code for function GetSystemDirectoryA: 0x000000007b879994 <+0>: push %rbp 0x000000007b879995 <+1>: mov %rsp,%rbp 0x000000007b879998 <+4>: push %rdi 0x000000007b879999 <+5>: push %rsi 0x000000007b87999a <+6>: sub $0xa0,%rsp 0x000000007b8799a1 <+13>: movaps %xmm6,(%rsp) ; must be 16-byte aligned 0x000000007b8799a5 <+17>: movaps %xmm7,0x10(%rsp) 0x000000007b8799aa <+22>: movaps %xmm8,0x20(%rsp) 0x000000007b8799b0 <+28>: movaps %xmm9,-0x80(%rbp) 0x000000007b8799b5 <+33>: movaps %xmm10,-0x70(%rbp) 0x000000007b8799ba <+38>: movaps %xmm11,-0x60(%rbp) 0x000000007b8799bf <+43>: movaps %xmm12,-0x50(%rbp) 0x000000007b8799c4 <+48>: movaps %xmm13,-0x40(%rbp) 0x000000007b8799c9 <+53>: movaps %xmm14,-0x30(%rbp) 0x000000007b8799ce <+58>: movaps %xmm15,-0x20(%rbp) 0x000000007b8799d3 <+63>: mov %rcx,0x10(%rbp) 0x000000007b8799d7 <+67>: mov %edx,0x18(%rbp) 0x000000007b8799da <+70>: mov 0x40c947(%rip),%rax # <DIR_System> 0x000000007b8799e1 <+77>: mov 0x18(%rbp),%edx 0x000000007b8799e4 <+80>: mov 0x10(%rbp),%rsi 0x000000007b8799e8 <+84>: mov %rax,%rdi 0x000000007b8799eb <+87>: callq 0x7b8741b3 <copy_filename_WtoA> --- snip ---
RSP from your backtrace fault context = 0x51fc68 -> not 16-byte aligned for SSE instructions.
Calculating the original RSP backwards up to caller:
0x51fc68 + 0xA0 (buffer) + 8 (rsi) + 8 (rdi) + 8 (rbp) + 8 (rip, ret_addr) = 0x51fd28
At time of performing the call instruction the stack has to be 16-byte aligned!
Regards
*** This bug has been marked as a duplicate of bug 27680 ***
https://bugs.winehq.org/show_bug.cgi?id=37213
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Austin English austinenglish@gmail.com --- Closing.