#458 memory leaks

已关闭
image2 年之前创建 · 0 条评论
image 评论于 2 年之前

Direct leak of 2464 byte(s) in 44 object(s) allocated from:
    #0 0x7f162fa47587 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cc:104
    #1 0x5600c3a1e93a in WorldDatabase::LoadLanguages() ../WorldServer/WorldDatabase.cpp:6300

Direct leak of 1824 byte(s) in 76 object(s) allocated from:
    #0 0x7f162fa47587 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cc:104
    #1 0x5600c3961519 in EQ2Emu_lua_AddQuestStepLocation(lua_State*) ../WorldServer/LuaFunctions.cpp:4132
    #2 0x5600c3c00b9f in luaD_precall ../LUA/ldo.c:503
    #3 0x5600c3c23e77 in luaV_execute ../LUA/lvm.c:1615
    #4 0x5600c3c00e6f in ccall ../LUA/ldo.c:548
    #5 0x5600c3c00eec in luaD_callnoyield ../LUA/ldo.c:566
    #6 0x5600c3c2d5fa in f_call ../LUA/lapi.c:1005
    #7 0x5600c3bffb78 in luaD_rawrunprotected ../LUA/ldo.c:147
    #8 0x5600c3c01681 in luaD_pcall ../LUA/ldo.c:784
    #9 0x5600c3c2d6dd in lua_pcallk ../LUA/lapi.c:1031
    #10 0x5600c389bbcd in LuaInterface::LoadQuest(unsigned int, char const*, char const*, char const*, unsigned char, char const*, char*) ../WorldServer/LuaInterface.cpp:456

Direct leak of 576 byte(s) in 24 object(s) allocated from:
    #0 0x7f162fa47587 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cc:104
    #1 0x5600c3960c32 in EQ2Emu_lua_AddQuestStepZoneLoc(lua_State*) ../WorldServer/LuaFunctions.cpp:4090
    #2 0x5600c3c00b9f in luaD_precall ../LUA/ldo.c:503
    #3 0x5600c3c23e77 in luaV_execute ../LUA/lvm.c:1615
    #4 0x5600c3c00e6f in ccall ../LUA/ldo.c:548
    #5 0x5600c3c00eec in luaD_callnoyield ../LUA/ldo.c:566
    #6 0x5600c3c2d5fa in f_call ../LUA/lapi.c:1005
    #7 0x5600c3bffb78 in luaD_rawrunprotected ../LUA/ldo.c:147
    #8 0x5600c3c01681 in luaD_pcall ../LUA/ldo.c:784
    #9 0x5600c3c2d6dd in lua_pcallk ../LUA/lapi.c:1031
    #10 0x5600c389bbcd in LuaInterface::LoadQuest(unsigned int, char const*, char const*, char const*, unsigned char, char const*, char*) ../WorldServer/LuaInterface.cpp:456

Indirect leak of 2100 byte(s) in 100 object(s) allocated from:
    #0 0x7f162fa47587 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cc:104
    #1 0x5600c3979914 in __gnu_cxx::new_allocator<Location>::allocate(unsigned long, void const*) /usr/include/c++/9/ext/new_allocator.h:114
    #2 0x5600c3979914 in std::allocator_traits<std::allocator<Location> >::allocate(std::allocator<Location>&, unsigned long) /usr/include/c++/9/bits/alloc_traits.h:443
    #3 0x5600c3979914 in std::_Vector_base<Location, std::allocator<Location> >::_M_allocate(unsigned long) /usr/include/c++/9/bits/stl_vector.h:343
    #4 0x5600c3979914 in void std::vector<Location, std::allocator<Location> >::_M_realloc_insert<Location const&>(__gnu_cxx::__normal_iterator<Location*, std::vector<Location, std::allocator<Location> > >, Location const&) /usr/include/c++/9/bits/vector.tcc:440
    #5 0x5600c3c00b9f in luaD_precall ../LUA/ldo.c:503
    #6 0x5600c3c23e77 in luaV_execute ../LUA/lvm.c:1615
    #7 0x5600c3c00e6f in ccall ../LUA/ldo.c:548
    #8 0x5600c3c00eec in luaD_callnoyield ../LUA/ldo.c:566
    #9 0x5600c3c2d5fa in f_call ../LUA/lapi.c:1005
    #10 0x5600c3bffb78 in luaD_rawrunprotected ../LUA/ldo.c:147
    #11 0x5600c3c01681 in luaD_pcall ../LUA/ldo.c:784
    #12 0x5600c3c2d6dd in lua_pcallk ../LUA/lapi.c:1031
    #13 0x5600c389bbcd in LuaInterface::LoadQuest(unsigned int, char const*, char const*, char const*, unsigned char, char const*, char*) ../WorldServer/LuaInterface.cpp:456
``` Direct leak of 2464 byte(s) in 44 object(s) allocated from: #0 0x7f162fa47587 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cc:104 #1 0x5600c3a1e93a in WorldDatabase::LoadLanguages() ../WorldServer/WorldDatabase.cpp:6300 Direct leak of 1824 byte(s) in 76 object(s) allocated from: #0 0x7f162fa47587 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cc:104 #1 0x5600c3961519 in EQ2Emu_lua_AddQuestStepLocation(lua_State*) ../WorldServer/LuaFunctions.cpp:4132 #2 0x5600c3c00b9f in luaD_precall ../LUA/ldo.c:503 #3 0x5600c3c23e77 in luaV_execute ../LUA/lvm.c:1615 #4 0x5600c3c00e6f in ccall ../LUA/ldo.c:548 #5 0x5600c3c00eec in luaD_callnoyield ../LUA/ldo.c:566 #6 0x5600c3c2d5fa in f_call ../LUA/lapi.c:1005 #7 0x5600c3bffb78 in luaD_rawrunprotected ../LUA/ldo.c:147 #8 0x5600c3c01681 in luaD_pcall ../LUA/ldo.c:784 #9 0x5600c3c2d6dd in lua_pcallk ../LUA/lapi.c:1031 #10 0x5600c389bbcd in LuaInterface::LoadQuest(unsigned int, char const*, char const*, char const*, unsigned char, char const*, char*) ../WorldServer/LuaInterface.cpp:456 Direct leak of 576 byte(s) in 24 object(s) allocated from: #0 0x7f162fa47587 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cc:104 #1 0x5600c3960c32 in EQ2Emu_lua_AddQuestStepZoneLoc(lua_State*) ../WorldServer/LuaFunctions.cpp:4090 #2 0x5600c3c00b9f in luaD_precall ../LUA/ldo.c:503 #3 0x5600c3c23e77 in luaV_execute ../LUA/lvm.c:1615 #4 0x5600c3c00e6f in ccall ../LUA/ldo.c:548 #5 0x5600c3c00eec in luaD_callnoyield ../LUA/ldo.c:566 #6 0x5600c3c2d5fa in f_call ../LUA/lapi.c:1005 #7 0x5600c3bffb78 in luaD_rawrunprotected ../LUA/ldo.c:147 #8 0x5600c3c01681 in luaD_pcall ../LUA/ldo.c:784 #9 0x5600c3c2d6dd in lua_pcallk ../LUA/lapi.c:1031 #10 0x5600c389bbcd in LuaInterface::LoadQuest(unsigned int, char const*, char const*, char const*, unsigned char, char const*, char*) ../WorldServer/LuaInterface.cpp:456 Indirect leak of 2100 byte(s) in 100 object(s) allocated from: #0 0x7f162fa47587 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cc:104 #1 0x5600c3979914 in __gnu_cxx::new_allocator<Location>::allocate(unsigned long, void const*) /usr/include/c++/9/ext/new_allocator.h:114 #2 0x5600c3979914 in std::allocator_traits<std::allocator<Location> >::allocate(std::allocator<Location>&, unsigned long) /usr/include/c++/9/bits/alloc_traits.h:443 #3 0x5600c3979914 in std::_Vector_base<Location, std::allocator<Location> >::_M_allocate(unsigned long) /usr/include/c++/9/bits/stl_vector.h:343 #4 0x5600c3979914 in void std::vector<Location, std::allocator<Location> >::_M_realloc_insert<Location const&>(__gnu_cxx::__normal_iterator<Location*, std::vector<Location, std::allocator<Location> > >, Location const&) /usr/include/c++/9/bits/vector.tcc:440 #5 0x5600c3c00b9f in luaD_precall ../LUA/ldo.c:503 #6 0x5600c3c23e77 in luaV_execute ../LUA/lvm.c:1615 #7 0x5600c3c00e6f in ccall ../LUA/ldo.c:548 #8 0x5600c3c00eec in luaD_callnoyield ../LUA/ldo.c:566 #9 0x5600c3c2d5fa in f_call ../LUA/lapi.c:1005 #10 0x5600c3bffb78 in luaD_rawrunprotected ../LUA/ldo.c:147 #11 0x5600c3c01681 in luaD_pcall ../LUA/ldo.c:784 #12 0x5600c3c2d6dd in lua_pcallk ../LUA/lapi.c:1031 #13 0x5600c389bbcd in LuaInterface::LoadQuest(unsigned int, char const*, char const*, char const*, unsigned char, char const*, char*) ../WorldServer/LuaInterface.cpp:456 ```
image2 年之前 关闭
登录 并参与到对话中。
正在加载...
取消
保存
这个人很懒,什么都没留下。