Nothing entered.
[http://sourceforge.net/p/ufoai/bugs/1961 Item 1961] imported from sourceforge.net tracker on 2013-01-28 19:14:56
attempting to open any map fails :
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0xb6a146f0 (LWP 4268)]
gtk_error_redirect (domain=0x0, log_level=G_LOG_LEVEL_ERROR, message=0x8fb9f68 "Texture load failed: \"textures/\"\n",
user_data=0x0) at src/tools/radiant/radiant/main.cpp:179
179 }
(gdb) bt full
#0 gtk_error_redirect (domain=0x0, log_level=G_LOG_LEVEL_ERROR, message=0x8fb9f68 "Texture load failed: \"textures/\"\n",
user_data=0x0) at src/tools/radiant/radiant/main.cpp:179
in_recursion = 0
is_fatal = 1
buf = "**-ERROR **: Texture load failed: \"textures/\"\n\naborting...\n", '\0' <repeats 13 times>, "Ōõ\216æ\000\000\000\000q\024Ģ·\000\000\000\b\000\000\000\000 Óś\bX4®\bÜō\216æ\000\037Ö·\000\000\000\000¾6\221·0pā\b’’’’xó\216æė>\220·Ą\214ā\b\002\000\000@\002\000\000\000Ōõ\216æÜō\216æ¬\000\000\000\210ó\216æ\202\221\207·\000{[·@×M·\200ļM·X\"\217·\006\000\000\000\204ó\216æXó\216æ²ū\210·\204ó\216æJ¹8"...
#1 0xb786523a in g_logv () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#2 0xb7865489 in g_log () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#3 0x0831a354 in qtexture_realise (texture=@0x903af48, key=@0x8fbb3e4) at src/tools/radiant/radiant/textures.cpp:257
image = {p_ = 0x0}
#4 0x0831d2cc in TexturesMap::TextureConstructor::construct (this=0x8a7e60c, key=@0x8fbb3e4)
at src/tools/radiant/radiant/textures.cpp:295
texture = (qtexture_t *) 0x903af48
#5 0x0831d382 in HashedCache<std::pair<LoadImageCallback, String<CopiedBuffer<DefaultAllocator<char> > > >, qtexture_t, TextureKeyHashNoCase, TextureKeyEqualNoCase, TexturesMap::TextureConstructor>::capture (this=0x8a7e60c, key=@0xbf8ef8e4)
at src/tools/radiant/libs/container/cache.h:139
i = {m_node = 0x8fbb3d8}
#6 0x0831d400 in TexturesMap::capture (this=0x8a7e608, loader=@0xbf8ef99c, name=0x8e2e290 "textures/")
at src/tools/radiant/radiant/textures.cpp:337
No locals.
#7 0xb674c4e1 in evaluateTexture (texture=@0x8fb3000, params=@0x8fb2ff8, args=@0x8fb1230, loader=@0xbf8ef99c)
at src/tools/radiant/plugins/shaders/shaders.cpp:347
result = {<TextOutputStream> = {_vptr.TextOutputStream = 0x83716a8}, m_string = {
m_string = {<std::_Vector_base<char,std::allocator<char> >> = {
_M_impl = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_start = 0x8e2e290 "textures/", _M_finish = 0x8e2e29a "",
_M_end_of_storage = 0x8e2e2d0 "H"}}, <No data fields>}}}
expression = 0x8e303d0 "textures/"
end = 0x8e303d9 ""
#8 0xb6759e4c in CShader::realise (this=0x8a851f8) at src/tools/radiant/plugins/shaders/shaders.cpp:501
No locals.
#9 0xb675a032 in CShader (this=0x8a851f8, definition=@0x8fb122c) at src/tools/radiant/plugins/shaders/shaders.cpp:432
No locals.
#10 0xb674c9e4 in Try_Shader_ForName (name=0x8ad28d0 "textures/") at src/tools/radiant/plugins/shaders/shaders.cpp:791
i = {_M_node = 0x8fb1218}
pShader = {<IncRefDecRefCounter<CShader>> = {<No data fields>}, m_value = 0x8ac2a68}
#11 0xb674cc17 in Shader_ForName (name=0x8ad28d0 "textures/") at src/tools/radiant/plugins/shaders/shaders.cpp:801
pShader = (IShader *) 0x8fb6b90
#12 0xb675a0b4 in UFOShaderSystem::getShaderForName (this=0xb6763884, name=0x8ad28d0 "textures/")
at src/tools/radiant/plugins/shaders/shaders.cpp:865
No locals.
#13 0x082e3493 in OpenGLShader::construct (this=0x8f915b8, name=0x8ad28d0 "textures/")
at src/tools/radiant/radiant/renderstate.cpp:1211
state = (OpenGLState &) @0x8fb6b90: {m_state = 0, m_sort = 151433568, m_texture = 0, m_texture1 = 0,
m_texture2 = 0, m_texture3 = 0, m_texture4 = 0, m_texture5 = 0, m_texture6 = 0, m_texture7 = 0, m_colour = {
m_elements = {1, 1, 1, 1}}, m_blend_src = 770, m_blend_dst = 771, m_depthfunc = 513, m_alphafunc = 519,
m_alpharef = 0, m_linewidth = 1, m_pointsize = 1, m_linestipple_factor = 1, m_linestipple_pattern = 43690}
#14 0x082ee952 in OpenGLShader::realise (this=0x8f915b8, name=@0x8fb5aa4) at src/tools/radiant/radiant/renderstate.cpp:304
shaderName = 0x8ad28d0 "textures/"
#15 0x082eeba0 in OpenGLShaderCache::CreateOpenGLShader::construct (this=0x8a79764, name=@0x8fb5aa4)
at src/tools/radiant/radiant/renderstate.cpp:396
shader = (OpenGLShader *) 0x8f915b8
#16 0x082ef916 in HashedCache<String<CopiedBuffer<DefaultAllocator<char> > >, OpenGLShader, HashString, std::equal_to<String<CopiedBuffer<DefaultAllocator<char> > > >, OpenGLShaderCache::CreateOpenGLShader>::capture (this=0x8a79764,
key=@0xbf8efc40) at src/tools/radiant/libs/container/cache.h:139
i = {m_node = 0x8fb5a98}
#17 0x082efa58 in OpenGLShaderCache::capture (this=0x8a79758, name=0x8be1d90 "textures/")
at src/tools/radiant/radiant/renderstate.cpp:432
No locals.
#18 0x08223fdb in FaceShader::captureShader (this=0x906270c) at src/tools/radiant/radiant/sidebar/../brush.h:325
No locals.
#19 0x082243c1 in FaceShader (this=0x906270c, shader=0xb675ca0e "textures/", flags=@0xbf8efcd0)
at src/tools/radiant/radiant/brush.h:305
No locals.
#20 0x0823a80f in Face (this=0x9062540, observer=0x8faeb74) at src/tools/radiant/radiant/brush.h:744
No locals.
#21 0x08243972 in BrushTokenImporter::importTokens (this=0x8faec4c, tokeniser=@0x903ec00)
at src/tools/radiant/radiant/brushtokens.h:166
token = 0x903f034 "("
face = (Face &) @0x903f034: {<OpenGLRenderable> = {_vptr.OpenGLRenderable = 0x6c780028}, <Filterable> = {
_vptr.Filterable = 0x6c657665}, <Undoable> = {_vptr.Undoable = 0x6e00}, <FaceShaderObserver> = {
_vptr.FaceShaderObserver = 0xff262628}, m_refcount = 4294967295,
static m_quantise = 0x824073c <quantiseFloating(double)>, m_move_planepts = {{m_elements = {2.5676151638042517e-312,
-4.9447006806392982e-42, -1.0775733438183584e+307}}, {m_elements = {-1.9477851314039932e+307,
-5.8174587957311026e+304, 7.0641644724611478e-304}}, {m_elements = {7.0641610228386886e-304,
-nan(0xfffff00ff00ff), 1.2095378575914181e-312}}}, m_move_planeptsTransformed = {{m_elements = {
3.4661915581202421e-265, -5.8303514611857799e+303, -3.9049331021617954e+307}}, {m_elements = {
-9.4198196735240939e+305, -5.8303566559730305e+303, 7.0641610228386886e-304}}, {m_elements = {
1.3580773087078651e-312, -4.9468902094963514e-42, 3.0920631347610614e-265}}}, m_plane = {m_planepts = {{
m_elements = {-6.418640854197581e+307, -3.0020992387224517e+305, -5.830356655331544e+303}}, {m_elements = {
7.0641610228386886e-304, -nan(0xfffff00ff00ff), 4.0954521332350192e-312}}, {m_elements = {
3.0894698843693849e-265, 3.092214565440926e-265, 5.9287877500949585e-323}}}, m_planeCached = {
a = 3.0923091262901624e-265, b = -2.3534379293677293e-185, c = 5.2821945977880272e-315, d = -nan(0xfffff00000000)},
m_plane = {a = 2.7373748270913548e-312, b = 3.083734447370628e-265, c = 3.0923659961207906e-265,
d = 5.9287877500949585e-323}, m_funcStaticOrigin = {m_elements = {0, 1.58820601e-33, 2.80259693e-45}}},
m_planeTransformed = {m_planepts = {{m_elements = {0.10000000000000001, 0, 1.1028436524804664e-309}}, {m_elements = {
3.0995399412520495e-265, 7.4729832068789912e-316, 0}}, {m_elements = {5.9287877500949585e-323, 0,
5.2998088236266445e-315}}}, m_planeCached = {a = 0, b = 1.6148387969240782e-311, c = 3.0907001753170153e-265,
d = 1.5198603364011505e-314}, m_plane = {a = 2.1219957909652723e-314, b = 1.4821969375237396e-323, c = 0, d = 0},
m_funcStaticOrigin = {m_elements = {0, 0, -nan(0x7fffff)}}}, m_shader = {<ModuleObserver> = {
_vptr.ModuleObserver = 0xcb25},
m_shader = {<CopiedBuffer<DefaultAllocator<char> >> = {<DefaultAllocator<char>> = {<No data fields>},
m_string = 0xffff0000 <Address 0xffff0000 out of bounds>}, <No data fields>}, m_state = 0x48, m_flags = {
m_surfaceFlags = 4825, m_contentFlags = 151400600, m_value = 151262200, m_specified = false,
m_surfaceFlagsDirty = 0, m_contentFlagsDirty = 0, m_markDirty = 0}, m_observers = {m_first = 0x0, m_second = 0x0},
m_instanced = true, m_realised = false}, m_texdef = {<FaceShaderObserver> = {_vptr.FaceShaderObserver = 0xbf8ee928},
m_shader = @0x0, m_projection = {m_texdef = {shift = {8.96831017e-43, 1.07619722e-42}, rotate = -nan(0x7fffff),
scale = {7.28282838e-41, 1.80767502e-43}}, m_brushprimit_texdef = {coords = {{1.58801058e-33, 1.15317171e-33,
1.58824715e-33}, {1.58824715e-33, 0, 0}}}, m_basis_s = {m_elements = {0, 0, 1.40129846e-45}}, m_basis_t = {
m_elements = {-1.11649561, 0, 8.96831017e-43}}}, m_projectionInitialised = false, m_scaleApplied = 3},
m_texdefTransformed = {m_texdef = {shift = {-nan(0x7fffff), 7.28324877e-41}, rotate = 9.10844002e-44, scale = {
1.58801058e-33, -1.30872504e-05}}, m_brushprimit_texdef = {coords = {{0, 0, 0}, {7.63707663e-43, -1.30872504e-05,
-1.30872504e-05}}}, m_basis_s = {m_elements = {0, 0, 0}}, m_basis_t = {m_elements = {0, 0, -nan(0x7fffff)}}},
m_winding = {numpoints = 192, points = {<DefaultAllocator<WindingVertex>> = {<No data fields>}, m_size = 72,
m_data = 0x903f350}}, m_centroid = {m_elements = {1.61526295e-33, 9.38869971e-44, 2.80259693e-45}},
m_filtered = false, m_observer = 0x2, m_undoable_observer = 0x2, m_map = 0x14}
importer = {m_face = @0x8a77dcc}
#22 0xb6783cef in Entity_parseTokens (tokeniser=@0x903ec00, entityTable=@0xb68b19f0, parser=@0x8a7cc94, index=0)
at src/tools/radiant/plugins/map/parse.cpp:81
primitive = {<IncRefDecRefCounter<scene::Node>> = {<No data fields>}, m_value = 0x8faeb2c}
traversable = (class scene::Traversable *) 0x82b799b
token = 0x903f034 "("
entity = {<IncRefDecRefCounter<scene::Node>> = {<No data fields>}, m_value = 0x903a378}
keyValues = {<std::_List_base<std::pair<String<CopiedBuffer<DefaultAllocator<char> > >, String<CopiedBuffer<DefaultAllocator<char> > > >,std::allocator<std::pair<String<CopiedBuffer<DefaultAllocator<char> > >, String<CopiedBuffer<DefaultAllocator<char> > > > > >> = {
_M_impl = {<std::allocator<std::_List_node<std::pair<String<CopiedBuffer<DefaultAllocator<char> > >, String<CopiedBuffer<DefaultAllocator<char> > > > > >> = {<__gnu_cxx::new_allocator<std::_List_node<std::pair<String<CopiedBuffer<DefaultAllocator<char> > >, String<CopiedBuffer<DefaultAllocator<char> > > > > >> = {<No data fields>}, <No data fields>}, _M_node = {
_M_next = 0x903c708, _M_prev = 0x8c7a7b8}}}, <No data fields>}
classname = 0x8fabe28 "worldspawn"
count_primitives = 0
#23 0xb678412c in Map_Read (root=@0x90659e4, tokeniser=@0x903ec00, entityTable=@0xb68b19f0, parser=@0x8a7cc94)
at src/tools/radiant/plugins/map/parse.cpp:117
entity = {<IncRefDecRefCounter<scene::Node>> = {<No data fields>}, m_value = 0xbf8efe98}
count_entities = 0
#24 0xb678234d in MapUFOAPI::readGraph (this=0x8a7cc90, root=@0x90659e4, inputStream=@0xbf8efefc, entityTable=@0xb68b19f0)
at src/tools/radiant/plugins/map/plugin.cpp:81
tokeniser = {p_ = 0x903ec00}
#25 0x082da895 in MapResource_loadFile (format=@0x8a7cc90, root=@0x90659e4,
filename=0x9066270 "/mnt/cf/games/ufoai/svn/trunk/base/maps/africa/af_main.map")
at src/tools/radiant/radiant/referencecache.cpp:80
disableScreenUpdates = {<No data fields>}
file = {<TextInputStream> = {_vptr.TextInputStream = 0x837a210}, m_file = 0x90665b0}
#26 0x082da9c8 in MapResource_load (format=@0x8a7cc90, path=0x903b310 "/mnt/cf/games/ufoai/svn/trunk/base/",
name=0x8f9f5e0 "maps/africa/af_main.map") at src/tools/radiant/radiant/referencecache.cpp:95
root = (
SmartReference<scene::Node,IncRefDecRefCounter<scene::Node> > &) @0xbf8effb8: {<IncRefDecRefCounter<scene::Node>> = {<No data fields>}, m_value = 0x90659e4}
root = {<IncRefDecRefCounter<scene::Node>> = {<No data fields>}, m_value = 0xbf8eff58}
fullpath = {<TextOutputStream> = {_vptr.TextOutputStream = 0x83716a8}, m_string = {
m_string = {<std::_Vector_base<char,std::allocator<char> >> = {
_M_impl = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_start = 0x9066270 "/mnt/cf/games/ufoai/svn/trunk/base/maps/africa/af_main.map", _M_finish = 0x90662ab "",
_M_end_of_storage = 0x9066370 "X\001"}}, <No data fields>}}}
#27 0x082dab23 in Model_load (loader=0x0, path=0x903b310 "/mnt/cf/games/ufoai/svn/trunk/base/",
name=0x8f9f5e0 "maps/africa/af_main.map", type=0x8c73548 "map") at src/tools/radiant/radiant/referencecache.cpp:279
format = (const MapFormat *) 0x8a7cc90
moduleName = 0x8a844c0 "mapufo"
#28 0x082e0b39 in ModelResource::loadCached (this=0x9065d28) at src/tools/radiant/radiant/referencecache.cpp:350
i = {m_node = 0x83e9b40}
#29 0x082e0c95 in ModelResource::loadModel (this=0x9065d28) at src/tools/radiant/radiant/referencecache.cpp:360
No locals.
#30 0x082e0d60 in ModelResource::load (this=0x9065d28) at src/tools/radiant/radiant/referencecache.cpp:368
No locals.
#31 0x082b3024 in Map::realise (this=0x83e8d20) at src/tools/radiant/radiant/map.cpp:283
No locals.
#32 0x082df802 in ModelResource::attach (this=0x9065d28, observer=@0x83e8d20)
at src/tools/radiant/radiant/referencecache.cpp:409
No locals.
#33 0x082a3fc5 in Map_LoadFile (filename=0x83ec5c0 "/mnt/cf/games/ufoai/svn/trunk/base/maps/africa/af_main.map")
at src/tools/radiant/radiant/map.cpp:703
disableScreenUpdates = {<No data fields>}
#34 0x082a41e9 in OpenMap () at src/tools/radiant/radiant/map.cpp:1405
filename = 0x83ec5c0 "/mnt/cf/games/ufoai/svn/trunk/base/maps/africa/af_main.map"
#35 0x0829deef in Function0<void, &(OpenMap())>::call () at src/tools/radiant/libs/generic/functional.h:102
No locals.
#36 0x0829defd in Caller0To1<Function0<void, &(OpenMap())>, void*>::call ()
at src/tools/radiant/libs/generic/functional.h:158
No locals.
#37 0x0829df1d in BindFirstOpaque<Caller0To1<Function0<void, &(OpenMap())>, void*> >::thunk (environment=0x0)
at src/tools/radiant/libs/generic/callback.h:104
No locals.
#38 0xb79111df in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#39 0xb7903e69 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#40 0xb791861b in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#41 0x08c2adc8 in ?? ()
No symbol table info available.
#42 0x00000000 in ?? ()
No symbol table info available.
===== Comments Ported from Sourceforge =====
====== richlv (2008-12-29 12:26:27) ======
fixed in trunk, confirming the fix in revision 21312