Jump to content
The Dark Mod Forums

Is anyone else using Vista?


Recommended Posts

:( I thought I was helping.

 

Here is the output for Debug 6.

crt_init()
streams_init()
module::ModuleRegistry::Instance().initi
aliseContext(argc, argv)
gtk_disable_setlocale()
gtk_init()
GlobalDebugMessageHandler::instance().se
tHandler()
ui::Splash::Instance().show()
module::RegistryReference::Instance().se
tRegistry()
ui::Splash::Instance().setProgressAndTex
t()
module::getRegistry().getApplicationCont
ext()
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/archivezip.dll'
Module registered: ArchivePK4
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/eclassmgr.dll'
Module registered: EntityClassManager
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/entity.dll'
Module registered: Doom3EntityCreator
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/entitylist.dll'
Module registered: EntityList
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/eventmanager.dll'
Module registered: EventManager
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/filetypes.dll'
Module registered: FileTypes
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/filters.dll'
Module registered: FilterSystem
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/grid.dll'
Module registered: Grid
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/image.dll'
Module registered: ImageLoaderTGA
Module registered: ImageLoaderJPG
Module registered: ImageLoaderPCX
Module registered: ImageLoaderBMP
Module registered: ImageLoaderDDS
Module registered: ImageLoaderGDK
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/mapdoom3.dll'
Module registered: Doom3MapLoader
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/md5model.dll'
Module registered: ModelLoaderMD5MESH
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/model.dll'
Module registered: ModelLoaderMD3
Module registered: ModelLoader3DS
Module registered: ModelLoaderASE
Module registered: ModelLoaderMS3D
Module registered: ModelLoaderMDC
Module registered: ModelLoaderMD2
Module registered: ModelLoaderFM
Module registered: ModelLoaderLWO
Module registered: ModelLoaderPICOTERRAIN
Module registered: ModelLoaderOBJ
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/particles.dll'
Module registered: ParticlesManager
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/scenegraph.dll'
Module registered: SceneGraph
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/shaders.dll'
Module registered: ShaderSystem
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/skins.dll'
Module registered: ModelSkinCache
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/sound.dll'
Module registered: SoundManager
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/uimanager.dll'
Module registered: UIManager
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/undo.dll'
Module registered: UndoSystem
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/vfspk3.dll'
Module registered: VirtualFileSystem
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/xmlregistry.dll'
Module registered: XMLRegistry
ModuleLoader: Loading module 'C:/games/DarkRadiant/plugins/dm_d3hook.dll'
Module registered: Doom3Hook
ModuleLoader: Loading module 'C:/games/DarkRadiant/plugins/dm_objectives.dll'
Module registered: ObjectivesEditor
ModuleLoader: Loading module 'C:/games/DarkRadiant/plugins/dm_stimresponse.dll'
Module registered: StimResponseEditor
ModuleLoader: Loading module 'C:/games/DarkRadiant/plugins/eclasstree.dll'
Module registered: EClassTree
module::getRegistry().initialiseModules(
)
Initialising module: ArchivePK4
=> Module ArchivePK4 entering intialisation.
ArchivePK4::initialiseModule called
=> Module ArchivePK4 initialised.
Initialising module: Camera
Initialising module: EventManager
Initialising module: Radiant
Initialising module: Clipper
Initialising module: PreferenceSystem
=> Module PreferenceSystem entering intialisation.
PreferenceSystem::initialiseModule called
=> Module PreferenceSystem initialised.
Initialising module: XMLRegistry
=> Module XMLRegistry entering intialisation.
XMLRegistry::initialiseModule called
XMLRegistry: Importing XML file: C:/games/DarkRadiant/user.xml
XMLRegistry: Importing XML file: C:/games/DarkRadiant/colours.xml
XMLRegistry: Importing XML file: C:/games/DarkRadiant/input.xml
XMLRegistry: Importing XML file: C:/games/DarkRadiant/menu.xml
XMLRegistry: Importing XML file: C:\Users\Master\AppData\Roaming\DarkRadiant\/us
er.xml
XMLRegistry: Importing XML file: C:\Users\Master\AppData\Roaming\DarkRadiant\/in
put.xml
=> Module XMLRegistry initialised.
=> Module Clipper entering intialisation.
Clipper::initialiseModule called
=> Module Clipper initialised.
Initialising module: Doom3BrushCreator
Initialising module: FilterSystem
Initialising module: GameManager
Initialising module: VirtualFileSystem
=> Module VirtualFileSystem entering intialisation.
VFS::initialiseModule called
=> Module VirtualFileSystem initialised.
=> Module GameManager entering intialisation.
GameManager::initialiseModule called.
GameManager: Scanning for game description files: C:/games/DarkRadiant/games/
XMLRegistry: Importing XML file: C:/games/DarkRadiant/games/doom3.game
GameManager: Found game definitions: doom3
GameManager: Selected game type: doom3
vfs directory: C:/games/doom3/darkmod/
 pak file: C:/games/doom3/darkmod/thiefs_den.pk4
 pak file: C:/games/doom3/darkmod/darkmod.pk4
vfs directory: C:/games/doom3/base/
 pak file: C:/games/doom3/base/pak008.pk4
 pak file: C:/games/doom3/base/pak007.pk4
 pak file: C:/games/doom3/base/pak006.pk4
 pak file: C:/games/doom3/base/game03.pk4
 pak file: C:/games/doom3/base/game02.pk4
 pak file: C:/games/doom3/base/game01.pk4
GameManager: Map path set to C:/games/doom3/darkmod/maps/
GameManager: Prefab path set to C:/games/doom3/darkmod/prefabs/
=> Module GameManager initialised.
Initialising module: SceneGraph
=> Module SceneGraph entering intialisation.
SceneGraph::initialiseModule called
=> Module SceneGraph initialised.
=> Module FilterSystem entering intialisation.
[filters] Loaded 15 filters from registry.
=> Module FilterSystem initialised.
Initialising module: OpenGL
=> Module OpenGL entering intialisation.
OpenGL::initialiseModule called.
=> Module OpenGL initialised.
Initialising module: SelectionSystem
Initialising module: Grid
=> Module Grid entering intialisation.
GridManager::initialiseModule called.
=> Module Grid initialised.
Initialising module: ShaderCache
Initialising module: OpenGLStateLibrary
=> Module OpenGLStateLibrary entering intialisation.
OpenGLStateLibrary::initialiseModule called.
=> Module OpenGLStateLibrary initialised.
Initialising module: ShaderSystem
=> Module ShaderSystem entering intialisation.
Doom3ShaderSystem::initialiseModule called
=> Module ShaderSystem initialised.
=> Module ShaderCache entering intialisation.
ShaderCache::initialiseModule called.
=> Module ShaderCache initialised.
=> Module SelectionSystem entering intialisation.
RadiantSelectionSystem::initialiseModule called.
=> Module SelectionSystem initialised.
Initialising module: UndoSystem
=> Module UndoSystem entering intialisation.
UndoSystem::initialiseModule called
=> Module UndoSystem initialised.
=> Module Doom3BrushCreator entering intialisation.
BrushModuleClass::initialiseModule called.

EventManager: addRegistryToggle called with TogTexLock (user/ui/brush/textureLoc
k)
Instantiating RegistryToggle
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
returning
=> Module Doom3BrushCreator initialised.
Initialising module: Doom3EntityCreator
=> Module Doom3EntityCreator entering intialisation.
Doom3EntityCreator::initialiseModule called.
=> Module Doom3EntityCreator initialised.
Initialising module: Doom3MapLoader
Initialising module: EntityClassManager
=> Module EntityClassManager entering intialisation.
EntityClassDoom3::initialiseModule called.
=> Module EntityClassManager initialised.
Initialising module: FileTypes
=> Module FileTypes entering intialisation.
FileTypeRegistry::initialiseModule called.
=> Module FileTypes initialised.
Initialising module: PatchModuleDef2
=> Module PatchModuleDef2 entering intialisation.
Doom3PatchDef2Creator::initialiseModule called.
=> Module PatchModuleDef2 initialised.
Initialising module: PatchModuleDef3
=> Module PatchModuleDef3 entering intialisation.
Doom3PatchDef3Creator::initialiseModule called.
=> Module PatchModuleDef3 initialised.
=> Module Doom3MapLoader entering intialisation.
MapDoom3API::initialiseModule called.
=> Module Doom3MapLoader initialised.
Initialising module: ImageLoaderDDS
=> Module ImageLoaderDDS entering intialisation.
ImageLoaderDDS::initialiseModule called.
=> Module ImageLoaderDDS initialised.
Initialising module: ImageLoaderJPG
=> Module ImageLoaderJPG entering intialisation.
ImageLoaderJPG::initialiseModule called.
=> Module ImageLoaderJPG initialised.
Initialising module: ImageLoaderTGA
=> Module ImageLoaderTGA entering intialisation.
ImageLoaderTGA::initialiseModule called.
=> Module ImageLoaderTGA initialised.
Initialising module: Namespace
=> Module Namespace entering intialisation.
Namespace::initialiseModule called.
=> Module Namespace initialised.
Initialising module: ParticlesManager
=> Module ParticlesManager entering intialisation.
ParticlesManager::initialiseModule called
=> Module ParticlesManager initialised.
Initialising module: ReferenceCache
=> Module ReferenceCache entering intialisation.
ReferenceCache::initialiseModule called.
=> Module ReferenceCache initialised.
Initialising module: SoundManager
=> Module SoundManager entering intialisation.
SoundManager::initialiseModule called
=> Module SoundManager initialised.
Initialising module: UIManager
=> Module UIManager entering intialisation.
UIManager::initialiseModule called
Found toolbar: view
Found toolbar: edit
Found toolbar: texture
Found toolbar: textool
MenuManager: Finished loading default menu from registry.
=> Module UIManager initialised.
=> Module Radiant entering intialisation.
RadiantAPI::initialiseModule called.
RadiantCoreAPI: Selection_construct()
RadiantCoreAPI: MultiMon_Construct()
default screen has 1 monitors
monitor 0 geometry: 0, 0, 1680, 1050
RadiantCoreAPI: map::PointFile::Instance().registerComma
nds()
RadiantCoreAPI: Map_Construct()
RadiantCoreAPI: MainFrame_Construct()
Registering commands...1 2 3 4 5 6 7 8 9 10 (adding RegistryToggle)
EventManager: addRegistryToggle called with ToggleShowSizeInfo (user/ui/xyview/s
howSizeInfo)
Instantiating RegistryToggle
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
returning

a (adding RegistryToggle)
EventManager: addRegistryToggle called with ToggleShowAllLightRadii (user/ui/sho
wAllLightRadii)
Instantiating RegistryToggle
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
returning
b (adding RegistryToggle)
EventManager: addRegistryToggle called with ToggleShowAllSpeakerRadii (user/ui/s
howAllSpeakerRadii)
Instantiating RegistryToggle
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.

I won't be able to do any more til tomorrow now.

I want your brain... to make his heart... beat faster.

Link to comment
Share on other sites

  • Replies 172
  • Created
  • Last Reply

Top Posters In This Topic

:( I thought I was helping.

You are very helpful - did I sound grumpy? I even added a smiley...

 

Next snapshot is on FTP. I still have no clue where exactly the crash is occurring:

 

http://208.49.149.118/TheDarkMod/DarkRadia...sta_Debug_7.zip

 

Also, please try to run the test twice or more times to see if the crash is occurring always at the same point - check the last line of output. (If it is not the same each time, it will be hard time figuring that out via remote debugging).

Link to comment
Share on other sites

I see you reading this topic greebo - I'm hanging on with excitement here. Is this helping?
This information is pretty near to useless. My name will appear under this topic for over 15 minutes, and only indicates that I've once clicked on this topic and that I'm probably busy with other things. ;)
:( I thought I was helping.

Heh, bit of misinterpretation here? I think greebo was saying that the "users reading this topic" display is next to useless. He wasn't talking about the logs you're posting. :)

My games | Public Service Announcement: TDM is not set in the Thief universe. The city in which it takes place is not the City from Thief. The player character is not called Garrett. Any person who contradicts these facts will be subjected to disapproving stares.
Link to comment
Share on other sites

Output from debug 7.

 

I checked it twice - the last line was the same both times.

crt_init()
streams_init()
module::ModuleRegistry::Instance().initi
aliseContext(argc, argv)
gtk_disable_setlocale()
gtk_init()
GlobalDebugMessageHandler::instance().se
tHandler()
ui::Splash::Instance().show()
module::RegistryReference::Instance().se
tRegistry()
ui::Splash::Instance().setProgressAndTex
t()
module::getRegistry().getApplicationCont
ext()
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/archivezip.dll'
Module registered: ArchivePK4
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/eclassmgr.dll'
Module registered: EntityClassManager
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/entity.dll'
Module registered: Doom3EntityCreator
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/entitylist.dll'
Module registered: EntityList
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/eventmanager.dll'
Module registered: EventManager
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/filetypes.dll'
Module registered: FileTypes
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/filters.dll'
Module registered: FilterSystem
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/grid.dll'
Module registered: Grid
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/image.dll'
Module registered: ImageLoaderTGA
Module registered: ImageLoaderJPG
Module registered: ImageLoaderPCX
Module registered: ImageLoaderBMP
Module registered: ImageLoaderDDS
Module registered: ImageLoaderGDK
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/mapdoom3.dll'
Module registered: Doom3MapLoader
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/md5model.dll'
Module registered: ModelLoaderMD5MESH
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/model.dll'
Module registered: ModelLoaderMD3
Module registered: ModelLoader3DS
Module registered: ModelLoaderASE
Module registered: ModelLoaderMS3D
Module registered: ModelLoaderMDC
Module registered: ModelLoaderMD2
Module registered: ModelLoaderFM
Module registered: ModelLoaderLWO
Module registered: ModelLoaderPICOTERRAIN
Module registered: ModelLoaderOBJ
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/particles.dll'
Module registered: ParticlesManager
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/scenegraph.dll'
Module registered: SceneGraph
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/shaders.dll'
Module registered: ShaderSystem
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/skins.dll'
Module registered: ModelSkinCache
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/sound.dll'
Module registered: SoundManager
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/uimanager.dll'
Module registered: UIManager
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/undo.dll'
Module registered: UndoSystem
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/vfspk3.dll'
Module registered: VirtualFileSystem
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/xmlregistry.dll'
Module registered: XMLRegistry
ModuleLoader: Loading module 'C:/games/DarkRadiant/plugins/dm_d3hook.dll'
Module registered: Doom3Hook
ModuleLoader: Loading module 'C:/games/DarkRadiant/plugins/dm_objectives.dll'
Module registered: ObjectivesEditor
ModuleLoader: Loading module 'C:/games/DarkRadiant/plugins/dm_stimresponse.dll'
Module registered: StimResponseEditor
ModuleLoader: Loading module 'C:/games/DarkRadiant/plugins/eclasstree.dll'
Module registered: EClassTree
module::getRegistry().initialiseModules(
)
Initialising module: ArchivePK4
=> Module ArchivePK4 entering intialisation.
ArchivePK4::initialiseModule called
=> Module ArchivePK4 initialised.
Initialising module: Camera
Initialising module: EventManager
Initialising module: Radiant
Initialising module: Clipper
Initialising module: PreferenceSystem
=> Module PreferenceSystem entering intialisation.
PreferenceSystem::initialiseModule called
=> Module PreferenceSystem initialised.
Initialising module: XMLRegistry
=> Module XMLRegistry entering intialisation.
XMLRegistry::initialiseModule called
XMLRegistry: Importing XML file: C:/games/DarkRadiant/user.xml
XMLRegistry: Importing XML file: C:/games/DarkRadiant/colours.xml
XMLRegistry: Importing XML file: C:/games/DarkRadiant/input.xml
XMLRegistry: Importing XML file: C:/games/DarkRadiant/menu.xml
XMLRegistry: Importing XML file: C:\Users\Master\AppData\Roaming\DarkRadiant\/us
er.xml
XMLRegistry: Importing XML file: C:\Users\Master\AppData\Roaming\DarkRadiant\/in
put.xml
=> Module XMLRegistry initialised.
=> Module Clipper entering intialisation.
Clipper::initialiseModule called
=> Module Clipper initialised.
Initialising module: Doom3BrushCreator
Initialising module: FilterSystem
Initialising module: GameManager
Initialising module: VirtualFileSystem
=> Module VirtualFileSystem entering intialisation.
VFS::initialiseModule called
=> Module VirtualFileSystem initialised.
=> Module GameManager entering intialisation.
GameManager::initialiseModule called.
GameManager: Scanning for game description files: C:/games/DarkRadiant/games/
XMLRegistry: Importing XML file: C:/games/DarkRadiant/games/doom3.game
GameManager: Found game definitions: doom3
GameManager: Selected game type: doom3
vfs directory: C:/games/doom3/darkmod/
 pak file: C:/games/doom3/darkmod/thiefs_den.pk4
 pak file: C:/games/doom3/darkmod/darkmod.pk4
vfs directory: C:/games/doom3/base/
 pak file: C:/games/doom3/base/pak008.pk4
 pak file: C:/games/doom3/base/pak007.pk4
 pak file: C:/games/doom3/base/pak006.pk4
 pak file: C:/games/doom3/base/game03.pk4
 pak file: C:/games/doom3/base/game02.pk4
 pak file: C:/games/doom3/base/game01.pk4
GameManager: Map path set to C:/games/doom3/darkmod/maps/
GameManager: Prefab path set to C:/games/doom3/darkmod/prefabs/
=> Module GameManager initialised.
Initialising module: SceneGraph
=> Module SceneGraph entering intialisation.
SceneGraph::initialiseModule called
=> Module SceneGraph initialised.
=> Module FilterSystem entering intialisation.
[filters] Loaded 15 filters from registry.
=> Module FilterSystem initialised.
Initialising module: OpenGL
=> Module OpenGL entering intialisation.
OpenGL::initialiseModule called.
=> Module OpenGL initialised.
Initialising module: SelectionSystem
Initialising module: Grid
=> Module Grid entering intialisation.
GridManager::initialiseModule called.
=> Module Grid initialised.
Initialising module: ShaderCache
Initialising module: OpenGLStateLibrary
=> Module OpenGLStateLibrary entering intialisation.
OpenGLStateLibrary::initialiseModule called.
=> Module OpenGLStateLibrary initialised.
Initialising module: ShaderSystem
=> Module ShaderSystem entering intialisation.
Doom3ShaderSystem::initialiseModule called
=> Module ShaderSystem initialised.
=> Module ShaderCache entering intialisation.
ShaderCache::initialiseModule called.
=> Module ShaderCache initialised.
=> Module SelectionSystem entering intialisation.
RadiantSelectionSystem::initialiseModule called.
=> Module SelectionSystem initialised.
Initialising module: UndoSystem
=> Module UndoSystem entering intialisation.
UndoSystem::initialiseModule called
=> Module UndoSystem initialised.
=> Module Doom3BrushCreator entering intialisation.
BrushModuleClass::initialiseModule called.

EventManager: addRegistryToggle called with TogTexLock (user/ui/brush/textureLoc
k)
Instantiating RegistryToggle
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
inserting in map...returning
=> Module Doom3BrushCreator initialised.
Initialising module: Doom3EntityCreator
=> Module Doom3EntityCreator entering intialisation.
Doom3EntityCreator::initialiseModule called.
=> Module Doom3EntityCreator initialised.
Initialising module: Doom3MapLoader
Initialising module: EntityClassManager
=> Module EntityClassManager entering intialisation.
EntityClassDoom3::initialiseModule called.
=> Module EntityClassManager initialised.
Initialising module: FileTypes
=> Module FileTypes entering intialisation.
FileTypeRegistry::initialiseModule called.
=> Module FileTypes initialised.
Initialising module: PatchModuleDef2
=> Module PatchModuleDef2 entering intialisation.
Doom3PatchDef2Creator::initialiseModule called.
=> Module PatchModuleDef2 initialised.
Initialising module: PatchModuleDef3
=> Module PatchModuleDef3 entering intialisation.
Doom3PatchDef3Creator::initialiseModule called.
=> Module PatchModuleDef3 initialised.
=> Module Doom3MapLoader entering intialisation.
MapDoom3API::initialiseModule called.
=> Module Doom3MapLoader initialised.
Initialising module: ImageLoaderDDS
=> Module ImageLoaderDDS entering intialisation.
ImageLoaderDDS::initialiseModule called.
=> Module ImageLoaderDDS initialised.
Initialising module: ImageLoaderJPG
=> Module ImageLoaderJPG entering intialisation.
ImageLoaderJPG::initialiseModule called.
=> Module ImageLoaderJPG initialised.
Initialising module: ImageLoaderTGA
=> Module ImageLoaderTGA entering intialisation.
ImageLoaderTGA::initialiseModule called.
=> Module ImageLoaderTGA initialised.
Initialising module: Namespace
=> Module Namespace entering intialisation.
Namespace::initialiseModule called.
=> Module Namespace initialised.
Initialising module: ParticlesManager
=> Module ParticlesManager entering intialisation.
ParticlesManager::initialiseModule called
=> Module ParticlesManager initialised.
Initialising module: ReferenceCache
=> Module ReferenceCache entering intialisation.
ReferenceCache::initialiseModule called.
=> Module ReferenceCache initialised.
Initialising module: SoundManager
=> Module SoundManager entering intialisation.
SoundManager::initialiseModule called
=> Module SoundManager initialised.
Initialising module: UIManager
=> Module UIManager entering intialisation.
UIManager::initialiseModule called
Found toolbar: view
Found toolbar: edit
Found toolbar: texture
Found toolbar: textool
MenuManager: Finished loading default menu from registry.
=> Module UIManager initialised.
=> Module Radiant entering intialisation.
RadiantAPI::initialiseModule called.
RadiantCoreAPI: Selection_construct()
RadiantCoreAPI: MultiMon_Construct()
default screen has 1 monitors
monitor 0 geometry: 0, 0, 1680, 1050
RadiantCoreAPI: map::PointFile::Instance().registerComma
nds()
RadiantCoreAPI: Map_Construct()
RadiantCoreAPI: MainFrame_Construct()
Registering commands...1 2 3 4 5 6 7 8 9 10 (adding RegistryToggle)
EventManager: addRegistryToggle called with ToggleShowSizeInfo (user/ui/xyview/s
howSizeInfo)
Instantiating RegistryToggle
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
inserting in map...returning

a (adding RegistryToggle)
EventManager: addRegistryToggle called with ToggleShowAllLightRadii (user/ui/sho
wAllLightRadii)
Instantiating RegistryToggle
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
inserting in map...returning
b (adding RegistryToggle)
EventManager: addRegistryToggle called with ToggleShowAllSpeakerRadii (user/ui/s
howAllSpeakerRadii)
Instantiating RegistryToggle
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.

I want your brain... to make his heart... beat faster.

Link to comment
Share on other sites

Output from Debug 8 - double checked.

 

crt_init()
streams_init()
module::ModuleRegistry::Instance().initi
aliseContext(argc, argv)
gtk_disable_setlocale()
gtk_init()
GlobalDebugMessageHandler::instance().se
tHandler()
ui::Splash::Instance().show()
module::RegistryReference::Instance().se
tRegistry()
ui::Splash::Instance().setProgressAndTex
t()
module::getRegistry().getApplicationCont
ext()
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/archivezip.dll'
Module registered: ArchivePK4
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/eclassmgr.dll'
Module registered: EntityClassManager
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/entity.dll'
Module registered: Doom3EntityCreator
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/entitylist.dll'
Module registered: EntityList
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/eventmanager.dll'
Module registered: EventManager
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/filetypes.dll'
Module registered: FileTypes
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/filters.dll'
Module registered: FilterSystem
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/grid.dll'
Module registered: Grid
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/image.dll'
Module registered: ImageLoaderTGA
Module registered: ImageLoaderJPG
Module registered: ImageLoaderPCX
Module registered: ImageLoaderBMP
Module registered: ImageLoaderDDS
Module registered: ImageLoaderGDK
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/mapdoom3.dll'
Module registered: Doom3MapLoader
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/md5model.dll'
Module registered: ModelLoaderMD5MESH
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/model.dll'
Module registered: ModelLoaderMD3
Module registered: ModelLoader3DS
Module registered: ModelLoaderASE
Module registered: ModelLoaderMS3D
Module registered: ModelLoaderMDC
Module registered: ModelLoaderMD2
Module registered: ModelLoaderFM
Module registered: ModelLoaderLWO
Module registered: ModelLoaderPICOTERRAIN
Module registered: ModelLoaderOBJ
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/particles.dll'
Module registered: ParticlesManager
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/scenegraph.dll'
Module registered: SceneGraph
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/shaders.dll'
Module registered: ShaderSystem
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/skins.dll'
Module registered: ModelSkinCache
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/sound.dll'
Module registered: SoundManager
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/uimanager.dll'
Module registered: UIManager
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/undo.dll'
Module registered: UndoSystem
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/vfspk3.dll'
Module registered: VirtualFileSystem
ModuleLoader: Loading module 'C:/games/DarkRadiant/modules/xmlregistry.dll'
Module registered: XMLRegistry
ModuleLoader: Loading module 'C:/games/DarkRadiant/plugins/dm_d3hook.dll'
Module registered: Doom3Hook
ModuleLoader: Loading module 'C:/games/DarkRadiant/plugins/dm_objectives.dll'
Module registered: ObjectivesEditor
ModuleLoader: Loading module 'C:/games/DarkRadiant/plugins/dm_stimresponse.dll'
Module registered: StimResponseEditor
ModuleLoader: Loading module 'C:/games/DarkRadiant/plugins/eclasstree.dll'
Module registered: EClassTree
module::getRegistry().initialiseModules(
)
Initialising module: ArchivePK4
=> Module ArchivePK4 entering intialisation.
ArchivePK4::initialiseModule called
=> Module ArchivePK4 initialised.
Initialising module: Camera
Initialising module: EventManager
Initialising module: Radiant
Initialising module: Clipper
Initialising module: PreferenceSystem
=> Module PreferenceSystem entering intialisation.
PreferenceSystem::initialiseModule called
=> Module PreferenceSystem initialised.
Initialising module: XMLRegistry
=> Module XMLRegistry entering intialisation.
XMLRegistry::initialiseModule called
XMLRegistry: Importing XML file: C:/games/DarkRadiant/user.xml
XMLRegistry: Importing XML file: C:/games/DarkRadiant/colours.xml
XMLRegistry: Importing XML file: C:/games/DarkRadiant/input.xml
XMLRegistry: Importing XML file: C:/games/DarkRadiant/menu.xml
XMLRegistry: Importing XML file: C:\Users\Master\AppData\Roaming\DarkRadiant\/us
er.xml
XMLRegistry: Importing XML file: C:\Users\Master\AppData\Roaming\DarkRadiant\/in
put.xml
=> Module XMLRegistry initialised.
=> Module Clipper entering intialisation.
Clipper::initialiseModule called
=> Module Clipper initialised.
Initialising module: Doom3BrushCreator
Initialising module: FilterSystem
Initialising module: GameManager
Initialising module: VirtualFileSystem
=> Module VirtualFileSystem entering intialisation.
VFS::initialiseModule called
=> Module VirtualFileSystem initialised.
=> Module GameManager entering intialisation.
GameManager::initialiseModule called.
GameManager: Scanning for game description files: C:/games/DarkRadiant/games/
XMLRegistry: Importing XML file: C:/games/DarkRadiant/games/doom3.game
GameManager: Found game definitions: doom3
GameManager: Selected game type: doom3
vfs directory: C:/games/doom3/darkmod/
 pak file: C:/games/doom3/darkmod/thiefs_den.pk4
 pak file: C:/games/doom3/darkmod/darkmod.pk4
vfs directory: C:/games/doom3/base/
 pak file: C:/games/doom3/base/pak008.pk4
 pak file: C:/games/doom3/base/pak007.pk4
 pak file: C:/games/doom3/base/pak006.pk4
 pak file: C:/games/doom3/base/game03.pk4
 pak file: C:/games/doom3/base/game02.pk4
 pak file: C:/games/doom3/base/game01.pk4
GameManager: Map path set to C:/games/doom3/darkmod/maps/
GameManager: Prefab path set to C:/games/doom3/darkmod/prefabs/
=> Module GameManager initialised.
Initialising module: SceneGraph
=> Module SceneGraph entering intialisation.
SceneGraph::initialiseModule called
=> Module SceneGraph initialised.
=> Module FilterSystem entering intialisation.
[filters] Loaded 15 filters from registry.
=> Module FilterSystem initialised.
Initialising module: OpenGL
=> Module OpenGL entering intialisation.
OpenGL::initialiseModule called.
=> Module OpenGL initialised.
Initialising module: SelectionSystem
Initialising module: Grid
=> Module Grid entering intialisation.
GridManager::initialiseModule called.
=> Module Grid initialised.
Initialising module: ShaderCache
Initialising module: OpenGLStateLibrary
=> Module OpenGLStateLibrary entering intialisation.
OpenGLStateLibrary::initialiseModule called.
=> Module OpenGLStateLibrary initialised.
Initialising module: ShaderSystem
=> Module ShaderSystem entering intialisation.
Doom3ShaderSystem::initialiseModule called
=> Module ShaderSystem initialised.
=> Module ShaderCache entering intialisation.
ShaderCache::initialiseModule called.
=> Module ShaderCache initialised.
=> Module SelectionSystem entering intialisation.
RadiantSelectionSystem::initialiseModule called.
=> Module SelectionSystem initialised.
Initialising module: UndoSystem
=> Module UndoSystem entering intialisation.
UndoSystem::initialiseModule called
=> Module UndoSystem initialised.
=> Module Doom3BrushCreator entering intialisation.
BrushModuleClass::initialiseModule called.

EventManager: addRegistryToggle called with TogTexLock (user/ui/brush/textureLoc
k) this = 0x1e18450
Instantiating RegistryToggle object...
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
creating shared_ptr
inserting in map...
returning
=> Module Doom3BrushCreator initialised.
Initialising module: Doom3EntityCreator
=> Module Doom3EntityCreator entering intialisation.
Doom3EntityCreator::initialiseModule called.
=> Module Doom3EntityCreator initialised.
Initialising module: Doom3MapLoader
Initialising module: EntityClassManager
=> Module EntityClassManager entering intialisation.
EntityClassDoom3::initialiseModule called.
=> Module EntityClassManager initialised.
Initialising module: FileTypes
=> Module FileTypes entering intialisation.
FileTypeRegistry::initialiseModule called.
=> Module FileTypes initialised.
Initialising module: PatchModuleDef2
=> Module PatchModuleDef2 entering intialisation.
Doom3PatchDef2Creator::initialiseModule called.
=> Module PatchModuleDef2 initialised.
Initialising module: PatchModuleDef3
=> Module PatchModuleDef3 entering intialisation.
Doom3PatchDef3Creator::initialiseModule called.
=> Module PatchModuleDef3 initialised.
=> Module Doom3MapLoader entering intialisation.
MapDoom3API::initialiseModule called.
=> Module Doom3MapLoader initialised.
Initialising module: ImageLoaderDDS
=> Module ImageLoaderDDS entering intialisation.
ImageLoaderDDS::initialiseModule called.
=> Module ImageLoaderDDS initialised.
Initialising module: ImageLoaderJPG
=> Module ImageLoaderJPG entering intialisation.
ImageLoaderJPG::initialiseModule called.
=> Module ImageLoaderJPG initialised.
Initialising module: ImageLoaderTGA
=> Module ImageLoaderTGA entering intialisation.
ImageLoaderTGA::initialiseModule called.
=> Module ImageLoaderTGA initialised.
Initialising module: Namespace
=> Module Namespace entering intialisation.
Namespace::initialiseModule called.
=> Module Namespace initialised.
Initialising module: ParticlesManager
=> Module ParticlesManager entering intialisation.
ParticlesManager::initialiseModule called
=> Module ParticlesManager initialised.
Initialising module: ReferenceCache
=> Module ReferenceCache entering intialisation.
ReferenceCache::initialiseModule called.
=> Module ReferenceCache initialised.
Initialising module: SoundManager
=> Module SoundManager entering intialisation.
SoundManager::initialiseModule called
=> Module SoundManager initialised.
Initialising module: UIManager
=> Module UIManager entering intialisation.
UIManager::initialiseModule called
Found toolbar: view
Found toolbar: edit
Found toolbar: texture
Found toolbar: textool
MenuManager: Finished loading default menu from registry.
=> Module UIManager initialised.
=> Module Radiant entering intialisation.
RadiantAPI::initialiseModule called.
RadiantCoreAPI: Selection_construct()
RadiantCoreAPI: MultiMon_Construct()
default screen has 1 monitors
monitor 0 geometry: 0, 0, 1680, 1050
RadiantCoreAPI: map::PointFile::Instance().registerComma
nds()
RadiantCoreAPI: Map_Construct()
RadiantCoreAPI: MainFrame_Construct()
Registering commands...1 2 3 4 5 6 7 8 9 10 (adding RegistryToggle)
EventManager: addRegistryToggle called with ToggleShowSizeInfo (user/ui/xyview/s
howSizeInfo) this = 0x1e18450
Instantiating RegistryToggle object...
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
creating shared_ptr
inserting in map...
returning

a (adding RegistryToggle)
EventManager: addRegistryToggle called with ToggleShowAllLightRadii (user/ui/sho
wAllLightRadii) this = 0x1e18450
Instantiating RegistryToggle object...
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
creating shared_ptr
inserting in map...
returning
b (adding RegistryToggle)
EventManager: addRegistryToggle called with ToggleShowAllSpeakerRadii (user/ui/s
howAllSpeakerRadii) this = 0x1e18450
Instantiating RegistryToggle object...
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.

I want your brain... to make his heart... beat faster.

Link to comment
Share on other sites

Ok, I have no idea why this happens. This is the offending code section:

if (!alreadyRegistered(name)) {
std::cout << "Instantiating RegistryToggle object...\n";
// Add the command to the list
RegistryToggle* registryToggle = new RegistryToggle(registryKey);
std::cout << "creating shared_ptr\n";
IEventPtr event(registryToggle);

std::cout << "inserting in map...\n";

_events.insert(EventMap::value_type(name, event));
std::cout << "returning\n";

// Return the pointer to the newly created event
return _events[name];
}

The RegistryToggle constructor is entered and is executed till the end:

RegistryToggle(const std::string& registryKey) :
	Toggle(MemberCaller<RegistryToggle, &RegistryToggle::doNothing>(*this)),
	_registryKey(registryKey)
{
	std::cout << "RegistryToggle constructor entered.\n";
	// Initialise the current state
	std::cout << "Acquiring registry, ";
	Registry& registry = GlobalRegistry();
	std::cout << "calling registry...";
	std::string temp = GlobalRegistry().get(_registryKey);
	std::cout << "comparing\n";

	_toggled = (temp == "1");

	std::cout << "adding Keyobserver.\n";
	// Register self as KeyObserver to get notified on key changes
	GlobalRegistry().addKeyObserver(this, _registryKey);
	std::cout << "done.\n";
}

The "done" at the end is printed, but then it crashes? Does anybody have an idea what might be going on?

Link to comment
Share on other sites

Greebo, wouldn't be easier for you just to install a partition with vista on it?

Probably, yes, but I can't. I only got a crappy "Recovery DVD", which I can use to reset my hard drive to contain a single Vista partition, it will wipe my HDD.

 

I don't want to lose my WinXP/Ubuntu setup at this point - it's a nice and (more important) stable setup.

 

I don't have any other machines available that are able to run Vista at this time neither. I used to have three PCs but I sold them all on eBay and invested in my laptop.

Link to comment
Share on other sites

The "done" at the end is printed, but then it crashes? Does anybody have an idea what might be going on?

 

Other than the general observation that a crash at the end of a function almost always indicates a problem with the destructor of some local object defined within the function, I have no idea. It doesn't appear that there are any local objects apart from the temp string.

Link to comment
Share on other sites

No external HD to install it on?

Hm, this might be an option. Thanks for the suggestion. Maybe I can get my hands on a copy of Vista sometime, somehow...

 

But I don't know whether 1) Vista installs on an external hard drive and 2) whether it tinkers with my internal hard drive. I had such issues before where I had to reinstall everything while trying to get Ubuntu working on an external hard drive - boy this was annoying. I was unable to restore WinXP's boot loader after that incident, and I tried quite a few things.

 

Other than the general observation that a crash at the end of a function almost always indicates a problem with the destructor of some local object defined within the function, I have no idea. It doesn't appear that there are any local objects apart from the temp string.

Yes. The local temp string was even introduced by me for the debug version of RegistryToggle, so I can't see anything suspicious in that function.

 

I've disabled two of the three addRegistryToggle calls in this EXE, please check it out, Subjective Effect:

 

http://208.49.149.118/TheDarkMod/DarkRadia...sta_Debug_9.zip

Link to comment
Share on other sites

Maybe you could actually REPLACE the HD and install Vista, and then replace back to your orig HD when you want. Should work I think, although a bit more bother each time you want to switch (but really, it's not THAT much bother, just a few minutes to replace HD usually)

shadowdark50.gif keep50.gif
Link to comment
Share on other sites

Maybe you could actually REPLACE the HD and install Vista, and then replace back to your orig HD when you want. Should work I think, although a bit more bother each time you want to switch (but really, it's not THAT much bother, just a few minutes to replace HD usually)

Well, if I had another HDD for my laptop, this would be an option. But angua planned to upgrade her 2.5" HDD in a few weeks, so maybe I get my hands on a spare one soon. ;)

Link to comment
Share on other sites

Output from Debug 9. Double checked.

 

  pak file: C:/games/doom3/base/game02.pk4
 pak file: C:/games/doom3/base/game01.pk4
GameManager: Map path set to C:/games/doom3/darkmod/maps/
GameManager: Prefab path set to C:/games/doom3/darkmod/prefabs/
=> Module GameManager initialised.
Initialising module: SceneGraph
=> Module SceneGraph entering intialisation.
SceneGraph::initialiseModule called
=> Module SceneGraph initialised.
=> Module FilterSystem entering intialisation.
[filters] Loaded 15 filters from registry.
=> Module FilterSystem initialised.
Initialising module: OpenGL
=> Module OpenGL entering intialisation.
OpenGL::initialiseModule called.
=> Module OpenGL initialised.
Initialising module: SelectionSystem
Initialising module: Grid
=> Module Grid entering intialisation.
GridManager::initialiseModule called.
=> Module Grid initialised.
Initialising module: ShaderCache
Initialising module: OpenGLStateLibrary
=> Module OpenGLStateLibrary entering intialisation.
OpenGLStateLibrary::initialiseModule called.
=> Module OpenGLStateLibrary initialised.
Initialising module: ShaderSystem
=> Module ShaderSystem entering intialisation.
Doom3ShaderSystem::initialiseModule called
=> Module ShaderSystem initialised.
=> Module ShaderCache entering intialisation.
ShaderCache::initialiseModule called.
=> Module ShaderCache initialised.
=> Module SelectionSystem entering intialisation.
RadiantSelectionSystem::initialiseModule called.
=> Module SelectionSystem initialised.
Initialising module: UndoSystem
=> Module UndoSystem entering intialisation.
UndoSystem::initialiseModule called
=> Module UndoSystem initialised.
=> Module Doom3BrushCreator entering intialisation.
BrushModuleClass::initialiseModule called.

EventManager: addRegistryToggle called with TogTexLock (user/ui/brush/textureLoc
k) this = 0x1ee8450
Instantiating RegistryToggle object...
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
creating shared_ptr
inserting in map...
returning
=> Module Doom3BrushCreator initialised.
Initialising module: Doom3EntityCreator
=> Module Doom3EntityCreator entering intialisation.
Doom3EntityCreator::initialiseModule called.
=> Module Doom3EntityCreator initialised.
Initialising module: Doom3MapLoader
Initialising module: EntityClassManager
=> Module EntityClassManager entering intialisation.
EntityClassDoom3::initialiseModule called.
=> Module EntityClassManager initialised.
Initialising module: FileTypes
=> Module FileTypes entering intialisation.
FileTypeRegistry::initialiseModule called.
=> Module FileTypes initialised.
Initialising module: PatchModuleDef2
=> Module PatchModuleDef2 entering intialisation.
Doom3PatchDef2Creator::initialiseModule called.
=> Module PatchModuleDef2 initialised.
Initialising module: PatchModuleDef3
=> Module PatchModuleDef3 entering intialisation.
Doom3PatchDef3Creator::initialiseModule called.
=> Module PatchModuleDef3 initialised.
=> Module Doom3MapLoader entering intialisation.
MapDoom3API::initialiseModule called.
=> Module Doom3MapLoader initialised.
Initialising module: ImageLoaderDDS
=> Module ImageLoaderDDS entering intialisation.
ImageLoaderDDS::initialiseModule called.
=> Module ImageLoaderDDS initialised.
Initialising module: ImageLoaderJPG
=> Module ImageLoaderJPG entering intialisation.
ImageLoaderJPG::initialiseModule called.
=> Module ImageLoaderJPG initialised.
Initialising module: ImageLoaderTGA
=> Module ImageLoaderTGA entering intialisation.
ImageLoaderTGA::initialiseModule called.
=> Module ImageLoaderTGA initialised.
Initialising module: Namespace
=> Module Namespace entering intialisation.
Namespace::initialiseModule called.
=> Module Namespace initialised.
Initialising module: ParticlesManager
=> Module ParticlesManager entering intialisation.
ParticlesManager::initialiseModule called
=> Module ParticlesManager initialised.
Initialising module: ReferenceCache
=> Module ReferenceCache entering intialisation.
ReferenceCache::initialiseModule called.
=> Module ReferenceCache initialised.
Initialising module: SoundManager
=> Module SoundManager entering intialisation.
SoundManager::initialiseModule called
=> Module SoundManager initialised.
Initialising module: UIManager
=> Module UIManager entering intialisation.
UIManager::initialiseModule called
Found toolbar: view
Found toolbar: edit
Found toolbar: texture
Found toolbar: textool
MenuManager: Finished loading default menu from registry.
=> Module UIManager initialised.
=> Module Radiant entering intialisation.
RadiantAPI::initialiseModule called.
RadiantCoreAPI: Selection_construct()
RadiantCoreAPI: MultiMon_Construct()
default screen has 1 monitors
monitor 0 geometry: 0, 0, 1680, 1050
RadiantCoreAPI: map::PointFile::Instance().registerComma
nds()
RadiantCoreAPI: Map_Construct()
RadiantCoreAPI: MainFrame_Construct()
Registering commands...1 2 3 4 5 6 7 8 9 10 (adding RegistryToggle)
EventManager: addRegistryToggle called with ToggleShowSizeInfo (user/ui/xyview/s
howSizeInfo) this = 0x1ee8450
Instantiating RegistryToggle object...
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
creating shared_ptr
inserting in map...
returning
d e f g h i j k l m n o 11 12
EventManager: addRegistryToggle called with ToggleRotationPivot (user/ui/rotatio
nPivotIsOrigin) this = 0x1ee8450
Instantiating RegistryToggle object...
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
creating shared_ptr
inserting in map...
returning
13
ui::TexTool::registerCommands()

EventManager: addRegistryToggle called with TexToolToggleGrid (user/ui/textures/
texTool/gridActive) this = 0x1ee8450
Instantiating RegistryToggle object...
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
creating shared_ptr
inserting in map...
returning
Patch_registerCommands()
GlobalSelectionSystem().addSelectionChan
geCallback()
Layout_registerPreferencesPage()
GlobalEntityClassManager().attach()
done
RadiantCoreAPI: GlobalCamera().construct()
RadiantCoreAPI: GlobalXYWnd().construct()

EventManager: addRegistryToggle called with ToggleCrosshairs (user/ui/xyview/sho
wCrossHairs) this = 0x1ee8450
Instantiating RegistryToggle object...
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
creating shared_ptr
inserting in map...
returning

EventManager: addRegistryToggle called with ToggleGrid (user/ui/xyview/showGrid)
this = 0x1ee8450
Instantiating RegistryToggle object...
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
creating shared_ptr
inserting in map...
returning

EventManager: addRegistryToggle called with ShowAngles (user/ui/xyview/showEntit
yAngles) this = 0x1ee8450
Instantiating RegistryToggle object...
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
creating shared_ptr
inserting in map...
returning

EventManager: addRegistryToggle called with ShowNames (user/ui/xyview/showEntity
Names) this = 0x1ee8450
Instantiating RegistryToggle object...
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
creating shared_ptr
inserting in map...
returning

EventManager: addRegistryToggle called with ShowBlocks (user/ui/xyview/showBlock
s) this = 0x1ee8450
Instantiating RegistryToggle object...
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
creating shared_ptr
inserting in map...
returning

EventManager: addRegistryToggle called with ShowCoordinates (user/ui/xyview/show
Coordinates) this = 0x1ee8450
Instantiating RegistryToggle object...
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
creating shared_ptr
inserting in map...
returning

EventManager: addRegistryToggle called with ShowWindowOutline (user/ui/xyview/sh
owOutline) this = 0x1ee8450
Instantiating RegistryToggle object...
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
creating shared_ptr
inserting in map...
returning

EventManager: addRegistryToggle called with ShowAxes (user/ui/xyview/showAxes) t
his = 0x1ee8450
Instantiating RegistryToggle object...
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
creating shared_ptr
inserting in map...
returning

EventManager: addRegistryToggle called with ShowWorkzone (user/ui/xyview/showWor
kzone) this = 0x1ee8450
Instantiating RegistryToggle object...
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
creating shared_ptr
inserting in map...
returning
RadiantCoreAPI: GlobalTextureBrowser().construct()

EventManager: addRegistryToggle called with ShowInUse (user/ui/textures/browser/
hideUnused) this = 0x1ee8450
Instantiating RegistryToggle object...
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
creating shared_ptr
inserting in map...
returning
RadiantCoreAPI: Entity_Construct()

EventManager: addRegistryToggle called with ToggleFreeModelRotation (user/ui/fre
eModelRotation) this = 0x1ee8450
Instantiating RegistryToggle object...
RegistryToggle constructor entered.
Acquiring registry, calling registry...comparing
adding Keyobserver.
done.
creating shared_ptr
inserting in map...
returning
RadiantCoreAPI: map::AutoSaver().init()
RadiantCoreAPI: done()
=> Module Radiant initialised.
=> Module EventManager entering intialisation.
EventManager::initialiseModule called.
EventManager: Modifiers found: 3
MouseEventManager: Buttons found: 5
MouseEventManager: XYView Definitions found: 6
MouseEventManager: Observer Definitions found: 11
MouseEventManager: Camera Definitions found: 2

I want your brain... to make his heart... beat faster.

Link to comment
Share on other sites

Hm. It seems like the EventManager is initialised after the RegistryToggles are created. There is probably something amiss with module initialisation order.

 

@OrbWeaver: I seem to recall we have discussed this in the other thread, where we decided that modules are added to the _initialisedModules list even before their dependencies are resolved to prevent loops. This works most of the time, but it also allows weirdnesses like the one above.

 

I'm still not sure whether it's possible at all to safely resolve the dependencies in one traversal. Is there a strong reason we can't do this iteratively? (It's only 25 modules, so it's definitely not a difference in performance whether we traverse the modules 100 times or only 1 time.)

 

I will also go through the dependencies and see which modules depend on each other, maybe we can resolve the loops and make the initialisation process more strict.

Link to comment
Share on other sites

@OrbWeaver: I seem to recall we have discussed this in the other thread, where we decided that modules are added to the _initialisedModules list even before their dependencies are resolved to prevent loops. This works most of the time, but it also allows weirdnesses like the one above.

 

That is correct, because the initialisation sequence uses the presence of a module in _initialisedModules to determine whether it is already initialised. If the module is not placed into the list before its dependencies are processed, an infinite loop can occur if there is a circular dependency.

 

I'm still not sure whether it's possible at all to safely resolve the dependencies in one traversal. Is there a strong reason we can't do this iteratively? (It's only 25 modules, so it's definitely not a difference in performance whether we traverse the modules 100 times or only 1 time.)

 

I don't see how multiple passes would improve anything, constructing an order from a series of dependencies is a well-defined operation that should be doable in one pass (with recursion). I think the problems here are related to circular dependencies, rather than a bug in our initialisation algorithm.

 

I will also go through the dependencies and see which modules depend on each other, maybe we can resolve the loops and make the initialisation process more strict.

 

That would be a much better solution IMO. Unfortunately as we all know the GtkRadiant coders couldn't design their way out of a paper bag, so there probably are a whole load of major WTFs to do with module construction.

 

Really, how could they possibly have thought circular dependencies made any sense? "You can't do X until you've done Y, and you can't do Y until you've done X". Huh? :blink::angry:

Link to comment
Share on other sites

Well, if I had another HDD for my laptop, this would be an option. But angua planned to upgrade her 2.5" HDD in a few weeks, so maybe I get my hands on a spare one soon. ;)

 

I have a 20Gb 2.5" here in a device I no longer use - is 20Gb enough for Vista?

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Barely. It's listed at required for Vista Basic, with at least 15GB free. I think he'll need at least a 40GB though to load up Doom 3 and all the other stuff he'll need.

shadowdark50.gif keep50.gif
Link to comment
Share on other sites

Barely. It's listed at required for Vista Basic, with at least 15GB free. I think he'll need at least a 40GB though to load up Doom 3 and all the other stuff he'll need.

 

I think it's just fifteen gigs for the installation, to store temporary files and such. They're likely removed afterwards. Not sure how much that leaves you with though.

 

Edit: Just found this in an article.

That 15GB requirement is a reflection of how the new staged setup program for Windows Vista works. Vista’s predecessors, including Windows XP, perform a file-by-file setup. The staged installation copies a disk image containing a full, ready-to-run installation of Windows Vista, installs drivers for your hardware, migrates your data, and finally cleans up after itself.

 

I’ve installed Windows Vista Ultimate Edition on a few PCs in my office. The core installation takes up a little over 6GB of disk space, plus additional space for a paging file and hibernation file – the exact size of these two files varies depending on how much RAM is installed on your computer.

 

So, yes, you will need 15GB of free disk space. But the good news is, when you’re done you’ll still have plenty of room for data.

Link to comment
Share on other sites

Thanks for the advice guys and thanks for the offer Tels. I might come back to you on that, but I'll try a few things with angua's not-yet-ex-hdd first.

 

I seem also to remember that a friend of mine has a 2.5" external 20 GB hdd. Maybe he doesn't use it anymore, I'll have to ask if I can borrow it.

Link to comment
Share on other sites

I don't see how multiple passes would improve anything, constructing an order from a series of dependencies is a well-defined operation that should be doable in one pass (with recursion). I think the problems here are related to circular dependencies, rather than a bug in our initialisation algorithm.

 

I had some more thoughts about the initialisation last night, and I think that the fundamental problem is this: no matter what algorithm is used to process the dependencies, or how much it is tweaked, the end result of a circular dependency will be the same -- a linear order will be picked by the module registry, and the modules will be initialised in this order. Since it is impossible to satisfy a circular dependency, this linear order will result in at least one module being initialised before its dependencies.

 

I suspect that the difference in behaviour between XP and Vista is a result of this undefined behaviour -- the linear order picked by the module registry happens to be correct on one OS, but not correct on the other. This is of course completely random, and cannot be resolved without removing the cycle in the first place.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recent Status Updates

    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
    • nbohr1more

      Please vote in the 15th Anniversary Contest Theme Poll
       
      · 0 replies
×
×
  • Create New...