Author Topic: Need a quick crisis fix  (Read 1827 times)

0 Members and 1 Guest are viewing this topic.

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Need a quick crisis fix
Tester's hung up on this weird-ass issue he keeps getting on the October 24th AVX nightly. Repros every time at the same point. Seems to be maybe around a ship arrival?

http://pastebin.com/NwFKFwLX

What is this? Never seen it...

Code: [Select]
ASSERTION: "!(delta_time < 0.25f && vm_vec_dot(&objp->orient.vec.fvec, &tvec) < 0.1f)" at aicode.cpp:1240
 A ship rotated too far. Offending vessel is Sanctuary Alpha 2, please investigate.
 
Int3(): From c:\code\fs2_open_0\code\globalincs\windebug.cpp at line 1048

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Need a quick crisis fix
We've got a workaround but I'm curious what the hell this is and why it crashes even on release...

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Need a quick crisis fix
It's not in the Oct 21 build?  Between Oct 6 and Oct 21 the build environment moved to my new PC, should be the same configuration as my previous rig but there's a chance something is not quite right with the IDE setup.  However if it was really not in the Oct 21 build but in the Oct 24 build, it would almost definitely have to be narrowed down to one of the changes in the log then.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Need a quick crisis fix
Definitely the oct 24. Frig is gonna try rolling back a few builds to see if it goes away.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Need a quick crisis fix
Frig reports:

Quote
Tested 61f2e78 and 76b6f95, worked fine.

The issue comes from the latest nightly AVX build.

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Need a quick crisis fix
AVX? That'd explain why I didn't get it (running a standard SSE2 build). And I though my rank.tbl crash was the most bizzare one we've had... :)

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Need a quick crisis fix
Can try the latest nightly to see if it was either a resolved build environment or code issue.  I'll have these added to Task Scheduler soon enough so I don't have to keep remembering to run the script from work.

http://www.hard-light.net/forums/index.php?topic=90717
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: Need a quick crisis fix
We've got a workaround but I'm curious what the hell this is and why it crashes even on release...
(emphasis mine)
If it's crashing on release, the debug assertion being triggered here is not helpful (because the thing it's complaining about shouldn't cause a crash in release code—the debug code appears to have been added by :v: to track down a physics oddity, not avoid a crash).

Is it at all possible your tester could run the Release build through Visual Studio's debugger so we can find out where it's crashing?
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Need a quick crisis fix
I just hit this Assertion.  Still not sure it's related to a crash, but it was with fs2_open_3_7_3_SSE_20151203_aaa80df-DEBUG.exe.  I was running the Media VPs 2014, and the mission Massive Battle (Beams).  I also happen to have the debugger still running and attached, although I'm not sure for how long I can maintain that.  I am willing to gather any info requested though.  Might even be persuaded to let a dev VNC in if it would be useful.  The :v: comments seem to indicate a way to gather more info about what led to the assertion, so I was tempted to try those out.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays