[Bug 7663] War Of the Ring Demo aborts silently on startup

Wine Bugs wine-bugs at winehq.org
Thu Mar 8 18:22:04 CST 2007


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





------- Additional Comments From dmitry at codeweavers.com  2007-08-03 18:22 -------
000b:Call ntdll.RtlAllocateHeap(010a0000,00000000,00000105) ret=0082a2a9
000b:Ret  ntdll.RtlAllocateHeap() retval=01163010 ret=0082a2a9
000b:Call kernel32.SetCurrentDirectoryA(01163010 "") ret=00798df0
trace:file:RtlDosPathNameToNtPathName_U (L"",0x33f5e8,(nil),(nil))
000b:Ret  kernel32.SetCurrentDirectoryA() retval=00000000 ret=00798df0

01163010 is a pointer retuned by RtlAllocateHeap(MAX_PATH+1) call just before
the SetCurrentDirectoryA call, but looks like for some reason the app doesn't
initialize the string.

The app calls GetCommandLineA first, perhaps it expects to find full start up
path there?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list