View Issue Details

IDProjectCategoryView StatusLast Update
0006472DarkRadiantGeneralpublic28.01.2024 07:44
ReporterBielBdeLuna Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status confirmedResolutionopen 
PlatformPc - Laptop with embedded AMDOSLinux - UbuntuOS Version23.10
Product Version3.8.0 
Summary0006472: XPath game queries fail to due change to xmlReadFile - can't open Darkradiant
DescriptionA window named "error" saying that: "no game type selected" with the only option of "ok" and then an abort due to a memory overflow

I supplied the log file

Steps To Reproduceopen DarkRadiant
Additional InformationI compiled the code with no extra options: just "cmake .."
supplied the log file
TagsCrash; darkradiant
Attached Files
darkradiant.log (10,597 bytes)   
 (139851594033920) Started logging to /home/biel/.cache/darkradiant/darkradiant.log
 (139851594033920) This is DarkRadiant 3.8.0 amd64 
 (139851594033920) Today is 2024-01-27 14:26:54
 (139851594033920) ModuleRegistry instantiated.
 (139851594033920) Module registered: RadiantCore
 (139851594033920) Current language setting: en
 (139851594033920) Found 2 language folders.
 (139851594033920) Module registered: CameraWndManager
 (139851594033920) Module registered: Clipboard
 (139851594033920) Module registered: EventManager
 (139851594033920) Module registered: MouseToolManager
 (139851594033920) Module registered: StartupMapLoader
 (139851594033920) Module registered: LocalisationModule
 (139851594033920) Module registered: EntityInspector
 (139851594033920) Module registered: FavouritesUserInterface
 (139851594033920) Module registered: FilterUserInterface
 (139851594033920) Module registered: wxGLWidgetManager
 (139851594033920) Module registered: GridUserInterface
 (139851594033920) Module registered: MainFrame
 (139851594033920) Module registered: MaterialEditor
 (139851594033920) Module registered: DialogManager
 (139851594033920) Module registered: MenuManager
 (139851594033920) Module registered: ToolBarManager
 (139851594033920) Module registered: MediaBrowser
 (139851594033920) Module registered: OrthoContextMenu
 (139851594033920) Module registered: ScriptUserInterface
 (139851594033920) Module registered: StatusBarManager
 (139851594033920) Module registered: TextureBrowserManager
 (139851594033920) Module registered: UserInterfaceModule
 (139851594033920) Module registered: OrthoviewManager
 (139851594033920) Module registered: Doom3BrushCreator
 (139851594033920) Module registered: CameraManager
 (139851594033920) Module registered: Clipper
 (139851594033920) Module registered: CommandSystem
 (139851594033920) Module registered: DeclarationManager
 (139851594033920) Module registered: FavouritesManager
 (139851594033920) Module registered: EclassColourManager
 (139851594033920) Module registered: EntityClassManager
 (139851594033920) Module registered: EntityModule
 (139851594033920) Module registered: FileTypes
 (139851594033920) Module registered: FilterSystem
 (139851594033920) Module registered: FontManager
 (139851594033920) Module registered: FxManager
 (139851594033920) Module registered: Grid
 (139851594033920) Module registered: ImageLoader
 (139851594033920) Module registered: LayerModule
 (139851594033920) Module registered: ZAasFileManager
 (139851594033920) Module registered: Doom3AasFileLoader
 (139851594033920) Module registered: AutomaticMapSaver
 (139851594033920) Module registered: Counters
 (139851594033920) Module registered: EditingStopwatch
 (139851594033920) Module registered: Doom3MapLoader
 (139851594033920) Module registered: Doom3PrefabLoader
 (139851594033920) Module registered: MapFormatManager
 (139851594033920) Module registered: N3map6format17PortableMapFormatE
 (139851594033920) Module registered: Quake3MapLoader
 (139851594033920) Module registered: Quake3AlternateMapLoader
 (139851594033920) Module registered: Quake4MapLoader
 (139851594033920) Module registered: MapInfoFileManager
 (139851594033920) Module registered: Map
 (139851594033920) Module registered: MapResourceManager
 (139851594033920) Module registered: MRUManager
 (139851594033920) Module registered: NamespaceFactory
 (139851594033920) Module registered: RegionManager
 (139851594033920) Module registered: MD5Module
 (139851594033920) Module registered: MD5AnimationCache
 (139851594033920) Module registered: ModelCache
 (139851594033920) Module registered: ModelFormatManager
 (139851594033920) Module registered: PicoModelModule
 (139851594033920) Module registered: ParticlesManager
 (139851594033920) Module registered: PatchModule
 (139851594033920) Module registered: OpenGL
 (139851594033920) Module registered: ShaderCache
 (139851594033920) Module registered: RenderSystemFactory
 (139851594033920) Module registered: SharedGLContextHolder
 (139851594033920) Module registered: SceneGraph
 (139851594033920) Module registered: SceneGraphFactory
 (139851594033920) Module registered: SelectionGroupModule
 (139851594033920) Module registered: SelectionSystem
 (139851594033920) Module registered: SelectionSetModule
 (139851594033920) Module registered: ShaderClipboard
 (139851594033920) Module registered: TextureToolColourSchemeManager
 (139851594033920) Module registered: TextureToolSceneGraph
 (139851594033920) Module registered: TextureToolSelectionSystem
 (139851594033920) Module registered: ColourSchemeManager
 (139851594033920) Module registered: GameManager
 (139851594033920) Module registered: PreferenceSystem
 (139851594033920) Module registered: MaterialManager
 (139851594033920) Module registered: ModelSkinCache
 (139851594033920) Module registered: UndoSystemFactory
 (139851594033920) Module registered: VersionControlManager
 (139851594033920) Module registered: VirtualFileSystem
 (139851594033920) Module registered: XMLRegistry
 (139851594033920) ModuleRegistry Compatibility Level is 20211014
 (139851594033920) ModuleLoader: loading modules from /usr/local/bin/../lib/darkradiant/modules/
 (139851594033920) ModuleLoader: Loading module '/usr/local/bin/../lib/darkradiant/modules/libscript.so'
 (139851594033920) Module registered: ScriptingSystem
 (139851594033920) ModuleLoader: Loading module '/usr/local/bin/../lib/darkradiant/modules/libsound.so'
 (139851594033920) Module registered: SoundManager
 (139851594033920) ModuleLoader: Loading module '/usr/local/bin/../lib/darkradiant/modules/libradiantcore.so'
 (139851594033920) ModuleLoader: loading modules from /usr/local/bin/../lib/darkradiant/plugins/
 (139851594033920) ModuleLoader: Loading module '/usr/local/bin/../lib/darkradiant/plugins/libdm_stimresponse.so'
 (139851594033920) Module registered: StimResponseEditor
 (139851594033920) ModuleLoader: Loading module '/usr/local/bin/../lib/darkradiant/plugins/libdm_editing.so'
 (139851594033920) Module registered: DarkMod Editing
 (139851594033920) ModuleLoader: Loading module '/usr/local/bin/../lib/darkradiant/plugins/libdm_gameconnection.so'
 (139851594033920) Module registered: GameConnection
 (139851594033920) ModuleLoader: Loading module '/usr/local/bin/../lib/darkradiant/plugins/libdm_objectives.so'
 (139851594033920) Module registered: ObjectivesEditor
 (139851594033920) ModuleLoader: Loading module '/usr/local/bin/../lib/darkradiant/plugins/libdm_difficulty.so'
 (139851594033920) Module registered: DifficultyEditor
 (139851594033920) ModuleLoader: Loading module '/usr/local/bin/../lib/darkradiant/plugins/libdm_conversation.so'
 (139851594033920) Module registered: ConversationEditor
 (139851594033920) ModuleLoader: Loading module '/usr/local/bin/../lib/darkradiant/plugins/libvcs.so'
 (139851594033920) Module registered: GitIntegration
 (139851594033920) ModuleLoader: Loading module '/usr/local/bin/../lib/darkradiant/plugins/libdm_gui.so'
 (139851594033920) Module registered: GUI Editing
 (139851594033920) Module registered: GuiManager
 (139851594033920) XMLRegistry: looking for XML files in /usr/local/bin/../share/darkradiant/
 (139851594033920) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/user.xml
 (139851594033920) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/colours.xml
 (139851594033920) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/input.xml
 (139851594033920) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/menu.xml
 (139851594033920) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/commandsystem.xml
 (139851594033920) XMLRegistry: file user.xml not present in /home/biel/.config/darkradiant/
 (139851594033920) XMLRegistry: file colours.xml not present in /home/biel/.config/darkradiant/
 (139851594033920) XMLRegistry: file input.xml not present in /home/biel/.config/darkradiant/
 (139851594033920) XMLRegistry: file filters.xml not present in /home/biel/.config/darkradiant/
 (139851594033920) GameManager: Scanning for game description files: /usr/local/bin/../share/darkradiant/games/
 (139851594033920) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/games/doom3.game
 (139851594033920) Game: Keyvalue 'enginepath_linux' not found for game type 'Doom 3'
 (139851594033920) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/games/doom3-demo.game
 (139851594033920) Game: Keyvalue 'enginepath_linux' not found for game type 'Doom 3 Demo'
 (139851594033920) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/games/quake3.game
 (139851594033920) Game: Keyvalue 'enginepath_linux' not found for game type 'Quake 3'
 (139851594033920) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/games/xreal.game
 (139851594033920) Game: Keyvalue 'enginepath_linux' not found for game type 'XreaL'
 (139851594033920) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/games/prey.game
 (139851594033920) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/games/quake4.game
 (139851594033920) Game: Keyvalue 'enginepath_linux' not found for game type 'Quake 4'
 (139851594033920) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/games/darkmod.game
 (139851594033920) Game: Keyvalue 'enginepath_linux' not found for game type 'The Dark Mod 2.0 (Standalone)'
 (139851594033920) GameManager: Found game definitions: 
 (139851594033920)   Doom 3
 (139851594033920)   Doom 3 Demo
 (139851594033920)   Prey
 (139851594033920)   Quake 3
 (139851594033920)   Quake 4
 (139851594033920)   The Dark Mod 2.0 (Standalone)
 (139851594033920)   XreaL
 (139851594033920) Game: Keyvalue 'index' not found for game type 'Doom 3'
 (139851594033920) Game: Keyvalue 'index' not found for game type 'Doom 3 Demo'
 (139851594033920) Game: Keyvalue 'index' not found for game type 'Prey'
 (139851594033920) Game: Keyvalue 'index' not found for game type 'Quake 3'
 (139851594033920) Game: Keyvalue 'index' not found for game type 'Quake 4'
 (139851594033920) Game: Keyvalue 'index' not found for game type 'The Dark Mod 2.0 (Standalone)'
 (139851594033920) Game: Keyvalue 'index' not found for game type 'XreaL'
 (139851594033920) 
 (139851594033920) No game selected, will choose the highest ranked one.
 (139851594033920) Game: Keyvalue 'name' not found for game type 'Doom 3'
 (139851594033920) Exception initialising modules: No game type selected.
 (139851594033920) Unhandled Exception: No game type selected.
darkradiant.log (10,597 bytes)   

Activities

greebo

greebo

28.01.2024 04:41

administrator   ~0016450

Your .game files are present it seems, otherwise it wouldn't list all the game names in the log file.
But the XML queries all seem to fail. Has this been happening before on this system?

Can you run "apt list libxml2" to list the libxml package version on your system, please?
greebo

greebo

28.01.2024 05:07

administrator   ~0016451

See investigation: https://forums.thedarkmod.com/index.php?/topic/22353-libxml2-problem-on-linux/
BielBdeLuna

BielBdeLuna

28.01.2024 07:44

reporter   ~0016452

here is the result of "apt list libxml2"

$ apt list libxml2
S'està llistant… Fet
libxml2/mantic,now 2.9.14+dfsg-1.3 amd64 [instal·lat, automàtic]
libxml2/mantic,now 2.9.14+dfsg-1.3 i386 [instal·lat, automàtic]

Related Changesets

DarkRadiant: master 0d5ca6ff

28.01.2024 05:10

greebo


Details Diff
0006472: Revert to xmlParseFile for Linux for the moment being Affected Issues
0006472
mod - libs/xmlutil/Document.cpp Diff File

Issue History

Date Modified Username Field Change
27.01.2024 13:31 BielBdeLuna New Issue
27.01.2024 13:31 BielBdeLuna Tag Attached: Crash; darkradiant
27.01.2024 13:31 BielBdeLuna File Added: darkradiant.log
27.01.2024 16:24 BielBdeLuna OS Linux => Linux - Ubuntu
27.01.2024 16:24 BielBdeLuna Platform Pc - Laptop => Pc - Laptop with embedded AMD
27.01.2024 16:26 BielBdeLuna Additional Information Updated
28.01.2024 04:41 greebo Note Added: 0016450
28.01.2024 04:41 greebo Status new => feedback
28.01.2024 05:07 greebo Summary can't open Darkradiant => XPath game queries fail to due change to xmlReadFile - can't open Darkradiant
28.01.2024 05:07 greebo Note Added: 0016451
28.01.2024 05:07 greebo Status feedback => confirmed
28.01.2024 05:10 greebo Changeset attached => DarkRadiant master 0d5ca6ff
28.01.2024 07:44 BielBdeLuna Note Added: 0016452