• 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!

Thread 2 "tfs" received signal SIGSEGV, Segmentation fault. help plzz

lololiko

New Member
Joined
Oct 10, 2023
Messages
8
Reaction score
0
GitHub
Mkeltera
Could someone help me, I'm using the Nekiro base, I'm receiving several segment failures, and it seems to be all related to a disconnected player, trying to access a player that is already offline, and the server crashes


Thread 2 "tfs" received signal SIGSEGV, Segmentation fault.
2024-10-26 18:33:33 - [Switching to Thread 0x7ffff5d3d640 (LWP 244581)]
2024-10-26 18:33:33 - 0x00005555556af22b in Player::changeMana (this=0x7fffd3e45440, manaChange=434) at /root/baiak/src/player.cpp:3679
warning: Source file is more recent than executable.
3679 - if (isLogout) { // Verifique se há uma variável que indica que o jogador está se desconectando


2024-10-26 18:13:15 - Thread 2 "tfs" received signal SIGSEGV, Segmentation fault.
2024-10-26 18:13:15 - [Switching to Thread 0x7ffff5d3d640 (LWP 243218)]
2024-10-26 18:13:15 - 0x00005555555d51c2 in Creature::getCreatureEvents[abi:cxx11](CreatureEventType_t) (this=0x7fffd836ca10, type=CREATURE_EVENT_MANACHANGE) at /root/baiak/src/creature.cpp:1573
2024-10-26 18:13:15 - 1573 for (CreatureEvent* creatureEvent : eventsList) {


Thread 2 "tfs" received signal SIGSEGV, Segmentation fault.
2024-10-26 17:55:43 - [Switching to Thread 0x7ffff5d3d640 (LWP 242934)]
2024-10-26 17:55:43 - 0x00005555556af22b in Player::changeMana (this=0x7fffdb888860, manaChange=409) at /root/baiak/src/player.cpp:3679
2024-10-26 17:55:43 - 3679 if (!hasFlag(PlayerFlag_HasInfiniteMana)) {

Thread 2 "tfs" received signal SIGSEGV, Segmentation fault.
2024-10-26 16:20:07 - [Switching to Thread 0x7ffff5d3d640 (LWP 241854)]
2024-10-26 16:20:07 - ProtocolGame::AddPlayerStats(NetworkMessage&) [clone .constprop.0] (this=0x35, msg=...) at /root/baiak/src/protocolgame.cpp:2530
2024-10-26 16:20:07 - 2530 if (!player) {

Thread 2 "tfs" received signal SIGSEGV, Segmentation fault.
2024-10-26 15:56:45 - [Switching to Thread 0x7ffff5d3d640 (LWP 241698)]
2024-10-26 15:56:45 - ProtocolGame::AddPlayerStats(NetworkMessage&) [clone .constprop.0] (this=0x7fffd40605a0, msg=...) at /root/baiak/src/protocolgame.cpp:2536
2024-10-26 15:56:45 - 2536 if (!player->getTile()) { // Confirma se o jogador está em um local válido
2024-10-26 15:56:48 -


Thread 2 "tfs" received signal SIGSEGV, Segmentation fault.
2024-10-26 15:53:26 - [Switching to Thread 0x7ffff5d3d640 (LWP 241604)]
2024-10-26 15:53:26 - Creature::getCreatureEvents[abi:cxx11](CreatureEventType_t) (this=0x7fffd3a99d90, type=CREATURE_EVENT_MANACHANGE) at /root/baiak/src/creature.cpp:1575
2024-10-26 15:53:26 - 1575 std::cerr << "[Error] Null event found in eventsList for creature: " << this->getName() << std::endl;
 
Ok, for me it trying to access to creature that doesnt exsists (addEvent in some of your lua scripts), not sure to be honest.
 

Similar threads

Back
Top