Author Topic: Malloc Failed?  (Read 22279 times)

0 Members and 1 Guest are viewing this topic.

Offline Bryan See

  • Has anyone really been far as decided to use even go want to do look more like?
  • 210
  • Trying to redeem, but under Tiger Parents
    • Skype
    • Steam
    • Twitter
I've experienced it before, on my latest BP build, based on revision 9960, while testing on ships (taken from Diaspora, BP and many others) for my forthcoming mod called FreeSpace: Reunited, namely the mission in a Cylon perspective. Loading any mission get me this error, regardless of creating a new pilot.

Code: [Select]
Malloc Failed!

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

I believe others may get this same error as I did. And here's my attachment containing the pilot files to help track down this issue. Thanks.

[attachment deleted by ninja]
Bryan See - My FreeSpace Wiki User Page (Talk, Contributions)

Full Projects:
Shattered Stars

Campaigns:
Lost in the Mist - Cyrene vs. Psamtik
FreeSpace: Reunited

Ships:
GTS Hygeia, GTT Argo, SC Raguel

Tools:
FSO TC/Game template

I've been under attack by Tiger Parents like Jennifer Pan...

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Please post your fs2_open.log file.  Instructions on how to do this can be found in this post.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Bryan See

  • Has anyone really been far as decided to use even go want to do look more like?
  • 210
  • Trying to redeem, but under Tiger Parents
    • Skype
    • Steam
    • Twitter
Here is my fs2_open.log file you asked.

[attachment deleted by ninja]
Bryan See - My FreeSpace Wiki User Page (Talk, Contributions)

Full Projects:
Shattered Stars

Campaigns:
Lost in the Mist - Cyrene vs. Psamtik
FreeSpace: Reunited

Ships:
GTS Hygeia, GTT Argo, SC Raguel

Tools:
FSO TC/Game template

I've been under attack by Tiger Parents like Jennifer Pan...

 

Offline MatthTheGeek

  • Captain Obvious
  • 212
  • Frenchie McFrenchface
Code: [Select]
  -mod fsr,fsr,MediaVPS_3612ಠ_ಠ

Look, I'm sure you think your mod is awesome, but I don't think it's awesome to the point of wanting to load it twice :p

Otherwise, I suggest you do a ctrl+f on "warning" and "depreciated" and start fixing those. The info on the debug log is there for a reason. It'll be much harder for everyone involved if you don't have a clean, warning-free modpack to begin with.

« Last Edit: October 26, 2013, 02:30:20 am by MatthTheGeek »
People are stupid, therefore anything popular is at best suspicious.

Mod management tools     -     Wiki stuff!     -     Help us help you

666maslo666: Releasing a finished product is not a good thing! It is a modern fad.

SpardaSon21: it seems like you exist in a permanent state of half-joking misanthropy

Axem: when you put it like that, i sound like an insane person

bigchunk1: it's not retarded it's american!
bigchunk1: ...

batwota: steele's maneuvering for the coup de gras
MatthTheGeek: you mispelled grâce
Awaesaar: grace
batwota: oh right :P
Darius: ah!
Darius: yes, i like that
MatthTheGeek: the way you just spelled it it means fat
Awaesaar: +accent I forgot how to keyboard
MatthTheGeek: or grease
Darius: the killing fat!
Axem: jabba does the coup de gras
MatthTheGeek: XD
Axem: bring me solo and a cookie

 

Offline Bryan See

  • Has anyone really been far as decided to use even go want to do look more like?
  • 210
  • Trying to redeem, but under Tiger Parents
    • Skype
    • Steam
    • Twitter
I've fixed most of the "warnings" and "depreciated" in the debug log, but I'm certain the mod files are not causing this (now I am free to prepare my BP build-required mod for development after two months of cleanup). I am certain that the source code (could be the BMPMAN and the paging mission file) has something to do with the causes of "Malloc Failed" error while loading bitmaps and EFFs during the last stages of mission loading. I noticed the log and in-game loading sequence may not be consistent, and this may be the cause of it.

Code: [Select]
BMPMAN: Found EFF (explode1.eff) with 43 frames at 25 fps.
BMPMAN: Found EFF (PWmuzzle.eff) with 4 frames at 30 fps.
BMPMAN: Found EFF (Gmuzzle.eff) with 5 frames at 30 fps.
BMPMAN: Found EFF (Cmuzzle.eff) with 4 frames at 30 fps.
BMPMAN: Found EFF (MuzzleFlash_Col_Art.eff) with 23 frames at 16 fps.
BMPMAN: Found EFF (MuzzleFlash_Col_CIWS.eff) with 2 frames at 40 fps.
BMPMAN: Found EFF (MuzzleFlash_Col_KEW_2.eff) with 2 frames at 20 fps.
BMPMAN: Found EFF (MuzzleFlash_Col_KEW_1.eff) with 2 frames at 40 fps.
BMPMAN: Found EFF (MuzzleFlash_Cyl_KEW_2.eff) with 2 frames at 20 fps.
BMPMAN: Found EFF (MuzzleFlash_Cyl_KEW_1.eff) with 2 frames at 40 fps.
Paging in mission messages
Stopping model page in...
...
Malloc failed!!!!!!!!!!!!!!!!!!!
ERROR: Malloc Failed!

EDIT: It works on loading missions with less than 150 objects.
« Last Edit: October 26, 2013, 09:02:57 am by Bryan See »
Bryan See - My FreeSpace Wiki User Page (Talk, Contributions)

Full Projects:
Shattered Stars

Campaigns:
Lost in the Mist - Cyrene vs. Psamtik
FreeSpace: Reunited

Ships:
GTS Hygeia, GTT Argo, SC Raguel

Tools:
FSO TC/Game template

I've been under attack by Tiger Parents like Jennifer Pan...