darkfox69
New Member
- Joined
- Jun 8, 2020
- Messages
- 2
- Reaction score
- 0
Hi, i use tfs 1.2 and this night my server shutted down and always while the server starting up i'm getting message "Segmentation fault.". I did gdb report. Anyone can help me? Thanks.
EDIT:: I did build tfs again with instructions from Help me Segmentation fault (https://otland.net/threads/help-me-segmentation-fault.267063/) , i got that report from bt full
Lua:
Thread 2 "tfs" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff55d7700 (LWP 15542)]
0x00005555557717f6 in std::vector<ItemType, std::allocator<ItemType> >::size() const ()
(gdb) bt full
#0 0x00005555557717f6 in std::vector<ItemType, std::allocator<ItemType> >::size() const ()
No symbol table info available.
#1 0x000055555577067e in Items::getItemType(unsigned long) const ()
No symbol table info available.
#2 0x0000555555665959 in Items::operator[](unsigned long) const ()
No symbol table info available.
#3 0x00005555558ad288 in Item::isAlwaysOnTop() const ()
No symbol table info available.
#4 0x00005555558ab485 in Tile::getThingIndex(Thing const*) const ()
No symbol table info available.
#5 0x00005555556e61bc in Game::transformItem(Item*, unsigned short, int) ()
No symbol table info available.
#6 0x00005555556f066d in Game::internalDecayItem(Item*) ()
No symbol table info available.
#7 0x00005555556f0602 in Game::startDecay(Item*) ()
No symbol table info available.
#8 0x00005555556f0684 in Game::internalDecayItem(Item*) ()
No symbol table info available.
#9 0x00005555556f0602 in Game::startDecay(Item*) ()
No symbol table info available.
#10 0x00005555556f0684 in Game::internalDecayItem(Item*) ()
No symbol table info available.
#11 0x00005555556f0602 in Game::startDecay(Item*) ()
No symbol table info available.
#12 0x00005555556f0684 in Game::internalDecayItem(Item*) ()
No symbol table info available.
#13 0x00005555556f0602 in Game::startDecay(Item*) ()
No symbol table info available.
#14 0x00005555556f0684 in Game::internalDecayItem(Item*) ()
No symbol table info available.
#15 0x00005555556f0602 in Game::startDecay(Item*) ()
No symbol table info available.
#16 0x00005555556f0684 in Game::internalDecayItem(Item*) ()
No symbol table info available.
#17 0x00005555556f0602 in Game::startDecay(Item*) ()
No symbol table info available.
#18 0x00005555556f0684 in Game::internalDecayItem(Item*) ()
No symbol table info available.
#19 0x00005555556f0602 in Game::startDecay(Item*) ()
No symbol table info available.
#20 0x00005555556f0684 in Game::internalDecayItem(Item*) ()
No symbol table info available.
EDIT:: I did build tfs again with instructions from Help me Segmentation fault (https://otland.net/threads/help-me-segmentation-fault.267063/) , i got that report from bt full
Lua:
Thread 2 "tfs" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff55d7700 (LWP 1005)]
0x00005555557717f6 in std::vector<ItemType, std::allocator<ItemType> >::size (this=0x0)
at /usr/include/c++/6/bits/stl_vector.h:655
655 size() const _GLIBCXX_NOEXCEPT
(gdb) bt full
#0 0x00005555557717f6 in std::vector<ItemType, std::allocator<ItemType> >::size (this=0x0)
at /usr/include/c++/6/bits/stl_vector.h:655
No locals.
#1 0x000055555577067e in Items::getItemType (this=0x555555bfc700 <Item::items>, id=3549)
at /home/ots/src/items.cpp:592
No locals.
#2 0x0000555555665959 in Items::operator[] (this=0x555555bfc700 <Item::items>, id=3549)
at /home/ots/src/items.h:308
No locals.
#3 0x00005555558ad288 in Item::isAlwaysOnTop (this=0x7fffd5104c20) at /home/ots/src/item.h:666
No locals.
#4 0x00005555558ab485 in Tile::getThingIndex (this=0x7fffba0b0340, thing=0x7fffd5104c20)
at /home/ots/src/tile.cpp:996
item = 0x7fffd5104c20
n = 0
items = 0x7fffba0b0360
#5 0x00005555556e61bc in Game::transformItem (this=0x555555bfd620 <g_game>,
item=0x7fffd5104c20, newId=6530, newCount=-1) at /home/ots/src/game.cpp:1471
cylinder = 0x7fffba0b0340
itemIndex = 21845
newType = @0x7ffff4dd8160: {group = 4108157312, type = 32767, id = 22873,
stackable = 102, name = "",
article = "\030V\277UUU\000\000@\003\v\272\377\177\000\000\200\245\a\325\377\177\000\000\001\000\000\000\335\r\001\000\000\000\000\000\000\000\000\000u", '\000' <repeats 11 times>, "\377\177\000\000@K\020\325\377\177", '\000' <repeats 18 times>, "\\~\313}\a\000x\000p`\003\325\377\177\000\000\005\000\000\000\000\000\000\000\220\063\r\325\377\177\000\000\002\000\000\000\000\000\000\000\000\000\200?\377\177\000\000\005", '\000' <repeats 15 times>, "odile\000 x!\000\000\000\000\000\000\000\240<\020\325\377\177\000\000\210\000\000\360\377\177\000\000 \000\000\000\000\000\000\000t\000\000\000\000\000\000\000It belon"..., pluralName = "",
description = "P\202\335\364\377\177\000\000\204\006oUUU\000\000 L\020\325\377\177\000\000 ֿUUU\000\000P\202\335\364\000\200\000\000 L\020\325\377\177\000\000 L\020\325\377\177\000\000\220\373\364\367\377\177\000\000\020\060\340\367\377\177\000\000K=\212\367\377\177\000\000\200\202\335\364\377\177\000\000\002\006oUUU\000\000 L\020\325\377\177\000\000 ֿUUU\000\000\335\r\000\000\000\000\000\000K=\212\367\377\177\000\002Ђ\335\364\377\177\000\000\204\006oUUU\000\000 L\020\325\377\177\000\000 ֿUUU\000\000Ђ\335\364\000\200\000\000 L\020\325\377\177\000\000 L\020\325\377\177\000\000\220\373\364\367\377\177\000\000\020\060\340\367\377\177\000\000"...,
runeSpellName = "",
vocationString = "\030V\277UUU\000\000@\003\v\272\377\177\000\000\200\245\a\325\377\177\000\000\001\000\000\000\335\r\001\000\000\000\000\000\000\000\000\000u", '\000' <repeats 11 times>, "\377\177\000\000@K\020\325\377\177", '\000' <repeats 18 times>, "\\~\313}\a\000x\000p`\003\325\377\177\000\000\005\000\000\000\000\000\000\000\220\063\r\325\377\177\000\000\002\000\000\000\000\000\000\000\000\000\200?\377\177\000\000\005", '\000' <repeats 15 times>, "odile\000 x!\000\000\00---Type <return> to continue, or q <return> to quit---
Last edited: