Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Pioneer crash information for serialisation crash
Charon:
height fractal: HillsCraters2
colour fractal: Rock
seed: 2191294907
*** Error in `/home/dv/src/pioneer/src/pioneer': double free or corruption (!prev): 0x0000000002ac5d20 ***
Program received signal SIGABRT, Aborted.
0x00007ffff5bb3f79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff5bb3f79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff5bb7388 in __GI_abort () at abort.c:89
#2 0x00007ffff5bf11d4 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7ffff5cffa10 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#3 0x00007ffff5bfd4ae in malloc_printerr (ptr=<optimized out>, str=0x7ffff5cffaf8 "double free or corruption (!prev)", action=1) at malloc.c:4996
#4 _int_free (av=<optimized out>, p=<optimized out>, have_lock=1) at malloc.c:3840
#5 0x00007ffff5bff6d0 in _int_realloc (av=0x7ffff5f3c760 <main_arena>, oldp=0x2ac5d10, oldsize=1264, nb=2512) at malloc.c:4340
#6 0x00007ffff5c00e09 in __GI___libc_realloc (oldmem=0x2ac5d20, bytes=2496) at malloc.c:3029
#7 0x000000000069d54d in luaM_realloc_ (L=L@entry=0x189fb20, block=block@entry=0x2ac5d20, osize=osize@entry=1248, nsize=nsize@entry=2496) at lmem.c:84
#8 0x0000000000698eb9 in luaD_reallocstack (L=L@entry=0x189fb20, newsize=156) at ldo.c:166
#9 0x0000000000699844 in luaD_growstack (n=<optimized out>, L=0x189fb20) at ldo.c:189
#10 luaD_precall (L=L@entry=0x189fb20, func=<optimized out>, nresults=1) at ldo.c:327
#11 0x0000000000699bdd in luaD_call (L=0x189fb20, func=<optimized out>, nResults=<optimized out>, allowyield=0) at ldo.c:394
#12 0x0000000000698e49 in luaD_rawrunprotected (L=0x189fb20, f=0x694300 <f_call>, ud=0x7fffffffd280) at ldo.c:131
#13 0x0000000000699f11 in luaD_pcall (L=L@entry=0x189fb20, func=func@entry=0x694300 <f_call>, u=u@entry=0x7fffffffd280, old_top=1312, ef=<optimized out>) at ldo.c:595
#14 0x0000000000697128 in lua_pcallk (L=0x189fb20, nargs=<optimized out>, nresults=1, errfunc=<optimized out>, ctx=<optimized out>, k=<optimized out>) at lapi.c:949
#15 0x00000000004a1e7c in pi_lua_protected_call (L=L@entry=0x189fb20, nargs=nargs@entry=1, nresults=nresults@entry=1) at LuaUtils.cpp:514
#16 0x0000000000497980 in LuaSerializer::pickle (l=l@entry=0x189fb20, idx=56, idx@entry=-2, out=..., key=key@entry=0x29a9f48 "equipSet") at LuaSerializer.cpp:91
#17 0x0000000000497d76 in LuaSerializer::pickle (l=0x189fb20, idx=<optimized out>, idx@entry=-1, out=..., key=key@entry=0x0) at LuaSerializer.cpp:167
#18 0x00000000004950f3 in LuaRef::Save (this=this@entry=0x22adbf8, wr=...) at LuaRef.cpp:40
#19 0x0000000000414444 in Save (wr=..., this=0x22adbf8) at PropertyMap.h:35
#20 Body::Save (this=this@entry=0x22adbe0, wr=..., space=0xbd7cf60) at Body.cpp:41
#21 0x00000000004a6d71 in ModelBody::Save (this=0x22adbe0, wr=..., space=<optimized out>) at ModelBody.cpp:83
#22 0x0000000000428f11 in DynamicBody::Save (this=this@entry=0x22adbe0, wr=..., space=space@entry=0xbd7cf60) at DynamicBody.cpp:61
#23 0x00000000004f2743 in Ship::Save (this=0x22adbe0, wr=..., space=0xbd7cf60) at Ship.cpp:40
#24 0x0000000000414a67 in Body::Serialize (this=0x22adbe0, _wr=..., space=space@entry=0xbd7cf60) at Body.cpp:80
#25 0x000000000051da1f in Space::Serialize (this=0xbd7cf60, wr=...) at Space.cpp:167
#26 0x000000000044862e in Game::Serialize (this=this@entry=0x2cfaeb0, wr=...) at Game.cpp:207
#27 0x000000000044c03c in Game::SaveGame (filename=..., game=0x2cfaeb0) at Game.cpp:750
#28 0x00000000004893f9 in l_game_save_game (l=0x189fb20) at LuaGame.cpp:152
#29 0x0000000000699630 in luaD_precall (L=L@entry=0x189fb20, func=<optimized out>, func@entry=0x2ac5e50, nresults=nresults@entry=0) at ldo.c:318
#30 0x00000000006a6a74 in luaV_execute (L=L@entry=0x189fb20) at lvm.c:709
#31 0x0000000000699be9 in luaD_call (L=0x189fb20, func=<optimized out>, nResults=<optimized out>, allowyield=0) at ldo.c:395
#32 0x0000000000698e49 in luaD_rawrunprotected (L=0x189fb20, f=0x694300 <f_call>, ud=0x7fffffffda20) at ldo.c:131
#33 0x0000000000699f11 in luaD_pcall (L=L@entry=0x189fb20, func=func@entry=0x694300 <f_call>, u=u@entry=0x7fffffffda20, old_top=96, ef=<optimized out>) at ldo.c:595
#34 0x0000000000697128 in lua_pcallk (L=0x189fb20, nargs=<optimized out>, nresults=0, errfunc=<optimized out>, ctx=<optimized out>, k=<optimized out>) at lapi.c:949
#35 0x00000000004a1e7c in pi_lua_protected_call (L=L@entry=0x189fb20, nargs=nargs@entry=0, nresults=nresults@entry=0) at LuaUtils.cpp:514
#36 0x0000000000487d83 in LuaEvent::Emit () at LuaEvent.cpp:51
#37 0x000000000051e47e in Space::TimeStep (this=0xbd7cf60, step=step@entry=0,0166666675) at Space.cpp:916
#38 0x0000000000449d70 in Game::TimeStep (this=0x2cfaeb0, step=step@entry=0,0166666675) at Game.cpp:263
#39 0x00000000004bf997 in Pi::MainLoop () at Pi.cpp:1161
#40 0x00000000004c0841 in Pi::Start () at Pi.cpp:1084
#41 0x000000000040e7a9 in main (argc=<optimized out>, argv=<optimized out>) at main.cpp:128
(gdb)
==12487== Memcheck, a memory error detector
==12487== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==12487== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
==12487== Command: ./pioneer
==12487==
ver on: Linux
System Name: Linux
Host Name: oberon
Release(Kernel) Version: 3.14.6-1-ARCH
Kernel Build Timestamp: #1 SMP PREEMPT Sun Jun 8 10:08:38 CEST 2014
Machine Arch: x86_64
Domain Name: (none)
==12487== Conditional jump or move depends on uninitialised value(s)
==12487== at 0x953E644: ??? (in /usr/lib/libnvidia-glcore.so.337.25)
==12487== by 0x94E50F5: ??? (in /usr/lib/libnvidia-glcore.so.337.25)
==12487==
Initialized GL2 renderer
started 1 worker threads
ship definition for 'lunarshuttle' has deprecated 'camera_offset' field
ship definition for 'lunarshuttle' has deprecated 'gun_mounts' field
ship definition for 'venturestar' has deprecated 'camera_offset' field
ship definition for 'venturestar' has deprecated 'gun_mounts' field
==12487== Use of uninitialised value of size 8
==12487== at 0x5EBBE8: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_find_before_node(unsigned long, unsigned int const&, unsigned long) const (hashtable.h:1438)
==12487== by 0x5EA293: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_find_node(unsigned long, unsigned int const&, unsigned long) const (hashtable.h:625)
==12487== by 0x5E8987: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::find(unsigned int const&) (hashtable.h:1304)
==12487== by 0x5E7876: std::unordered_map<unsigned int, Graphics::GL2::RenderState*, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> > >::find(unsigned int const&) (unordered_map.h:574)
==12487== by 0x5E47D1: Graphics::RendererGL2::CreateRenderState(Graphics::RenderStateDesc const&) (RendererGL2.cpp:692)
==12487== by 0x6CDEB1: UI::Skin::Skin(std::string const&, Graphics::Renderer*, float) (Skin.cpp:43)
==12487== by 0x6B9804: UI::Context::Context(LuaManager*, Graphics::Renderer*, int, int) (Context.cpp:47)
==12487== by 0x4FF28A: Pi::Init(std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, bool) (Pi.cpp:457)
==12487== by 0x5B967E: main (main.cpp:126)
==12487==
==12487== Use of uninitialised value of size 8
==12487== at 0x5EBBE8: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_find_before_node(unsigned long, unsigned int const&, unsigned long) const (hashtable.h:1438)
==12487== by 0x5EA293: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_find_node(unsigned long, unsigned int const&, unsigned long) const (hashtable.h:625)
==12487== by 0x5E8A3D: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:597)
==12487== by 0x5E78BA: std::unordered_map<unsigned int, Graphics::GL2::RenderState*, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> > >::operator[](unsigned int const&) (unordered_map.h:627)
==12487== by 0x5E484E: Graphics::RendererGL2::CreateRenderState(Graphics::RenderStateDesc const&) (RendererGL2.cpp:697)
==12487== by 0x6CDEB1: UI::Skin::Skin(std::string const&, Graphics::Renderer*, float) (Skin.cpp:43)
==12487== by 0x6B9804: UI::Context::Context(LuaManager*, Graphics::Renderer*, int, int) (Context.cpp:47)
==12487== by 0x4FF28A: Pi::Init(std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, bool) (Pi.cpp:457)
==12487== by 0x5B967E: main (main.cpp:126)
==12487==
==12487== Use of uninitialised value of size 8
==12487== at 0x5EBE97: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_insert_bucket_begin(unsigned long, std::__detail::_Hash_node<std::pair<unsigned int const, Graphics::GL2::RenderState*>, false>*) (hashtable.h:1464)
==12487== by 0x5EA574: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_insert_unique_node(unsigned long, unsigned long, std::__detail::_Hash_node<std::pair<unsigned int const, Graphics::GL2::RenderState*>, false>*) (hashtable.h:1624)
==12487== by 0x5E8A90: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:604)
==12487== by 0x5E78BA: std::unordered_map<unsigned int, Graphics::GL2::RenderState*, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> > >::operator[](unsigned int const&) (unordered_map.h:627)
==12487== by 0x5E484E: Graphics::RendererGL2::CreateRenderState(Graphics::RenderStateDesc const&) (RendererGL2.cpp:697)
==12487== by 0x6CDEB1: UI::Skin::Skin(std::string const&, Graphics::Renderer*, float) (Skin.cpp:43)
==12487== by 0x6B9804: UI::Context::Context(LuaManager*, Graphics::Renderer*, int, int) (Context.cpp:47)
==12487== by 0x4FF28A: Pi::Init(std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, bool) (Pi.cpp:457)
==12487== by 0x5B967E: main (main.cpp:126)
==12487==
==12487== Use of uninitialised value of size 8
==12487== at 0x5EBF51: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_insert_bucket_begin(unsigned long, std::__detail::_Hash_node<std::pair<unsigned int const, Graphics::GL2::RenderState*>, false>*) (hashtable.h:1482)
==12487== by 0x5EA574: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_insert_unique_node(unsigned long, unsigned long, std::__detail::_Hash_node<std::pair<unsigned int const, Graphics::GL2::RenderState*>, false>*) (hashtable.h:1624)
==12487== by 0x5E8A90: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:604)
==12487== by 0x5E78BA: std::unordered_map<unsigned int, Graphics::GL2::RenderState*, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> > >::operator[](unsigned int const&) (unordered_map.h:627)
==12487== by 0x5E484E: Graphics::RendererGL2::CreateRenderState(Graphics::RenderStateDesc const&) (RendererGL2.cpp:697)
==12487== by 0x6CDEB1: UI::Skin::Skin(std::string const&, Graphics::Renderer*, float) (Skin.cpp:43)
==12487== by 0x6B9804: UI::Context::Context(LuaManager*, Graphics::Renderer*, int, int) (Context.cpp:47)
==12487== by 0x4FF28A: Pi::Init(std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, bool) (Pi.cpp:457)
==12487== by 0x5B967E: main (main.cpp:126)
==12487==
==12487== Use of uninitialised value of size 8
==12487== at 0x5EBF34: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_insert_bucket_begin(unsigned long, std::__detail::_Hash_node<std::pair<unsigned int const, Graphics::GL2::RenderState*>, false>*) (hashtable.h:1481)
==12487== by 0x5EA574: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_insert_unique_node(unsigned long, unsigned long, std::__detail::_Hash_node<std::pair<unsigned int const, Graphics::GL2::RenderState*>, false>*) (hashtable.h:1624)
==12487== by 0x5E8A90: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:604)
==12487== by 0x5E78BA: std::unordered_map<unsigned int, Graphics::GL2::RenderState*, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> > >::operator[](unsigned int const&) (unordered_map.h:627)
==12487== by 0x5E484E: Graphics::RendererGL2::CreateRenderState(Graphics::RenderStateDesc const&) (RendererGL2.cpp:697)
==12487== by 0x6CDEF8: UI::Skin::Skin(std::string const&, Graphics::Renderer*, float) (Skin.cpp:46)
==12487== by 0x6B9804: UI::Context::Context(LuaManager*, Graphics::Renderer*, int, int) (Context.cpp:47)
==12487== by 0x4FF28A: Pi::Init(std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, bool) (Pi.cpp:457)
==12487== by 0x5B967E: main (main.cpp:126)
==12487==
==12487== Conditional jump or move depends on uninitialised value(s)
==12487== at 0x5EBC25: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_find_before_node(unsigned long, unsigned int const&, unsigned long) const (hashtable.h:1445)
==12487== by 0x5EA293: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_find_node(unsigned long, unsigned int const&, unsigned long) const (hashtable.h:625)
==12487== by 0x5E8987: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::find(unsigned int const&) (hashtable.h:1304)
==12487== by 0x5E7876: std::unordered_map<unsigned int, Graphics::GL2::RenderState*, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> > >::find(unsigned int const&) (unordered_map.h:574)
==12487== by 0x5E47D1: Graphics::RendererGL2::CreateRenderState(Graphics::RenderStateDesc const&) (RendererGL2.cpp:692)
==12487== by 0x664E5A: Text::TextureFont::TextureFont(Text::FontConfig const&, Graphics::Renderer*, float) (TextureFont.cpp:501)
==12487== by 0x6B9ACB: UI::Context::Context(LuaManager*, Graphics::Renderer*, int, int) (Context.cpp:64)
==12487== by 0x4FF28A: Pi::Init(std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, bool) (Pi.cpp:457)
==12487== by 0x5B967E: main (main.cpp:126)
==12487==
Number of factions added: 103
StarSystemCache: misses: 1464, slave hits: 139, master hits: 0
SectorCache: misses: 1790, slave hits: 0, master hits: 2933
Face Generation source images loaded.
==12487== Conditional jump or move depends on uninitialised value(s)
==12487== at 0x5EBC5B: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_find_before_node(unsigned long, unsigned int const&, unsigned long) const (hashtable.h:1448)
==12487== by 0x5EA293: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_find_node(unsigned long, unsigned int const&, unsigned long) const (hashtable.h:625)
==12487== by 0x5E8987: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::find(unsigned int const&) (hashtable.h:1304)
==12487== by 0x5E7876: std::unordered_map<unsigned int, Graphics::GL2::RenderState*, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> > >::find(unsigned int const&) (unordered_map.h:574)
==12487== by 0x5E47D1: Graphics::RendererGL2::CreateRenderState(Graphics::RenderStateDesc const&) (RendererGL2.cpp:692)
==12487== by 0x63EF1A: SceneGraph::Loader::ConvertAiMeshes(std::vector<RefCountedPtr<SceneGraph::StaticGeometry>, std::allocator<RefCountedPtr<SceneGraph::StaticGeometry> > >&, aiScene const*) (Loader.cpp:468)
==12487== by 0x63E41D: SceneGraph::Loader::LoadMesh(std::string const&, std::vector<SceneGraph::AnimDefinition, std::allocator<SceneGraph::AnimDefinition> > const&) (Loader.cpp:345)
==12487== by 0x63D8E4: SceneGraph::Loader::CreateModel(SceneGraph::ModelDefinition&) (Loader.cpp:251)
==12487== by 0x63D0D9: SceneGraph::Loader::LoadModel(std::string const&, std::string const&) (Loader.cpp:192)
==12487== by 0x63CAB4: SceneGraph::Loader::LoadModel(std::string const&) (Loader.cpp:127)
==12487== by 0x4E3209: ModelCache::FindModel(std::string const&) (ModelCache.cpp:26)
==12487== by 0x428279: lookupBuildingListModels(citybuildinglist_t*) (CityOnPlanet.cpp:183)
==12487==
==12487== Conditional jump or move depends on uninitialised value(s)
==12487== at 0x5EBC25: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_find_before_node(unsigned long, unsigned int const&, unsigned long) const (hashtable.h:1445)
==12487== by 0x5EA293: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_find_node(unsigned long, unsigned int const&, unsigned long) const (hashtable.h:625)
==12487== by 0x5E8A3D: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:597)
==12487== by 0x5E78BA: std::unordered_map<unsigned int, Graphics::GL2::RenderState*, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> > >::operator[](unsigned int const&) (unordered_map.h:627)
==12487== by 0x5E484E: Graphics::RendererGL2::CreateRenderState(Graphics::RenderStateDesc const&) (RendererGL2.cpp:697)
==12487== by 0x63EF1A: SceneGraph::Loader::ConvertAiMeshes(std::vector<RefCountedPtr<SceneGraph::StaticGeometry>, std::allocator<RefCountedPtr<SceneGraph::StaticGeometry> > >&, aiScene const*) (Loader.cpp:468)
==12487== by 0x63E41D: SceneGraph::Loader::LoadMesh(std::string const&, std::vector<SceneGraph::AnimDefinition, std::allocator<SceneGraph::AnimDefinition> > const&) (Loader.cpp:345)
==12487== by 0x63D8E4: SceneGraph::Loader::CreateModel(SceneGraph::ModelDefinition&) (Loader.cpp:251)
==12487== by 0x63D0D9: SceneGraph::Loader::LoadModel(std::string const&, std::string const&) (Loader.cpp:192)
==12487== by 0x63CAB4: SceneGraph::Loader::LoadModel(std::string const&) (Loader.cpp:127)
==12487== by 0x4E3209: ModelCache::FindModel(std::string const&) (ModelCache.cpp:26)
==12487== by 0x428279: lookupBuildingListModels(citybuildinglist_t*) (CityOnPlanet.cpp:183)
==12487==
==12487== Conditional jump or move depends on uninitialised value(s)
==12487== at 0x5EBC5B: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_find_before_node(unsigned long, unsigned int const&, unsigned long) const (hashtable.h:1448)
==12487== by 0x5EA293: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_find_node(unsigned long, unsigned int const&, unsigned long) const (hashtable.h:625)
==12487== by 0x5E8A3D: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:597)
==12487== by 0x5E78BA: std::unordered_map<unsigned int, Graphics::GL2::RenderState*, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> > >::operator[](unsigned int const&) (unordered_map.h:627)
==12487== by 0x5E484E: Graphics::RendererGL2::CreateRenderState(Graphics::RenderStateDesc const&) (RendererGL2.cpp:697)
==12487== by 0x63EF1A: SceneGraph::Loader::ConvertAiMeshes(std::vector<RefCountedPtr<SceneGraph::StaticGeometry>, std::allocator<RefCountedPtr<SceneGraph::StaticGeometry> > >&, aiScene const*) (Loader.cpp:468)
==12487== by 0x63E41D: SceneGraph::Loader::LoadMesh(std::string const&, std::vector<SceneGraph::AnimDefinition, std::allocator<SceneGraph::AnimDefinition> > const&) (Loader.cpp:345)
==12487== by 0x63D8E4: SceneGraph::Loader::CreateModel(SceneGraph::ModelDefinition&) (Loader.cpp:251)
==12487== by 0x63D0D9: SceneGraph::Loader::LoadModel(std::string const&, std::string const&) (Loader.cpp:192)
==12487== by 0x63CAB4: SceneGraph::Loader::LoadModel(std::string const&) (Loader.cpp:127)
==12487== by 0x4E3209: ModelCache::FindModel(std::string const&) (ModelCache.cpp:26)
==12487== by 0x428279: lookupBuildingListModels(citybuildinglist_t*) (CityOnPlanet.cpp:183)
==12487==
==12487== Use of uninitialised value of size 8
==12487== at 0x5EBEB1: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_insert_bucket_begin(unsigned long, std::__detail::_Hash_node<std::pair<unsigned int const, Graphics::GL2::RenderState*>, false>*) (hashtable.h:1468)
==12487== by 0x5EA574: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_insert_unique_node(unsigned long, unsigned long, std::__detail::_Hash_node<std::pair<unsigned int const, Graphics::GL2::RenderState*>, false>*) (hashtable.h:1624)
==12487== by 0x5E8A90: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:604)
==12487== by 0x5E78BA: std::unordered_map<unsigned int, Graphics::GL2::RenderState*, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> > >::operator[](unsigned int const&) (unordered_map.h:627)
==12487== by 0x5E484E: Graphics::RendererGL2::CreateRenderState(Graphics::RenderStateDesc const&) (RendererGL2.cpp:697)
==12487== by 0x63EF1A: SceneGraph::Loader::ConvertAiMeshes(std::vector<RefCountedPtr<SceneGraph::StaticGeometry>, std::allocator<RefCountedPtr<SceneGraph::StaticGeometry> > >&, aiScene const*) (Loader.cpp:468)
==12487== by 0x63E41D: SceneGraph::Loader::LoadMesh(std::string const&, std::vector<SceneGraph::AnimDefinition, std::allocator<SceneGraph::AnimDefinition> > const&) (Loader.cpp:345)
==12487== by 0x63D8E4: SceneGraph::Loader::CreateModel(SceneGraph::ModelDefinition&) (Loader.cpp:251)
==12487== by 0x63D0D9: SceneGraph::Loader::LoadModel(std::string const&, std::string const&) (Loader.cpp:192)
==12487== by 0x63CAB4: SceneGraph::Loader::LoadModel(std::string const&) (Loader.cpp:127)
==12487== by 0x4E3209: ModelCache::FindModel(std::string const&) (ModelCache.cpp:26)
==12487== by 0x428279: lookupBuildingListModels(citybuildinglist_t*) (CityOnPlanet.cpp:183)
==12487==
==12487== Use of uninitialised value of size 8
==12487== at 0x5EBED0: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_insert_bucket_begin(unsigned long, std::__detail::_Hash_node<std::pair<unsigned int const, Graphics::GL2::RenderState*>, false>*) (hashtable.h:1469)
==12487== by 0x5EA574: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_insert_unique_node(unsigned long, unsigned long, std::__detail::_Hash_node<std::pair<unsigned int const, Graphics::GL2::RenderState*>, false>*) (hashtable.h:1624)
==12487== by 0x5E8A90: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:604)
==12487== by 0x5E78BA: std::unordered_map<unsigned int, Graphics::GL2::RenderState*, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> > >::operator[](unsigned int const&) (unordered_map.h:627)
==12487== by 0x5E484E: Graphics::RendererGL2::CreateRenderState(Graphics::RenderStateDesc const&) (RendererGL2.cpp:697)
==12487== by 0x63EF1A: SceneGraph::Loader::ConvertAiMeshes(std::vector<RefCountedPtr<SceneGraph::StaticGeometry>, std::allocator<RefCountedPtr<SceneGraph::StaticGeometry> > >&, aiScene const*) (Loader.cpp:468)
==12487== by 0x63E41D: SceneGraph::Loader::LoadMesh(std::string const&, std::vector<SceneGraph::AnimDefinition, std::allocator<SceneGraph::AnimDefinition> > const&) (Loader.cpp:345)
==12487== by 0x63D8E4: SceneGraph::Loader::CreateModel(SceneGraph::ModelDefinition&) (Loader.cpp:251)
==12487== by 0x63D0D9: SceneGraph::Loader::LoadModel(std::string const&, std::string const&) (Loader.cpp:192)
==12487== by 0x63CAB4: SceneGraph::Loader::LoadModel(std::string const&) (Loader.cpp:127)
==12487== by 0x4E3209: ModelCache::FindModel(std::string const&) (ModelCache.cpp:26)
==12487== by 0x428279: lookupBuildingListModels(citybuildinglist_t*) (CityOnPlanet.cpp:183)
==12487==
==12487== Mismatched free() / delete / delete []
==12487== at 0x4C29E6C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x631C9A9: Assimp::RemoveVCProcess::ProcessMesh(aiMesh*) (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x631CD71: Assimp::RemoveVCProcess::Execute(aiScene*) (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x62C85CC: ??? (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x62CF0E0: Assimp::Importer::ApplyPostProcessing(unsigned int) (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x62D1081: Assimp::Importer::ReadFile(char const*, unsigned int) (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x642289: Assimp::Importer::ReadFile(std::string const&, unsigned int) (Importer.hpp:645)
==12487== by 0x641B55: SceneGraph::Loader::LoadCollision(std::string const&) (Loader.cpp:880)
==12487== by 0x63DD79: SceneGraph::Loader::CreateModel(SceneGraph::ModelDefinition&) (Loader.cpp:292)
==12487== by 0x63D0D9: SceneGraph::Loader::LoadModel(std::string const&, std::string const&) (Loader.cpp:192)
==12487== by 0x63CAB4: SceneGraph::Loader::LoadModel(std::string const&) (Loader.cpp:127)
==12487== by 0x4E3209: ModelCache::FindModel(std::string const&) (ModelCache.cpp:26)
==12487== Address 0x1221bfc0 is 0 bytes inside a block of size 1,344 alloc'd
==12487== at 0x4C293B0: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x6435807: ??? (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x6436F4A: ??? (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x6437629: ??? (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x6437A61: ??? (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x62C3095: Assimp::BaseImporter::ReadFile(Assimp::Importer const*, std::string const&, Assimp::IOSystem*) (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x62D032D: Assimp::Importer::ReadFile(char const*, unsigned int) (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x642289: Assimp::Importer::ReadFile(std::string const&, unsigned int) (Importer.hpp:645)
==12487== by 0x641B55: SceneGraph::Loader::LoadCollision(std::string const&) (Loader.cpp:880)
==12487== by 0x63DD79: SceneGraph::Loader::CreateModel(SceneGraph::ModelDefinition&) (Loader.cpp:292)
==12487== by 0x63D0D9: SceneGraph::Loader::LoadModel(std::string const&, std::string const&) (Loader.cpp:192)
==12487== by 0x63CAB4: SceneGraph::Loader::LoadModel(std::string const&) (Loader.cpp:127)
==12487==
==12487== Use of uninitialised value of size 8
==12487== at 0x5EC92C: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>) (hashtable.h:2009)
==12487== by 0x5EBDD6: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash(unsigned long, unsigned long const&) (hashtable.h:1980)
==12487== by 0x5EA506: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_insert_unique_node(unsigned long, unsigned long, std::__detail::_Hash_node<std::pair<unsigned int const, Graphics::GL2::RenderState*>, false>*) (hashtable.h:1617)
==12487== by 0x5E8A90: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:604)
==12487== by 0x5E78BA: std::unordered_map<unsigned int, Graphics::GL2::RenderState*, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> > >::operator[](unsigned int const&) (unordered_map.h:627)
==12487== by 0x5E484E: Graphics::RendererGL2::CreateRenderState(Graphics::RenderStateDesc const&) (RendererGL2.cpp:697)
==12487== by 0x63BEF2: SceneGraph::Label3D::Label3D(Graphics::Renderer*, RefCountedPtr<Text::DistanceFieldFont>) (Label3D.cpp:28)
==12487== by 0x640832: SceneGraph::Loader::CreateLabel(SceneGraph::Group*, matrix4x4<float> const&) (Loader.cpp:700)
==12487== by 0x641225: SceneGraph::Loader::ConvertNodes(aiNode*, SceneGraph::Group*, std::vector<RefCountedPtr<SceneGraph::StaticGeometry>, std::allocator<RefCountedPtr<SceneGraph::StaticGeometry> > >&, matrix4x4<float> const&) (Loader.cpp:793)
==12487== by 0x64191F: SceneGraph::Loader::ConvertNodes(aiNode*, SceneGraph::Group*, std::vector<RefCountedPtr<SceneGraph::StaticGeometry>, std::allocator<RefCountedPtr<SceneGraph::StaticGeometry> > >&, matrix4x4<float> const&) (Loader.cpp:855)
==12487== by 0x63E49A: SceneGraph::Loader::LoadMesh(std::string const&, std::vector<SceneGraph::AnimDefinition, std::allocator<SceneGraph::AnimDefinition> > const&) (Loader.cpp:351)
==12487== by 0x63D8E4: SceneGraph::Loader::CreateModel(SceneGraph::ModelDefinition&) (Loader.cpp:251)
==12487==
==12487== Use of uninitialised value of size 8
==12487== at 0x5EC96A: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>) (hashtable.h:2013)
==12487== by 0x5EBDD6: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash(unsigned long, unsigned long const&) (hashtable.h:1980)
==12487== by 0x5EA506: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_insert_unique_node(unsigned long, unsigned long, std::__detail::_Hash_node<std::pair<unsigned int const, Graphics::GL2::RenderState*>, false>*) (hashtable.h:1617)
==12487== by 0x5E8A90: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:604)
==12487== by 0x5E78BA: std::unordered_map<unsigned int, Graphics::GL2::RenderState*, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> > >::operator[](unsigned int const&) (unordered_map.h:627)
==12487== by 0x5E484E: Graphics::RendererGL2::CreateRenderState(Graphics::RenderStateDesc const&) (RendererGL2.cpp:697)
==12487== by 0x63BEF2: SceneGraph::Label3D::Label3D(Graphics::Renderer*, RefCountedPtr<Text::DistanceFieldFont>) (Label3D.cpp:28)
==12487== by 0x640832: SceneGraph::Loader::CreateLabel(SceneGraph::Group*, matrix4x4<float> const&) (Loader.cpp:700)
==12487== by 0x641225: SceneGraph::Loader::ConvertNodes(aiNode*, SceneGraph::Group*, std::vector<RefCountedPtr<SceneGraph::StaticGeometry>, std::allocator<RefCountedPtr<SceneGraph::StaticGeometry> > >&, matrix4x4<float> const&) (Loader.cpp:793)
==12487== by 0x64191F: SceneGraph::Loader::ConvertNodes(aiNode*, SceneGraph::Group*, std::vector<RefCountedPtr<SceneGraph::StaticGeometry>, std::allocator<RefCountedPtr<SceneGraph::StaticGeometry> > >&, matrix4x4<float> const&) (Loader.cpp:855)
==12487== by 0x63E49A: SceneGraph::Loader::LoadMesh(std::string const&, std::vector<SceneGraph::AnimDefinition, std::allocator<SceneGraph::AnimDefinition> > const&) (Loader.cpp:351)
==12487== by 0x63D8E4: SceneGraph::Loader::CreateModel(SceneGraph::ModelDefinition&) (Loader.cpp:251)
==12487==
==12487== Use of uninitialised value of size 8
==12487== at 0x5EC990: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>) (hashtable.h:2015)
==12487== by 0x5EBDD6: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash(unsigned long, unsigned long const&) (hashtable.h:1980)
==12487== by 0x5EA506: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_insert_unique_node(unsigned long, unsigned long, std::__detail::_Hash_node<std::pair<unsigned int const, Graphics::GL2::RenderState*>, false>*) (hashtable.h:1617)
==12487== by 0x5E8A90: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:604)
==12487== by 0x5E78BA: std::unordered_map<unsigned int, Graphics::GL2::RenderState*, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> > >::operator[](unsigned int const&) (unordered_map.h:627)
==12487== by 0x5E484E: Graphics::RendererGL2::CreateRenderState(Graphics::RenderStateDesc const&) (RendererGL2.cpp:697)
==12487== by 0x63BEF2: SceneGraph::Label3D::Label3D(Graphics::Renderer*, RefCountedPtr<Text::DistanceFieldFont>) (Label3D.cpp:28)
==12487== by 0x640832: SceneGraph::Loader::CreateLabel(SceneGraph::Group*, matrix4x4<float> const&) (Loader.cpp:700)
==12487== by 0x641225: SceneGraph::Loader::ConvertNodes(aiNode*, SceneGraph::Group*, std::vector<RefCountedPtr<SceneGraph::StaticGeometry>, std::allocator<RefCountedPtr<SceneGraph::StaticGeometry> > >&, matrix4x4<float> const&) (Loader.cpp:793)
==12487== by 0x64191F: SceneGraph::Loader::ConvertNodes(aiNode*, SceneGraph::Group*, std::vector<RefCountedPtr<SceneGraph::StaticGeometry>, std::allocator<RefCountedPtr<SceneGraph::StaticGeometry> > >&, matrix4x4<float> const&) (Loader.cpp:855)
==12487== by 0x63E49A: SceneGraph::Loader::LoadMesh(std::string const&, std::vector<SceneGraph::AnimDefinition, std::allocator<SceneGraph::AnimDefinition> > const&) (Loader.cpp:351)
==12487== by 0x63D8E4: SceneGraph::Loader::CreateModel(SceneGraph::ModelDefinition&) (Loader.cpp:251)
==12487==
==12487== Source and destination overlap in memcpy(0xffefff9d0, 0xffefff9d0, 32)
==12487== at 0x4C2CC93: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x5650DB9: ??? (in /usr/lib/libSDL2-2.0.so.0.2.1)
==12487== by 0x56516F1: ??? (in /usr/lib/libSDL2-2.0.so.0.2.1)
==12487== by 0x569963: Sound::Init() (Sound.cpp:532)
==12487== by 0x4FF6C6: Pi::Init(std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, bool) (Pi.cpp:525)
==12487== by 0x5B967E: main (main.cpp:126)
==12487==
Loading took: 330313.273470 milliseconds
==12487== Use of uninitialised value of size 8
==12487== at 0x5EC9B0: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>) (hashtable.h:2020)
==12487== by 0x5EBDD6: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash(unsigned long, unsigned long const&) (hashtable.h:1980)
==12487== by 0x5EA506: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_insert_unique_node(unsigned long, unsigned long, std::__detail::_Hash_node<std::pair<unsigned int const, Graphics::GL2::RenderState*>, false>*) (hashtable.h:1617)
==12487== by 0x5E8A90: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:604)
==12487== by 0x5E78BA: std::unordered_map<unsigned int, Graphics::GL2::RenderState*, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> > >::operator[](unsigned int const&) (unordered_map.h:627)
==12487== by 0x5E484E: Graphics::RendererGL2::CreateRenderState(Graphics::RenderStateDesc const&) (RendererGL2.cpp:697)
==12487== by 0x63BEF2: SceneGraph::Label3D::Label3D(Graphics::Renderer*, RefCountedPtr<Text::DistanceFieldFont>) (Label3D.cpp:28)
==12487== by 0x640832: SceneGraph::Loader::CreateLabel(SceneGraph::Group*, matrix4x4<float> const&) (Loader.cpp:700)
==12487== by 0x641225: SceneGraph::Loader::ConvertNodes(aiNode*, SceneGraph::Group*, std::vector<RefCountedPtr<SceneGraph::StaticGeometry>, std::allocator<RefCountedPtr<SceneGraph::StaticGeometry> > >&, matrix4x4<float> const&) (Loader.cpp:793)
==12487== by 0x64191F: SceneGraph::Loader::ConvertNodes(aiNode*, SceneGraph::Group*, std::vector<RefCountedPtr<SceneGraph::StaticGeometry>, std::allocator<RefCountedPtr<SceneGraph::StaticGeometry> > >&, matrix4x4<float> const&) (Loader.cpp:855)
==12487== by 0x63E49A: SceneGraph::Loader::LoadMesh(std::string const&, std::vector<SceneGraph::AnimDefinition, std::allocator<SceneGraph::AnimDefinition> > const&) (Loader.cpp:351)
==12487== by 0x63D8E4: SceneGraph::Loader::CreateModel(SceneGraph::ModelDefinition&) (Loader.cpp:251)
==12487==
==12487== Use of uninitialised value of size 8
==12487== at 0x5EC9D0: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>) (hashtable.h:2021)
==12487== by 0x5EBDD6: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash(unsigned long, unsigned long const&) (hashtable.h:1980)
==12487== by 0x5EA506: std::_Hashtable<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_insert_unique_node(unsigned long, unsigned long, std::__detail::_Hash_node<std::pair<unsigned int const, Graphics::GL2::RenderState*>, false>*) (hashtable.h:1617)
==12487== by 0x5E8A90: std::__detail::_Map_base<unsigned int, std::pair<unsigned int const, Graphics::GL2::RenderState*>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> >, std::__detail::_Select1st, std::equal_to<unsigned int>, std::hash<unsigned int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned int const&) (hashtable_policy.h:604)
==12487== by 0x5E78BA: std::unordered_map<unsigned int, Graphics::GL2::RenderState*, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, Graphics::GL2::RenderState*> > >::operator[](unsigned int const&) (unordered_map.h:627)
==12487== by 0x5E484E: Graphics::RendererGL2::CreateRenderState(Graphics::RenderStateDesc const&) (RendererGL2.cpp:697)
==12487== by 0x63BEF2: SceneGraph::Label3D::Label3D(Graphics::Renderer*, RefCountedPtr<Text::DistanceFieldFont>) (Label3D.cpp:28)
==12487== by 0x640832: SceneGraph::Loader::CreateLabel(SceneGraph::Group*, matrix4x4<float> const&) (Loader.cpp:700)
==12487== by 0x641225: SceneGraph::Loader::ConvertNodes(aiNode*, SceneGraph::Group*, std::vector<RefCountedPtr<SceneGraph::StaticGeometry>, std::allocator<RefCountedPtr<SceneGraph::StaticGeometry> > >&, matrix4x4<float> const&) (Loader.cpp:793)
==12487== by 0x64191F: SceneGraph::Loader::ConvertNodes(aiNode*, SceneGraph::Group*, std::vector<RefCountedPtr<SceneGraph::StaticGeometry>, std::allocator<RefCountedPtr<SceneGraph::StaticGeometry> > >&, matrix4x4<float> const&) (Loader.cpp:855)
==12487== by 0x63E49A: SceneGraph::Loader::LoadMesh(std::string const&, std::vector<SceneGraph::AnimDefinition, std::allocator<SceneGraph::AnimDefinition> > const&) (Loader.cpp:351)
==12487== by 0x63D8E4: SceneGraph::Loader::CreateModel(SceneGraph::ModelDefinition&) (Loader.cpp:251)
==12487==
==12487== Mismatched free() / delete / delete []
==12487== at 0x4C29E6C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x631CA59: Assimp::RemoveVCProcess::ProcessMesh(aiMesh*) (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x631CD71: Assimp::RemoveVCProcess::Execute(aiScene*) (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x62C85CC: ??? (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x62CF0E0: Assimp::Importer::ApplyPostProcessing(unsigned int) (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x62D1081: Assimp::Importer::ReadFile(char const*, unsigned int) (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x642289: Assimp::Importer::ReadFile(std::string const&, unsigned int) (Importer.hpp:645)
==12487== by 0x63E30D: SceneGraph::Loader::LoadMesh(std::string const&, std::vector<SceneGraph::AnimDefinition, std::allocator<SceneGraph::AnimDefinition> > const&) (Loader.cpp:334)
==12487== by 0x63D8E4: SceneGraph::Loader::CreateModel(SceneGraph::ModelDefinition&) (Loader.cpp:251)
==12487== by 0x63D0D9: SceneGraph::Loader::LoadModel(std::string const&, std::string const&) (Loader.cpp:192)
==12487== by 0x63CAB4: SceneGraph::Loader::LoadModel(std::string const&) (Loader.cpp:127)
==12487== by 0x4E3209: ModelCache::FindModel(std::string const&) (ModelCache.cpp:26)
==12487== Address 0x1b1e1900 is 0 bytes inside a block of size 384 alloc'd
==12487== at 0x4C293B0: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x638CDBD: ??? (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x638E4AB: ??? (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x638F279: ??? (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x638F1B2: ??? (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x638F52B: ??? (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x62C3095: Assimp::BaseImporter::ReadFile(Assimp::Importer const*, std::string const&, Assimp::IOSystem*) (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x62D032D: Assimp::Importer::ReadFile(char const*, unsigned int) (in /usr/lib/libassimp.so.3.1.1)
==12487== by 0x642289: Assimp::Importer::ReadFile(std::string const&, unsigned int) (Importer.hpp:645)
==12487== by 0x63E30D: SceneGraph::Loader::LoadMesh(std::string const&, std::vector<SceneGraph::AnimDefinition, std::allocator<SceneGraph::AnimDefinition> > const&) (Loader.cpp:334)
==12487== by 0x63D8E4: SceneGraph::Loader::CreateModel(SceneGraph::ModelDefinition&) (Loader.cpp:251)
==12487== by 0x63D0D9: SceneGraph::Loader::LoadModel(std::string const&, std::string const&) (Loader.cpp:192)
==12487==
StarSystemCache: misses: 1, slave hits: 1, master hits: 0
SectorCache: misses: 100, slave hits: 0, master hits: 5
Sol:
height fractal: Ellipsoid
colour fractal: StarG
seed: 1685209112
Mercury:
height fractal: HillsCraters2
colour fractal: Rock
seed: 6
Venus:
height fractal: RuggedLava
colour fractal: Desert
seed: 1710384323
Earth:
height fractal: Mapped
colour fractal: EarthLikeHeightmapped
seed: 1717547535
Moon:
height fractal: Mapped2
colour fractal: Rock2
seed: 4294967291
Mars:
height fractal: MountainsRidged
colour fractal: TFPoor
seed: 4294967293
Phobos:
height fractal: Asteroid4
colour fractal: Asteroid
seed: 439771126
Deimos:
height fractal: Asteroid4
colour fractal: Asteroid
seed: 806180402
Warning: Lua custom Systems definition: Surface starport has been automatically relocated. This is in order to place it on flatter ground to reduce the chance of landing pads being buried. This is not an error as such and you may attempt to move the starport to another location by changing latitude and longitude fields.
Surface starport name: Tomm's Sanctuary, Body name: Deimos, In sector: x = 0, y = 0, z = 0.
Io:
height fractal: RuggedLava
colour fractal: Volcanic
seed: 4294967292
Warning: Lua custom Systems definition: Surface starport has been automatically relocated. This is in order to place it on flatter ground to reduce the chance of landing pads being buried. This is not an error as such and you may attempt to move the starport to another location by changing latitude and longitude fields.
Surface starport name: Dante's Base, Body name: Io, In sector: x = 0, y = 0, z = 0.
Europa:
height fractal: Barren Rock 2
colour fractal: Ice
seed: 2102431459
Ganymede:
height fractal: HillsNormal
colour fractal: Rock
seed: 3062955636
Warning: Lua custom Systems definition: Surface starport has been automatically relocated. This is in order to place it on flatter ground to reduce the chance of landing pads being buried. This is not an error as such and you may attempt to move the starport to another location by changing latitude and longitude fields.
Surface starport name: Enki Catena, Body name: Ganymede, In sector: x = 0, y = 0, z = 0.
Callisto:
height fractal: MountainsCraters2
colour fractal: Rock
seed: 1272712740
Dione:
height fractal: Barren Rock 3
colour fractal: Rock
seed: 3732948941
Rhea:
height fractal: RuggedDesert
colour fractal: Rock
seed: 1174493206
Titan:
height fractal: MountainsVolcano
colour fractal: Desert
seed: 0
Iapetus:
height fractal: Barren Rock 3
colour fractal: Rock
seed: 3650944653
Ariel:
height fractal: MountainsCraters2
colour fractal: Rock
seed: 3952866153
Umbriel:
height fractal: Barren Rock 3
colour fractal: Rock
seed: 699943475
Titania:
height fractal: Barren Rock 3
colour fractal: Rock
seed: 2461415048
Oberon:
height fractal: MountainsCraters2
colour fractal: Rock
seed: 663490636
Proteus:
height fractal: Asteroid4
colour fractal: BandedRock
seed: 1251043226
Triton:
height fractal: Barren Rock 3
colour fractal: Rock
seed: 1155973133
Nereid:
height fractal: Asteroid4
colour fractal: BandedRock
seed: 3055461756
Pluto:
height fractal: HillsCraters2
colour fractal: Rock
seed: 3037711761
Charon:
height fractal: HillsCraters2
colour fractal: Rock
seed: 2191294907
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
CK-1306 AICompleted: Error: GRAV_TOO_HIGH Status: inbound
==12487== Mismatched free() / delete / delete []
==12487== at 0x4C29E6C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x47F0E9: std::default_delete<vector3<double> >::operator()(vector3<double>*) const (unique_ptr.h:76)
==12487== by 0x47E454: std::unique_ptr<vector3<double>, std::default_delete<vector3<double> > >::~unique_ptr() (unique_ptr.h:236)
==12487== by 0x482715: SSingleSplitRequest::~SSingleSplitRequest() (GeoPatchJobs.h:81)
==12487== by 0x482757: std::default_delete<SSingleSplitRequest>::operator()(SSingleSplitRequest*) const (unique_ptr.h:76)
==12487== by 0x4823FE: std::unique_ptr<SSingleSplitRequest, std::default_delete<SSingleSplitRequest> >::~unique_ptr() (unique_ptr.h:236)
==12487== by 0x48128E: SinglePatchJob::~SinglePatchJob() (GeoPatchJobs.cpp:114)
==12487== by 0x4812C9: SinglePatchJob::~SinglePatchJob() (GeoPatchJobs.cpp:121)
==12487== by 0x494AA4: AsyncJobQueue::FinishJobs() (JobQueue.cpp:222)
==12487== by 0x502E10: Pi::MainLoop() (Pi.cpp:1281)
==12487== by 0x50218C: Pi::Start() (Pi.cpp:1084)
==12487== by 0x5B9689: main (main.cpp:128)
==12487== Address 0x1201ffd0 is 0 bytes inside a block of size 6,936 alloc'd
==12487== at 0x4C293B0: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x47DD07: SSingleSplitRequest::SSingleSplitRequest(vector3<double> const&, vector3<double> const&, vector3<double> const&, vector3<double> const&, vector3<double> const&, unsigned int, SystemPath const&, GeoPatchID const&, int, double, Terrain*) (GeoPatchJobs.h:95)
==12487== by 0x47C35F: GeoPatch::RequestSinglePatch() (GeoPatch.cpp:204)
==12487== by 0x484071: GeoSphere::BuildFirstPatches() (GeoSphere.cpp:304)
==12487== by 0x48416C: GeoSphere::Update() (GeoSphere.cpp:315)
==12487== by 0x482C7D: GeoSphere::UpdateAllGeoSpheres() (GeoSphere.cpp:69)
==12487== by 0x412718: BaseSphere::UpdateAllBaseSphereDerivatives() (BaseSphere.cpp:30)
==12487== by 0x502584: Pi::MainLoop() (Pi.cpp:1162)
==12487== by 0x50218C: Pi::Start() (Pi.cpp:1084)
==12487== by 0x5B9689: main (main.cpp:128)
==12487==
==12487== Mismatched free() / delete / delete []
==12487== at 0x4C29E6C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x47F055: std::default_delete<double>::operator()(double*) const (unique_ptr.h:76)
==12487== by 0x47E3AC: std::unique_ptr<double, std::default_delete<double> >::~unique_ptr() (unique_ptr.h:236)
==12487== by 0x482727: SSingleSplitRequest::~SSingleSplitRequest() (GeoPatchJobs.h:81)
==12487== by 0x482757: std::default_delete<SSingleSplitRequest>::operator()(SSingleSplitRequest*) const (unique_ptr.h:76)
==12487== by 0x4823FE: std::unique_ptr<SSingleSplitRequest, std::default_delete<SSingleSplitRequest> >::~unique_ptr() (unique_ptr.h:236)
==12487== by 0x48128E: SinglePatchJob::~SinglePatchJob() (GeoPatchJobs.cpp:114)
==12487== by 0x4812C9: SinglePatchJob::~SinglePatchJob() (GeoPatchJobs.cpp:121)
==12487== by 0x494AA4: AsyncJobQueue::FinishJobs() (JobQueue.cpp:222)
==12487== by 0x502E10: Pi::MainLoop() (Pi.cpp:1281)
==12487== by 0x50218C: Pi::Start() (Pi.cpp:1084)
==12487== by 0x5B9689: main (main.cpp:128)
==12487== Address 0x285e9150 is 0 bytes inside a block of size 2,312 alloc'd
==12487== at 0x4C293B0: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x47DCB8: SSingleSplitRequest::SSingleSplitRequest(vector3<double> const&, vector3<double> const&, vector3<double> const&, vector3<double> const&, vector3<double> const&, unsigned int, SystemPath const&, GeoPatchID const&, int, double, Terrain*) (GeoPatchJobs.h:94)
==12487== by 0x47C35F: GeoPatch::RequestSinglePatch() (GeoPatch.cpp:204)
==12487== by 0x484071: GeoSphere::BuildFirstPatches() (GeoSphere.cpp:304)
==12487== by 0x48416C: GeoSphere::Update() (GeoSphere.cpp:315)
==12487== by 0x482C7D: GeoSphere::UpdateAllGeoSpheres() (GeoSphere.cpp:69)
==12487== by 0x412718: BaseSphere::UpdateAllBaseSphereDerivatives() (BaseSphere.cpp:30)
==12487== by 0x502584: Pi::MainLoop() (Pi.cpp:1162)
==12487== by 0x50218C: Pi::Start() (Pi.cpp:1084)
==12487== by 0x5B9689: main (main.cpp:128)
==12487==
==12487== Invalid write of size 8
==12487== at 0x74587D: lua_getfield (lapi.c:632)
==12487== by 0x4CDBD6: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:72)
==12487== by 0x4CE193: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:166)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== by 0x56F6C0: Space::Serialize(Serializer::Writer&) (Space.cpp:167)
==12487== Address 0x1117b300 is 0 bytes after a block of size 1,248 alloc'd
==12487== at 0x4C2AA3E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x75CC9E: l_alloc (lauxlib.c:926)
==12487== by 0x74DF40: luaM_realloc_ (lmem.c:84)
==12487== by 0x748ABA: luaD_reallocstack (ldo.c:166)
==12487== by 0x748BF3: luaD_growstack (ldo.c:189)
==12487== by 0x7491AC: luaD_precall (ldo.c:307)
==12487== by 0x7496BF: luaD_call (ldo.c:394)
==12487== by 0x74CD79: dothecall (lgc.c:798)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x74CEE2: GCTM (lgc.c:817)
==12487== by 0x74DC66: luaC_forcestep (lgc.c:1163)
==12487==
==12487== Invalid write of size 4
==12487== at 0x745892: lua_getfield (lapi.c:632)
==12487== by 0x4CDBD6: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:72)
==12487== by 0x4CE193: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:166)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== by 0x56F6C0: Space::Serialize(Serializer::Writer&) (Space.cpp:167)
==12487== Address 0x1117b308 is 8 bytes after a block of size 1,248 alloc'd
==12487== at 0x4C2AA3E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x75CC9E: l_alloc (lauxlib.c:926)
==12487== by 0x74DF40: luaM_realloc_ (lmem.c:84)
==12487== by 0x748ABA: luaD_reallocstack (ldo.c:166)
==12487== by 0x748BF3: luaD_growstack (ldo.c:189)
==12487== by 0x7491AC: luaD_precall (ldo.c:307)
==12487== by 0x7496BF: luaD_call (ldo.c:394)
==12487== by 0x74CD79: dothecall (lgc.c:798)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x74CEE2: GCTM (lgc.c:817)
==12487== by 0x74DC66: luaC_forcestep (lgc.c:1163)
==12487==
==12487== Invalid read of size 4
==12487== at 0x755611: luaH_get (ltable.c:482)
==12487== by 0x756CDF: luaV_gettable (lvm.c:116)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDBD6: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:72)
==12487== by 0x4CE193: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:166)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== Address 0x1117b308 is 8 bytes after a block of size 1,248 alloc'd
==12487== at 0x4C2AA3E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x75CC9E: l_alloc (lauxlib.c:926)
==12487== by 0x74DF40: luaM_realloc_ (lmem.c:84)
==12487== by 0x748ABA: luaD_reallocstack (ldo.c:166)
==12487== by 0x748BF3: luaD_growstack (ldo.c:189)
==12487== by 0x7491AC: luaD_precall (ldo.c:307)
==12487== by 0x7496BF: luaD_call (ldo.c:394)
==12487== by 0x74CD79: dothecall (lgc.c:798)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x74CEE2: GCTM (lgc.c:817)
==12487== by 0x74DC66: luaC_forcestep (lgc.c:1163)
==12487==
==12487== Invalid read of size 8
==12487== at 0x75562B: luaH_get (ltable.c:483)
==12487== by 0x756CDF: luaV_gettable (lvm.c:116)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDBD6: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:72)
==12487== by 0x4CE193: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:166)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== Address 0x1117b300 is 0 bytes after a block of size 1,248 alloc'd
==12487== at 0x4C2AA3E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x75CC9E: l_alloc (lauxlib.c:926)
==12487== by 0x74DF40: luaM_realloc_ (lmem.c:84)
==12487== by 0x748ABA: luaD_reallocstack (ldo.c:166)
==12487== by 0x748BF3: luaD_growstack (ldo.c:189)
==12487== by 0x7491AC: luaD_precall (ldo.c:307)
==12487== by 0x7496BF: luaD_call (ldo.c:394)
==12487== by 0x74CD79: dothecall (lgc.c:798)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x74CEE2: GCTM (lgc.c:817)
==12487== by 0x74DC66: luaC_forcestep (lgc.c:1163)
==12487==
==12487== Invalid write of size 8
==12487== at 0x756D6A: luaV_gettable (lvm.c:119)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDBD6: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:72)
==12487== by 0x4CE193: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:166)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b300 is 0 bytes after a block of size 1,248 alloc'd
==12487== at 0x4C2AA3E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x75CC9E: l_alloc (lauxlib.c:926)
==12487== by 0x74DF40: luaM_realloc_ (lmem.c:84)
==12487== by 0x748ABA: luaD_reallocstack (ldo.c:166)
==12487== by 0x748BF3: luaD_growstack (ldo.c:189)
==12487== by 0x7491AC: luaD_precall (ldo.c:307)
==12487== by 0x7496BF: luaD_call (ldo.c:394)
==12487== by 0x74CD79: dothecall (lgc.c:798)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x74CEE2: GCTM (lgc.c:817)
==12487== by 0x74DC66: luaC_forcestep (lgc.c:1163)
==12487==
==12487== Invalid write of size 4
==12487== at 0x756D78: luaV_gettable (lvm.c:119)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDBD6: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:72)
==12487== by 0x4CE193: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:166)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b308 is 8 bytes after a block of size 1,248 alloc'd
==12487== at 0x4C2AA3E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x75CC9E: l_alloc (lauxlib.c:926)
==12487== by 0x74DF40: luaM_realloc_ (lmem.c:84)
==12487== by 0x748ABA: luaD_reallocstack (ldo.c:166)
==12487== by 0x748BF3: luaD_growstack (ldo.c:189)
==12487== by 0x7491AC: luaD_precall (ldo.c:307)
==12487== by 0x7496BF: luaD_call (ldo.c:394)
==12487== by 0x74CD79: dothecall (lgc.c:798)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x74CEE2: GCTM (lgc.c:817)
==12487== by 0x74DC66: luaC_forcestep (lgc.c:1163)
==12487==
==12487== Invalid read of size 4
==12487== at 0x744884: lua_type (lapi.c:251)
==12487== by 0x4CDBEA: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:73)
==12487== by 0x4CE193: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:166)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== by 0x56F6C0: Space::Serialize(Serializer::Writer&) (Space.cpp:167)
==12487== Address 0x1117b308 is 8 bytes after a block of size 1,248 alloc'd
==12487== at 0x4C2AA3E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x75CC9E: l_alloc (lauxlib.c:926)
==12487== by 0x74DF40: luaM_realloc_ (lmem.c:84)
==12487== by 0x748ABA: luaD_reallocstack (ldo.c:166)
==12487== by 0x748BF3: luaD_growstack (ldo.c:189)
==12487== by 0x7491AC: luaD_precall (ldo.c:307)
==12487== by 0x7496BF: luaD_call (ldo.c:394)
==12487== by 0x74CD79: dothecall (lgc.c:798)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x74CEE2: GCTM (lgc.c:817)
==12487== by 0x74DC66: luaC_forcestep (lgc.c:1163)
==12487==
==12487== Invalid write of size 8
==12487== at 0x74587D: lua_getfield (lapi.c:632)
==12487== by 0x4CDBD6: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:72)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== by 0x56F6C0: Space::Serialize(Serializer::Writer&) (Space.cpp:167)
==12487== Address 0x1117b300 is 0 bytes after a block of size 1,248 alloc'd
==12487== at 0x4C2AA3E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x75CC9E: l_alloc (lauxlib.c:926)
==12487== by 0x74DF40: luaM_realloc_ (lmem.c:84)
==12487== by 0x748ABA: luaD_reallocstack (ldo.c:166)
==12487== by 0x748BF3: luaD_growstack (ldo.c:189)
==12487== by 0x7491AC: luaD_precall (ldo.c:307)
==12487== by 0x7496BF: luaD_call (ldo.c:394)
==12487== by 0x74CD79: dothecall (lgc.c:798)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x74CEE2: GCTM (lgc.c:817)
==12487== by 0x74DC66: luaC_forcestep (lgc.c:1163)
==12487==
==12487== Invalid write of size 4
==12487== at 0x745892: lua_getfield (lapi.c:632)
==12487== by 0x4CDBD6: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:72)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== by 0x56F6C0: Space::Serialize(Serializer::Writer&) (Space.cpp:167)
==12487== Address 0x1117b308 is 8 bytes after a block of size 1,248 alloc'd
==12487== at 0x4C2AA3E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x75CC9E: l_alloc (lauxlib.c:926)
==12487== by 0x74DF40: luaM_realloc_ (lmem.c:84)
==12487== by 0x748ABA: luaD_reallocstack (ldo.c:166)
==12487== by 0x748BF3: luaD_growstack (ldo.c:189)
==12487== by 0x7491AC: luaD_precall (ldo.c:307)
==12487== by 0x7496BF: luaD_call (ldo.c:394)
==12487== by 0x74CD79: dothecall (lgc.c:798)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x74CEE2: GCTM (lgc.c:817)
==12487== by 0x74DC66: luaC_forcestep (lgc.c:1163)
==12487==
==12487== Invalid write of size 8
==12487== at 0x756D6A: luaV_gettable (lvm.c:119)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDBD6: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:72)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b300 is 0 bytes after a block of size 1,248 alloc'd
==12487== at 0x4C2AA3E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x75CC9E: l_alloc (lauxlib.c:926)
==12487== by 0x74DF40: luaM_realloc_ (lmem.c:84)
==12487== by 0x748ABA: luaD_reallocstack (ldo.c:166)
==12487== by 0x748BF3: luaD_growstack (ldo.c:189)
==12487== by 0x7491AC: luaD_precall (ldo.c:307)
==12487== by 0x7496BF: luaD_call (ldo.c:394)
==12487== by 0x74CD79: dothecall (lgc.c:798)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x74CEE2: GCTM (lgc.c:817)
==12487== by 0x74DC66: luaC_forcestep (lgc.c:1163)
==12487==
==12487== Invalid write of size 4
==12487== at 0x756D78: luaV_gettable (lvm.c:119)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDBD6: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:72)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b308 is 8 bytes after a block of size 1,248 alloc'd
==12487== at 0x4C2AA3E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x75CC9E: l_alloc (lauxlib.c:926)
==12487== by 0x74DF40: luaM_realloc_ (lmem.c:84)
==12487== by 0x748ABA: luaD_reallocstack (ldo.c:166)
==12487== by 0x748BF3: luaD_growstack (ldo.c:189)
==12487== by 0x7491AC: luaD_precall (ldo.c:307)
==12487== by 0x7496BF: luaD_call (ldo.c:394)
==12487== by 0x74CD79: dothecall (lgc.c:798)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x74CEE2: GCTM (lgc.c:817)
==12487== by 0x74DC66: luaC_forcestep (lgc.c:1163)
==12487==
==12487== Invalid read of size 4
==12487== at 0x744884: lua_type (lapi.c:251)
==12487== by 0x4CDBEA: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:73)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== by 0x56F6C0: Space::Serialize(Serializer::Writer&) (Space.cpp:167)
==12487== Address 0x1117b308 is 8 bytes after a block of size 1,248 alloc'd
==12487== at 0x4C2AA3E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x75CC9E: l_alloc (lauxlib.c:926)
==12487== by 0x74DF40: luaM_realloc_ (lmem.c:84)
==12487== by 0x748ABA: luaD_reallocstack (ldo.c:166)
==12487== by 0x748BF3: luaD_growstack (ldo.c:189)
==12487== by 0x7491AC: luaD_precall (ldo.c:307)
==12487== by 0x7496BF: luaD_call (ldo.c:394)
==12487== by 0x74CD79: dothecall (lgc.c:798)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x74CEE2: GCTM (lgc.c:817)
==12487== by 0x74DC66: luaC_forcestep (lgc.c:1163)
==12487==
==12487== Invalid read of size 4
==12487== at 0x744EC5: lua_tolstring (lapi.c:391)
==12487== by 0x4CDC25: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:77)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== by 0x56F6C0: Space::Serialize(Serializer::Writer&) (Space.cpp:167)
==12487== Address 0x1117b308 is 8 bytes after a block of size 1,248 alloc'd
==12487== at 0x4C2AA3E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x75CC9E: l_alloc (lauxlib.c:926)
==12487== by 0x74DF40: luaM_realloc_ (lmem.c:84)
==12487== by 0x748ABA: luaD_reallocstack (ldo.c:166)
==12487== by 0x748BF3: luaD_growstack (ldo.c:189)
==12487== by 0x7491AC: luaD_precall (ldo.c:307)
==12487== by 0x7496BF: luaD_call (ldo.c:394)
==12487== by 0x74CD79: dothecall (lgc.c:798)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x74CEE2: GCTM (lgc.c:817)
==12487== by 0x74DC66: luaC_forcestep (lgc.c:1163)
==12487==
==12487== Invalid read of size 8
==12487== at 0x744F4F: lua_tolstring (lapi.c:403)
==12487== by 0x4CDC25: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:77)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== by 0x56F6C0: Space::Serialize(Serializer::Writer&) (Space.cpp:167)
==12487== Address 0x1117b300 is 0 bytes after a block of size 1,248 alloc'd
==12487== at 0x4C2AA3E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x75CC9E: l_alloc (lauxlib.c:926)
==12487== by 0x74DF40: luaM_realloc_ (lmem.c:84)
==12487== by 0x748ABA: luaD_reallocstack (ldo.c:166)
==12487== by 0x748BF3: luaD_growstack (ldo.c:189)
==12487== by 0x7491AC: luaD_precall (ldo.c:307)
==12487== by 0x7496BF: luaD_call (ldo.c:394)
==12487== by 0x74CD79: dothecall (lgc.c:798)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x74CEE2: GCTM (lgc.c:817)
==12487== by 0x74DC66: luaC_forcestep (lgc.c:1163)
==12487==
==12487== Invalid write of size 8
==12487== at 0x74587D: lua_getfield (lapi.c:632)
==12487== by 0x4CDC62: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:80)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== by 0x56F6C0: Space::Serialize(Serializer::Writer&) (Space.cpp:167)
==12487== Address 0x1117b310 is 16 bytes after a block of size 1,248 alloc'd
==12487== at 0x4C2AA3E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x75CC9E: l_alloc (lauxlib.c:926)
==12487== by 0x74DF40: luaM_realloc_ (lmem.c:84)
==12487== by 0x748ABA: luaD_reallocstack (ldo.c:166)
==12487== by 0x748BF3: luaD_growstack (ldo.c:189)
==12487== by 0x7491AC: luaD_precall (ldo.c:307)
==12487== by 0x7496BF: luaD_call (ldo.c:394)
==12487== by 0x74CD79: dothecall (lgc.c:798)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x74CEE2: GCTM (lgc.c:817)
==12487== by 0x74DC66: luaC_forcestep (lgc.c:1163)
==12487==
==12487== Invalid write of size 4
==12487== at 0x745892: lua_getfield (lapi.c:632)
==12487== by 0x4CDC62: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:80)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== by 0x56F6C0: Space::Serialize(Serializer::Writer&) (Space.cpp:167)
==12487== Address 0x1117b318 is not stack'd, malloc'd or (recently) free'd
==12487==
==12487== Invalid read of size 4
==12487== at 0x755611: luaH_get (ltable.c:482)
==12487== by 0x756CDF: luaV_gettable (lvm.c:116)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDC62: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:80)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== Address 0x1117b318 is not stack'd, malloc'd or (recently) free'd
==12487==
==12487== Invalid read of size 8
==12487== at 0x75562B: luaH_get (ltable.c:483)
==12487== by 0x756CDF: luaV_gettable (lvm.c:116)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDC62: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:80)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== Address 0x1117b310 is 16 bytes after a block of size 1,248 alloc'd
==12487== at 0x4C2AA3E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x75CC9E: l_alloc (lauxlib.c:926)
==12487== by 0x74DF40: luaM_realloc_ (lmem.c:84)
==12487== by 0x748ABA: luaD_reallocstack (ldo.c:166)
==12487== by 0x748BF3: luaD_growstack (ldo.c:189)
==12487== by 0x7491AC: luaD_precall (ldo.c:307)
==12487== by 0x7496BF: luaD_call (ldo.c:394)
==12487== by 0x74CD79: dothecall (lgc.c:798)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x74CEE2: GCTM (lgc.c:817)
==12487== by 0x74DC66: luaC_forcestep (lgc.c:1163)
==12487==
==12487== Invalid write of size 8
==12487== at 0x756D6A: luaV_gettable (lvm.c:119)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDC62: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:80)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b310 is 16 bytes after a block of size 1,248 alloc'd
==12487== at 0x4C2AA3E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x75CC9E: l_alloc (lauxlib.c:926)
==12487== by 0x74DF40: luaM_realloc_ (lmem.c:84)
==12487== by 0x748ABA: luaD_reallocstack (ldo.c:166)
==12487== by 0x748BF3: luaD_growstack (ldo.c:189)
==12487== by 0x7491AC: luaD_precall (ldo.c:307)
==12487== by 0x7496BF: luaD_call (ldo.c:394)
==12487== by 0x74CD79: dothecall (lgc.c:798)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x74CEE2: GCTM (lgc.c:817)
==12487== by 0x74DC66: luaC_forcestep (lgc.c:1163)
==12487==
==12487== Invalid write of size 4
==12487== at 0x756D78: luaV_gettable (lvm.c:119)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDC62: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:80)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b318 is not stack'd, malloc'd or (recently) free'd
==12487==
==12487== Invalid write of size 8
==12487== at 0x74587D: lua_getfield (lapi.c:632)
==12487== by 0x4CDC7A: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:82)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== by 0x56F6C0: Space::Serialize(Serializer::Writer&) (Space.cpp:167)
==12487== Address 0x1117b320 is not stack'd, malloc'd or (recently) free'd
==12487==
==12487== Invalid write of size 4
==12487== at 0x745892: lua_getfield (lapi.c:632)
==12487== by 0x4CDC7A: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:82)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== by 0x56F6C0: Space::Serialize(Serializer::Writer&) (Space.cpp:167)
==12487== Address 0x1117b328 is not stack'd, malloc'd or (recently) free'd
==12487==
==12487== Invalid read of size 4
==12487== at 0x756CB6: luaV_gettable (lvm.c:114)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDC7A: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:82)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b318 is not stack'd, malloc'd or (recently) free'd
==12487==
==12487== Invalid read of size 8
==12487== at 0x756CC6: luaV_gettable (lvm.c:115)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDC7A: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:82)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b310 is 16 bytes after a block of size 1,248 alloc'd
==12487== at 0x4C2AA3E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x75CC9E: l_alloc (lauxlib.c:926)
==12487== by 0x74DF40: luaM_realloc_ (lmem.c:84)
==12487== by 0x748ABA: luaD_reallocstack (ldo.c:166)
==12487== by 0x748BF3: luaD_growstack (ldo.c:189)
==12487== by 0x7491AC: luaD_precall (ldo.c:307)
==12487== by 0x7496BF: luaD_call (ldo.c:394)
==12487== by 0x74CD79: dothecall (lgc.c:798)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x74CEE2: GCTM (lgc.c:817)
==12487== by 0x74DC66: luaC_forcestep (lgc.c:1163)
==12487==
==12487== Invalid read of size 4
==12487== at 0x755611: luaH_get (ltable.c:482)
==12487== by 0x756CDF: luaV_gettable (lvm.c:116)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDC7A: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:82)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== Address 0x1117b328 is not stack'd, malloc'd or (recently) free'd
==12487==
==12487== Invalid read of size 8
==12487== at 0x75562B: luaH_get (ltable.c:483)
==12487== by 0x756CDF: luaV_gettable (lvm.c:116)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDC7A: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:82)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== Address 0x1117b320 is not stack'd, malloc'd or (recently) free'd
==12487==
==12487== Invalid write of size 8
==12487== at 0x756D6A: luaV_gettable (lvm.c:119)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDC7A: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:82)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b320 is not stack'd, malloc'd or (recently) free'd
==12487==
==12487== Invalid write of size 4
==12487== at 0x756D78: luaV_gettable (lvm.c:119)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDC7A: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:82)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b328 is not stack'd, malloc'd or (recently) free'd
==12487==
==12487== Invalid read of size 4
==12487== at 0x744884: lua_type (lapi.c:251)
==12487== by 0x4CDC8E: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:83)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== by 0x56F6C0: Space::Serialize(Serializer::Writer&) (Space.cpp:167)
==12487== Address 0x1117b328 is not stack'd, malloc'd or (recently) free'd
==12487==
==12487== Invalid write of size 8
==12487== at 0x74587D: lua_getfield (lapi.c:632)
==12487== by 0x4CDCCD: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:86)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== by 0x56F6C0: Space::Serialize(Serializer::Writer&) (Space.cpp:167)
==12487== Address 0x1117b330 is not stack'd, malloc'd or (recently) free'd
==12487==
==12487== Invalid write of size 4
==12487== at 0x745892: lua_getfield (lapi.c:632)
==12487== by 0x4CDCCD: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:86)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== by 0x56F6C0: Space::Serialize(Serializer::Writer&) (Space.cpp:167)
==12487== Address 0x1117b338 is 24 bytes before a block of size 430 free'd
==12487== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x456414: FileSystem::FileDataMalloc::~FileDataMalloc() (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45644F: FileSystem::FileDataMalloc::~FileDataMalloc() (FileSystem.h:149)
==12487== by 0x40C46F: RefCounted::DecRefCount() const (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45C57A: RefCountedPtr<FileSystem::FileData>::~RefCountedPtr() (RefCounted.h:51)
==12487== by 0x515E44: LoadSurfaceFromFile(std::string const&, FileSystem::FileSource&) (SDLWrappers.cpp:24)
==12487== by 0x515E93: LoadSurfaceFromFile(std::string const&) (SDLWrappers.cpp:29)
==12487== by 0x5F2ED9: Graphics::TextureBuilder::LoadSurface() (TextureBuilder.cpp:208)
==12487== by 0x5F24E8: Graphics::TextureBuilder::PrepareSurface() (TextureBuilder.cpp:97)
==12487== by 0x41084D: Graphics::TextureBuilder::GetDescriptor() (TextureBuilder.h:40)
==12487== by 0x6C6A24: UI::Image::Image(UI::Context*, std::string const&, unsigned int) (Image.cpp:15)
==12487== by 0x6E0398: UI::Context::Image(std::string const&, unsigned int) (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487==
==12487== Invalid read of size 4
==12487== at 0x756CB6: luaV_gettable (lvm.c:114)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDCCD: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:86)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b328 is not stack'd, malloc'd or (recently) free'd
==12487==
==12487== Invalid read of size 8
==12487== at 0x756CC6: luaV_gettable (lvm.c:115)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDCCD: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:86)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b320 is not stack'd, malloc'd or (recently) free'd
==12487==
==12487== Invalid read of size 4
==12487== at 0x755611: luaH_get (ltable.c:482)
==12487== by 0x756CDF: luaV_gettable (lvm.c:116)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDCCD: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:86)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== Address 0x1117b338 is 24 bytes before a block of size 430 free'd
==12487== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x456414: FileSystem::FileDataMalloc::~FileDataMalloc() (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45644F: FileSystem::FileDataMalloc::~FileDataMalloc() (FileSystem.h:149)
==12487== by 0x40C46F: RefCounted::DecRefCount() const (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45C57A: RefCountedPtr<FileSystem::FileData>::~RefCountedPtr() (RefCounted.h:51)
==12487== by 0x515E44: LoadSurfaceFromFile(std::string const&, FileSystem::FileSource&) (SDLWrappers.cpp:24)
==12487== by 0x515E93: LoadSurfaceFromFile(std::string const&) (SDLWrappers.cpp:29)
==12487== by 0x5F2ED9: Graphics::TextureBuilder::LoadSurface() (TextureBuilder.cpp:208)
==12487== by 0x5F24E8: Graphics::TextureBuilder::PrepareSurface() (TextureBuilder.cpp:97)
==12487== by 0x41084D: Graphics::TextureBuilder::GetDescriptor() (TextureBuilder.h:40)
==12487== by 0x6C6A24: UI::Image::Image(UI::Context*, std::string const&, unsigned int) (Image.cpp:15)
==12487== by 0x6E0398: UI::Context::Image(std::string const&, unsigned int) (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487==
==12487== Invalid read of size 8
==12487== at 0x75562B: luaH_get (ltable.c:483)
==12487== by 0x756CDF: luaV_gettable (lvm.c:116)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDCCD: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:86)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== Address 0x1117b330 is not stack'd, malloc'd or (recently) free'd
==12487==
==12487== Invalid write of size 8
==12487== at 0x756D6A: luaV_gettable (lvm.c:119)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDCCD: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:86)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b330 is not stack'd, malloc'd or (recently) free'd
==12487==
==12487== Invalid write of size 4
==12487== at 0x756D78: luaV_gettable (lvm.c:119)
==12487== by 0x7458D0: lua_getfield (lapi.c:634)
==12487== by 0x4CDCCD: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:86)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b338 is 24 bytes before a block of size 430 free'd
==12487== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x456414: FileSystem::FileDataMalloc::~FileDataMalloc() (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45644F: FileSystem::FileDataMalloc::~FileDataMalloc() (FileSystem.h:149)
==12487== by 0x40C46F: RefCounted::DecRefCount() const (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45C57A: RefCountedPtr<FileSystem::FileData>::~RefCountedPtr() (RefCounted.h:51)
==12487== by 0x515E44: LoadSurfaceFromFile(std::string const&, FileSystem::FileSource&) (SDLWrappers.cpp:24)
==12487== by 0x515E93: LoadSurfaceFromFile(std::string const&) (SDLWrappers.cpp:29)
==12487== by 0x5F2ED9: Graphics::TextureBuilder::LoadSurface() (TextureBuilder.cpp:208)
==12487== by 0x5F24E8: Graphics::TextureBuilder::PrepareSurface() (TextureBuilder.cpp:97)
==12487== by 0x41084D: Graphics::TextureBuilder::GetDescriptor() (TextureBuilder.h:40)
==12487== by 0x6C6A24: UI::Image::Image(UI::Context*, std::string const&, unsigned int) (Image.cpp:15)
==12487== by 0x6E0398: UI::Context::Image(std::string const&, unsigned int) (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487==
==12487== Invalid read of size 4
==12487== at 0x744884: lua_type (lapi.c:251)
==12487== by 0x4CDCE1: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:87)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== by 0x56F6C0: Space::Serialize(Serializer::Writer&) (Space.cpp:167)
==12487== Address 0x1117b338 is 24 bytes before a block of size 430 free'd
==12487== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x456414: FileSystem::FileDataMalloc::~FileDataMalloc() (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45644F: FileSystem::FileDataMalloc::~FileDataMalloc() (FileSystem.h:149)
==12487== by 0x40C46F: RefCounted::DecRefCount() const (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45C57A: RefCountedPtr<FileSystem::FileData>::~RefCountedPtr() (RefCounted.h:51)
==12487== by 0x515E44: LoadSurfaceFromFile(std::string const&, FileSystem::FileSource&) (SDLWrappers.cpp:24)
==12487== by 0x515E93: LoadSurfaceFromFile(std::string const&) (SDLWrappers.cpp:29)
==12487== by 0x5F2ED9: Graphics::TextureBuilder::LoadSurface() (TextureBuilder.cpp:208)
==12487== by 0x5F24E8: Graphics::TextureBuilder::PrepareSurface() (TextureBuilder.cpp:97)
==12487== by 0x41084D: Graphics::TextureBuilder::GetDescriptor() (TextureBuilder.h:40)
==12487== by 0x6C6A24: UI::Image::Image(UI::Context*, std::string const&, unsigned int) (Image.cpp:15)
==12487== by 0x6E0398: UI::Context::Image(std::string const&, unsigned int) (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487==
==12487== Invalid write of size 8
==12487== at 0x74482B: lua_pushvalue (lapi.c:237)
==12487== by 0x4CDD1E: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:90)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== by 0x56F6C0: Space::Serialize(Serializer::Writer&) (Space.cpp:167)
==12487== Address 0x1117b340 is 16 bytes before a block of size 430 free'd
==12487== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x456414: FileSystem::FileDataMalloc::~FileDataMalloc() (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45644F: FileSystem::FileDataMalloc::~FileDataMalloc() (FileSystem.h:149)
==12487== by 0x40C46F: RefCounted::DecRefCount() const (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45C57A: RefCountedPtr<FileSystem::FileData>::~RefCountedPtr() (RefCounted.h:51)
==12487== by 0x515E44: LoadSurfaceFromFile(std::string const&, FileSystem::FileSource&) (SDLWrappers.cpp:24)
==12487== by 0x515E93: LoadSurfaceFromFile(std::string const&) (SDLWrappers.cpp:29)
==12487== by 0x5F2ED9: Graphics::TextureBuilder::LoadSurface() (TextureBuilder.cpp:208)
==12487== by 0x5F24E8: Graphics::TextureBuilder::PrepareSurface() (TextureBuilder.cpp:97)
==12487== by 0x41084D: Graphics::TextureBuilder::GetDescriptor() (TextureBuilder.h:40)
==12487== by 0x6C6A24: UI::Image::Image(UI::Context*, std::string const&, unsigned int) (Image.cpp:15)
==12487== by 0x6E0398: UI::Context::Image(std::string const&, unsigned int) (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487==
==12487== Invalid write of size 4
==12487== at 0x744839: lua_pushvalue (lapi.c:237)
==12487== by 0x4CDD1E: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:90)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== by 0x56F6C0: Space::Serialize(Serializer::Writer&) (Space.cpp:167)
==12487== Address 0x1117b348 is 8 bytes before a block of size 430 free'd
==12487== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x456414: FileSystem::FileDataMalloc::~FileDataMalloc() (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45644F: FileSystem::FileDataMalloc::~FileDataMalloc() (FileSystem.h:149)
==12487== by 0x40C46F: RefCounted::DecRefCount() const (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45C57A: RefCountedPtr<FileSystem::FileData>::~RefCountedPtr() (RefCounted.h:51)
==12487== by 0x515E44: LoadSurfaceFromFile(std::string const&, FileSystem::FileSource&) (SDLWrappers.cpp:24)
==12487== by 0x515E93: LoadSurfaceFromFile(std::string const&) (SDLWrappers.cpp:29)
==12487== by 0x5F2ED9: Graphics::TextureBuilder::LoadSurface() (TextureBuilder.cpp:208)
==12487== by 0x5F24E8: Graphics::TextureBuilder::PrepareSurface() (TextureBuilder.cpp:97)
==12487== by 0x41084D: Graphics::TextureBuilder::GetDescriptor() (TextureBuilder.h:40)
==12487== by 0x6C6A24: UI::Image::Image(UI::Context*, std::string const&, unsigned int) (Image.cpp:15)
==12487== by 0x6E0398: UI::Context::Image(std::string const&, unsigned int) (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487==
==12487== Invalid write of size 8
==12487== at 0x745541: lua_pushcclosure (lapi.c:558)
==12487== by 0x4DB96F: pi_lua_protected_call(lua_State*, int, int) (LuaUtils.cpp:512)
==12487== by 0x4CDD37: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:91)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b350 is 0 bytes inside a block of size 430 free'd
==12487== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x456414: FileSystem::FileDataMalloc::~FileDataMalloc() (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45644F: FileSystem::FileDataMalloc::~FileDataMalloc() (FileSystem.h:149)
==12487== by 0x40C46F: RefCounted::DecRefCount() const (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45C57A: RefCountedPtr<FileSystem::FileData>::~RefCountedPtr() (RefCounted.h:51)
==12487== by 0x515E44: LoadSurfaceFromFile(std::string const&, FileSystem::FileSource&) (SDLWrappers.cpp:24)
==12487== by 0x515E93: LoadSurfaceFromFile(std::string const&) (SDLWrappers.cpp:29)
==12487== by 0x5F2ED9: Graphics::TextureBuilder::LoadSurface() (TextureBuilder.cpp:208)
==12487== by 0x5F24E8: Graphics::TextureBuilder::PrepareSurface() (TextureBuilder.cpp:97)
==12487== by 0x41084D: Graphics::TextureBuilder::GetDescriptor() (TextureBuilder.h:40)
==12487== by 0x6C6A24: UI::Image::Image(UI::Context*, std::string const&, unsigned int) (Image.cpp:15)
==12487== by 0x6E0398: UI::Context::Image(std::string const&, unsigned int) (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487==
==12487== Invalid write of size 4
==12487== at 0x745548: lua_pushcclosure (lapi.c:558)
==12487== by 0x4DB96F: pi_lua_protected_call(lua_State*, int, int) (LuaUtils.cpp:512)
==12487== by 0x4CDD37: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:91)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b358 is 8 bytes inside a block of size 430 free'd
==12487== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x456414: FileSystem::FileDataMalloc::~FileDataMalloc() (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45644F: FileSystem::FileDataMalloc::~FileDataMalloc() (FileSystem.h:149)
==12487== by 0x40C46F: RefCounted::DecRefCount() const (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45C57A: RefCountedPtr<FileSystem::FileData>::~RefCountedPtr() (RefCounted.h:51)
==12487== by 0x515E44: LoadSurfaceFromFile(std::string const&, FileSystem::FileSource&) (SDLWrappers.cpp:24)
==12487== by 0x515E93: LoadSurfaceFromFile(std::string const&) (SDLWrappers.cpp:29)
==12487== by 0x5F2ED9: Graphics::TextureBuilder::LoadSurface() (TextureBuilder.cpp:208)
==12487== by 0x5F24E8: Graphics::TextureBuilder::PrepareSurface() (TextureBuilder.cpp:97)
==12487== by 0x41084D: Graphics::TextureBuilder::GetDescriptor() (TextureBuilder.h:40)
==12487== by 0x6C6A24: UI::Image::Image(UI::Context*, std::string const&, unsigned int) (Image.cpp:15)
==12487== by 0x6E0398: UI::Context::Image(std::string const&, unsigned int) (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487==
==12487== Invalid read of size 8
==12487== at 0x744657: lua_insert (lapi.c:200)
==12487== by 0x4DB980: pi_lua_protected_call(lua_State*, int, int) (LuaUtils.cpp:513)
==12487== by 0x4CDD37: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:91)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b350 is 0 bytes inside a block of size 430 free'd
==12487== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x456414: FileSystem::FileDataMalloc::~FileDataMalloc() (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45644F: FileSystem::FileDataMalloc::~FileDataMalloc() (FileSystem.h:149)
==12487== by 0x40C46F: RefCounted::DecRefCount() const (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45C57A: RefCountedPtr<FileSystem::FileData>::~RefCountedPtr() (RefCounted.h:51)
==12487== by 0x515E44: LoadSurfaceFromFile(std::string const&, FileSystem::FileSource&) (SDLWrappers.cpp:24)
==12487== by 0x515E93: LoadSurfaceFromFile(std::string const&) (SDLWrappers.cpp:29)
==12487== by 0x5F2ED9: Graphics::TextureBuilder::LoadSurface() (TextureBuilder.cpp:208)
==12487== by 0x5F24E8: Graphics::TextureBuilder::PrepareSurface() (TextureBuilder.cpp:97)
==12487== by 0x41084D: Graphics::TextureBuilder::GetDescriptor() (TextureBuilder.h:40)
==12487== by 0x6C6A24: UI::Image::Image(UI::Context*, std::string const&, unsigned int) (Image.cpp:15)
==12487== by 0x6E0398: UI::Context::Image(std::string const&, unsigned int) (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487==
==12487== Invalid write of size 8
==12487== at 0x74465A: lua_insert (lapi.c:200)
==12487== by 0x4DB980: pi_lua_protected_call(lua_State*, int, int) (LuaUtils.cpp:513)
==12487== by 0x4CDD37: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:91)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b360 is 16 bytes inside a block of size 430 free'd
==12487== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x456414: FileSystem::FileDataMalloc::~FileDataMalloc() (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45644F: FileSystem::FileDataMalloc::~FileDataMalloc() (FileSystem.h:149)
==12487== by 0x40C46F: RefCounted::DecRefCount() const (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45C57A: RefCountedPtr<FileSystem::FileData>::~RefCountedPtr() (RefCounted.h:51)
==12487== by 0x515E44: LoadSurfaceFromFile(std::string const&, FileSystem::FileSource&) (SDLWrappers.cpp:24)
==12487== by 0x515E93: LoadSurfaceFromFile(std::string const&) (SDLWrappers.cpp:29)
==12487== by 0x5F2ED9: Graphics::TextureBuilder::LoadSurface() (TextureBuilder.cpp:208)
==12487== by 0x5F24E8: Graphics::TextureBuilder::PrepareSurface() (TextureBuilder.cpp:97)
==12487== by 0x41084D: Graphics::TextureBuilder::GetDescriptor() (TextureBuilder.h:40)
==12487== by 0x6C6A24: UI::Image::Image(UI::Context*, std::string const&, unsigned int) (Image.cpp:15)
==12487== by 0x6E0398: UI::Context::Image(std::string const&, unsigned int) (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487==
==12487== Invalid read of size 4
==12487== at 0x744661: lua_insert (lapi.c:200)
==12487== by 0x4DB980: pi_lua_protected_call(lua_State*, int, int) (LuaUtils.cpp:513)
==12487== by 0x4CDD37: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:91)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b358 is 8 bytes inside a block of size 430 free'd
==12487== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x456414: FileSystem::FileDataMalloc::~FileDataMalloc() (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45644F: FileSystem::FileDataMalloc::~FileDataMalloc() (FileSystem.h:149)
==12487== by 0x40C46F: RefCounted::DecRefCount() const (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45C57A: RefCountedPtr<FileSystem::FileData>::~RefCountedPtr() (RefCounted.h:51)
==12487== by 0x515E44: LoadSurfaceFromFile(std::string const&, FileSystem::FileSource&) (SDLWrappers.cpp:24)
==12487== by 0x515E93: LoadSurfaceFromFile(std::string const&) (SDLWrappers.cpp:29)
==12487== by 0x5F2ED9: Graphics::TextureBuilder::LoadSurface() (TextureBuilder.cpp:208)
==12487== by 0x5F24E8: Graphics::TextureBuilder::PrepareSurface() (TextureBuilder.cpp:97)
==12487== by 0x41084D: Graphics::TextureBuilder::GetDescriptor() (TextureBuilder.h:40)
==12487== by 0x6C6A24: UI::Image::Image(UI::Context*, std::string const&, unsigned int) (Image.cpp:15)
==12487== by 0x6E0398: UI::Context::Image(std::string const&, unsigned int) (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487==
==12487== Invalid write of size 4
==12487== at 0x744668: lua_insert (lapi.c:200)
==12487== by 0x4DB980: pi_lua_protected_call(lua_State*, int, int) (LuaUtils.cpp:513)
==12487== by 0x4CDD37: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:91)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b368 is 24 bytes inside a block of size 430 free'd
==12487== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x456414: FileSystem::FileDataMalloc::~FileDataMalloc() (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45644F: FileSystem::FileDataMalloc::~FileDataMalloc() (FileSystem.h:149)
==12487== by 0x40C46F: RefCounted::DecRefCount() const (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45C57A: RefCountedPtr<FileSystem::FileData>::~RefCountedPtr() (RefCounted.h:51)
==12487== by 0x515E44: LoadSurfaceFromFile(std::string const&, FileSystem::FileSource&) (SDLWrappers.cpp:24)
==12487== by 0x515E93: LoadSurfaceFromFile(std::string const&) (SDLWrappers.cpp:29)
==12487== by 0x5F2ED9: Graphics::TextureBuilder::LoadSurface() (TextureBuilder.cpp:208)
==12487== by 0x5F24E8: Graphics::TextureBuilder::PrepareSurface() (TextureBuilder.cpp:97)
==12487== by 0x41084D: Graphics::TextureBuilder::GetDescriptor() (TextureBuilder.h:40)
==12487== by 0x6C6A24: UI::Image::Image(UI::Context*, std::string const&, unsigned int) (Image.cpp:15)
==12487== by 0x6E0398: UI::Context::Image(std::string const&, unsigned int) (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487==
==12487== Invalid read of size 8
==12487== at 0x744696: lua_insert (lapi.c:201)
==12487== by 0x4DB980: pi_lua_protected_call(lua_State*, int, int) (LuaUtils.cpp:513)
==12487== by 0x4CDD37: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:91)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b360 is 16 bytes inside a block of size 430 free'd
==12487== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x456414: FileSystem::FileDataMalloc::~FileDataMalloc() (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45644F: FileSystem::FileDataMalloc::~FileDataMalloc() (FileSystem.h:149)
==12487== by 0x40C46F: RefCounted::DecRefCount() const (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45C57A: RefCountedPtr<FileSystem::FileData>::~RefCountedPtr() (RefCounted.h:51)
==12487== by 0x515E44: LoadSurfaceFromFile(std::string const&, FileSystem::FileSource&) (SDLWrappers.cpp:24)
==12487== by 0x515E93: LoadSurfaceFromFile(std::string const&) (SDLWrappers.cpp:29)
==12487== by 0x5F2ED9: Graphics::TextureBuilder::LoadSurface() (TextureBuilder.cpp:208)
==12487== by 0x5F24E8: Graphics::TextureBuilder::PrepareSurface() (TextureBuilder.cpp:97)
==12487== by 0x41084D: Graphics::TextureBuilder::GetDescriptor() (TextureBuilder.h:40)
==12487== by 0x6C6A24: UI::Image::Image(UI::Context*, std::string const&, unsigned int) (Image.cpp:15)
==12487== by 0x6E0398: UI::Context::Image(std::string const&, unsigned int) (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487==
==12487== Invalid write of size 8
==12487== at 0x744699: lua_insert (lapi.c:201)
==12487== by 0x4DB980: pi_lua_protected_call(lua_State*, int, int) (LuaUtils.cpp:513)
==12487== by 0x4CDD37: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:91)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b330 is not stack'd, malloc'd or (recently) free'd
==12487==
==12487== Invalid read of size 4
==12487== at 0x7446A0: lua_insert (lapi.c:201)
==12487== by 0x4DB980: pi_lua_protected_call(lua_State*, int, int) (LuaUtils.cpp:513)
==12487== by 0x4CDD37: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:91)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b368 is 24 bytes inside a block of size 430 free'd
==12487== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x456414: FileSystem::FileDataMalloc::~FileDataMalloc() (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45644F: FileSystem::FileDataMalloc::~FileDataMalloc() (FileSystem.h:149)
==12487== by 0x40C46F: RefCounted::DecRefCount() const (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45C57A: RefCountedPtr<FileSystem::FileData>::~RefCountedPtr() (RefCounted.h:51)
==12487== by 0x515E44: LoadSurfaceFromFile(std::string const&, FileSystem::FileSource&) (SDLWrappers.cpp:24)
==12487== by 0x515E93: LoadSurfaceFromFile(std::string const&) (SDLWrappers.cpp:29)
==12487== by 0x5F2ED9: Graphics::TextureBuilder::LoadSurface() (TextureBuilder.cpp:208)
==12487== by 0x5F24E8: Graphics::TextureBuilder::PrepareSurface() (TextureBuilder.cpp:97)
==12487== by 0x41084D: Graphics::TextureBuilder::GetDescriptor() (TextureBuilder.h:40)
==12487== by 0x6C6A24: UI::Image::Image(UI::Context*, std::string const&, unsigned int) (Image.cpp:15)
==12487== by 0x6E0398: UI::Context::Image(std::string const&, unsigned int) (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487==
==12487== Invalid write of size 4
==12487== at 0x7446A7: lua_insert (lapi.c:201)
==12487== by 0x4DB980: pi_lua_protected_call(lua_State*, int, int) (LuaUtils.cpp:513)
==12487== by 0x4CDD37: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:91)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== by 0x4DDD94: ModelBody::Save(Serializer::Writer&, Space*) (ModelBody.cpp:83)
==12487== by 0x42FC0B: DynamicBody::Save(Serializer::Writer&, Space*) (DynamicBody.cpp:61)
==12487== by 0x539C0C: Ship::Save(Serializer::Writer&, Space*) (Ship.cpp:40)
==12487== by 0x50CB5E: Player::Save(Serializer::Writer&, Space*) (Player.cpp:47)
==12487== by 0x41403B: Body::Serialize(Serializer::Writer&, Space*) (Body.cpp:80)
==12487== Address 0x1117b338 is 24 bytes before a block of size 430 free'd
==12487== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x456414: FileSystem::FileDataMalloc::~FileDataMalloc() (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45644F: FileSystem::FileDataMalloc::~FileDataMalloc() (FileSystem.h:149)
==12487== by 0x40C46F: RefCounted::DecRefCount() const (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45C57A: RefCountedPtr<FileSystem::FileData>::~RefCountedPtr() (RefCounted.h:51)
==12487== by 0x515E44: LoadSurfaceFromFile(std::string const&, FileSystem::FileSource&) (SDLWrappers.cpp:24)
==12487== by 0x515E93: LoadSurfaceFromFile(std::string const&) (SDLWrappers.cpp:29)
==12487== by 0x5F2ED9: Graphics::TextureBuilder::LoadSurface() (TextureBuilder.cpp:208)
==12487== by 0x5F24E8: Graphics::TextureBuilder::PrepareSurface() (TextureBuilder.cpp:97)
==12487== by 0x41084D: Graphics::TextureBuilder::GetDescriptor() (TextureBuilder.h:40)
==12487== by 0x6C6A24: UI::Image::Image(UI::Context*, std::string const&, unsigned int) (Image.cpp:15)
==12487== by 0x6E0398: UI::Context::Image(std::string const&, unsigned int) (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487==
==12487== Invalid read of size 4
==12487== at 0x749141: luaD_precall (ldo.c:300)
==12487== by 0x7496BF: luaD_call (ldo.c:394)
==12487== by 0x7464BC: f_call (lapi.c:923)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x746587: lua_pcallk (lapi.c:949)
==12487== by 0x4DB9A1: pi_lua_protected_call(lua_State*, int, int) (LuaUtils.cpp:514)
==12487== by 0x4CDD37: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:91)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== Address 0x1117b348 is 8 bytes before a block of size 430 free'd
==12487== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x456414: FileSystem::FileDataMalloc::~FileDataMalloc() (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45644F: FileSystem::FileDataMalloc::~FileDataMalloc() (FileSystem.h:149)
==12487== by 0x40C46F: RefCounted::DecRefCount() const (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45C57A: RefCountedPtr<FileSystem::FileData>::~RefCountedPtr() (RefCounted.h:51)
==12487== by 0x515E44: LoadSurfaceFromFile(std::string const&, FileSystem::FileSource&) (SDLWrappers.cpp:24)
==12487== by 0x515E93: LoadSurfaceFromFile(std::string const&) (SDLWrappers.cpp:29)
==12487== by 0x5F2ED9: Graphics::TextureBuilder::LoadSurface() (TextureBuilder.cpp:208)
==12487== by 0x5F24E8: Graphics::TextureBuilder::PrepareSurface() (TextureBuilder.cpp:97)
==12487== by 0x41084D: Graphics::TextureBuilder::GetDescriptor() (TextureBuilder.h:40)
==12487== by 0x6C6A24: UI::Image::Image(UI::Context*, std::string const&, unsigned int) (Image.cpp:15)
==12487== by 0x6E0398: UI::Context::Image(std::string const&, unsigned int) (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487==
==12487== Invalid read of size 8
==12487== at 0x7492B8: luaD_precall (ldo.c:326)
==12487== by 0x7496BF: luaD_call (ldo.c:394)
==12487== by 0x7464BC: f_call (lapi.c:923)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x746587: lua_pcallk (lapi.c:949)
==12487== by 0x4DB9A1: pi_lua_protected_call(lua_State*, int, int) (LuaUtils.cpp:514)
==12487== by 0x4CDD37: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:91)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== Address 0x1117b340 is 16 bytes before a block of size 430 free'd
==12487== at 0x4C2999C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12487== by 0x456414: FileSystem::FileDataMalloc::~FileDataMalloc() (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45644F: FileSystem::FileDataMalloc::~FileDataMalloc() (FileSystem.h:149)
==12487== by 0x40C46F: RefCounted::DecRefCount() const (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487== by 0x45C57A: RefCountedPtr<FileSystem::FileData>::~RefCountedPtr() (RefCounted.h:51)
==12487== by 0x515E44: LoadSurfaceFromFile(std::string const&, FileSystem::FileSource&) (SDLWrappers.cpp:24)
==12487== by 0x515E93: LoadSurfaceFromFile(std::string const&) (SDLWrappers.cpp:29)
==12487== by 0x5F2ED9: Graphics::TextureBuilder::LoadSurface() (TextureBuilder.cpp:208)
==12487== by 0x5F24E8: Graphics::TextureBuilder::PrepareSurface() (TextureBuilder.cpp:97)
==12487== by 0x41084D: Graphics::TextureBuilder::GetDescriptor() (TextureBuilder.h:40)
==12487== by 0x6C6A24: UI::Image::Image(UI::Context*, std::string const&, unsigned int) (Image.cpp:15)
==12487== by 0x6E0398: UI::Context::Image(std::string const&, unsigned int) (in /home/jpab/projects/pioneer/build/src/pioneer)
==12487==
==12487== Use of uninitialised value of size 8
==12487== at 0x758297: luaV_execute (lvm.c:542)
==12487== by 0x7496CF: luaD_call (ldo.c:395)
==12487== by 0x7464BC: f_call (lapi.c:923)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x746587: lua_pcallk (lapi.c:949)
==12487== by 0x4DB9A1: pi_lua_protected_call(lua_State*, int, int) (LuaUtils.cpp:514)
==12487== by 0x4CDD37: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:91)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487==
==12487== Invalid read of size 8
==12487== at 0x758297: luaV_execute (lvm.c:542)
==12487== by 0x7496CF: luaD_call (ldo.c:395)
==12487== by 0x7464BC: f_call (lapi.c:923)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x746587: lua_pcallk (lapi.c:949)
==12487== by 0x4DB9A1: pi_lua_protected_call(lua_State*, int, int) (LuaUtils.cpp:514)
==12487== by 0x4CDD37: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:91)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487== Address 0xb10000000d000018 is not stack'd, malloc'd or (recently) free'd
==12487==
==12487==
==12487== Process terminating with default action of signal 11 (SIGSEGV)
==12487== General Protection Fault
==12487== at 0x758297: luaV_execute (lvm.c:542)
==12487== by 0x7496CF: luaD_call (ldo.c:395)
==12487== by 0x7464BC: f_call (lapi.c:923)
==12487== by 0x7488FB: luaD_rawrunprotected (ldo.c:131)
==12487== by 0x749E25: luaD_pcall (ldo.c:595)
==12487== by 0x746587: lua_pcallk (lapi.c:949)
==12487== by 0x4DB9A1: pi_lua_protected_call(lua_State*, int, int) (LuaUtils.cpp:514)
==12487== by 0x4CDD37: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:91)
==12487== by 0x4CE1B2: LuaSerializer::pickle(lua_State*, int, std::string&, char const*) (LuaSerializer.cpp:167)
==12487== by 0x4CBD3F: LuaRef::Save(Serializer::Writer&) (LuaRef.cpp:40)
==12487== by 0x415A30: PropertyMap::Save(Serializer::Writer&) (PropertyMap.h:35)
==12487== by 0x413C73: Body::Save(Serializer::Writer&, Space*) (Body.cpp:41)
==12487==
==12487== HEAP SUMMARY:
==12487== in use at exit: 383,648,286 bytes in 176,038 blocks
==12487== total heap usage: 5,869,115 allocs, 5,693,077 frees, 1,639,893,133 bytes allocated
==12487==
==12487== LEAK SUMMARY:
==12487== definitely lost: 10,735 bytes in 61 blocks
==12487== indirectly lost: 130 bytes in 4 blocks
==12487== possibly lost: 200,124,418 bytes in 38,616 blocks
==12487== still reachable: 183,513,003 bytes in 137,357 blocks
==12487== suppressed: 0 bytes in 0 blocks
==12487== Rerun with --leak-check=full to see details of leaked memory
==12487==
==12487== For counts of detected and suppressed errors, rerun with: -v
==12487== Use --track-origins=yes to see where uninitialised values come from
==12487== ERROR SUMMARY: 9229 errors from 76 contexts (suppressed: 6 from 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment