Author Topic: Another Malloc Failed? [FIXED]  (Read 2644 times)

0 Members and 1 Guest are viewing this topic.

Offline Crybertrance

  • 29
  • Conventional warheads only, no funny business
Another Malloc Failed? [FIXED]
So, I'm getting another Malloc Failed. This after completing the Jupiter Orbit mission (Idune Dictionary?) and proceeding to the next mission. The loading slider goes all the way to the right, and then, this:

Code: [Select]
Malloc Failed!

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

I don't think this is a pilot issue, because I can do everything else (access mainhall, replay other missions from the techroom, etc) without issue.

log: http://pastebin.com/fxidVBye
« Last Edit: January 13, 2013, 03:54:00 am by Crybertrance »
<21:08:30>   Hartzaden fires a slammer at Cybertrance
<21:09:13>   Crybertrance pops flares, but wonders how Hartzaden acquired aspect lock on a stealth fighter... :\
<21:11:58>   *** The_E joined #bp [email protected]
21:11:58   +++ ChanServ has given op to The_E
<21:12:58>   Hartzaden continues to paint crybertrance and feeding the info to a wing of gunships
<21:14:07>   Crybertrance sends emergency "IM GETING MY ASS KICKED HERE!!!!eleventy NEED HELPZZZZ" to 3rd fleet command
<21:14:50>   Hartzaden jamms the transmission.
<21:14:51>   The_E explodes the sun

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Another Malloc Failed?
If you quit and try to load the mission again, do you still get the error?

 

Offline Crybertrance

  • 29
  • Conventional warheads only, no funny business
Re: Another Malloc Failed?
If you quit and try to load the mission again, do you still get the error?

Yes...consistently. However sometimes I get a shorter Malloc Failed error like so:

Code: [Select]
Malloc Failed!

ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_3_6_17_SSE2_BP.exe! <no symbol>
fs2_open_3_6_17_SSE2_BP.exe! <no symbol>
fs2_open_3_6_17_SSE2_BP.exe! <no symbol>
fs2_open_3_6_17_SSE2_BP.exe! <no symbol>
<21:08:30>   Hartzaden fires a slammer at Cybertrance
<21:09:13>   Crybertrance pops flares, but wonders how Hartzaden acquired aspect lock on a stealth fighter... :\
<21:11:58>   *** The_E joined #bp [email protected]
21:11:58   +++ ChanServ has given op to The_E
<21:12:58>   Hartzaden continues to paint crybertrance and feeding the info to a wing of gunships
<21:14:07>   Crybertrance sends emergency "IM GETING MY ASS KICKED HERE!!!!eleventy NEED HELPZZZZ" to 3rd fleet command
<21:14:50>   Hartzaden jamms the transmission.
<21:14:51>   The_E explodes the sun

 

Offline SF-Junky

  • 29
  • Bread can mold, what can you do?
Re: Another Malloc Failed?
It worked fine for me after I had deleted that uber big file.

Of course I had to re-play the missions I had already done to this point.

 

Offline Crybertrance

  • 29
  • Conventional warheads only, no funny business
Re: Another Malloc Failed?
It worked fine for me after I had deleted that uber big file.

Of course I had to re-play the missions I had already done to this point.

Are you talking about the player files? If so, the debug log shows parsing of the pilot files worked just fine?
 :confused:
Plus I don't wanna replay everything again! I just scraped through "Her Finest Hour" by the skin of my teeth!
<21:08:30>   Hartzaden fires a slammer at Cybertrance
<21:09:13>   Crybertrance pops flares, but wonders how Hartzaden acquired aspect lock on a stealth fighter... :\
<21:11:58>   *** The_E joined #bp [email protected]
21:11:58   +++ ChanServ has given op to The_E
<21:12:58>   Hartzaden continues to paint crybertrance and feeding the info to a wing of gunships
<21:14:07>   Crybertrance sends emergency "IM GETING MY ASS KICKED HERE!!!!eleventy NEED HELPZZZZ" to 3rd fleet command
<21:14:50>   Hartzaden jamms the transmission.
<21:14:51>   The_E explodes the sun

 

Offline niffiwan

  • 211
  • Eluder Class
Re: Another Malloc Failed?
Your log shows that your not crashing during the loading of the pilotfile, so this must be a different malloc error to the other one.  I'm not sure what is causing this one :(
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 Crybertrance

  • 29
  • Conventional warheads only, no funny business
Re: Another Malloc Failed?
Your log shows that your not crashing during the loading of the pilotfile, so this must be a different malloc error to the other one.  I'm not sure what is causing this one :(

So, then, what should I do? Anything I can try out here?

e: Maybe I could load another pilot and use that hot-key (what was it again?) to unlock all the missions and then play from the techroom to see if I can repro the Malloc?
<21:08:30>   Hartzaden fires a slammer at Cybertrance
<21:09:13>   Crybertrance pops flares, but wonders how Hartzaden acquired aspect lock on a stealth fighter... :\
<21:11:58>   *** The_E joined #bp [email protected]
21:11:58   +++ ChanServ has given op to The_E
<21:12:58>   Hartzaden continues to paint crybertrance and feeding the info to a wing of gunships
<21:14:07>   Crybertrance sends emergency "IM GETING MY ASS KICKED HERE!!!!eleventy NEED HELPZZZZ" to 3rd fleet command
<21:14:50>   Hartzaden jamms the transmission.
<21:14:51>   The_E explodes the sun

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Another Malloc Failed?
That would be great.

 

Offline Crybertrance

  • 29
  • Conventional warheads only, no funny business
Re: Another Malloc Failed? [FIXED]
That would be great.

Nope that did not help, but I found the cause of the problem (thanks to The_E and MatthTheGeek) over at #bp.

Apparently; Blue Planet is designed and tested to be compatible with only it self and the MediaVps as stated by The_E. So, as pointed out by Matth, this custom flag was causing issues:

Code: [Select]
-mod updated_ships
This is where I had stored all the HTL stuff released since the MediaVPs released.

And since in Universal Truth the only non-HTL ship is the
Spoiler:
Sathanas
FSO was choking on the HTL Awesomeness of said ship ( since after all, there are so many of them!)

So, I removed that flag and guess what, no errors! I ran the whole mission at a solid 30 FPS (And you thought the HD 5700 series is a poor card  :hopping: )

So thanks guys! :)
<21:08:30>   Hartzaden fires a slammer at Cybertrance
<21:09:13>   Crybertrance pops flares, but wonders how Hartzaden acquired aspect lock on a stealth fighter... :\
<21:11:58>   *** The_E joined #bp [email protected]
21:11:58   +++ ChanServ has given op to The_E
<21:12:58>   Hartzaden continues to paint crybertrance and feeding the info to a wing of gunships
<21:14:07>   Crybertrance sends emergency "IM GETING MY ASS KICKED HERE!!!!eleventy NEED HELPZZZZ" to 3rd fleet command
<21:14:50>   Hartzaden jamms the transmission.
<21:14:51>   The_E explodes the sun

 

Offline crizza

  • 210
Re: Another Malloc Failed? [FIXED]
Is this the same issue?
Code: [Select]
Malloc Failed!

ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_3_6_17_SSE2_BP.exe! <no symbol>
fs2_open_3_6_17_SSE2_BP.exe! <no symbol>
fs2_open_3_6_17_SSE2_BP.exe! <no symbol>
fs2_open_3_6_17_SSE2_BP.exe! <no symbol>
fs2_open_3_6_17_SSE2_BP.exe! <no symbol>
fs2_open_3_6_17_SSE2_BP.exe! <no symbol>
fs2_open_3_6_17_SSE2_BP.exe! <no symbol>
fs2_open_3_6_17_SSE2_BP.exe! <no symbol>

 

Offline niffiwan

  • 211
  • Eluder Class
Re: Another Malloc Failed? [FIXED]
It is hard to tell just from that error.

Check the size of your pilot files - if they are huge, then it's the "other" malloc issue.  Also post a fs2_open.log and we might be able to give more info.
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...