Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: FrikgFeek on May 06, 2017, 11:31:42 am

Title: Int3(): From C:\projects\fs2open-github-com\code\hud\hudreticle.cpp at line 953
Post by: FrikgFeek on May 06, 2017, 11:31:42 am
I'm getting a consistent crash to desktop with no warning popup on Apr 28, 64bit fastdebug when trying to run mission 1 of FSCRP's Eagle takes flight. Log attached.
Campaign download link here. (https://www.dropbox.com/s/5mp1yk2xktz3e6c/FS1%20Campaign%20Compilation.zip?dl=0) if you want to repro.
I have no clue why or how it happens.

I would appreciate it if someone could take a look at it.

[attachment stolen by Russian hackers]
Title: Re: Int3(): From C:\projects\fs2open-github-com\code\hud\hudreticle.cpp at line 953
Post by: m!m on May 06, 2017, 11:34:51 am
That Int3 should only be able to be hit if a ship does not have any secondary banks which is normally not allowed. I'll take a look at this when I have the time.
Title: Re: Int3(): From C:\projects\fs2open-github-com\code\hud\hudreticle.cpp at line 953
Post by: FrikgFeek on May 06, 2017, 11:36:03 am
Well, that makes sense. The first ship you fly in that campaign is a modified Amazon drone with no missiles. Shouldn't debug warn you about that in the loading process though?
Title: Re: Int3(): From C:\projects\fs2open-github-com\code\hud\hudreticle.cpp at line 953
Post by: m!m on May 07, 2017, 10:26:58 am
As far as I know, the engine is capable of handling ships with no secondary banks. I submitted a patch which removes the Int3 so that the code doesn't crash anymore.
Title: Re: Int3(): From C:\projects\fs2open-github-com\code\hud\hudreticle.cpp at line 953
Post by: FrikgFeek on May 07, 2017, 10:48:55 am
Well, since the engine doesn't break in an obvious way when this ship is used on a release build I'd assume the engine can handle ships with no Sbanks.