Editing Crash to desktop

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
The CTD, or crash to desktop, is one of Orbiter's most common ways of dealing with an error. If an error is discovered, which Orbiter is unable to resolve in other methods, it will simply terminate itself, without displaying any error message or warning.
 
The CTD, or crash to desktop, is one of Orbiter's most common ways of dealing with an error. If an error is discovered, which Orbiter is unable to resolve in other methods, it will simply terminate itself, without displaying any error message or warning.
 
CTD's usually manifest themselves as program crashes that cause the Windows Dialog Box of Inconvenience ("orbiter.exe has encountered a problem and needs to close"), and usually mention Exception 0xc0000005 (EACCESS_VIOLATION) in the technical details. Check the log file (Orbiter.log) for reasons why the app crashed.
 
  
 
==List of known CTD errors==
 
==List of known CTD errors==
Line 8: Line 6:
 
*Missing modules/.dlls
 
*Missing modules/.dlls
 
*.MP3 files of too high bit rate placed in [[orbitersound]] music directory.
 
*.MP3 files of too high bit rate placed in [[orbitersound]] music directory.
 
Additionally, there are some more subtle errors in the source code of an [[add-on]] module, which can manifest in a CTD:
 
* Animation components and the used arrays of mesh groups need to be valid for the whole run-time of the vessel, otherwise Orbiter tries to access invalid memory.
 
* Accessing vessel objects with [[oapiGetVesselInterface]]() without testing if the pointer is valid.
 
* Failed loading of bitmaps.
 
 
  
 
{{Tech-Stub}}
 
{{Tech-Stub}}
 
[[Category: Articles]]
 

Please note that all contributions to OrbiterWiki are considered to be released under the GNU Free Documentation License 1.2 (see OrbiterWiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)

Template used on this page: