https://bugs.winehq.org/show_bug.cgi?id=37640
Bug ID: 37640 Summary: Opening Windroy and it crashes. Product: Wine Version: 1.6.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: fholiveira1@hotmail.com Distribution: ---
Created attachment 50094 --> https://bugs.winehq.org/attachment.cgi?id=50094 Extract from Wine report of bug.
I was trying to open Windroy and it crashes. The system open a bug report, attached.
https://bugs.winehq.org/show_bug.cgi?id=37640
--- Comment #1 from Austin English austinenglish@gmail.com --- Please retest in wine 1.7.31.
https://bugs.winehq.org/show_bug.cgi?id=37640
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |http://slc.lo4d.com/files/w | |indroy/windroy_20140113.exe CC| |focht@gmx.net Component|-unknown |kernel32 Summary|Opening Windroy and it |Windroy v20140113 crashes |crashes. |on startup Ever confirmed|0 |1
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
--- snip --- $ pwd /home/focht/.wine/drive_c/Windroy/windroy_root/system/bin
$ WINEDEBUG=+tid,+seh,+relay wine ./android.exe >>log.txt 2>&1 ... 0023:Call KERNEL32.CreateProcessA(00000000,0041418e "android-start.exe",00000000,00000000,00000001,01000000,00000000,00000000,0061f54c,0061f5a4) ret=0040db71 ... 0026:Call KERNEL32.__wine_kernel_init() ret=7bc5a259 ... 0023:Ret KERNEL32.CreateProcessA() retval=00000001 ret=0040db71 ... 0026:Call KERNEL32.GetEnvironmentVariableA(6ee77932 "WINDROY_ROOT",0061eac0,00001000) ret=6ee648b3 0026:Ret KERNEL32.GetEnvironmentVariableA() retval=00000018 ret=6ee648b3 ... 0026:Call KERNEL32.SetEnvironmentVariableA(6ee7793f "ROOT_WINDROY_ROOT",00251492 "/Windroy/windroy_root") ret=6ee64dfe 0026:Ret KERNEL32.SetEnvironmentVariableA() retval=00000001 ret=6ee64dfe 0026:Call KERNEL32.SetCurrentDirectoryA(0061fae8 "C:/") ret=6ee64e26 0026:Ret KERNEL32.SetCurrentDirectoryA() retval=00000001 ret=6ee64e26 ... 0026:Call KERNEL32.CreateProcessA(00000000,00251490 "/Windroy/windroy_root//system/bin/plogd",00000000,00000000,00000001,00000000,00000000,00000000,0061fc3c,0061fc94) ret=6ee6ba41 0026:Ret KERNEL32.CreateProcessA() retval=00000000 ret=6ee6ba41 0026:Call KERNEL32.GetLastError() ret=6ee6ba86 0026:Ret KERNEL32.GetLastError() retval=00000002 ret=6ee6ba86 ... 0026:Call msvcrt._vsnprintf(00251490,00000104,6ee778f9 "%s%s",0061fc7c) ret=6ee4ad17 0026:Ret msvcrt._vsnprintf() retval=0000001a ret=6ee4ad17 0026:Call msvcrt._mkdir(00251490 "/Windroy/windroy_root//tmp") ret=0040b8b1 0026:Call KERNEL32.CreateDirectoryA(00251490 "/Windroy/windroy_root//tmp",00000000) ret=7ed44f7e 0026:Ret KERNEL32.CreateDirectoryA() retval=00000000 ret=7ed44f7e 0026:Ret msvcrt._mkdir() retval=ffffffff ret=0040b8b1 ... --- snip ---
The Android OS abstraction layer in the application code makes use of forward slash as path separator (POSIX compliant). The application uses 'SetCurrentDirectory' with the root drive and expects '/foo/bar' style paths to work -> 'c:/foo/bar'.
Debugger session (debug child startup)
--- snip --- $ winedbg ./android.exe $ set $AlsoDebugProcChild=1 ... $ Wine-dbg>bt Backtrace:
=>0 0x7b85f0f5 SearchPathW(path=0x0(nil), name="/Windroy/windroy_root//system/bin/plogd", ext=".exe", buflen=0x104, buffer="", lastpart=(nil)) [/home/focht/projects/wine/wine.repo/src/dlls/kernel32/path.c:866] in kernel32 (0x0061f588)
1 0x7b867afd get_file_name+0x28a(appname=0x0(nil), cmdline="/Windroy/windroy_root//system/bin/plogd", buffer="", buflen=0x104, handle=0x61fa70, binary_info=0x61f854) [/home/focht/projects/wine/wine.repo/src/dlls/kernel32/process.c:2257] in kernel32 (0x0061f5e8)
2 0x7b867cd2 create_process_impl+0xd5(app_name=0x0(nil), cmd_line="/Windroy/windroy_root//system/bin/plogd", process_attr=(nil), thread_attr=(nil), inherit=0x1, flags=0, env=0x0(nil), cur_dir=0x0(nil), startup_info=0x61fb58, info=0x61fc94) [/home/focht/projects/wine/wine.repo/src/dlls/kernel32/process.c:2301] in kernel32 (0x0061fb18)
3 0x7b8688bb CreateProcessA+0x1e5 ... 4 0x6ee6ba41 in libosal_hal (+0x2ba40) (0x0061fd58) 5 0x004013ea in android-start (+0x13e9) (0x0061fe20) ... --- snip ---
$ sha1sum windroy_20140113.exe 5b7b49cdef92ec9392fd8fe68aa098dd726efd4b windroy_20140113.exe
$ du -sh windroy_20140113.exe 80M windroy_20140113.exe
$ wine --version wine-1.7.31-154-g871fc4a
Regards
https://bugs.winehq.org/show_bug.cgi?id=37640
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #3 from super_man@post.com --- Maybe redefine the title to match the analyze?
https://bugs.winehq.org/show_bug.cgi?id=37640
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Windroy v20140113 crashes |Windroy v20140113 crashes |on startup |on startup (CreateProcess | |fails with leading forward | |slash as path separator, NT | |POSIX compliance)
https://bugs.winehq.org/show_bug.cgi?id=37640
temp82@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |temp82@luukku.com
--- Comment #4 from temp82@luukku.com --- dead download.