Jump to content
The Dark Mod Forums

segfault when selecting a material in the media/textures list


Recommended Posts

I open DarkRadiant, select Doom3 as a edit platform, select the correct folder, the program runs fine, i can add entities, and create brushes with the default texture, but once i click on a material in the media/textures list i get a segfault.

here is the GDB error trace:

Quote

$ gdb darkradiant
GNU gdb (Ubuntu 9.2-0ubuntu2) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from darkradiant...
(gdb) start
Temporary breakpoint 1 at 0xfb3e0: file main.cpp, line 7.
Starting program: /usr/local/bin/darkradiant
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Temporary breakpoint 1, main (argc=1, argv=0x7fffffffdfc8) at main.cpp:7
7    wxIMPLEMENT_APP(RadiantApp);
(gdb) continue
Continuing.
[New Thread 0x7ffff1b1d640 (LWP 102717)]
[New Thread 0x7ffff131c640 (LWP 102718)]

Thread 2 "gmain" received signal SIG33, Real-time event 33.
[Switching to Thread 0x7ffff1b1d640 (LWP 102717)]
0x00007ffff69aa66f in __GI___poll (fds=0x555555aa95d0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
29    ../sysdeps/unix/sysv/linux/poll.c: El fitxer o directori no existeix.
(gdb) continue
Continuing.

Thread 3 "gdbus" received signal SIG33, Real-time event 33.
[Switching to Thread 0x7ffff131c640 (LWP 102718)]
0x00007ffff69aa66f in __GI___poll (fds=0x555555abc2a0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
29    in ../sysdeps/unix/sysv/linux/poll.c
(gdb) continue
Continuing.
[New Thread 0x7fffeb9b5640 (LWP 102719)]
[New Thread 0x7fffeb1b4640 (LWP 102720)]
[New Thread 0x7fffea5f3640 (LWP 102721)]
[Thread 0x7fffeb1b4640 (LWP 102720) exited]
[New Thread 0x7fffe92df640 (LWP 102722)]
[Thread 0x7fffe92df640 (LWP 102722) exited]
[Thread 0x7fffea5f3640 (LWP 102721) exited]
[New Thread 0x7fffdea09640 (LWP 102723)]
[New Thread 0x7fffde208640 (LWP 102724)]
[New Thread 0x7fffdda07640 (LWP 102725)]
[New Thread 0x7fffdd206640 (LWP 102726)]
[New Thread 0x7fffdca05640 (LWP 102727)]
[New Thread 0x7fffd305b640 (LWP 102728)]
[New Thread 0x7fffd285a640 (LWP 102729)]
[New Thread 0x7fffd2059640 (LWP 102730)]
[New Thread 0x7fffd1858640 (LWP 102731)]
[New Thread 0x7fffd1057640 (LWP 102732)]
[New Thread 0x7fffd0856640 (LWP 102733)]
[New Thread 0x7fffabfff640 (LWP 102734)]
[New Thread 0x7fffab7fe640 (LWP 102735)]
[New Thread 0x7fffaaffd640 (LWP 102736)]
[New Thread 0x7fffaa7fc640 (LWP 102737)]
[New Thread 0x7fffa9ffb640 (LWP 102738)]
[New Thread 0x7fffa97fa640 (LWP 102739)]
[New Thread 0x7fffeb1b4640 (LWP 102740)]
[New Thread 0x7fffa8ff9640 (LWP 102741)]
[New Thread 0x7fff8bfff640 (LWP 102742)]
[Thread 0x7fffa97fa640 (LWP 102739) exited]
[Thread 0x7fffa8ff9640 (LWP 102741) exited]
[Thread 0x7fffeb1b4640 (LWP 102740) exited]
[Thread 0x7fffa9ffb640 (LWP 102738) exited]
[New Thread 0x7fff8b7fe640 (LWP 102743)]
[New Thread 0x7fff8affd640 (LWP 102744)]

(darkradiant:102713): Gtk-WARNING **: 18:08:46.776: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node checkbutton, owner GtkCheckButton)

(darkradiant:102713): Gtk-WARNING **: 18:08:46.776: for_size smaller than min-size (0 < 14) while measuring gadget (node check, owner GtkCheckButton)

(darkradiant:102713): Gtk-CRITICAL **: 18:08:46.776: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkCheckButton

(darkradiant:102713): Gtk-WARNING **: 18:08:46.776: Negative content height -2 (allocation 0, extents 1x1) while allocating gadget (node check, owner GtkCheckButton)

(darkradiant:102713): Gtk-WARNING **: 18:08:46.776: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node checkbutton, owner GtkCheckButton)

(darkradiant:102713): Gtk-WARNING **: 18:08:46.776: for_size smaller than min-size (0 < 14) while measuring gadget (node check, owner GtkCheckButton)

(darkradiant:102713): Gtk-CRITICAL **: 18:08:46.776: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkCheckButton

(darkradiant:102713): Gtk-WARNING **: 18:08:46.776: Negative content height -2 (allocation 0, extents 1x1) while allocating gadget (node check, owner GtkCheckButton)

(darkradiant:102713): Gtk-WARNING **: 18:08:46.776: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)

(darkradiant:102713): Gtk-CRITICAL **: 18:08:46.776: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(darkradiant:102713): Gtk-WARNING **: 18:08:46.776: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node entry, owner GtkEntry)

(darkradiant:102713): Gtk-WARNING **: 18:08:46.776: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node entry, owner GtkEntry)

(darkradiant:102713): Gtk-WARNING **: 18:08:46.776: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(darkradiant:102713): Gtk-WARNING **: 18:08:46.777: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)

(darkradiant:102713): Gtk-WARNING **: 18:08:46.777: Negative content width -14 (allocation 20, extents 17x17) while allocating gadget (node button, owner GtkButton)

(darkradiant:102713): Gtk-WARNING **: 18:08:46.777: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)

(darkradiant:102713): Gtk-CRITICAL **: 18:08:46.777: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(darkradiant:102713): Gtk-CRITICAL **: 18:08:46.777: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(darkradiant:102713): Gtk-CRITICAL **: 18:08:46.778: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(darkradiant:102713): Gtk-WARNING **: 18:08:46.778: Negative content width -14 (allocation 20, extents 17x17) while allocating gadget (node button, owner GtkButton)

(darkradiant:102713): Gtk-WARNING **: 18:08:46.778: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node entry, owner GtkEntry)
[New Thread 0x7fff8a7fc640 (LWP 102745)]
[New Thread 0x7fff898fb640 (LWP 102746)]
[New Thread 0x7fff88e7a640 (LWP 102747)]
[Thread 0x7fff88e7a640 (LWP 102747) exited]
[New Thread 0x7fffa97fa640 (LWP 102748)]
[Thread 0x7fffa97fa640 (LWP 102748) exited]
--Type <RET> for more, q to quit, c to continue without paging--ret

Thread 1 "darkradiant" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff243ea80 (LWP 102713)]
wxutil::TreeModel::GetParent (this=0x555556c06fa0, item=...) at TreeModel.cpp:586
586            return owningNode->parent->item;
(gdb) continue
Continuing.
Couldn't get registers: El procés no existeix.
Couldn't get registers: El procés no existeix.
(gdb) [Thread 0x7fff898fb640 (LWP 102746) exited]
[Thread 0x7fff8a7fc640 (LWP 102745) exited]
[Thread 0x7fff8affd640 (LWP 102744) exited]
[Thread 0x7fff8b7fe640 (LWP 102743) exited]
[Thread 0x7fff8bfff640 (LWP 102742) exited]
[Thread 0x7fffaa7fc640 (LWP 102737) exited]
[Thread 0x7fffaaffd640 (LWP 102736) exited]
[Thread 0x7fffab7fe640 (LWP 102735) exited]
[Thread 0x7fffabfff640 (LWP 102734) exited]
[Thread 0x7fffd0856640 (LWP 102733) exited]
[Thread 0x7fffd1057640 (LWP 102732) exited]
[Thread 0x7fffd1858640 (LWP 102731) exited]
[Thread 0x7fffd2059640 (LWP 102730) exited]
[Thread 0x7fffd285a640 (LWP 102729) exited]
[Thread 0x7fffd305b640 (LWP 102728) exited]
[Thread 0x7fffdca05640 (LWP 102727) exited]
[Thread 0x7fffdd206640 (LWP 102726) exited]
[Thread 0x7fffdda07640 (LWP 102725) exited]
[Thread 0x7fffde208640 (LWP 102724) exited]
[Thread 0x7fffdea09640 (LWP 102723) exited]
[Thread 0x7fffeb9b5640 (LWP 102719) exited]
[Thread 0x7ffff131c640 (LWP 102718) exited]
[Thread 0x7ffff1b1d640 (LWP 102717) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
quit

and here is the content of the log file:

Quote

 (140484092594816) Started logging to /home/biel/.cache/darkradiant/darkradiant.log
 (140484092594816) This is DarkRadiant 2.9.0 x64
 (140484092594816) Today is 2020-10-27 18:11:12
 (140484092594816) ModuleRegistry instantiated.
 (140484092594816) Module registered: RadiantCore
 (140484092594816) Current language setting: en
 (140484092594816) Found 2 language folders.
 (140484092594816) Module registered: CameraWndManager
 (140484092594816) Module registered: EventManager
 (140484092594816) Module registered: MouseToolManager
 (140484092594816) Module registered: OpenGL
 (140484092594816) Module registered: UserInterfaceModule
 (140484092594816) Module registered: TextureBrowserManager
 (140484092594816) Module registered: MediaBrowser
 (140484092594816) Module registered: GridUserInterface
 (140484092594816) Module registered: OrthoContextMenu
 (140484092594816) Module registered: EntityInspector
 (140484092594816) Module registered: FilterUserInterface
 (140484092594816) Module registered: wxGLWidgetManager
 (140484092594816) Module registered: MainFrame
 (140484092594816) Module registered: MainFrameLayoutManager
 (140484092594816) Module registered: ScriptUserInterface
 (140484092594816) Module registered: UIManager
 (140484092594816) Module registered: OrthoviewManager
 (140484092594816) Module registered: LocalisationModule
 (140484092594816) Module registered: StartupMapLoader
 (140484092594816) Module registered: Doom3BrushCreator
 (140484092594816) Module registered: CameraManager
 (140484092594816) Module registered: Clipper
 (140484092594816) Module registered: CommandSystem
 (140484092594816) Module registered: EntityClassManager
 (140484092594816) Module registered: EntityModule
 (140484092594816) Module registered: FileTypes
 (140484092594816) Module registered: FilterSystem
 (140484092594816) Module registered: FontManager
 (140484092594816) Module registered: Grid
 (140484092594816) Module registered: ImageLoader
 (140484092594816) Module registered: LayerModule
 (140484092594816) Module registered: ZAasFileManager
 (140484092594816) Module registered: Doom3AasFileLoader
 (140484092594816) Module registered: MapFormatManager
 (140484092594816) Module registered: Quake3MapLoader
 (140484092594816) Module registered: Quake4MapLoader
 (140484092594816) Module registered: Doom3MapLoader
 (140484092594816) Module registered: Doom3PrefabLoader
 (140484092594816) Module registered: N3map6format17PortableMapFormatE
 (140484092594816) Module registered: MapInfoFileManager
 (140484092594816) Module registered: MRUManager
 (140484092594816) Module registered: NamespaceFactory
 (140484092594816) Module registered: AutomaticMapSaver
 (140484092594816) Module registered: Counters
 (140484092594816) Module registered: EditingStopwatch
 (140484092594816) Module registered: Map
 (140484092594816) Module registered: MapResourceManager
 (140484092594816) Module registered: PointFile
 (140484092594816) Module registered: RegionManager
 (140484092594816) Module registered: MD5Module
 (140484092594816) Module registered: MD5AnimationCache
 (140484092594816) Module registered: PicoModelModule
 (140484092594816) Module registered: ModelCache
 (140484092594816) Module registered: ModelFormatManager
 (140484092594816) Module registered: ParticlesManager
 (140484092594816) Module registered: PatchModule
 (140484092594816) Module registered: ShaderCache
 (140484092594816) Module registered: RenderSystemFactory
 (140484092594816) Module registered: SharedGLContextHolder
 (140484092594816) Module registered: SceneGraph
 (140484092594816) Module registered: SceneGraphFactory
 (140484092594816) Module registered: SelectionGroupModule
 (140484092594816) Module registered: SelectionSetModule
 (140484092594816) Module registered: ShaderClipboard
 (140484092594816) Module registered: SelectionSystem
 (140484092594816) Module registered: ColourSchemeManager
 (140484092594816) Module registered: GameManager
 (140484092594816) Module registered: PreferenceSystem
 (140484092594816) Module registered: MaterialManager
 (140484092594816) Module registered: ModelSkinCache
 (140484092594816) Module registered: UndoSystem
 (140484092594816) Module registered: VirtualFileSystem
 (140484092594816) Module registered: XMLRegistry
 (140484092594816) ModuleRegistry Compatibility Level is 20201026
 (140484092594816) ModuleLoader: loading modules from /usr/local/lib/darkradiant/modules/
 (140484092594816) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/script.so'
 (140484092594816) Module registered: ScriptingSystem
 (140484092594816) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/libradiantcore.so'
 (140484092594816) ModuleLoader: Loading module '/usr/local/lib/darkradiant/modules/sound.so'
 (140484092594816) Module registered: SoundManager
 (140484092594816) ModuleLoader: loading modules from /usr/local/lib/darkradiant/plugins/
 (140484092594816) ModuleLoader::loadModules(): modules directory '/usr/local/lib/darkradiant/plugins/' not found.
 (140484092594816) FileTypes::initialiseModule called.
 (140484092594816) XMLRegistry::initialiseModule called
 (140484092594816) XMLRegistry: looking for XML files in /usr/local/share/darkradiant/
 (140484092594816) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/user.xml
 (140484092594816) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/colours.xml
 (140484092594816) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/input.xml
 (140484092594816) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/menu.xml
 (140484092594816) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/commandsystem.xml
 (140484092594816) XMLRegistry: Importing XML file: /home/biel/.config/darkradiant/user.xml
 (140484092594816) XMLRegistry: file colours.xml not present in /home/biel/.config/darkradiant/
 (140484092594816) XMLRegistry: Importing XML file: /home/biel/.config/darkradiant/input.xml
 (140484092594816) XMLRegistry: Importing XML file: /home/biel/.config/darkradiant/filters.xml
 (140484092594816) CommandSystem::initialiseModule called.
 (140484092594816) PreferenceSystem::initialiseModule called
 (140484092594816) VirtualFileSystem::initialiseModule called
 (140484092594816) GameManager: Scanning for game description files: /usr/local/share/darkradiant/games/
 (140484092594816) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/games/darkmod.game
 (140484092594816) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/games/doom3.game
 (140484092594816) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/games/quake4.game
 (140484092594816) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/games/prey.game
 (140484092594816) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/games/xreal.game
 (140484092594816) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/games/quake3.game
 (140484092594816) XMLRegistry: Importing XML file: /usr/local/share/darkradiant/games/doom3-demo.game
 (140484092594816) GameManager: Found game definitions:
 (140484092594816)   Doom 3
 (140484092594816)   Doom 3 Demo
 (140484092594816)   Prey
 (140484092594816)   Quake 3
 (140484092594816)   Quake 4
 (140484092594816)   The Dark Mod 2.0 (Standalone)
 (140484092594816)   XreaL
 (140484092594816)
 (140484092594816) GameManager: Selected game type: Doom 3
 (140484092594816) GameManager: Map path set to /home/biel/games/doom/Doom3/base/maps/
 (140484092594816) GameManager: Prefab path set to /home/biel/games/doom/Doom3/base/prefabs/
 (140484092594816) Initialising filesystem using 1 paths
 (140484092594816) VFS Search Path priority is:
 (140484092594816) - /home/biel/games/doom/Doom3/base/
 (140484092594816) Allowed PK4 Archive File Extensions: pk4
 (140484092594816) [vfs] Searched directory: /home/biel/games/doom/Doom3/base/
 (140484092594816) Zip archive /home/biel/games/doom/Doom3/base/resources_textures_propietary.pk4 contains duplicated file: dds/textures/bigchars.DDS
 (140484092594816) [vfs] pak file: /home/biel/games/doom/Doom3/base/resources_textures_propietary.pk4
 (140484092594816) [vfs] pak file: /home/biel/games/doom/Doom3/base/resources_textures.pk4
 (140484092594816) [vfs] pak file: /home/biel/games/doom/Doom3/base/resources_sound.pk4
 (140484092594816) [vfs] pak file: /home/biel/games/doom/Doom3/base/resources_patched.pk4
 (140484092594816) [vfs] pak file: /home/biel/games/doom/Doom3/base/resources_models.pk4
 (140484092594816) [vfs] pak file: /home/biel/games/doom/Doom3/base/resources.pk4
 (140484092594816) [vfs] pak file: /home/biel/games/doom/Doom3/base/game03.pk4
 (140484092594816) [vfs] pak file: /home/biel/games/doom/Doom3/base/game02.pk4
 (140484092594816) [vfs] pak file: /home/biel/games/doom/Doom3/base/game01.pk4
 (140484092594816) [vfs] pak file: /home/biel/games/doom/Doom3/base/game00.pk4
 (140484092594816) MapInfoFileManager::initialiseModule called.
 (140484092594816) MapFormatManager::initialiseModule called.
 (140484092594816) Doom3MapLoader: initialiseModule called.
 (140484092594816) MapResourceManager::initialiseModule called.
 (140484092594816) SceneGraph::initialiseModule called
 (140484092594816) Map::initialiseModule called.
 (140484092594816) AutomaticMapSaver::initialiseModule called.
 (140484092594816) CameraManager::initialiseModule called.
 (140484092594816) EventManager::initialiseModule called.
 (140484092594816) EventManager successfully initialised.
 (140484092594816) GridManager::initialiseModule called.
 (140484092594816) MaterialManager::initialiseModule called
 (140484092594816) SharedGLContextHolder::initialiseModule called.
 (140484092594816) ShaderCache::initialiseModule called.
 (140484092594816) SelectionSystem::initialiseModule called.
 (140484092594816) UIManager::initialiseModule called
 (140484092594816) Found toolbar: view
 (140484092594816) Found toolbar: edit
 (140484092594816) Found toolbar: texture
 (140484092594816) Found toolbar: textool
 (140484092594816) MainFrameLayoutManager::initialiseModule called.
 (140484092594816) OrthoviewManager::initialiseModule called.
 (140484092594816) MainFrame::initialiseModule called.
 (140484092594816) CameraWndManager::initialiseModule called.
 (140484092594816) Clipper::initialiseModule called
 (140484092594816) ColourSchemeManager::initialiseModule called.
 (140484092594816) ColourSchemeManager: Loading colour schemes...
 (140484092594816) EntityClassDoom3::initialiseModule called.
 (140484092594816) ZAasFileManager::initialiseModule called.
 (140484092594816) Doom3AasFileLoader: initialiseModule called.
 (140484092594816) UndoSystem::initialiseModule called
 (140484027274816) searching vfs directory 'def' for *.def
 (140484092594816) BrushModuleImpl::initialiseModule called.
 (140484092594816) Doom3PrefabLoader: initialiseModule called.
 (140484092594816) EditingStopwatch::initialiseModule called.
 (140484040242752) 6276 shader definitions found.
 (140484092594816) EntityModule::initialiseModule called.
 (140484092594816) [filters] Loaded 16 filters from registry.
 (140484092594816) FilterUserInterface::initialiseModule called.
 (140484092594816) FontManager::initialiseModule called
 (140484092594816) GridUserInterface::initialiseModule called.
 (140484092594816) LayerModule::initialiseModule called.
 (140484092594816) LocalisationModule::initialiseModule called
 (140484092594816) MD5AnimationCache::initialiseModule called.
 (140484092594816) ModelFormatManager::initialiseModule called.
 (140484092594816) MRUManager::initialiseModule called.
 (140484092594816) Cannot register statement MRUOpen1, this statement is already registered.
 (140484092594816) Cannot register statement MRUOpen2, this statement is already registered.
 (140484092594816) Cannot register statement MRUOpen3, this statement is already registered.
 (140484092594816) Cannot register statement MRUOpen4, this statement is already registered.
 (140484092594816) Cannot register statement MRUOpen5, this statement is already registered.
 (140484092594816) ShaderClipboard::initialiseModule called.
 (140484092594816) MediaBrowser::initialiseModule called.
 (140483805943360) FontLoader: fonts/english/an/fontImage_12.dat loaded successfully.
 (140483805943360) FontLoader: fonts/english/an/fontImage_24.dat loaded successfully.
 (140483805943360) FontLoader: fonts/english/an/fontImage_48.dat loaded successfully.
 (140483805943360) FontLoader: fonts/english/bank/fontImage_12.dat loaded successfully.
 (140483805943360) FontLoader: fonts/english/bank/fontImage_24.dat loaded successfully.
 (140483805943360) FontLoader: fonts/english/bank/fontImage_48.dat loaded successfully.
 (140483805943360) FontLoader: fonts/english/micro/fontImage_12.dat loaded successfully.
 (140483805943360) FontLoader: fonts/english/micro/fontImage_24.dat loaded successfully.
 (140483805943360) FontLoader: fonts/english/micro/fontImage_48.dat loaded successfully.
 (140483805943360) 3 fonts registered.
 (140484027274816) model intro_scientist inherits unknown model char_npc
 (140484092594816) ModelCache::initialiseModule called.
 (140484092594816) Doom3SkinCache::initialiseModule called
 (140484092594816) N3map6format17PortableMapFormatE: initialiseModule called.
 (140484092594816) NamespaceFactory::initialiseModule called.
 (140484092594816) OpenGL::initialiseModule called.
 (140482726319680) [skins] Loading skins.
 (140484092594816) ParticlesManager::initialiseModule called
 (140484092594816) PatchModule::initialiseModule called.
 (140484092594816) PointFile::initialiseModule called
 (140484092594816) Quake3MapLoader: initialiseModule called.
 (140484092594816) Quake4MapLoader: initialiseModule called.
 (140484092594816) RegionManager::initialiseModule called.
 (140484092594816) RenderSystemFactory::initialiseModule called.
 (140484092594816) SceneGraphFactory::initialiseModule called.
 (140484092594816) ScriptingSystem::initialiseModule called.
 (140484092594816) Registering darkradiant module to Python using pybind11 version 2.5.0
 (140484092594816) SelectionGroupModule::initialiseModule called.
 (140484092594816) SelectionSetModule::initialiseModule called.
 (140484092594816) SoundManager: initialising sound playback
 (140484092594816) StartupMapLoader::initialiseModule called.
 (140484092594816) TextureBrowserManager::initialiseModule called.
 (140484027274816) [eclassmgr] Entity class damage_bfgfreq_cinematic specifies unknown parent class damage_bfgFreq
 (140484027274816) [eclassmgr] Entity class damage_bfgsplash_cinematic specifies unknown parent class damage_bfgSplash
 (140484027274816) [eclassmgr] Entity class damage_bfgsplash_mp specifies unknown parent class damage_bfgSplash
 (140484027274816) [eclassmgr] Entity class damage_grenadedirect_mp specifies unknown parent class damage_grenadeDirect
 (140484027274816) [eclassmgr] Entity class damage_grenadesplash_inhand specifies unknown parent class damage_grenadeSplash
 (140484027274816) [eclassmgr] Entity class damage_grenadesplash_inhand_mp specifies unknown parent class damage_grenadeSplash_mp
 (140484027274816) [eclassmgr] Entity class damage_grenadesplash_mp specifies unknown parent class damage_grenadeSplash
 (140484027274816) [eclassmgr] Entity class damage_rocketdirect_mp specifies unknown parent class damage_rocketDirect
 (140484027274816) [eclassmgr] Entity class damage_rocketsplash_mp specifies unknown parent class damage_rocketSplash
 (140484027274816) [eclassmgr] Entity class damage_soulsplash_mp specifies unknown parent class damage_soulSplash
 (140484092594816) UserInterfaceModule::initialiseModule called.
 (140484092594816) wxWidgets Version: 3.0.5
 (140484092594816) Default screen has 1 monitors.
 (140484092594816) Monitor 0 geometry: 1366x768 at 0, 0
 (140484027274816) [eclassmgr] Entity class intro_scientist specifies unknown parent class char_labcoat_young
 (140484092594816) wxGLWidgetManager::initialiseModule called.
 (140482726319680) [skins] Found 488 skins.
 (140482717926976) 2277 sound shaders found.
 (140484092594816) ToolbarManager: Instantiating toolbar: view
 (140484092594816) ToolbarManager: Instantiating toolbar: edit
 (140484040242752) Found 611 particle definitions.
 (140484092594816) MainFrame: Activating layout Embedded
 (140484092594816) ToolbarManager: Instantiating toolbar: texture
 (140484092594816) EventManager: Shortcuts found in Registry: 154
 (140484092594816) GL_VENDOR: X.Org
 (140484092594816) GL_RENDERER: AMD RAVEN (DRM 3.38.0, 5.8.0-25-generic, LLVM 11.0.0)
 (140484092594816) GL_VERSION: 4.6 (Compatibility Profile) Mesa 20.2.1
 (140484092594816) GL_EXTENSIONS: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_fragment_shader GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_NV_fog_distance GL_APPLE_packed_pixels GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_depth_bounds_test GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_ATI_texture_compression_3dc GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_ATI_texture_mirror_once GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_texture_array GL_EXT_texture_compression_latc GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_AMD_performance_monitor GL_EXT_texture_buffer_object GL_AMD_texture_texture4 GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_buffer_object GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_compatibility GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_ATI_meminfo GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_NV_copy_image GL_NV_texture_barrier GL_ARB_draw_indirect GL_ARB_get_program_binary GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_precision GL_ARB_shader_subroutine GL_ARB_texture_compression_bptc GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_viewport_array GL_EXT_direct_state_access GL_EXT_shader_image_load_store GL_EXT_vertex_attrib_64bit GL_NV_vdpau_interop GL_AMD_multi_draw_indirect GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_base_instance GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shader_atomic_counters GL_ARB_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_query_buffer_object GL_AMD_shader_trinary_minmax GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_compute_shader GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_fragment_layer_viewport GL_ARB_framebuffer_no_attachments GL_ARB_invalidate_subdata GL_ARB_multi_draw_indirect GL_ARB_program_interface_query GL_ARB_robust_buffer_access_behavior GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_stencil_texturing GL_ARB_texture_buffer_range GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_texture_view GL_ARB_vertex_attrib_binding GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_AMD_pinned_memory GL_ARB_bindless_texture GL_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_compute_variable_group_size GL_ARB_enhanced_layouts GL_ARB_indirect_parameters GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_query_buffer_object GL_ARB_seamless_cubemap_per_texture GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shading_language_include GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_stencil8 GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_integer_mix GL_NVX_gpu_memory_info GL_ARB_ES3_1_compatibility GL_ARB_clip_control GL_ARB_conditional_render_inverted GL_ARB_cull_distance GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_get_texture_sub_image GL_ARB_pipeline_statistics_query GL_ARB_shader_texture_image_samples GL_ARB_sparse_buffer GL_ARB_texture_barrier GL_ARB_transform_feedback_overflow_query GL_EXT_polygon_offset_clamp GL_EXT_shader_image_load_formatted GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_ARB_gpu_shader_int64 GL_ARB_parallel_shader_compile GL_ARB_shader_atomic_counter_ops GL_ARB_shader_ballot GL_ARB_shader_clock GL_ARB_shader_viewport_layer_array GL_EXT_shader_samples_identical GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_ARB_gl_spirv GL_ARB_spirv_extensions GL_EXT_window_rectangles GL_MESA_shader_integer_functions GL_ARB_polygon_offset_clamp GL_ARB_texture_filter_anisotropic GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_semaphore GL_EXT_semaphore_fd GL_KHR_parallel_shader_compile GL_NV_alpha_to_coverage_dither_control GL_AMD_framebuffer_multisample_advanced GL_EXT_EGL_image_storage GL_EXT_texture_sRGB_R8 GL_EXT_texture_shadow_lod GL_MESA_framebuffer_flip_y GL_EXT_EGL_sync
 (140484092594816) [OpenGLRenderSystem] GLSL shading IS available.
 (140484092594816) DarkRadiant init.py called, this is Python 3.8.6 (default, Sep 25 2020, 09:36:53)
 (140484092594816) [GCC 10.2.0]
 (140484092594816) Registered script file commands/select_all_models_of_type.py as SelectAllModelsOfType
 (140484092594816) Registered script file commands/test_targets.py as test_targets
 (140484092594816) Registered script file commands/patchsplitter.py as SplitPatch
 (140484092594816) Registered script file commands/ase_export_blend.py as aseExportBlend
 (140484092594816) Registered script file commands/shift_textures_randomly.py as ShiftTexturesRandomly
 (140484092594816) Registered script file commands/example.py as Example
 (140484092594816) Registered script file commands/ase_export.py as aseExport
 (140484092594816) Registered script file commands/export_obj.py as objExport
 (140484092594816) Registered script file commands/check_for_invalid_visportals.py as check_invalid_visportals
 (140484092594816) Registered script file commands/shift_textures_upwards_randomly.py as ShiftTexturesUpwardsRandomly
 (140484092594816) ScriptModule: Found 10 commands.
 (140484092594816) [OpenGLRenderSystem] GLSL shading IS available.
 (140482709534272) Auto-saving registry to user settings path.
 (140482709534272) XMLRegistry: Failed to save path /darkradiant/user/ui/colourschemes
 (140482709534272) Auto-saving registry to user settings path.
 (140482709534272) XMLRegistry: Failed to save path /darkradiant/user/ui/colourschemes

the log file doesn't update with any new error message: if you open the log file while the program works, when the program segfaults then log file doesn't update any more, but I post it for checking anyways.

in the GDB trace the segfaults happen after all the GTK related messages that happen while the program works.

Edited by 7318

Biel Bestué de Luna - Github

Link to post
Share on other sites

here it is:

Quote

$ gdb darkradiant
GNU gdb (Ubuntu 9.2-0ubuntu2) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from darkradiant...
(gdb) run
Starting program: /usr/local/bin/darkradiant
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff1b1a640 (LWP 29327)]
[New Thread 0x7ffff1319640 (LWP 29328)]

Thread 3 "gdbus" received signal SIG33, Real-time event 33.
[Switching to Thread 0x7ffff1319640 (LWP 29328)]
0x00007ffff69a766f in __GI___poll (fds=0x555555ab90a0, nfds=2, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
29    ../sysdeps/unix/sysv/linux/poll.c: El fitxer o directori no existeix.
(gdb) continue
Continuing.

Thread 2 "gmain" received signal SIG33, Real-time event 33.
[Switching to Thread 0x7ffff1b1a640 (LWP 29327)]
0x00007ffff69a766f in __GI___poll (fds=0x555555aa8f90, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
29    in ../sysdeps/unix/sysv/linux/poll.c
(gdb) continue
Continuing.
[New Thread 0x7fffeb9b5640 (LWP 29329)]
[New Thread 0x7fffeb1b4640 (LWP 29330)]
[New Thread 0x7fffea5f3640 (LWP 29331)]
[Thread 0x7fffeb1b4640 (LWP 29330) exited]
[New Thread 0x7fffe92db640 (LWP 29332)]
[Thread 0x7fffe92db640 (LWP 29332) exited]
[Thread 0x7fffea5f3640 (LWP 29331) exited]
[New Thread 0x7fffdea09640 (LWP 29333)]
[New Thread 0x7fffde208640 (LWP 29334)]
[New Thread 0x7fffdda07640 (LWP 29335)]
[New Thread 0x7fffdd206640 (LWP 29336)]
[New Thread 0x7fffdca05640 (LWP 29337)]
[New Thread 0x7fffd305b640 (LWP 29338)]
[New Thread 0x7fffd285a640 (LWP 29339)]
[New Thread 0x7fffd2059640 (LWP 29340)]
[New Thread 0x7fffd1858640 (LWP 29341)]
[New Thread 0x7fffd1057640 (LWP 29342)]
[New Thread 0x7fffd0856640 (LWP 29343)]
[New Thread 0x7fffabfff640 (LWP 29344)]
[New Thread 0x7fffa3fff640 (LWP 29345)]
[New Thread 0x7fffab7fe640 (LWP 29346)]
[New Thread 0x7fffaaffd640 (LWP 29347)]
[New Thread 0x7fffaa7fc640 (LWP 29348)]
[New Thread 0x7fffa9ffb640 (LWP 29349)]
[New Thread 0x7fffeb1b4640 (LWP 29350)]
[New Thread 0x7fffa97fa640 (LWP 29351)]
[New Thread 0x7fffa8ff9640 (LWP 29352)]
[Thread 0x7fffa9ffb640 (LWP 29349) exited]
[Thread 0x7fffa97fa640 (LWP 29351) exited]
[Thread 0x7fffeb1b4640 (LWP 29350) exited]
[Thread 0x7fffaa7fc640 (LWP 29348) exited]
[New Thread 0x7fffa37fe640 (LWP 29353)]
[New Thread 0x7fffa2ffd640 (LWP 29354)]

(darkradiant:29323): Gtk-WARNING **: 03:13:36.084: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node checkbutton, owner GtkCheckButton)

(darkradiant:29323): Gtk-WARNING **: 03:13:36.084: for_size smaller than min-size (0 < 14) while measuring gadget (node check, owner GtkCheckButton)

(darkradiant:29323): Gtk-CRITICAL **: 03:13:36.084: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkCheckButton

(darkradiant:29323): Gtk-WARNING **: 03:13:36.084: Negative content height -2 (allocation 0, extents 1x1) while allocating gadget (node check, owner GtkCheckButton)

(darkradiant:29323): Gtk-WARNING **: 03:13:36.084: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node checkbutton, owner GtkCheckButton)

(darkradiant:29323): Gtk-WARNING **: 03:13:36.084: for_size smaller than min-size (0 < 14) while measuring gadget (node check, owner GtkCheckButton)

(darkradiant:29323): Gtk-CRITICAL **: 03:13:36.084: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkCheckButton

(darkradiant:29323): Gtk-WARNING **: 03:13:36.084: Negative content height -2 (allocation 0, extents 1x1) while allocating gadget (node check, owner GtkCheckButton)

(darkradiant:29323): Gtk-WARNING **: 03:13:36.084: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)

(darkradiant:29323): Gtk-CRITICAL **: 03:13:36.085: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(darkradiant:29323): Gtk-WARNING **: 03:13:36.085: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node entry, owner GtkEntry)

(darkradiant:29323): Gtk-WARNING **: 03:13:36.085: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node entry, owner GtkEntry)

(darkradiant:29323): Gtk-WARNING **: 03:13:36.085: Negative content width -19 (allocation 1, extents 10x10) while allocating gadget (node button, owner GtkButton)

(darkradiant:29323): Gtk-WARNING **: 03:13:36.085: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)

(darkradiant:29323): Gtk-WARNING **: 03:13:36.085: Negative content width -14 (allocation 20, extents 17x17) while allocating gadget (node button, owner GtkButton)

(darkradiant:29323): Gtk-WARNING **: 03:13:36.085: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)

(darkradiant:29323): Gtk-CRITICAL **: 03:13:36.086: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(darkradiant:29323): Gtk-CRITICAL **: 03:13:36.086: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(darkradiant:29323): Gtk-CRITICAL **: 03:13:36.086: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(darkradiant:29323): Gtk-WARNING **: 03:13:36.086: Negative content width -14 (allocation 20, extents 17x17) while allocating gadget (node button, owner GtkButton)

(darkradiant:29323): Gtk-WARNING **: 03:13:36.087: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node entry, owner GtkEntry)
[New Thread 0x7fffa27fc640 (LWP 29355)]
[New Thread 0x7fffa18fb640 (LWP 29356)]
[New Thread 0x7fffa0e7a640 (LWP 29357)]
[Thread 0x7fffa0e7a640 (LWP 29357) exited]
--Type <RET> for more, q to quit, c to continue without paging--ret

Thread 1 "darkradiant" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff243ba80 (LWP 29323)]
wxutil::TreeModel::GetParent (this=0x555556c28370, item=...)
    at TreeModel.cpp:586
586            return owningNode->parent->item;
(gdb) bt
#0  wxutil::TreeModel::GetParent(wxDataViewItem const&) const
    (this=0x555556c28370, item=...) at TreeModel.cpp:586
#1  0x00007ffff7a4d457 in  () at /lib/x86_64-linux-gnu/libwx_gtk3u_adv-3.0.so.0
#2  0x00007ffff7a5084c in  () at /lib/x86_64-linux-gnu/libwx_gtk3u_adv-3.0.so.0
#3  0x00007ffff7a51e9b in  () at /lib/x86_64-linux-gnu/libwx_gtk3u_adv-3.0.so.0
#4  0x00007ffff6230eff in  () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#5  0x00007ffff623696a in  () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#6  0x00007ffff62402d5 in gtk_tree_view_set_model ()
    at /lib/x86_64-linux-gnu/libgtk-3.so.0
#7  0x00007ffff7a4bb0e in  () at /lib/x86_64-linux-gnu/libwx_gtk3u_adv-3.0.so.0
#8  0x00007ffff7a4c84e in  () at /lib/x86_64-linux-gnu/libwx_gtk3u_adv-3.0.so.0
#9  0x00007ffff79a5daa in wxDataViewModel::Cleared() ()
    at /lib/x86_64-linux-gnu/libwx_gtk3u_adv-3.0.so.0
#10 0x0000555555785f84 in ui::TexturePreviewCombo::refreshInfoTable()
    (this=0x555556c05c00) at ui/common/TexturePreviewCombo.cpp:62
#11 0x000055555578636c in ui::TexturePreviewCombo::SetTexture(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
    (this=0x555556c05c00, tex=...) at ui/common/TexturePreviewCombo.cpp:54
#12 0x0000555555711eb5 in ui::MediaBrowser::handleSelectionChange()
    (this=0x555555ab2dc0) at ui/mediabrowser/MediaBrowser.cpp:954
#13 0x00005555557121a1 in ui::MediaBrowser::setSelection(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
    (this=0x555555ab2dc0, selection="\220\322A\214\377\177\000\000\340\327A\214\--Type <RET> for more, q to quit, c to continue without paging--ret
377\177\000\000\320\336A\214\377\177\000\000P\340A\214\377\177\000\000\320\340A\214\377\177", '\000' <repeats 26 times>, "\320\320A\214\377\177\000\000\370\320A\214\377\177\000\000\370\320A\214\377\177\000\000\060\333A\214\377\177\000\000\000\000\000\000\000\000\000\000\060\333A\214\377\177\000\000\006\000\000\000\000\000\000\000\070\333A\214\377\177\000\000\000\000\000\000\000\000\000\000\025\002\000\000\000\000\000\000\300\031$\367\377\177\000\000\200\326A\214\377\177\000\000\220\330A\214\377\177", '\000' <repeats 34 times>...)
    at ui/mediabrowser/MediaBrowser.cpp:636
#14 0x000055555570fb32 in ui::MediaBrowser::onShaderClipboardSourceChanged()
    (this=0x555555ab2dc0) at ../include/imodule.h:414
#15 0x00007ffff057ab3a in sigc::internal::signal_emit0<void, sigc::nil>::emit(sigc::internal::signal_impl*) (impl=0x555556cad780)
    at /usr/include/sigc++-2.0/sigc++/signal.h:798
#16 0x00007ffff081fbf5 in sigc::signal0<void, sigc::nil>::emit() const
    (this=0x555555a77cc8) at /usr/include/sigc++-2.0/sigc++/signal.h:2803
#17 selection::ShaderClipboard::sourceChanged() (this=0x555555a77c60)
    at selection/shaderclipboard/ShaderClipboard.cpp:53
#18 0x0000555555711f15 in ui::MediaBrowser::handleSelectionChange()
    (this=0x555555ab2dc0) at ../include/imodule.h:414
#19 0x00007ffff7199661 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
    at /lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#20 0x00007ffff71999fa in wxEvtHandler::SearchDynamicEventTable(wxEvent&) ()
--Type <RET> for more, q to quit, c to continue without paging--ret
    at /lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#21 0x00007ffff7199a94 in wxEvtHandler::TryHereOnly(wxEvent&) ()
    at /lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#22 0x00007ffff7199b4b in wxEvtHandler::ProcessEventLocally(wxEvent&) ()
    at /lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#23 0x00007ffff7199bf1 in wxEvtHandler::ProcessEvent(wxEvent&) ()
    at /lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#24 0x00007ffff719997b in wxEvtHandler::SafelyProcessEvent(wxEvent&) ()
    at /lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#25 0x00007ffff7a59f97 in  () at /lib/x86_64-linux-gnu/libwx_gtk3u_adv-3.0.so.0
#26 0x00007ffff5c37b56 in  () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#27 0x00007ffff5c50bbf in g_signal_emit_valist ()
    at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007ffff5c50da3 in g_signal_emit ()
    at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#29 0x00007ffff623d34b in  () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#30 0x00007ffff6245690 in  () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#31 0x00007ffff62b3cff in  () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#32 0x00007ffff5c37b56 in  () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#33 0x00007ffff5c50bbf in g_signal_emit_valist ()
    at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#34 0x00007ffff5c50da3 in g_signal_emit ()
    at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--ret
#35 0x00007ffff60bb531 in  () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#36 0x00007ffff5c3ad14 in g_cclosure_marshal_VOID__BOXEDv ()
    at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#37 0x00007ffff5c37b56 in  () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#38 0x00007ffff5c50bbf in g_signal_emit_valist ()
    at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#39 0x00007ffff5c50da3 in g_signal_emit ()
    at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#40 0x00007ffff60b8046 in  () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#41 0x00007ffff60b963f in  () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#42 0x00007ffff60bc803 in  () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#43 0x00007ffff60820c0 in gtk_event_controller_handle_event ()
    at /lib/x86_64-linux-gnu/libgtk-3.so.0
#44 0x00007ffff625441d in  () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#45 0x00007ffff62ad6fb in  () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#46 0x00007ffff5c378fa in g_closure_invoke ()
    at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#47 0x00007ffff5c49f0e in  () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#48 0x00007ffff5c50586 in g_signal_emit_valist ()
    at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#49 0x00007ffff5c50da3 in g_signal_emit ()
    at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#50 0x00007ffff6256514 in  () at /lib/x86_64-linux-gnu/libgtk-3.so.0
--Type <RET> for more, q to quit, c to continue without paging--ret
#51 0x00007ffff6104d50 in  () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#52 0x00007ffff6106a93 in gtk_main_do_event ()
    at /lib/x86_64-linux-gnu/libgtk-3.so.0
#53 0x00007ffff5ddee89 in  () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#54 0x00007ffff5e138e6 in  () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#55 0x00007ffff58944db in g_main_context_dispatch ()
    at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007ffff5894788 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007ffff5894aa3 in g_main_loop_run ()
    at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007ffff61059fd in gtk_main () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#59 0x00007ffff74e8bf5 in wxGUIEventLoop::DoRun() ()
    at /lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#60 0x00007ffff704dd41 in wxEventLoopBase::Run() ()
    at /lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#61 0x00007ffff70153da in wxAppConsoleBase::MainLoop() ()
    at /lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#62 0x00007ffff70a173d in wxEntry(int&, wchar_t**) ()
    at /lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#63 0x000055555564f412 in main(int, char**)
    (argc=<optimized out>, argv=<optimized out>) at main.cpp:7
(gdb) continue
Continuing.
Couldn't get registers: El procés no existeix.
Couldn't get registers: El procés no existeix.
(gdb) [Thread 0x7fffa18fb640 (LWP 29356) exited]
[Thread 0x7fffa27fc640 (LWP 29355) exited]
[Thread 0x7fffa2ffd640 (LWP 29354) exited]
[Thread 0x7fffa37fe640 (LWP 29353) exited]
[Thread 0x7fffa8ff9640 (LWP 29352) exited]
[Thread 0x7fffaaffd640 (LWP 29347) exited]
[Thread 0x7fffab7fe640 (LWP 29346) exited]
[Thread 0x7fffa3fff640 (LWP 29345) exited]
[Thread 0x7fffabfff640 (LWP 29344) exited]
[Thread 0x7fffd0856640 (LWP 29343) exited]
[Thread 0x7fffd1057640 (LWP 29342) exited]
[Thread 0x7fffd1858640 (LWP 29341) exited]
[Thread 0x7fffd2059640 (LWP 29340) exited]
[Thread 0x7fffd285a640 (LWP 29339) exited]
[Thread 0x7fffd305b640 (LWP 29338) exited]
[Thread 0x7fffdca05640 (LWP 29337) exited]
[Thread 0x7fffdd206640 (LWP 29336) exited]
[Thread 0x7fffdda07640 (LWP 29335) exited]
[Thread 0x7fffde208640 (LWP 29334) exited]
[Thread 0x7fffdea09640 (LWP 29333) exited]
[Thread 0x7fffeb9b5640 (LWP 29329) exited]
[Thread 0x7ffff1319640 (LWP 29328) exited]
[Thread 0x7ffff1b1a640 (LWP 29327) exited]
--Type <RET> for more, q to quit, c to continue without paging--ret

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.

is this enough?

the texture I'm selecting is the first one in Doom3: textures / alphalabs / a_enwall13c

Biel Bestué de Luna - Github

Link to post
Share on other sites

Definitely helpful yes, it's actually the TexturePreviewCombo causing the crash. And I can see a feedback loop there from MediaBrowser > ShaderClipboard > MediaBrowser (which is probably harmless, but unneccessary).

Can you pump that issue including the stacktrace to the bug tracker please?

Link to post
Share on other sites

Can you try to checkout the "2.9.0" branch from git, please? I committed a change blocking the feedback loop between MediaBrowser and ShaderClipboard, but it's not likely to fix the whole problem. Still, I'd be curious about a new stacktrace if it's still crashing for you.

I couldn't repro the crash btw, I can select materials and the texture info pane at the bottom gets correctly updated, that's why I need some further feedback.

Link to post
Share on other sites

couldn't finish the compile:

Quote

  CXX      uimanager/darkradiant-SoundChooser.o
ui/LongRunningOperationHandler.cpp: In member function ‘void ui::LongRunningOperationHandler::onMessage(radiant::LongRunningOperationMessage&)’:
ui/LongRunningOperationHandler.cpp:65:2: error: ‘wxTheApp’ was not declared in this scope
   65 |  wxTheApp->Yield();
      |  ^~~~~~~~
  CXX      uimanager/animationpreview/darkradiant-MD5AnimationChooser.o
make[2]: *** [Makefile:3651: ui/darkradiant-LongRunningOperationHandler.o] Error 1
make[2]: *** Waiting for unfinished jobs....
ui/MapFileProgressHandler.cpp: In member function ‘void ui::MapFileProgressHandler::handleFileOperation(map::FileOperation&)’:
ui/MapFileProgressHandler.cpp:142:9: error: ‘wxTheApp’ was not declared in this scope
  142 |         wxTheApp->ProcessPendingEvents();
      |         ^~~~~~~~
make[2]: *** [Makefile:3693: ui/darkradiant-MapFileProgressHandler.o] Error 1
In file included from uimanager/SoundChooser.cpp:10:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
make[2]: Leaving directory '/home/biel/code/DarkRadiant/radiant'
make[1]: *** [Makefile:753: all-recursive] Error 1
make[1]: Leaving directory '/home/biel/code/DarkRadiant'
make: *** [Makefile:494: all] Error 2

 

Biel Bestué de Luna - Github

Link to post
Share on other sites

man it works...

uy2mM7l.gif

and the issue is resolved. but I've found new ones also related to selecting and applying other textures, I'll do two more bug reports

Edited by 7318

Biel Bestué de Luna - Github

Link to post
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.

×
×
  • Create New...