Author Topic: Another Malloc Failed problem  (Read 956 times)

0 Members and 1 Guest are viewing this topic.

Another Malloc Failed problem
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]
« Last Edit: December 01, 2015, 10:28:13 pm by perihelion »
"Wouldn't it be so wonderful if everything were meaningless?
But everything is so meaningful, and most everything turns to ****.
Rejoice."
-David Bazan

 

Offline niffiwan

  • 211
  • Eluder Class
Re: Another Malloc Failed problem
Try using a 64bit build 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.
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Another Malloc Failed problem
Get rid of the bpc-advanced vps.