View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001658 | FSSCP | gameplay | public | 2008-04-10 09:16 | 2012-07-01 05:56 |
Reporter | Zacam | Assigned To | Goober5000 | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Any? | ||||
Summary | 0001658: More elegant exception handling for Undocked containers. | ||||
Description | Found 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 Reproduce | Pick 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 Information | This 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. | ||||
Tags | No tags attached. | ||||
duplicate of | 0001781 | closed | Goober5000 | FRED crashes if a mission is lacking a referenced object or variable |
|
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. |
|
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. |
|
Closing since 1781 has a better description of the problem. |
|
Reopening since I'm not convinced these bugs are duplicates. |
|
Aww. They sound so similar. Oh well, good eye then Goob. |
|
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. |
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 |