Jump to content
The Dark Mod Forums

Sound-related crashes?


Springheel

Recommended Posts

Playtesters are noting a number of crashes in my beta mission, many related to a specific conversation. Apparently Moonbo's testers are noticing something similar with one of his conversations. The crash does not happen if the player is in notarget mode.

 

Araneidae got a log of her crash, and I noticed a LOT of lines like this:

 

idAudioHardwareALSA::Write: 45 frames overflowed and dropped

idAudioHardwareALSA::Write: 105 frames overflowed and dropped

idAudioHardwareALSA::Write: 96 frames overflowed and dropped

idAudioHardwareALSA::Write: 56 frames overflowed and dropped

 

and

 

idAudioHardwareALSA::Write: 437 frames overflowed and dropped

snd_pcm_writei 4096 frames failed: Broken pipe

 

I can't remember ever noticing that message before. Is it normal?

Link to comment
Share on other sites

ALSA appears to be on Linux,

 

Oh, maybe that's why I haven't seen them.

 

 

Turns out the crash may not be sound related after all. Araneidae caught this :

 

 

 

WARNING: Objective System: GetComponentState: Component num -1994382267 out of bounds for objective 14.

signal caught: Segmentation fault

si_code 1

Trying to exit gracefully..

 

It looks like there's a window where the objective targets an entity that has been removed, which might be causing the crash.

Link to comment
Share on other sites

Hey,

 

Just some background on the crash in my mission. It happens when an event is triggered which swaps out one inventory item for the other; I think it might have to do with how I wrote the script which triggers the event (though I have no clue why going into notarget would stop this crash from happening). The script ran on a while loop, so possibly the crash is similar to yours (objectives usually work on while loops); maybe in both cases the game is trying to look for an entity that's not there anymore.

 

I uploaded a new version of the beta with the scripts re-written to be much more straightforward (no while loops, just an if statement that offloads a lot of the work to a set of entities in the map). I haven't heard back from testers with this version but hopefully that solves it.

Edited by Moonbo

But you should walk having internal dignity. Be a wonderful person who can dance pleasantly to the rhythm of the universe.

-Sun Myung Moon

 

My work blog: gfleisher.blogspot.com

Link to comment
Share on other sites

The title of this post is misleading, as mine isn't sound-related either, as it turns out. For some reason, alerting either of two AI while they're in the first section of the map crashes it instantly.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
    • The Black Arrow

      Hope everyone has the blessing of undying motivation for "The Dark Mod 15th Anniversary Contest". Can't wait to see the many magnificent missions you all may have planned. Good luck, with an Ace!
      · 0 replies
×
×
  • Create New...