Skip to content

Instantly share code, notes, and snippets.

#ifndef INCLUDE_CRAFTD_CONFIG_H
#define INCLUDE_CRAFTD_CONFIG_H
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_SPIN_INIT 1
#define HAVE_JANSSON_H 1
#define HAVE_ZLIB_H 1
#define HAVE_PCRE_H 1
#define HAVE_ENDIAN_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_ARPA_INET_H 1
NOTICE: craftd> Loaded plugin survival.tests
CRIT: craftd> Couldn't load scripting engine lisp
NOTICE: craftd> alyawn tried handshake
Program received signal SIGSEGV, Segmentation fault.
0x0805c6b6 in SV_BufferRemoveFormat (self=0x8070e48, format=0x8067123 "b") at protocols/survival/Buffer.c:157
157 case 'l': *((SVLong*) pointer) = SV_BufferRemoveLong(self); break;
(gdb) bt
#0 0x0805c6b6 in SV_BufferRemoveFormat (self=0x8070e48, format=0x8067123 "b") at protocols/survival/Buffer.c:157
#1 0x0805e0b4 in SV_GetPacketDataFromBuffer (self=0x8070f08, input=0x8070e48) at protocols/survival/Packet.c:276
Program received signal SIGSEGV, Segmentation fault.
0x080579d7 in CD_DestroyClient (self=0x0) at src/Client.c:54
54 CD_EventDispatch(self->server, "Client.destroy", self);
(gdb) bt
#0 0x080579d7 in CD_DestroyClient (self=0x0) at src/Client.c:54
#1 0x0805bb3e in CD_ServerCleanDisconnects (self=0x8075038) at src/Server.c:431
#2 0x0805b7ec in CD_RunServer (self=0x8075038) at src/Server.c:391
#3 0x0804ffbe in main (argc=1, argv=0xbffff4a4) at src/craftd.c:129