[Gtkradiant] trunk segfault & compilation instructions

Rich rich at hq.vsaa.lv
Mon Jul 14 04:39:34 CDT 2008

1. a backtrace from current trunk upon opening a map from ufoai :

#0  0xb744fc66 in raise () from /lib/libc.so.6
#1  0xb7451571 in abort () from /lib/libc.so.6
#2  0xb748896b in __libc_message () from /lib/libc.so.6
#3  0xb74908c4 in _int_free () from /lib/libc.so.6
#4  0xb7494370 in free () from /lib/libc.so.6
#5  0xb798a431 in g_free () from /usr/lib/libglib-2.0.so.0
#6  0xb6715f37 in Str::Format (this=0xa61b16c, fmt=0xb6722b24 "%s:%i") 
at libs/str.h:348
#7  0xb6720467 in CEntityMiscModel::BuildCacheRequestString (this=0xa61b150,
     name=0x816fc80 "models/objects/alien/battery/battery.md2") at 
#8  0xb6720557 in CEntityMiscModel::SetName (this=0xa61b150, 
name=0x816fc80 "models/objects/alien/battery/battery.md2")
     at plugins/entity/miscmodel.cpp:212
#9  0xb6720732 in CEntityMiscModel::OnKeyValueChanged (this=0xa61b150, 
e=0xa61b088, key=0xbfe85fac "model",
     value=0x816fc80 "models/objects/alien/battery/battery.md2") at 
#10 0xb671d25e in Entity_OnKeyValueChanged (e=0xa61b088, key=0xbfe85fac 
     value=0x816fc80 "models/objects/alien/battery/battery.md2") at 
#11 0xb671d871 in SetKeyValue (ent=0xa61b088, key=0xbfe85fac "model",
     value=0x816fc80 "models/objects/alien/battery/battery.md2") at 
#12 0xb6520158 in Entity_Parse (pEntity=0xa61b088) at 
#13 0xb652029a in Map_Read (in=0xbfe864c8, map=0xbfe8648c) at 
#14 0xb652040d in Map_ReadQ2 (in=0xbfe864c8, map=0xbfe8648c) at 
#15 0x080e02ff in CSynapseClientRadiant::ImportMap (this=0x9fbe0f8, 
in=0xbfe864c8, ents=0xbfe8648c, type=0x816dd17 "map")
     at radiant/pluginmanager.cpp:478
#16 0x080d8e0c in Map_Import (in=0xbfe864c8, type=0x816dd17 "map", 
bAddSelected=false) at radiant/map.cpp:536
#17 0x080d9520 in Map_LoadFile (filename=0x816dce0 
     at radiant/map.cpp:584
#18 0x080c67ee in MainFrame::OnFileOpen (this=0x9fbdf58) at 
#19 0x080d39d1 in HandleCommand (widget=0x9fb2678, data=0xe101) at 
#20 0xb7a300df in g_cclosure_marshal_VOID__VOID () from 
#21 0xb7a22d99 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#22 0xb7a3757b in ?? () from /usr/lib/libgobject-2.0.so.0
#23 0x0a033260 in ?? ()
#24 0x00000000 in ?? ()

2. linux compiling section instructs :

Execute 'scons' in the directory containing SConscript

run 'python ./GtkRadiant/install.py'
note - this script should be run after each time you update from svn"

now, this seems to be incorrect (or not working :) ), as running "python 
install.py" requires passing 'install' parameter and an installation 
directory - and then it fails because it tries to copy .exe file.

also, it seems that simple 'scons' actually does the installation to the 
'install' directory, as running that changed radiant.bin mtime.

More information about the Gtkradiant mailing list