View Issue Details

IDProjectCategoryView StatusLast Update
0001658FSSCPgameplaypublic2012-07-01 05:56
ReporterZacam Assigned ToGoober5000  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformAny? 
Summary0001658: More elegant exception handling for Undocked containers.
DescriptionFound a way to always create a M$ crash for an unhandled exception. It's rather easy to do. Would it be possible to create an error handling routine for it?

Can anyone confirm it occuring under Linux or OS X?
Steps To ReproducePick a mission, any mission that has Freighters with cargo containers attached.
Or, create one.

Set the $Name for the Freighter to be: GTFR Freighter. (Just an example, if you pick an egisting mission, add a letter or something AND update ALL Events or Goals that refer to the old name)

Create appropriate cargo container entry. Set +Docked With: Freighter. (Also just an example, just as long as the name in +Docked With does not match an existing Ship name)

Seems kind of simple, but it is an easy mistake if your not using FRED for what ever reason to make or modify a mission, and it can be really hard to track down because you have nothing useful to go off of.

Ironically, having two cargo containers "Docked" with the same ship causes no problem.

Having two ships with identical names also causes no problems.

Having two ships with the same name and two cargo containers Doced with that name, causes no problems.
Additional InformationThis same example will also crash FRED 100% of the time as well with an Error Report and no information provided by -debug builds.

Atleast if a ship is mis-named where Events or Goals are unable to find a ship of that name, you get a break into the debug telling you this.
TagsNo tags attached.

Relationships

duplicate of 0001781 closedGoober5000 FRED crashes if a mission is lacking a referenced object or variable 

Activities

Goober5000

2008-04-18 02:07

administrator   ~0009232

1) Why on earth aren't you using FRED?

2) I really can't follow what you're trying to do. Why don't you attach a mission with your modifications.

Zacam

2008-04-18 08:21

administrator   ~0009233

What I did was make a mistake while editing in notepad that allowed for me to consistantly produce a failure.

Simplified gist: Make a cargo container that is docked with a ship that doesn't exist. Result: Crash. (And in windows, a request to send an error report to M$.)

As for not using FRED:
1: They don't notice notepad at my work, I write scripts.
2: I've never really liked it.
3: I don't really need it.

chief1983

2008-10-09 17:13

administrator   ~0009900

Closing since 1781 has a better description of the problem.

Goober5000

2008-10-09 18:34

administrator   ~0009903

Reopening since I'm not convinced these bugs are duplicates.

chief1983

2008-10-09 20:49

administrator   ~0009911

Aww. They sound so similar. Oh well, good eye then Goob.

Goober5000

2012-07-01 05:56

administrator   ~0013743

There is now more elegant exception handling. :)

If you have another bug issue with duplicate ships sharing the same name, feel free to open another ticket. The docking stuff should at least be fixed.

Related Changesets

fs2open: trunk r8922

2012-07-01 01:56

Goober5000


Ported: N/A

Details Diff
add more error checking for initially docked ships, per Mantis 0001658 Affected Issues
0001658
mod - /trunk/fs2_open/code/mission/missionparse.cpp Diff File

Issue History

Date Modified Username Field Change
2008-04-10 09:16 Zacam New Issue
2008-04-18 02:07 Goober5000 Note Added: 0009232
2008-04-18 08:21 Zacam Note Added: 0009233
2008-09-27 06:15 Goober5000 Status new => assigned
2008-09-27 06:15 Goober5000 Assigned To => Goober5000
2008-10-09 17:10 chief1983 Relationship added related to 0001781
2008-10-09 17:12 chief1983 Relationship replaced duplicate of 0001781
2008-10-09 17:13 chief1983 Note Added: 0009900
2008-10-09 17:13 chief1983 Status assigned => closed
2008-10-09 17:13 chief1983 Resolution open => duplicate
2008-10-09 18:34 Goober5000 Note Added: 0009903
2008-10-09 18:34 Goober5000 Status closed => acknowledged
2008-10-09 18:34 Goober5000 Resolution duplicate => open
2008-10-09 20:49 chief1983 Note Added: 0009911
2012-07-01 05:55 Goober5000 Changeset attached => fs2open trunk r8922
2012-07-01 05:56 Goober5000 Note Added: 0013743
2012-07-01 05:56 Goober5000 Status acknowledged => resolved
2012-07-01 05:56 Goober5000 Resolution open => fixed