Corrupted player inventories

Orby
Member
 
Posts: 48
Joined: Sat Aug 18, 2012 03:59

Corrupted player inventories

by Orby » Thu Nov 01, 2012 00:00

I had this happen once with 0.4.1. Since I've moved our server over to 0.4.3 (a week ago) this has happened twice. I start the server and it immediately sigaborts. The only work around is to delete the player inventories (which tends to piss off players). Haven't taken the time to properly debug and patch it. Just an FYI.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
terminate called after throwing an instance of 'SettingNotFoundException'
  what():  Setting not found

Program received signal SIGABRT, Aborted.
0x00007ffff6968445 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007ffff6968445 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff696bbab in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff72b669d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff72b4846 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff72b4873 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff72b496e in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x000000000059fd65 in Player::deSerialize(std::istream&) ()
#7  0x0000000000545d55 in ServerEnvironment::deSerializePlayers(std::string const&) ()
#8  0x000000000056618a in Server::Server(std::string const&, std::string const&, SubgameSpec const&, bool) ()
#9  0x000000000043c240 in main ()
(gdb) quit
{ LinuxGaming.us:30000 LinuxGaming.us 0.4.6 Server | www.LinuxGaming.us | irc.linuxgaming.us #linuxgaming #minetest }
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Thu Nov 01, 2012 11:23

Go to the world directory/players and look in the player files if you see something strange.
 

Orby
Member
 
Posts: 48
Joined: Sat Aug 18, 2012 03:59

by Orby » Thu Nov 01, 2012 17:21

PilzAdam wrote:Go to the world directory/players and look in the player files if you see something strange.


I glanced at a few player files and they looked normal to me. There are several hundred player files on my server and probably exactly 1 of them is screwed up... I'm not really inclined to figure out which one that is. I'd say that the real problem is that the SettingNotFound exception is not being handled properly (i.e. not being caught for whatever reason). It makes me feel queezy when programs abort due to unhandled exceptions :(
{ LinuxGaming.us:30000 LinuxGaming.us 0.4.6 Server | www.LinuxGaming.us | irc.linuxgaming.us #linuxgaming #minetest }
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 11 guests

cron