Hard Light Productions Forums

Hosted Projects - FS2 Required => Blue Planet => Topic started by: perihelion on December 01, 2015, 10:25:02 pm

Title: Another Malloc Failed problem
Post by: perihelion on December 01, 2015, 10:25:02 pm
Having a consistent problem.  I just finished Delenda Est and keep trying to load the final mission / cutscene of WiH Act 2.  I keep getting a "Malloc Failed!" error and CTD.  Sometimes the error window is completely blank, no text, just the form buttons which I assume to still be "Yes," "No," or "Cancel" or somesuch.

I updated my BPC install over Thanksgiving, so it should be fairly current.  I had been using a late November nightly when the problem first happened last night, so I decided maybe I needed to try a newer one.  Shut down and went to bed.  Downloaded the DEC 1 nightly build (standard / SSE2) tonight and I had the same problem.  So I ran it again in debug and got the following:

My run settings:
Code: [Select]
C:\Games\FreeSpace2\fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe -mod bpcomplete,mediavps_2014
-missile_lighting -3dshockwave -img2dds -no_vsync -cache_bitmaps -dualscanlines -targetinfo -orbradar -rearm_timer
-ballistic_gauge -ship_choice_3d -weapon_choice_3d -warp_flash -snd_preload -fps -ambient_factor 50
-no_emissive_light -spec_exp 15 -spec_point 1.2 -spec_static 1.5 -spec_tube 1.5 -ogl_spec 20
Debug spew:
Code: [Select]
Couldn't open texture 'beam_quad'
referenced by model 'providence.pof'

ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2_20151201_12b9806-DEBUG.exe! <no symbol>
kernel32.dll! BaseThreadInitThunk + 18 bytes
ntdll.dll! RtlInitializeExceptionChain + 99 bytes
ntdll.dll! RtlInitializeExceptionChain + 54 bytes

I attempted to continue, but it CTD'd afterwards.  I'd never seen "Malloc Failed" errors before BP Complete.  I've no idea what it means.  Does anyone have any advice?  FS2_open.log attached.

[attachment DELETED!! by Strong Bad]
Title: Re: Another Malloc Failed problem
Post by: niffiwan on December 01, 2015, 10:30:02 pm
Try using a 64bit build (http://www.hard-light.net/forums/index.php?topic=90891.0) and see if that fixes the malloc failed issue.

One reason for malloc failed is that 32bit Windows apps by default only have access to 2GB of RAM, and BPComplete is complex enough to require more than that on occasion.
Title: Re: Another Malloc Failed problem
Post by: General Battuta on December 01, 2015, 10:33:33 pm
Get rid of the bpc-advanced vps.