Invalid Call, CTD when return from alt-tab

TA beta 0.98a[b].003

In previous betas TA would crash infrequently when returning after alt-tabbing out of the game. This version crashes at least 90% of the time. Debug.err follows:


Debug Message:  Version v1.80g Twilight of the Arnor beta 6a last updated on: Thu Mar 27 15:14:39 2008
Debug Message:  Checking DX Version.
Debug Message:  *********DXDiag info follows.*********
System Info
Time: 4/6/2008, 21:06:11
DirectX Version: DirectX 9.0c (4.09.0000.0904)
Machine Name: QUAD
Operating System: Windows XP Professional (5.1, Build 2600) Service Pack 2 (2600.xpsp_sp2_gdr.070227-2254)
Languages: English (Regional Setting: English)
System Manufacturer: System Manufacter
System Model: System Product Name
BIOS: Phoenix - AwardBIOS v6.00PG
Processor: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz (4 CPUs)
Physical Memory: 3326MB RAM
Page File: 393MB used, 4306MB available
Windows Dir: C:\WINDOWS


Display Info
Display device 1:
Device Name: \\.\DISPLAY2
Card Name: NVIDIA GeForce 8800 GTS
Manufacturer: NVIDIA
Chip Type: GeForce 8800 GTS
DAC Type: Integrated RAMDAC
Key Device: Enum\PCI\VEN_10DE&DEV_0193&SUBSYS_042010DE&REV_A2
Display Memory: 320.0 MB
Current Display Mode: 1920 x 1200 (32 bit) (60Hz)
Monitor Name: Plug and Play Monitor
Monitor Max Resolution: 1600,1200
Driver Name: nv4_disp.dll
Driver Version: 6.14.0011.6921
Driver Date: 12/5/2007 01:41:00
DirectX Acceleration Enabled: Yes
 


Sound info
Sound device 1:
Description: Realtek HD Audio output
Default Sound Playback: Yes
Default Voice Playback: Yes
Hardware ID: HDAUDIO\FUNC_01&VEN_10EC&DEV_0888&SUBSYS_147BA601&REV_1000
Manufacturer ID: 1
Product ID: 100
Driver Name: RtkHDAud.sys
Provider: Realtek Semiconductor Corp.
Driver Version: 5.10.0000.5366
Driver Date: 1/30/2007 04:57:50
Type: WDM
Other Drivers:
Acceleration Level: 3
Cap Flags: 0
Min/Max Sample Rate: 0, 0
 


Debug Message:  *********END dxdiag info.*********
Debug Message:  Entering WinMain
Debug Message:  ******* Starting Game Shell *******
Debug Message:  Going Fullscreen
Debug Message:  Preparing to change display settings.
Debug Message:  Using hardware vertex processing
Debug Message:  Using multilsample setting: D3DMULTISAMPLE_4_SAMPLES
Debug Message:  Attempting to create D3DDevice at resolution 1920 x 1200, Windowed: 0, Multisample: 4
Debug Message:  Game Resolution: 1920 x 1200
Debug Message:  Running fullscreen.
Debug Message:  HAL (hw vp): NVIDIA GeForce 8800 GTS
Debug Message:  D3DPRESENT_INTERVAL_DEFAULT
Debug Message:  Refresh rate: 60
Debug Message:  Bit Depth: 32 bit.
Debug Message:  *********Checking D3DDevice Caps***********************
Debug Message:  A full-color cursor is supported in hardware at high resolution modes.
Debug Message:  RGB in format 6:6:6, Masks reported as ff0000:ff00:ff
Debug Message:  Now Fullscreen
Debug Message:  Shell initialization complete
Debug Message:  GalCiv2 is activated.
Debug Message:  ***** Initializing Game *****
Debug Message:  Timer Frequency is 0 cac6dbb0
Debug Message:  No files found matching mask S:\Stardock\GalCivII\./Data/ShipTemplates/\*.shipcfg
Debug Message:  No files found matching mask ./Data/ShipTemplates/\*.shipcfg
Debug Message:  Initializing sound card.
Debug Message:  initailizing bink
Debug Message:  No files found matching mask S:\Stardock\GalCivII\DarkAvatar\Movies\techs\*.bik
Debug Message:  No files found matching mask Movies\techs\*.bik
Debug Message:  No files found matching mask Gfx\Tutorials\*.bik
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\Gfx\Movies\*.bik
Debug Message:  No files found matching mask Music\*.mp3
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\sfx\*.wav
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\Music\*.mp3
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\Event Music\*.mp3
Debug Message:  Create setup screens.
Debug Message:  Clear galaxy settings.
Debug Message:  Clear influence.
Debug Message:  Clear up laws.
Debug Message:  Clear first time events.
Debug Message:  Clear wonders and trade goods.
Debug Message:  Clear sector mapper.
Debug Message:  Set mouse.
Debug Message:  Set update timer.
Debug Message:  No files found matching mask ./Data/*.xml
Debug Message:  Clear data definitions.
Debug Message:  Killing ship styles:
Debug Message:  No files found matching mask S:\Stardock\GalCivII./Data/English/\ShipStyles\*.xml
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\ShipStyles\*.xml
Debug Message:  No files found matching mask S:\Stardock\GalCivII\DarkAvatar./Data/\FleetFormations\*.fleet
Debug Message:  No files found matching mask ./Data/\FleetFormations\*.fleet
Debug Message:  No files found matching mask S:\Stardock\GalCivII\DarkAvatar\Gfx\Planets\C0*.png
Debug Message:  No files found matching mask Gfx\Planets\C0*.png
Debug Message:  No files found matching mask gfx/Terrain/1SideN*.png
Debug Message:  No files found matching mask gfx/Terrain/1SideE*.png
Debug Message:  No files found matching mask gfx/Terrain/1SideS*.png
Debug Message:  No files found matching mask gfx/Terrain/1SideW*.png
Debug Message:  No files found matching mask gfx/Terrain/2SideN*.png
Debug Message:  No files found matching mask gfx/Terrain/2SideE*.png
Debug Message:  No files found matching mask gfx/Terrain/2SideS*.png
Debug Message:  No files found matching mask gfx/Terrain/2SideW*.png
Debug Message:  No files found matching mask gfx/Terrain/3SideN*.png
Debug Message:  No files found matching mask gfx/Terrain/3SideE*.png
Debug Message:  No files found matching mask gfx/Terrain/3SideS*.png
Debug Message:  No files found matching mask gfx/Terrain/3SideW*.png
Debug Message:  No files found matching mask gfx/Terrain/4SideN*.png
Debug Message:  No files found matching mask gfx/Terrain/4SideE*.png
Debug Message:  No files found matching mask gfx/Terrain/4SideS*.png
Debug Message:  No files found matching mask gfx/Terrain/4SideW*.png
Debug Message:  No files found matching mask S:\Stardock\GalCivII\DarkAvatar/gfx/Terrain/1SideN*.png
Debug Message:  No files found matching mask S:\Stardock\GalCivII\DarkAvatar/gfx/Terrain/1SideE*.png
Debug Message:  No files found matching mask S:\Stardock\GalCivII\DarkAvatar/gfx/Terrain/1SideS*.png
Debug Message:  No files found matching mask S:\Stardock\GalCivII\DarkAvatar/gfx/Terrain/1SideW*.png
Debug Message:  No files found matching mask S:\Stardock\GalCivII\DarkAvatar/gfx/Terrain/2SideN*.png
Debug Message:  No files found matching mask S:\Stardock\GalCivII\DarkAvatar/gfx/Terrain/2SideE*.png
Debug Message:  No files found matching mask S:\Stardock\GalCivII\DarkAvatar/gfx/Terrain/2SideS*.png
Debug Message:  No files found matching mask S:\Stardock\GalCivII\DarkAvatar/gfx/Terrain/2SideW*.png
Debug Message:  No files found matching mask S:\Stardock\GalCivII\DarkAvatar/gfx/Terrain/3SideN*.png
Debug Message:  No files found matching mask S:\Stardock\GalCivII\DarkAvatar/gfx/Terrain/3SideE*.png
Debug Message:  No files found matching mask S:\Stardock\GalCivII\DarkAvatar/gfx/Terrain/3SideS*.png
Debug Message:  No files found matching mask S:\Stardock\GalCivII\DarkAvatar/gfx/Terrain/3SideW*.png
Debug Message:  No files found matching mask S:\Stardock\GalCivII\DarkAvatar/gfx/Terrain/4SideN*.png
Debug Message:  No files found matching mask S:\Stardock\GalCivII\DarkAvatar/gfx/Terrain/4SideE*.png
Debug Message:  No files found matching mask S:\Stardock\GalCivII\DarkAvatar/gfx/Terrain/4SideS*.png
Debug Message:  No files found matching mask S:\Stardock\GalCivII\DarkAvatar/gfx/Terrain/4SideW*.png
Debug Message:  No files found matching mask S:\Stardock\GalCivII\./Data/ShipTemplates/\*.shipcfg
Debug Message:  No files found matching mask ./Data/ShipTemplates/\*.shipcfg
Debug Message:  Reading Star Names
Debug Message:  Reading Star Names... Done
Debug Message:  No files found matching mask ./Data/English/Tutorials/*.xml
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\Backup\*.sav
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\CustomMaps\*.sav
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\Dark Avatar\*.sav
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\Gfx\*.sav
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\Metaverse\*.sav
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\SandboxGames\*.sav
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\ships\*.sav
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\ShipStyles\*.sav
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\shiptemplates\*.sav
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\temp\*.sav
Debug Message:  Killing threads.
Debug Message:  Kiling civs.
Debug Message:  Killing ships.
Debug Message:  Killing rallypoints.
Debug Message:  Killing misc objects.
Debug Message:  Killing stars.
Debug Message:  Killing anomalies.
Debug Message:  Killing asteroid fields.
Debug Message:  Killing asteroid field mining bases.
Debug Message:  Killing space resources.
Debug Message:  Killing ascension crystals.
Debug Message:  Killing colonies and planets.
Debug Message:  killing scenario.
Debug Message:  Clearing Turn Event Log
Debug Message:  Clear galaxy settings.
Debug Message:  Clear influence.
Debug Message:  Clear up laws.
Debug Message:  Clear first time events.
Debug Message:  Clear wonders and trade goods.
Debug Message:  Clear sector mapper.
Debug Message:  Loading Custom Map
Debug Message:  Loading Data Defs
Debug Message:  Clear data definitions.
Debug Message:  Killing ship styles:
Debug Message:  Loading TechDefs
Debug Message:  Max num techs: 522
Debug Message:  Loading ImprovementDB
Debug Message:  Loading Component Defs
Debug Message:  Loading ShipTypes
Debug Message:  Loading ShipTemplates
Debug Message:  Loading ParsedHardpoints
Debug Message:  Loading AnomalyTypes
Debug Message:  Loading RandomEvents
Debug Message:  Loading UPIssues
Debug Message:  Loading ResourceTypes
Debug Message:  Loading InvasionTactics
Debug Message:  Loading SBmodules
Debug Message:  Loading PoliticalParties
Debug Message:  Loading Planet Types
Debug Message:  Loading Star Types
Debug Message:  Loading AFMBModules
Debug Message:  Loading ShipStyles
Debug Message:  Loading TechTrees
Debug Message:  Loading TechTreeDefs
Debug Message:  Loading Game
Debug Message:  Loading: Game mode is normal.
Debug Message:  Loading Galaxy
Debug Message:  Game started in version v1.80g Twilight of the Arnor beta 6a
Debug Message:  Sectors across: 5 x 5
Debug Message:  Loading FOW Map
Debug Message:  Loading ZOC Map
Debug Message:  Loading Planets
Debug Message:  Loading Stars
Debug Message:  Loading Anomalies
Debug Message:  Loading Resources
Debug Message:  Loading AscensionCrystals
Debug Message:  Loading AsteroidFields
Debug Message:  Loading AFMiningBases
Debug Message:  Loading Civs
Debug Message:  Loading Colonies
Debug Message:  Loading RallyPoints
Debug Message:  Loading Ships
Debug Message:  Loading Fleets
Debug Message:  Loading Turn Event Log
Debug Message:  Loading Treaties
Debug Message:  Loading ENDGALAXYDATA
Debug Message:  Updating ZOC.
Debug Message:  UIBeginGame called with g_ulLocalPlayerID = 5
Debug Message:  UIBeginGameHelper: New Game Started
Debug Message:  UIBeginGameHelper: Mods are Disabled
Debug Message:  Error parsing file Screens\ResearchWnd.dxpack. Object of type CheckBox with OBJID Research_Details_Button_Font has wrong size before parsing scripts 0 x 0
Debug Message:  Error parsing file Screens\ResearchWnd.dxpack. Object with OBJID Research_Details_Button_Font has wrong size after parsing scripts 0 x 0
Debug Message:  Research_Details_Button_Font setting size 0 x 0
Debug Message:   setting size 16 x 0
Debug Message:   setting size 16 x 0
Debug Message:   setting size 16 x 0
Debug Message:  CivManagerVictoryWnd: Cannot find OBJID Victory_Status_Bar_6
Debug Message:  CivManagerVictoryWnd: Cannot find OBJID Victory_Status_Bar_Value_6
Debug Message:  CampaignVictoryWnd: Cannot find OBJID Campaign_Status_Title
Debug Message:  Tried to enter unprintable character: 8
Debug Message:  Destroying ship BEM Fleet 65. Orbiting: 0
Debug Message:  Destroying ship Terran Defender M2 v3 970. Orbiting: 1
Debug Message:  Was Orbiting: Brindle I
Debug Message:  Destroying ship Terran Defender M2 v3 983. Orbiting: 1
Debug Message:  Was Orbiting: Haber IV
Debug Message:  ***Attacker Korath Clan has courage bonus 0
***Defender Drath Legion has courage bonus 0.
Debug Message:  Destroying ship Economy Starbase 132. Orbiting: 0
Debug Message:  ***Attacker Korath Clan has courage bonus 0
***Defender Jessuins has courage bonus 0.
Debug Message:  Destroying ship Influence Starbase 381. Orbiting: 0
Debug Message:  ***Attacker Korath Clan has courage bonus 0
***Defender Terran Alliance has courage bonus 0.
Debug Message:  Destroying ship Terran Space Miner M2 v4 950. Orbiting: 1
Debug Message:  Was Orbiting: Andersona I
Debug Message:  ***Attacker Korath Clan has courage bonus 0
***Defender Terran Alliance has courage bonus 0.
Debug Message:  Destroying ship Terran Space Miner M2 v4 914. Orbiting: 1
Debug Message:  Was Orbiting: Andersona I
Debug Message:  ***Attacker Korath Clan has courage bonus 0
***Defender Terran Alliance has courage bonus 0.
Debug Message:  ***Attacker Korath Clan has courage bonus 0
***Defender Terran Alliance has courage bonus 0.
Debug Message:  Destroying ship Influence Starbase 918. Orbiting: 0
Debug Message:  Ship Influence Starbase 921 has a bad ship assignment (7).  Setting it to NO_ASSIGNMENT.
Debug Message:  Destroying ship Pinkertons Constructor M1 v2 931. Orbiting: 0
Debug Message:  Updating ZOC.
Debug Message:  Random Event: Begin
Debug Message:  Random Event: End
Debug Message:  About to auto save.
Debug Message:  Save Game: About to save
Debug Message:  Saving game S:\NewMyDocuments\My Games\GC2TwilightArnor\AutoSave.tmp
Debug Message:  Num Sectors Across: 5
Debug Message:  Saving: Game mode is normal.
Debug Message:  Number of ships: 217, Number of Fleets: 22
Debug Message:  Save game finished.
Debug Message:  Finished auto save.
Debug Message:  Eval
Debug Message:   setting size 16 x 0
Debug Message:   setting size 16 x 0
Debug Message:   setting size 16 x 0
Debug Message:  StarportWnd: Cannot find OBJID StarPort_Planet_Logo_Image
Debug Message:  WARNING: CloneFrames failed
Debug Message:  Destroying ship Terran Defender M2 v3 915. Orbiting: 1
Debug Message:  Was Orbiting: Andersona II
Debug Message:  Destroying ship Drath Defender M2 v1 1277. Orbiting: 1
Debug Message:  Was Orbiting: Dester II
Debug Message:  Destroying ship Dark Yor Fleet 70. Orbiting: 0
Debug Message:  ***Attacker Korath Clan has courage bonus 0
***Defender Drath Legion has courage bonus 0.
Debug Message:  Destroying ship Drath Space Miner M3 v5 764. Orbiting: 1
Debug Message:  Was Orbiting: Dratha IV
Debug Message:  ***Attacker Korath Clan has courage bonus 0
***Defender Drath Legion has courage bonus 0.
Debug Message:  Destroying ship Economy Starbase 429. Orbiting: 0
Debug Message:  ***Attacker Korath Clan has courage bonus 0
***Defender Terran Alliance has courage bonus 0.
Debug Message:  Destroying ship Terran Space Miner M2 v4 963. Orbiting: 1
Debug Message:  Was Orbiting: Andersona I
Debug Message:  ***Attacker Korath Clan has courage bonus 0
***Defender Terran Alliance has courage bonus 0.
Debug Message:  Destroying ship Terran Space Miner M2 v4 972. Orbiting: 1
Debug Message:  Was Orbiting: Andersona II
Debug Message:  ***Attacker Korath Clan has courage bonus 0
***Defender Drath Legion has courage bonus 0.
Debug Message:  Destroying ship Drath Space Miner M3 v5 776. Orbiting: 1
Debug Message:  Was Orbiting: Dratha IV
Debug Message:  Ship Influence Starbase 869 has a bad ship assignment (7).  Setting it to NO_ASSIGNMENT.
Debug Message:  Destroying ship Pinkertons Constructor M1 v2 982. Orbiting: 0
Debug Message:  Destroying ship Carinoids Fighter M2 v4 807. Orbiting: 0
Debug Message:  Updating ZOC.
Debug Message:  Random Event: Begin
Debug Message:  Random Event: End
Debug Message:  About to auto save.
Debug Message:  Save Game: About to save
Debug Message:  Saving game S:\NewMyDocuments\My Games\GC2TwilightArnor\AutoSave.tmp
Debug Message:  Num Sectors Across: 5
Debug Message:  Saving: Game mode is normal.
Debug Message:  Number of ships: 206, Number of Fleets: 25
Debug Message:  Save game finished.
Debug Message:  Finished auto save.
Debug Message:  Eval
Debug Message:  Eval
Debug Message:  BuildShip: Cannot build ship type 20-Fighter M8 at Snathi III - No open slots
Debug Message:  ***Attacker BEM has courage bonus 0
***Defender Korath Clan has courage bonus 0.
Debug Error:  Ship (Economy Starbase 89) is in a fleet, but fleet with ID=71 not found.
Debug Message:  Destroying ship BEM_SmStr3 688. Orbiting: 0
Debug Message:  Destroying ship BEM_SmStr3 408. Orbiting: 0
Debug Message:  Destroying ship BEM_SmStr3 599. Orbiting: 0
Debug Message:  Destroying ship BEM Fleet 67. Orbiting: 0
Debug Message:  Destroying ship Economy Starbase 89. Orbiting: 0
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\Backup\*.sav
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\CustomMaps\*.sav
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\Dark Avatar\*.sav
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\Gfx\*.sav
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\Metaverse\*.sav
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\SandboxGames\*.sav
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\ships\*.sav
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\ShipStyles\*.sav
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\shiptemplates\*.sav
Debug Message:  No files found matching mask S:\NewMyDocuments\My Games\GC2TwilightArnor\temp\*.sav
Debug Message:  Killing threads.
Debug Message:  Kiling civs.
Debug Message:  Killing ships.
Debug Message:  Killing rallypoints.
Debug Message:  Killing misc objects.
Debug Message:  Killing stars.
Debug Message:  Killing anomalies.
Debug Message:  Killing asteroid fields.
Debug Message:  Killing asteroid field mining bases.
Debug Message:  Killing space resources.
Debug Message:  Killing ascension crystals.
Debug Message:  Killing colonies and planets.
Debug Message:  killing scenario.
Debug Message:  Clearing Turn Event Log
Debug Message:  Clear galaxy settings.
Debug Message:  Clear influence.
Debug Message:  Clear up laws.
Debug Message:  Clear first time events.
Debug Message:  Clear wonders and trade goods.
Debug Message:  Clear sector mapper.
Debug Message:  Loading Custom Map
Debug Message:  Loading Data Defs
Debug Message:  Clear data definitions.
Debug Message:  Killing ship styles:
Debug Message:  Loading TechDefs
Debug Message:  Max num techs: 522
Debug Message:  Loading ImprovementDB
Debug Message:  Loading Component Defs
Debug Message:  Loading ShipTypes
Debug Message:  Loading ShipTemplates
Debug Message:  Loading ParsedHardpoints
Debug Message:  Loading AnomalyTypes
Debug Message:  Loading RandomEvents
Debug Message:  Loading UPIssues
Debug Message:  Loading ResourceTypes
Debug Message:  Loading InvasionTactics
Debug Message:  Loading SBmodules
Debug Message:  Loading PoliticalParties
Debug Message:  Loading Planet Types
Debug Message:  Loading Star Types
Debug Message:  Loading AFMBModules
Debug Message:  Loading ShipStyles
Debug Message:  Loading TechTrees
Debug Message:  Loading TechTreeDefs
Debug Message:  Loading Game
Debug Message:  Loading: Game mode is normal.
Debug Message:  Loading Galaxy
Debug Message:  Game started in version v1.80g Twilight of the Arnor beta 6a
Debug Message:  Sectors across: 5 x 5
Debug Message:  Loading FOW Map
Debug Message:  Loading ZOC Map
Debug Message:  Loading Planets
Debug Message:  Loading Stars
Debug Message:  Loading Anomalies
Debug Message:  Loading Resources
Debug Message:  Loading AscensionCrystals
Debug Message:  Loading AsteroidFields
Debug Message:  Loading AFMiningBases
Debug Message:  Loading Civs
Debug Message:  Loading Colonies
Debug Message:  Loading RallyPoints
Debug Message:  Loading Ships
Debug Message:  Loading Fleets
Debug Message:  Loading Turn Event Log
Debug Message:  Loading Treaties
Debug Message:  Loading ENDGALAXYDATA
Debug Message:  Updating ZOC.
Debug Message:  UIBeginGame called with g_ulLocalPlayerID = 5
Debug Message:  UIBeginGameHelper: New Game Started
Debug Message:  UIBeginGameHelper: Mods are Disabled

......

Debug Message:  Yearly Status Dialog
Debug Message:  Yearly Status Dialog: 2
Debug Message:  Yearly Status Dialog 2c
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Container_9
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Name_Title_9
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Portrait_9
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Logo_9
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Votes_Title_9
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Votes_Value_9
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Container_10
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Name_Title_10
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Portrait_10
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Logo_10
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Votes_Title_10
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Votes_Value_10
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Container_11
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Name_Title_11
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Portrait_11
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Logo_11
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Votes_Title_11
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Votes_Value_11
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Container_12
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Name_Title_12
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Portrait_12
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Logo_12
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Votes_Title_12
Debug Message:  UnitedPlanetsWnd: Cannot find OBJID UP_Race_Votes_Value_12

......

Debug Message:  Out of sample handles.
Debug Message:  Out of sample handles.
Debug Message:  Out of sample handles.
Debug Message:  Destroying ship Dra_ChpConst I 1281. Orbiting: 0
Debug Message:  StarbaseDetailsWnd: Cannot find OBJID Starbase_Details_Disband_Button
Debug Message:  StarbaseDetailsWnd: Cannot find OBJID Starbase_Auto_List_Back
Debug Message:  StarbaseDetailsWnd: Cannot find OBJID Starbase_Auto_List_Up_Button
Debug Message:  StarbaseDetailsWnd: Cannot find OBJID Starbase_Auto_List_Down_Button
Debug Message:  StarbaseDetailsWnd: Cannot find OBJID Starbase_Details_Auto_Checkbox
Debug Message:  StarbaseDetailsWnd: Cannot find OBJID Starbase_Auto_List_Title
Debug Message:  StarbaseDetailsWnd: Cannot find OBJID Starbase_Details_Manager_Title
Debug Message:  StarbaseDetailsWnd: Cannot find OBJID Starbase_Details_Auto_Title
Debug Message:  StarbaseDetailsWnd: Cannot find OBJID Starbase_Details_Type_Discription_Title
Debug Message:  StarbaseDetailsWnd: Cannot find OBJID Starbase_Details_Type_Image
Debug Message:  Error. String Not Found. Table: StarbaseDetailsWnd String Name: DisbandBtn
Debug Message:  Out of sample handles.

......

Debug Message:  Out of sample handles.
Debug Message:  Destroying ship Terran Defender M3 v5 1647. Orbiting: 1
Debug Message:  Was Orbiting: Haber III

......

Debug Message:  Updating ZOC.
Debug Message:  Save Game: About to save
Debug Message:  Saving game S:\NewMyDocuments\My Games\GC2TwilightArnor\QuickSave.tmp
Debug Message:  Num Sectors Across: 5
Debug Message:  Saving: Game mode is normal.
Debug Message:  Number of ships: 180, Number of Fleets: 7
Debug Message:  Save game finished.
Debug Message:  Error flipping back buffer to primary buffer.
Debug Message:  D3DERR_DEVICELOST
Debug Message:  Device lost
Debug Message:  Attempting to reset device.
Debug Message:  ValidateDevice::Reset
Debug Message:  Invalid call
Debug Message:  Main Shell terminating normally
Debug Message:  Unallocated Mem: 128 bytes of memory from line 222 of H:\Projects\Twilight\LibKumquat\Source\parse.cpp
Debug Message:  Not all memory has been freed from memory system Parse.
Debug Message:     128 bytes of memory still allocated.
Debug Message:  Unallocated Mem: 8 bytes of memory from line 1130 of H:\Projects\Twilight\LibKumquat\Source\editfields.cpp

......

Debug Message:  Unallocated Mem: 8 bytes of memory from line 723 of H:\Projects\Twilight\LibKumquat\Source\helpers.cpp
Debug Message:  Unallocated Mem: 2600 bytes of memory from line 716 of H:\Projects\Twilight\LibKumquat\Source\helpers.cpp
Debug Message:  Not all memory has been freed from memory system Helper.
Debug Message:     73024 bytes of memory still allocated.
4,867 views 7 replies
Reply #1 Top
What a mess.

Notepad works best for copying and pasting.
At least the line breaks are included.

Other than that, in such a long session it might simply be better to save and exit instead of Alt-Tabbing.
That way the memory is cleared on exit, and fresh on re-entry.
Reply #2 Top

Message: Running fullscreen
End of quote

Well, try windowed mode as it handles ALT+TAB better than fullscreen mode.

Reply #3 Top
That was notepad. The forum is just sucking, it didn't recognize any line breaks. I had to use the horizontal bar to separate my post from the debug. I've tried windowed mode as well as fullscreen, I've probably alt-tabbed in and out of the game a thousand times since I first got GC2, it has never crashed anywhere near as frequently as it does with this latest beta.
Reply #4 Top
Oh, sorry.
Yes, this new website still has some bugs.

The crash could also be due to whatever you were doing in the meantime.

But, that is a very long debug, as I mentioned. So the game is using a LOT of memory.
If you were doing something while Alt-Tabbed that took a lot of memory, or if you left running something that took a lot of memory (or a particular dedicated part of certain memory, like video or system ram), perhaps a conflict was introduced when trying to re-enter GalCiv.

That the problem occurs more with the latest beta may be indicative of something, but a debug report may not show it.

Perhaps you should have SmartException running, then send the relevant files to Stardock support when the problem comes up again.
Reply #5 Top
Stupid forum double posting for me, again.
Sorry.
Reply #6 Top
Fixed OP.


Looks like you've got a number of issues, though primarily it looks like your video driver failed when you alt-tabbed. Definitely try updating it if there's anything newer available for XP (I know they're up to 174 on Vista at least, the latest of which does include some driver crash fixes for other games).
Reply #7 Top
Already using the latest driver for XP. Previously (as in from when I originally got DL until this beta) when the game crashed when alt-tabbing it was with the standard "this application has encountered an error" message. The "invald call" is new to this version. Length of time it's been running doesn't seem to be much of a factor. I'll install SmartException and see what it says.