• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 1.X+ Crash server - bt GDB

Ü Pendragon

Member
Joined
Apr 10, 2017
Messages
51
Reaction score
6
Thread 2 (Thread 0x7ffff4d80700 (LWP 2303)):
#0 __memcpy_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:51
No locals.
#1 0x00007ffff6473e5b in std::basic_streambuf<char, std::char_traits<char> >::xsputn(char const*, long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#2 0x00007ffff6464ec6 in std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#3 0x00000000004ff6bb in Player::getDescription[abi:cxx11](int) const ()
No symbol table info available.
#4 0x00000000004dfb6f in LuaScriptInterface::luaCreatureGetDescription(lua_State*) ()
No symbol table info available.
#5 0x00007ffff71d58ed in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
No symbol table info available.
#6 0x00007ffff71e14ed in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
No symbol table info available.
#7 0x00007ffff71d5c2e in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
No symbol table info available.
#8 0x00007ffff71d526f in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
No symbol table info available.
#9 0x00007ffff71d5e71 in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
No symbol table info available.
#10 0x00007ffff71d1d91 in lua_pcallk () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
No symbol table info available.
#11 0x00000000005d7e40 in LuaScriptInterface::protectedCall(lua_State*, int, int) ()
No symbol table info available.
#12 0x00000000005db750 in LuaScriptInterface::callVoidFunction(int) ()
No symbol table info available.
#13 0x00000000005b7a53 in Events::eventPlayerOnLook(Player*, Position const&, Thing*, unsigned char, int) ()
No symbol table info available.
#14 0x00000000005a28e8 in Game::playerLookAt(unsigned int, Position const&, unsigned char) ()
No symbol table info available.
#15 0x000000000053c895 in Dispatcher::threadMain() ()
No symbol table info available.
#16 0x00007ffff640ec80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#17 0x00007ffff66df6ba in start_thread (arg=0x7ffff4d80700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7ffff4d80700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737301186304, -1474424506724276845, 0, 140737488346607, 140737301187008, 140737488347336, 1474404509346276755, 1474408134526870931}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
PRETTY_FUNCTION = "start_thread"
#18 0x00007ffff7b1441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
 
Thread 2 (Thread 0x7ffff4d80700 (LWP 2303)):
#0 __memcpy_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:51
No locals.
#1 0x00007ffff6473e5b in std::basic_streambuf<char, std::char_traits<char> >::xsputn(char const*, long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#2 0x00007ffff6464ec6 in std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#3 0x00000000004ff6bb in Player::getDescription[abi:cxx11](int) const ()
No symbol table info available.
#4 0x00000000004dfb6f in LuaScriptInterface::luaCreatureGetDescription(lua_State*) ()
No symbol table info available.
#5 0x00007ffff71d58ed in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
No symbol table info available.
#6 0x00007ffff71e14ed in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
No symbol table info available.
#7 0x00007ffff71d5c2e in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
No symbol table info available.
#8 0x00007ffff71d526f in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
No symbol table info available.
#9 0x00007ffff71d5e71 in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
No symbol table info available.
#10 0x00007ffff71d1d91 in lua_pcallk () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
No symbol table info available.
#11 0x00000000005d7e40 in LuaScriptInterface::protectedCall(lua_State*, int, int) ()
No symbol table info available.
#12 0x00000000005db750 in LuaScriptInterface::callVoidFunction(int) ()
No symbol table info available.
#13 0x00000000005b7a53 in Events::eventPlayerOnLook(Player*, Position const&, Thing*, unsigned char, int) ()
No symbol table info available.
#14 0x00000000005a28e8 in Game::playerLookAt(unsigned int, Position const&, unsigned char) ()
No symbol table info available.
#15 0x000000000053c895 in Dispatcher::threadMain() ()
No symbol table info available.
#16 0x00007ffff640ec80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#17 0x00007ffff66df6ba in start_thread (arg=0x7ffff4d80700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7ffff4d80700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737301186304, -1474424506724276845, 0, 140737488346607, 140737301187008, 140737488347336, 1474404509346276755, 1474408134526870931}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
PRETTY_FUNCTION = "start_thread"
#18 0x00007ffff7b1441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
Is your Player:onLook editted? If so post that here, the issue is likely in there, it looks like you're cloning something during a look event and that's causing it.
 
Code:
function Player:onLook(thing, position, distance)
    local description = "You see "
    if thing:isItem() then
        if thing.actionid == 5640 then
            description = description .. "a honeyflower patch."
        elseif thing.actionid == 5641 then
            description = description .. "a banana palm."
        elseif thing.itemid >= ITEM_HEALTH_CASK_START and thing.itemid <= ITEM_HEALTH_CASK_END
        or thing.itemid >= ITEM_MANA_CASK_START and thing.itemid <= ITEM_MANA_CASK_END
        or thing.itemid >= ITEM_SPIRIT_CASK_START and thing.itemid <= ITEM_SPIRIT_CASK_END
        or thing.itemid >= ITEM_KEG_START and thing.itemid <= ITEM_KEG_END then
            description = description .. thing:getDescription(distance)
            local charges = thing:getCharges()
            if charges then
            description = string.format("%s\nIt has %d refillings left.", description, charges)
            end
        else
            description = description .. thing:getDescription(distance)
    end
    
        local itemType = thing:getType()
        if (itemType and itemType:getImbuingSlots() > 0) then
            local imbuingSlots = "Imbuements: ("
            for i = 1, itemType:getImbuingSlots() do
                local specialAttr = thing:getSpecialAttribute(i)
                local time = 0
                if (thing:getSpecialAttribute(i+3)) then
                    time = getTime(thing:getSpecialAttribute(i+3))
                end

                if (specialAttr and specialAttr ~= 0) then
                    if (i ~= itemType:getImbuingSlots()) then
                        imbuingSlots = imbuingSlots.. "" ..specialAttr.." " ..time..", "
                    else
                        imbuingSlots = imbuingSlots.. "" ..specialAttr.." " ..time..")."
                    end
                else
                    if (i ~= itemType:getImbuingSlots()) then
                        imbuingSlots = imbuingSlots.. "Empty Slot, "
                    else
                        imbuingSlots = imbuingSlots.. "Empty Slot)."
                    end
                end
            end
            description = string.gsub(description, "It weighs", imbuingSlots.. "\nIt weighs")
        end
    else
        description = description .. thing:getDescription(distance)
        if thing:isMonster() then
            local master = thing:getMaster()
            if master and table.contains({'thundergiant','grovebeast','emberwing','skullfrost'}, thing:getName():lower()) then
                description = description..' (Master: ' .. master:getName() .. '). It will disappear in ' .. getTimeinWords(master:getStorageValue(Storage.PetSummon) - os.time())
            end
        end
    end
    -- loyaltySystem
    if thing:isCreature() and thing:isPlayer() then
        if thing == self then
            text_loyalty = "You are "
        else
            if thing:getSex() == PLAYERSEX_FEMALE then
                text_loyalty = "She is "
            else
                text_loyalty = "He is "
            end
        end
        if thing:getLoyaltyTitle(thing:getLoyaltyPoints(), false) ~= "None" then
            description = description .."\n"..text_loyalty..""..thing:getLoyaltyTitle(thing:getLoyaltyPoints(), false).."."
        end
    end
    
    -- kdLook
    if thing:isCreature() and thing:isPlayer() then
        description = string.format("%s\n [PVP Kills: %d] \n [PVP Deaths: %d] \n",
        description, math.max(0, thing:getStorageValue(167916)), math.max(0, thing:getStorageValue(167917)))
    end

    if self:getGroup():getAccess() then
        if thing:isItem() then
            description = string.format("%s\nItem ID: %d", description, thing:getId())

            local actionId = thing:getActionId()
            if actionId ~= 0 then
                description = string.format("%s, Action ID: %d", description, actionId)
            end

            local uniqueId = thing:getAttribute(ITEM_ATTRIBUTE_UNIQUEID)
            if uniqueId > 0 and uniqueId < 65536 then
                description = string.format("%s, Unique ID: %d", description, uniqueId)
            end

            local itemType = thing:getType()

            local transformEquipId = itemType:getTransformEquipId()
            local transformDeEquipId = itemType:getTransformDeEquipId()
            if transformEquipId ~= 0 then
                description = string.format("%s\nTransforms to: %d (onEquip)", description, transformEquipId)
            elseif transformDeEquipId ~= 0 then
                description = string.format("%s\nTransforms to: %d (onDeEquip)", description, transformDeEquipId)
            end

            local decayId = itemType:getDecayId()
            if decayId ~= -1 then
                description = string.format("%s\nDecays to: %d", description, decayId)
            end
        elseif thing:isCreature() then
            local str = "%s\nHealth: %d / %d"
            if thing:isPlayer() and thing:getMaxMana() > 0 then
                str = string.format("%s, Mana: %d / %d", str, thing:getMana(), thing:getMaxMana())
            end
            description = string.format(str, description, thing:getHealth(), thing:getMaxHealth()) .. "."
        end

        local position = thing:getPosition()
        description = string.format(
            "%s\nPosition: %d, %d, %d",
            description, position.x, position.y, position.z
        )

        if thing:isCreature() then
            if thing:isPlayer() then
                description = string.format("%s\nIP: %s.", description, Game.convertIpToString(thing:getIp()))
            end
        end
    end
    self:sendTextMessage(MESSAGE_INFO_DESCR, description)
end
 
Back
Top