What's "Destroy framework objects failed"?

Spacethingy

Multitasker
Joined
Sep 9, 2010
Messages
1,515
Reaction score
0
Points
36
Location
Not the anti-matter universe
Website
spacethingy.weebly.com
I just got a seemingly random CTD after playing for about half an hour orbiting Earth in a DGIV. :blink:

In the orbiter log, there's nothing wrong except this:

Code:
>>> ERROR: Destroy framework objects failed
>>> [OrbiterGraphics::Exit3DEnvironment | .\OGraphics.cpp | 1034]

What's gone wrong?

Here's the rest of the log:
Code:
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 2.79365e-007 sec
Found 0 joystick(s)
Devices enumerated: 4
Devices accepted: 3
==> RGB Emulation
==> Direct3D HAL
==> Direct3D HAL (Mobile Intel(R) 945GM Express Chipset Family)
Module ATLANT~1.DLL .......... [Build 100830, API 100830]
Module ATMCON~1.DLL .......... [Build 100830, API 100830]
Module DGConfig.dll .......... [Build ******, API 060425]
Module DGCONF~1.DLL .......... [Build 100830, API 100830]
Module SCNEDI~1.DLL .......... [Build 100830, API 100830]
Module Rcontrol.dll .......... [Build 100830, API 100830]
Module FRAMER~1.DLL .......... [Build 100830, API 100830]
Module FLIGHT~1.DLL .......... [Build 100830, API 100830]
Module ExtMFD.dll ............ [Build 100830, API 100830]
Module UMMUFA.dll ............ [Build ******, API 060425]
Module RENDEZ~1.DLL .......... [Build ******, API 050206]
---------------------------------------------------------------
>>> WARNING: Obsolete API function used: oapiRegisterMFDMode
At least one active module is accessing an obsolete interface function.
Addons which rely on obsolete functions may not be compatible with
future versions of Orbiter.
---------------------------------------------------------------
Module CamShake.dll .......... [Build 100811, API 100606]
Module BASESY~1.DLL .......... [Build ******, API 060425]
Module AEROBR~1.DLL .......... [Build ******, API 060425]
Module transx.dll ............ [Build 100824, API 100823]
Error loading module Modules\Plugin\AAMissile.dll (code 126)
Module baseland.dll .......... [Build 101017, API 100905]
Module STARGA~1.DLL .......... [Build 101014, API 100830]
Module STARGA~2.DLL .......... [Build 101014, API 100830]
Module upcomint.dll .......... [Build 101014, API 100830]
Module AUTORU~1.DLL .......... [Build 101208, API 100830]
Module ATTITU~1.DLL .......... [Build ******, API 060425]
Module ORBITE~1.DLL .......... [Build ******, API 060425]
Module LolaMFD.dll ........... [Build 101108, API 100830]
Module Map3DMFD.dll .......... [Build 101005, API 100830]
Module LAUNCH~1.DLL .......... [Build 101127, API 100830]

**** Creating simulation session
DirectDraw interface OK
Direct3D interface OK
Graphics: Viewport: Fullscreen 1280 x 800 x 16
Graphics: Hardware T&L capability: No
Graphics: Z-buffer depth: 16 bit
Graphics: Active lights supported: -1
Loading 15382 records from star database
Module Sun.dll ............... [Build 100830, API 100830]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 100830, API 100830]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 100830, API 100830]
Module VENUSA~1.DLL .......... [Build 100830, API 100830]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 100830, API 100830]
Module EARTHA~2.DLL .......... [Build 100830, API 100830]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
Module Moon.dll .............. [Build 100830, API 100830]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 100830, API 100830]
Module MARSAT~1.DLL .......... [Build 100830, API 100830]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
Module Phobos.dll ............ [Build ******, API 060425]
Module Deimos.dll ............ [Build ******, API 060425]
Module Galsat.dll ............ [Build 100217, API 100215]
Module Jupiter.dll ........... [Build 100830, API 100830]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 100217, API 100215]
Module Europa.dll ............ [Build 100217, API 100215]
Module Ganymede.dll .......... [Build 100217, API 100215]
Module Callisto.dll .......... [Build 100217, API 100215]
Module Satsat.dll ............ [Build 100215, API 100212]
Module Saturn.dll ............ [Build 100830, API 100830]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
Module Mimas.dll ............. [Build 100215, API 100212]
SATSAT Mimas: Terms 113
Module ENCELA~1.DLL .......... [Build 100215, API 100212]
SATSAT Enceladus: Terms 33
Module Tethys.dll ............ [Build 100215, API 100212]
SATSAT Tethys: Terms 101
Module Dione.dll ............. [Build 100215, API 100212]
SATSAT Dione: Terms 59
Module Rhea.dll .............. [Build 100215, API 100212]
SATSAT Rhea: Terms 68
Module Titan.dll ............. [Build 100215, API 100212]
SATSAT Titan: Terms 100
Module Iapetus.dll ........... [Build 100215, API 100212]
SATSAT Iapetus: Terms 605
Module Uranus.dll ............ [Build 100830, API 100830]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
Module Miranda.dll ........... [Build ******, API 060425]
Module Ariel.dll ............. [Build ******, API 060425]
Module Umbriel.dll ........... [Build ******, API 060425]
Module Titania.dll ........... [Build ******, API 060425]
Module Oberon.dll ............ [Build ******, API 060425]
Module Neptune.dll ........... [Build 100830, API 100830]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Finished initialising world
Module DELTAG~2.DLL .......... [Build ******, API 060425]
Finished initialising status
Finished initialising camera
Finished initialising panels
---------------------------------------------------------------
>>> WARNING: CWD modified by module OrbiterSound - Fixing.
---------------------------------------------------------------
Finished setting up render state
UMMUFA: ISS added to blacklist - Native UMMU compatible
UMMUFA: DGIV-01 added to blacklist - Native UMMU compatible
UMMUFA: UMmu_Sec-Robert_Gaitley added to blacklist - A UMMU vessel
UMMUFA: TU-00 added to blacklist - Has no docking ports
ERROR: DDraw object is still referenced: 324
---------------------------------------------------------------
>>> ERROR: Destroy framework objects failed
>>> [OrbiterGraphics::Exit3DEnvironment | .\OGraphics.cpp | 1034]
---------------------------------------------------------------
**** Closing simulation session

**** Creating simulation session
DirectDraw interface OK
Direct3D interface OK
Graphics: Viewport: Fullscreen 1280 x 800 x 16
Graphics: Hardware T&L capability: No
Graphics: Z-buffer depth: 16 bit
Graphics: Active lights supported: -1
Loading 15382 records from star database
Module Sun.dll ............... [Build 100830, API 100830]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 100830, API 100830]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 100830, API 100830]
Module VENUSA~1.DLL .......... [Build 100830, API 100830]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 100830, API 100830]
Module EARTHA~2.DLL .......... [Build 100830, API 100830]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
Module Moon.dll .............. [Build 100830, API 100830]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 100830, API 100830]
Module MARSAT~1.DLL .......... [Build 100830, API 100830]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
Module Phobos.dll ............ [Build ******, API 060425]
Module Deimos.dll ............ [Build ******, API 060425]
Module Galsat.dll ............ [Build 100217, API 100215]
Module Jupiter.dll ........... [Build 100830, API 100830]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 100217, API 100215]
Module Europa.dll ............ [Build 100217, API 100215]
Module Ganymede.dll .......... [Build 100217, API 100215]
Module Callisto.dll .......... [Build 100217, API 100215]
Module Satsat.dll ............ [Build 100215, API 100212]
Module Saturn.dll ............ [Build 100830, API 100830]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
Module Mimas.dll ............. [Build 100215, API 100212]
SATSAT Mimas: Terms 113
Module ENCELA~1.DLL .......... [Build 100215, API 100212]
SATSAT Enceladus: Terms 33
Module Tethys.dll ............ [Build 100215, API 100212]
SATSAT Tethys: Terms 101
Module Dione.dll ............. [Build 100215, API 100212]
SATSAT Dione: Terms 59
Module Rhea.dll .............. [Build 100215, API 100212]
SATSAT Rhea: Terms 68
Module Titan.dll ............. [Build 100215, API 100212]
SATSAT Titan: Terms 100
Module Iapetus.dll ........... [Build 100215, API 100212]
SATSAT Iapetus: Terms 605
Module Uranus.dll ............ [Build 100830, API 100830]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
Module Miranda.dll ........... [Build ******, API 060425]
Module Ariel.dll ............. [Build ******, API 060425]
Module Umbriel.dll ........... [Build ******, API 060425]
Module Titania.dll ........... [Build ******, API 060425]
Module Oberon.dll ............ [Build ******, API 060425]
Module Neptune.dll ........... [Build 100830, API 100830]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Finished initialising world
Module DELTAG~2.DLL .......... [Build ******, API 060425]
Finished initialising status
Finished initialising camera
Finished initialising panels
---------------------------------------------------------------
>>> WARNING: CWD modified by module OrbiterSound - Fixing.
---------------------------------------------------------------
Finished setting up render state
UMMUFA: ISS added to blacklist - Native UMMU compatible
UMMUFA: GL-01 added to blacklist - Native UMMU compatible
ERROR: DDraw object is still referenced: 394
---------------------------------------------------------------
>>> ERROR: Destroy framework objects failed
>>> [OrbiterGraphics::Exit3DEnvironment | .\OGraphics.cpp | 1034]
---------------------------------------------------------------
**** Closing simulation session

**** Creating simulation session
DirectDraw interface OK
Direct3D interface OK
Graphics: Viewport: Fullscreen 1280 x 800 x 16
Graphics: Hardware T&L capability: No
Graphics: Z-buffer depth: 16 bit
Graphics: Active lights supported: -1
Loading 15382 records from star database
Module Sun.dll ............... [Build 100830, API 100830]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 100830, API 100830]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 100830, API 100830]
Module VENUSA~1.DLL .......... [Build 100830, API 100830]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 100830, API 100830]
Module EARTHA~2.DLL .......... [Build 100830, API 100830]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
Module Moon.dll .............. [Build 100830, API 100830]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 100830, API 100830]
Module MARSAT~1.DLL .......... [Build 100830, API 100830]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
Module Phobos.dll ............ [Build ******, API 060425]
Module Deimos.dll ............ [Build ******, API 060425]
Module Galsat.dll ............ [Build 100217, API 100215]
Module Jupiter.dll ........... [Build 100830, API 100830]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 100217, API 100215]
Module Europa.dll ............ [Build 100217, API 100215]
Module Ganymede.dll .......... [Build 100217, API 100215]
Module Callisto.dll .......... [Build 100217, API 100215]
Module Satsat.dll ............ [Build 100215, API 100212]
Module Saturn.dll ............ [Build 100830, API 100830]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
Module Mimas.dll ............. [Build 100215, API 100212]
SATSAT Mimas: Terms 113
Module ENCELA~1.DLL .......... [Build 100215, API 100212]
SATSAT Enceladus: Terms 33
Module Tethys.dll ............ [Build 100215, API 100212]
SATSAT Tethys: Terms 101
Module Dione.dll ............. [Build 100215, API 100212]
SATSAT Dione: Terms 59
Module Rhea.dll .............. [Build 100215, API 100212]
SATSAT Rhea: Terms 68
Module Titan.dll ............. [Build 100215, API 100212]
SATSAT Titan: Terms 100
Module Iapetus.dll ........... [Build 100215, API 100212]
SATSAT Iapetus: Terms 605
Module Uranus.dll ............ [Build 100830, API 100830]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
Module Miranda.dll ........... [Build ******, API 060425]
Module Ariel.dll ............. [Build ******, API 060425]
Module Umbriel.dll ........... [Build ******, API 060425]
Module Titania.dll ........... [Build ******, API 060425]
Module Oberon.dll ............ [Build ******, API 060425]
Module Neptune.dll ........... [Build 100830, API 100830]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Finished initialising world
Module DELTAG~2.DLL .......... [Build ******, API 060425]
Finished initialising status
Finished initialising camera
Finished initialising panels
---------------------------------------------------------------
>>> WARNING: CWD modified by module OrbiterSound - Fixing.
---------------------------------------------------------------
Finished setting up render state
UMMUFA: ISS added to blacklist - Native UMMU compatible
UMMUFA: GL-01 added to blacklist - Native UMMU compatible
 
Your graphics card doesn't support hardware Transform & Lighting. Is simulation working fine for you with enabled local light sources?

Have you tried if the same thing is happening with the newest Orbiter beta (currently 101016)?
 
It could be that a spent stage tried to autodelete improperly, and crashed Orbiter. Did you happen to use a DG-Launcher?
 
I don't use Local Light Sources, they make Orbiter crash on launch for me.

I wasn't using any multi-stage stuff in that scenario, but I do have a DG launcher add-on installed.

Unfortunately, I can't quite remember what I did when Orbiter crashed. :facepalm:
I think it was when I pushed the anti-normal autopilot button, but I had already done that quite a few times in the scenario.

Thanks for the tip on the latest beta, I'll give it a go.
 
I don't use Local Light Sources, they make Orbiter crash on launch for me.

{...}

Thanks for the tip on the latest beta, I'll give it a go.

The latest beta will allow you to use Local Light Sources. :thumbup:
 
The beta packages are described on this page, and there are instructions for installation too.
 
I wasn't using any multi-stage stuff in that scenario, but I do have a DG launcher add-on installed.

Having the add-on installed can't cause errors in scenario where it isn't present. Only plugin-modules can behave this way, and in DG-Launcher I only use vessel-modules, that "activate" only when the vessel is loaded.
 
It's me again... :lol:

I've just noticed that...
Code:
>>> ERROR: Destroy framework objects failed >>> [OrbiterGraphics::Exit3DEnvironment | .\OGraphics.cpp | 1034]
...only appears in scenarios with a XR2 or a DGIV in it. Stock DG scenarios are OK.

Now, I've installed the latest beta and lots of problems like weird flashing and random CTDs with local lights have disappeared. But the error still appears... sometimes... :uhh:
 
This particular error message means that not all DirectX objects created during the simulation session were destroyed at the end. It's a generic error message (i.e. it indicates that something went wrong, but it can't tell you exactly where). The most likely reasons:

  • orbiter encountered a problem and perfomed an unclean shutdown
  • a plugin module didn't properly clean up after itself
If it's the second, you might want to identify the offending module. Then check if the problem occurs every time the module is loaded, or only after particular actions/camera views/etc. Finally, if you have the sources, debug the code to find the problem. Otherwise, notify the author.
 
Back
Top