Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x0000000100000069 SDL_ConvertSurface (surface=0x10292e3b0, format=0x7fff5fbfed50, flags=0) at src/video/SDL_surface.c:817 817 surface->map->info.flags = 0; (gdb) bt full #0 SDL_ConvertSurface (surface=0x10292e3b0, format=0x7fff5fbfed50, flags=0) at src/video/SDL_surface.c:817 convert = (SDL_Surface *) 0x102c22ba0 copy_flags = 3355443200 bounds = { x = 0, y = 0, w = 0, h = 0 } #1 0x0000000100015128 in Texture::loadTexture (this=0x102a23670) at src/client/Texture.cpp:103 file = { _vptr$File = 0x1000a4a30, _name = { _vptr$String = 0x1000a4a70, _string = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::basic_string,std::allocator >::_Alloc_hider: _M_p = 0x102a23718 "base/pics/stoneage/tileset.png" } } }, _file = 0x7fff71057f40, _autoclose = true } surf = (SDL_Surface *) 0x10292e3b0 format = { format = 0, palette = 0x0, BitsPerPixel = 32 ' ', BytesPerPixel = 4 '\004', padding = "\000", Rmask = 255, Gmask = 65280, Bmask = 16711680, Amask = 4278190080, Rloss = 0 '\0', Gloss = 0 '\0', Bloss = 0 '\0', Aloss = 0 '\0', Rshift = 24 '\030', Gshift = 16 '\020', Bshift = 8 '\b', Ashift = 0 '\0', refcount = 0, next = 0x0 } converted = (SDL_Surface *) 0x7fff5fbfee10 #2 0x0000000100015599 in Texture::Texture (this=0x102a23670, filename=@0x7fff5fbfeff0) at src/client/Texture.cpp:15 surf = (SDL_Surface *) 0x7fff870a1f05 #3 0x0000000100016140 in TextureCache::get (this=0x100da6ea0, textureName=@0x7fff5fbfeff0) at src/client/TextureCache.cpp:38 iter = { _M_node = 0x100da6ee0 } #4 0x000000010001679b in TextureCache::TextureCache (this=0x100da6ea0) at src/client/TextureCache.cpp:17 node = (const class xml::Node &) @0x102a235f0: { _xmlNode = 0x101513460 } y = 0 texcoords = {0, 0, 0.125, 0, 0.125, 0.25, 0, 0.25} id = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::basic_string,std::allocator >::_Alloc_hider: _M_p = 0x102a24358 "stoneage-rock1" } } name = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::basic_string,std::allocator >::_Alloc_hider: _M_p = 0x102a24388 "stoneage/tileset" } } x = 0 xw = 0.125 yh = 0.25 p = (Texture *) 0x10151b430 i = { _M_current = 0x102a235f0 } textures = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::_Vector_base >::_Vector_impl: _M_start = 0x102a235f0, _M_finish = 0x102a23648, _M_end_of_storage = 0x102a23670 } }, } #5 0x0000000100016a2f in TextureCache::get () at src/client/TextureCache.cpp:72 instance = { _vptr$TextureCache = 0x1000a53b0, _textureDefs = { _M_t = { _M_impl = { , std::allocator >, std::basic_string, std::allocator > > > >> = { <__gnu_cxx::new_allocator, std::allocator >, std::basic_string, std::allocator > > > >> = {}, }, members of std::_Rb_tree, std::allocator >,std::pair, std::allocator >, std::basic_string, std::allocator > >,std::_Select1st, std::allocator >, std::basic_string, std::allocator > > >,std::less, std::allocator > >,std::allocator, std::allocator >, std::basic_string, std::allocator > > > >::_Rb_tree_impl, std::allocator > >,false>: _M_key_compare = { , std::allocator >,std::basic_string, std::allocator >,bool>> = {}, }, _M_header = { _M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x100da6eb0, _M_right = 0x100da6eb0 }, _M_node_count = 0 } } }, _textures = { _M_t = { _M_impl = { , std::allocator >, SharedPtr > > >> = { <__gnu_cxx::new_allocator, std::allocator >, SharedPtr > > >> = {}, }, members of std::_Rb_tree, std::allocator >,std::pair, std::allocator >, SharedPtr >,std::_Select1st, std::allocator >, SharedPtr > >,std::less, std::allocator > >,std::allocator, std::allocator >, SharedPtr > > >::_Rb_tree_impl, std::allocator > >,false>: _M_key_compare = { , std::allocator >,std::basic_string, std::allocator >,bool>> = {}, }, _M_header = { _M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x100da6ee0, _M_right = 0x100da6ee0 }, _M_node_count = 0 } } } } #6 0x0000000100021e6f in UINode::UINode (this=0x102a242c0, node=@0x102a24280) at src/client/ui/UINode.cpp:12 background = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::_Vector_base >::_Vector_impl: _M_start = 0x102a07330, _M_finish = 0x102a07338, _M_end_of_storage = 0x102a07338 } }, } onclick = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::_Vector_base >::_Vector_impl: _M_start = 0x7fff5fbff1c0, _M_finish = 0x7fff88580187, _M_end_of_storage = 0x102a24280 } }, } #7 0x00000001000236e5 in UIWindow::UIWindow (this=0x102a23530, node=@0x102a24200) at src/client/ui/UIWindow.cpp:10 i = { _M_current = 0x102a24280 } nodes = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::_Vector_base >::_Vector_impl: _M_start = 0x102a24280, _M_finish = 0x102a242a8, _M_end_of_storage = 0x102a242c0 } }, } #8 0x000000010001f25a in UI::load (this=0x101533958) at src/client/ui/UI.cpp:46 window = (UIWindow *) 0x7fff5fbff4c0 i = { _M_current = 0x102a24200 } maps = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::_Vector_base >::_Vector_impl: _M_start = 0x102a235a0, _M_finish = 0x102a235a8, _M_end_of_storage = 0x102a235a8 } }, } windows = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::_Vector_base >::_Vector_impl: _M_start = 0x102a24200, _M_finish = 0x102a24210, _M_end_of_storage = 0x102a24210 } }, } #9 0x000000010001f620 in UI::init (this=0x101533958) at src/client/ui/UI.cpp:26 No locals. #10 0x000000010000da1f in SDLFrontend::init (this=0x101533810, width=1024, height=768, fullscreen=false, eventHandler=@0x7fff5fbff6e8) at src/client/SDLFrontend.cpp:98 flags = 38 #11 0x000000010002eed6 in SDLBackend::init (this=0x7fff5fbff6d0, width=1024, height=768, fullscreen=false) at src/kernel/SDLBackend.cpp:28 No locals. #12 0x00000001000021c4 in main (argc=1, argv=0x7fff5fbff7e8) at src/Argh.cpp:21 s = { = {}, = { _vptr$IEventObserver = 0x1000a5c50 }, members of SDLBackend: _running = true, _system = 0x101533810, _eventHandler = { _vptr$EventHandler = 0x1000a5870, _observers = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::_Vector_base >::_Vector_impl: _M_start = 0x102a0f660, _M_finish = 0x102a0f678, _M_end_of_storage = 0x102a0f680 } }, } }, _keys = { _M_t = { _M_impl = { > >> = { <__gnu_cxx::new_allocator > >> = {}, }, members of std::_Rb_tree,std::_Select1st >,std::less,std::allocator > >::_Rb_tree_impl,false>: _M_key_compare = { > = {}, }, _M_header = { _M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x7fff5fbff710, _M_right = 0x7fff5fbff710 }, _M_node_count = 0 } } } } asdf = (int *) 0x0 Current language: auto; currently c