Rise and Fall: Civilizations at War (NTDLL-RtlFreeHeap EXC)

Having trouble playing a game, post here

Rise and Fall: Civilizations at War (NTDLL-RtlFreeHeap EXC)

PostPosted by OldBoy2k » Thu Oct 27, 2011 5:47 pm

Hi,

i just downloaded the game and the setup crashes do to some NTDLL breakpoint:
Code: Select all
Loaded "CABINET.DLL" at address 0x75990000 by thread 8.  Successfully hooked module.
LoadLibraryA("Cabinet.dll") returned 0x75990000 by thread 8.
GetProcAddress(0x75990000 [CABINET.DLL], 0x00000014) called from "SETUPAPI.DLL" at address 0x7831A1AC and returned 0x75991C48 by thread 8.
GetProcAddress(0x75990000 [CABINET.DLL], 0x00000016) called from "SETUPAPI.DLL" at address 0x7831A1AC and returned 0x75991DBF by thread 8.
HEAP[RISEANDFALL_SETUP_SW_FILEFRONT.EXE]: Invalid Address specified to RtlFreeHeap( 140000, 179edb0 )
First chance exception 0x80000003 (Breakpoint) occurred in "NTDLL.DLL" at address 0x778813B1 by thread 8.
HEAP[RISEANDFALL_SETUP_SW_FILEFRONT.EXE]: Invalid Address specified to RtlFreeHeap( 140000, 179edb0 )

Workaround: Install the game through Dependency Walker profile mode.

Missing Exports:
(DFRTIENGINE.DLL)
USER32.DLL - GetRawInputData

Fix:
1) download Dependency Walker and the game
2) extract midway_riseandfall.exe,open riseandfall_setup_sw_Filefront.exe in Dependency Walker and install it using the profile mode.
3) for User32.dll you will need the wrapper pack:
click here to download Wrapper pack
copy together with the renamed Win2k system User32_ORG.DLL to the binaries game directory.

Question remains: MSDN lists Windows XP for this RtlFreeHeap routine.Can this be hooked by the Wrapper kernel?
msdn: RtlFreeHeap routine

BR
OldBoy2k
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: Rise and Fall: Civilizations at War (NTDLL-RtlFreeHeap E

PostPosted by OldCigarette » Mon Oct 31, 2011 3:30 pm

This functions exists on win2k, msdn is just listing winxp as the minimum now for all apis which is really stupid imo. I can't see there being any problem in this function in win2k, probably a bug in the installer, DependencyWalker must swallow the debug break point and let it keep going.
OldCigarette
 
Posts: 208
Joined: Sun Feb 03, 2008 6:35 am
Location: Qo`nos

Re: Rise and Fall: Civilizations at War (NTDLL-RtlFreeHeap E

PostPosted by OldBoy2k » Fri Nov 04, 2011 12:09 pm

Hi OldCigarette,

i think i found something about this issue:
- HeapFree is not a part of KERNEL32.DLL (and hasn't been for a while),
- When that function is called or the address retrieved via 'GetProcAddress', the function 'RtlFreeHeap' in NTDLL.DLL is the function that's actually called (or returned as an address). Hopefully the 'DLLNAME.FunctionName' structure of a Forwarder string is starting to make sense now?

It seems, its not correctly implemented.Can it be handled the same way as RtlCaptureStackBackTrace?Could you upload a test Kernel,pls?

autoitscript.com: File + Process Imports and Exports - DLL, EXE etc

Wine API: RtlFreeHeap

BR
OldBoy2k
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: Rise and Fall: Civilizations at War (NTDLL-RtlFreeHeap E

PostPosted by OldCigarette » Fri Nov 04, 2011 7:12 pm

What is wrong with the RtlFreeHeap implementation in win2k?
OldCigarette
 
Posts: 208
Joined: Sun Feb 03, 2008 6:35 am
Location: Qo`nos

Re: Rise and Fall: Civilizations at War (NTDLL-RtlFreeHeap E

PostPosted by OldBoy2k » Fri Nov 04, 2011 8:24 pm

Dunno,thought its not working correctly or got not as updated as on Windows XP.

Update:
Seems we are dealing with a corrupt installer here.
Midway has sent aid for players who’ve run into trouble with the installer for Rise and Fall: Civilizations at War. Rise and Fall is offered as a free download from Midway on FileFront as of last week along with Area 51 and Full Spectrum Warrior.

Midway has apologized for the SNAFU and uploaded an uncorrupted version of the game. You can get RF: Civilizations at War Sponsored by US Air Force from FileFront.

Source: gamefront: Midway Sends Remedy for Rise and Fall Problems

The Data3.cab is reported to be corrupted.Found this download location offering a working version and will try again:
g4g.it: Rise and Fall Civilizations at War

Edit: Same crash.Have given up on this one because this crash seems to be corrupt archive related.

BR
OldBoy2k
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 0 guests

cron