Crash when login with client on linux - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html) +--- Forum: Discussion (https://forum.cuberite.org/forum-5.html) +--- Thread: Crash when login with client on linux (/thread-1244.html) |
RE: Crash when login with client on linux - xoft - 09-16-2013 I've tried fixing the one thing that kept crashing on me - although I don't think it's the same thing. Give it a try, please. http://ci.berboe.co.uk/job/MCServer%20Linux-x86/731/ RE: Crash when login with client on linux - tigerw - 09-17-2013 No dice D: Try reverting the changes to GNUMakefile in: http://ci.berboe.co.uk/job/MCServer%20Linux-x86/687/changes http://ci.berboe.co.uk/job/MCServer%20Linux-x86/684/changes If not, try reverting: http://ci.berboe.co.uk/job/MCServer%20Linux-x86/688/changes Or maybe have a look at them. The server definitely crashes after CI build 688 (pumpkins etc.) I got another backtrace with gdb: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xacdb0b70 (LWP 4456)] 0xb7fa3a47 in std::string::append(char const*, unsigned int) () from /usr/lib/i386-linux-gnu/libstdc++.so.6 (gdb) bt #0 0xb7fa3a47 in std::string::append(char const*, unsigned int) () from /usr/lib/i386-linux-gnu/libstdc++.so.6 #1 0x08235ccc in WriteByte (a_Value=3 '\003', this=0x9426bd8) at source/Protocol/Protocol.h:123 #2 cProtocol125::SendChat (this=0x9426bd8, a_Message=...) at source/Protocol/Protocol125.cpp:217 #3 0x08237a35 in cProtocol161::SendChat (this=0x2c, a_Message=...) at source/Protocol/Protocol16x.cpp:82 #4 0x081f8c46 in tolua_AllToLua_cPlayer_SendMessage00 (tolua_S=0x8655750) at source/Bindings.cpp:8326 #5 0x08176ea2 in luaD_precall (L=L@entry=0x8655750, func=<optimized out>, func@entry=0x869dffc, nresults=nresults@entry=0) at lua-5.1.4/src/ldo.c:319 #6 0x0815d0ad in luaV_execute (L=L@entry=0x8655750, nexeccalls=2, nexeccalls@entry=1) at lua-5.1.4/src/lvm.c:587 #7 0x081777a8 in luaD_call (L=L@entry=0x8655750, func=0x869df9c, nResults=1) at lua-5.1.4/src/ldo.c:377 #8 0x08172460 in f_call (L=L@entry=0x8655750, ud=ud@entry=0xacdafd98) at lua-5.1.4/src/lapi.c:800 #9 0x08176614 in luaD_rawrunprotected (L=L@entry=0x8655750, f=f@entry=0x8172440 <f_call>, ud=ud@entry=0xacdafd98) at lua-5.1.4/src/ldo.c:116 #10 0x08177a33 in luaD_pcall (L=L@entry=0x8655750, func=func@entry=0x8172440 <f_call>, u=u@entry=0xacdafd98, old_top=36, ef=0) at lua-5.1.4/src/ldo.c:463 #11 0x08175503 in lua_pcall (L=0x8655750, nargs=1, nresults=1, errfunc=0) at lua-5.1.4/src/lapi.c:821 #12 0x08219784 in cLuaState::CallFunction (this=0x86153c0, a_NumResults=1) at source/LuaState.cpp:725 #13 0x08395377 in Call<int, cPlayer*, bool> (a_Ret1=<optimized out>, a_Arg1=<optimized out>, a_FnName=<optimized out>, this=<optimized out>, a_Mark=...) at source/LuaState.h:238 #14 cPluginLua::OnPlayerJoined (this=0x8615380, a_Player=...) at source/PluginLua.cpp:637 #15 0x083592a5 in cPluginManager::CallHookPlayerJoined (this=0x85cc580, a_Player=...) at source/PluginManager.cpp:669 RE: Crash when login with client on linux - Carlossg - 09-17-2013 (09-16-2013, 11:26 PM)xoft Wrote: I've tried fixing the one thing that kept crashing on me - although I don't think it's the same thing. Give it a try, please. It still crashes RE: Crash when login with client on linux - xoft - 09-17-2013 I get a crash in my VM, too, but it seems that it's in a different place, it's inside CryptoPP! Weird. RE: Crash when login with client on linux - tigerw - 09-17-2013 Try reverting my suggestions about the makefile, I dunno. RE: Crash when login with client on linux - xoft - 09-17-2013 I recompiled and it's gone, I can normally play. Suppose some leftovers were kept from previous compilations RE: Crash when login with client on linux - tigerw - 09-17-2013 Good to hear. BEARBIN, YOUR SERVER IS BROKE! RE: Crash when login with client on linux - xoft - 09-17-2013 Carlossg, can you compile the server yourself? You need to get the sources, then run make release=1 to build them: Code: mkdir mc-server If you don't have git installed, you need to install it first: Code: sudo apt-get install git RE: Crash when login with client on linux - Carlossg - 09-17-2013 If I do that server works, but world is underwater and commands doesnt work(Plugins?) :D RE: Crash when login with client on linux - tonibm19 - 09-17-2013 Just replace executable when updating. |