Not sure about fixing the crashes, I doubt it. Those errors were only minor, the worst they could've done is having the same weather for an almost infinite amount of time.
But crashes may be caused by the invalid pointer operation, so if we find one, it will definitely prevent some crashes later on.
As far as I know, gcc places all the debugging info into the executable it produces (hence it is so large). Still, might be a better idea to actually compile on the same machine as you're running the server on. That is, if it is possible.
10-26-2012, 06:46 AM (This post was last modified: 10-26-2012, 07:08 AM by ThuGie.)
I am i compile it on the vps + run it on the vps .
Also gotten unable to connect to the server gone check logs now .
Well at least you might have fixed some weather issues.
error.log
Code:
==13496== Memcheck, a memory error detector
==13496== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==13496== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==13496== Command: ./MCServer
==13496==
==13496== Thread 7:
==13496== Conditional jump or move depends on uninitialised value(s)
==13496== at 0x741073: cChunkSender::Execute() (ChunkSender.cpp:144)
==13496== by 0x64BD1C: cIsThread::thrExecute(void*) (IsThread.h:62)
==13496== by 0x55DF8C9: start_thread (pthread_create.c:300)
==13496== by 0x58C4B6C: clone (clone.S:112)
==13496==
==13496== Thread 14:
==13496== Conditional jump or move depends on uninitialised value(s)
==13496== at 0x72CECC: cSimulatorManager::Simulate(float) (SimulatorManager.cpp:36)
==13496== by 0x6C15E9: cWorld::Tick(float) (World.cpp:474)
==13496== by 0x627001: cRoot::TickWorlds(float) (Root.cpp:330)
==13496== by 0x6E2C31: cServer::Tick(float) (Server.cpp:381)
==13496== by 0x6E2ED0: ServerTickThread(void*) (Server.cpp:436)
==13496== by 0x64AEF1: cThread::MyThread(void*) (Thread.cpp:124)
==13496== by 0x55DF8C9: start_thread (pthread_create.c:300)
==13496== by 0x58C4B6C: clone (clone.S:112)
==13496==
==13496== Conditional jump or move depends on uninitialised value(s)
==13496== at 0x61D8BF: cBlockDirtHandler::OnUpdate(cWorld*, int, int, int) (BlockDirt.h:55)
==13496== by 0x730739: cChunk::TickBlocks(MTRand&) (Chunk.cpp:519)
==13496== by 0x72FF82: cChunk::Tick(float, MTRand&) (Chunk.cpp:406)
==13496== by 0x6F8550: cChunkMap::cChunkLayer::Tick(float, MTRand&) (ChunkMap.cpp:1817)
==13496== by 0x6F7E71: cChunkMap::Tick(float, MTRand&) (ChunkMap.cpp:1681)
==13496== by 0x6C15B3: cWorld::Tick(float) (World.cpp:470)
==13496== by 0x627001: cRoot::TickWorlds(float) (Root.cpp:330)
==13496== by 0x6E2C31: cServer::Tick(float) (Server.cpp:381)
==13496== by 0x6E2ED0: ServerTickThread(void*) (Server.cpp:436)
==13496== by 0x64AEF1: cThread::MyThread(void*) (Thread.cpp:124)
==13496== by 0x55DF8C9: start_thread (pthread_create.c:300)
==13496== by 0x58C4B6C: clone (clone.S:112)
==13496==
output.log
Code:
[4025e00|20:38:28] --- Started Log ---
[4025e00|20:38:28] Creating new server instance...
[4025e00|20:38:28] Starting server...
/============================\
| Custom Minecraft Server |
| Created by Kevin Bansberg |
| A.K.A. FakeTruth |
| Monsters by Alex Sonek |
| A.K.A. Duralex |
| Stuff by Mattes D |
| A.K.A. _Xoft(o) |
\============================/
More info: WWW.MC-SERVER.ORG
WWW.AE-C.NET
WWW.RBTHINKTANK.COM
email: faketruth@gmail.com
[4025e00|20:38:28] Starting up server.
[4025e00|20:38:28] Compatible clients: 1.2.4, 1.2.5, 1.3.1, 1.3.2, protocol versions 29, 39
[4025e00|20:38:28] Port 25565 has been bound, server is open for connections
[4025e00|20:38:28] Generating protocol encryption keypair...
[4025e00|20:38:30] Creating WebAdmin...
[4025e00|20:38:30] Starting WebAdmin on port 8081
[4025e00|20:38:30] Loading settings...
[4025e00|20:38:30] -- Loading Groups --
[4025e00|20:38:30] Loading group: Admins
[4025e00|20:38:30] Permission: *
[4025e00|20:38:30] Loading group: Mods
[4025e00|20:38:30] Permission: core.time
[4025e00|20:38:30] Permission: core.item
[4025e00|20:38:30] Permission: eco.*
[4025e00|20:38:31] Loading group: Vips
[4025e00|20:38:31] Permission: core.teleport
[4025e00|20:38:31] Loading group: Default
[4025e00|20:38:31] Permission: core.build
[4025e00|20:38:31] Permission: core.help
[4025e00|20:38:31] Permission: core.playerlist
[4025e00|20:38:31] Permission: core.pluginlist
[4025e00|20:38:31] Permission: core.spawn
[4025e00|20:38:31] Permission: eco.coins
[4025e00|20:38:31] Permission: tools.*
[4025e00|20:38:31] Permission: home.*
[4025e00|20:38:31] -- Done Loading Groups --
[4025e00|20:38:31] -- Loading crafting recipes from crafting.txt --
[4025e00|20:38:31] -- 199 crafting recipes loaded from crafting.txt --
[4025e00|20:38:31] -- Loading furnace recipes --
[4025e00|20:38:31] Got 9 furnace recipes, and 11 fuels.
[4025e00|20:38:31] -- Done loading furnace recipes --
[4025e00|20:38:31] Loading worlds...
[4025e00|20:38:31] cWorld::cWorld(Maou)
[4025e00|20:38:32] Using a cache for biomegen of size 64.
[4025e00|20:38:32] Using a cache for Heightgen of size 64.
[4025e00|20:38:32] cWorld::cWorld(Kami)
[4025e00|20:38:32] Using a cache for biomegen of size 64.
[4025e00|20:38:32] Using a cache for Heightgen of size 64.
[4025e00|20:38:32] Loading plugin manager...
[4025e00|20:38:32] Loading plugins
[4025e00|20:38:33] cWebPlugin::cWebPlugin()
[4025e00|20:38:34] Binding /help (core.help)
[4025e00|20:38:34] Binding /pluginlist (core.pluginlist)
[4025e00|20:38:34] Binding /tp (core.teleport)
[4025e00|20:38:34] Binding /item (core.item)
[4025e00|20:38:34] Binding /i (core.item)
[4025e00|20:38:34] Binding /list (core.playerlist)
[4025e00|20:38:34] Binding /who (core.playerlist)
[4025e00|20:38:34] Binding /playerlist (core.playerlist)
[4025e00|20:38:34] Binding /motd (core.motd)
[4025e00|20:38:34] Binding /reload (core.reload)
[4025e00|20:38:34] Binding /stop (core.stop)
[4025e00|20:38:34] Binding /time (core.time)
[4025e00|20:38:34] Binding /spawn (core.spawn)
[4025e00|20:38:34] Binding /kick (core.kick)
[4025e00|20:38:34] Binding /ban (core.ban)
[4025e00|20:38:34] Binding /unban (core.unban)
[4025e00|20:38:34] Binding /top (core.top)
[4025e00|20:38:34] Binding /gm (core.changegm)
[4025e00|20:38:34] Binding /gotoworld (core.gotoworld)
[4025e00|20:38:34] Binding /coords (core.coords)
[4025e00|20:38:34] Binding /viewdistance (core.viewdistance)
[4025e00|20:38:34] Binding /regeneratechunk (core.regeneratechunk)
[4025e00|20:38:34] Initialized Core v.8
[4025e00|20:38:34] cWebPlugin::cWebPlugin()
[4025e00|20:38:34] Binding /coins (eco.coins)
[4025e00|20:38:34] Initialized tEconomy v.1
[4025e00|20:38:34] cWebPlugin::cWebPlugin()
[4025e00|20:38:34] Binding /tools (tools.tools)
[4025e00|20:38:34] Initialized tTools v.1
[4025e00|20:38:34] cWebPlugin::cWebPlugin()
[4025e00|20:38:34] Initialized ChatLog v.2
[4025e00|20:38:34] cWebPlugin::cWebPlugin()
[4025e00|20:38:34] Binding /sethome (core.home)
[4025e00|20:38:34] Binding /home (core.home)
[4025e00|20:38:34] Initialized tHome v.1
[4025e00|20:38:34] cWebPlugin::cWebPlugin()
[4025e00|20:38:34] Binding /heal (extra.heal)
[4025e00|20:38:34] Binding /feed (extra.feed)
[4025e00|20:38:34] Initialized tExtra v.1
[4025e00|20:38:34] cWebPlugin::cWebPlugin()
[4025e00|20:38:35] Binding /weather (Rainy.weather)
[4025e00|20:38:35] Initialized Rainy v2
[4025e00|20:38:35] Loaded 11 plugin(s)
[4025e00|20:38:35] Loading MonsterConfig...
[4025e00|20:38:35] Starting Authenticator...
[4025e00|20:38:35] Starting worlds...
[4025e00|20:38:35] Preparing spawn area in world "Kami"...
[11658700|20:38:35] 80 chunks to load, 0 chunks to generate
[e254700|20:38:36] BioGenCache: 0 hits, 10 misses, saved 0.00 %
[e254700|20:38:36] BioGenCache: Avg cache chain length: -nan
[4025e00|20:38:42] Lighting spawn area in world "Kami"...
[11658700|20:38:42] 0 chunks remaining to light
[4025e00|20:38:43] Preparing spawn area in world "Maou"...
[11658700|20:38:43] 80 chunks to load, 0 chunks to generate
[b6d5700|20:38:43] BioGenCache: 0 hits, 10 misses, saved 0.00 %
[b6d5700|20:38:43] BioGenCache: Avg cache chain length: -nan
[11658700|20:38:49] 9 chunks to load, 0 chunks to generate
[4025e00|20:38:50] Lighting spawn area in world "Maou"...
[11658700|20:38:50] 4 chunks remaining to light
[4025e00|20:38:51] Starting server...
[11658700|20:38:51] ServerListenThread
[12a59700|20:38:51] ServerTickThread
[4025e00|20:38:51] Starting InputThread...
[4025e00|20:38:51] Initialization done, server running now.
[11658700|20:39:00] Client "83.84.152.69" connected!
[11658700|20:39:00] New ClientHandle created at 0xd0d1120
[11658700|20:39:00] Creating a new cSocketThread (currently have 0)
[13a5b700|20:39:00] Sending a DC: "MaouKami MCServer§0§100"
[12a59700|20:39:00] Deleting client "" at 0xd0d1120
[12a59700|20:39:00] QueueClose(client 0xd0d1120)
[12a59700|20:39:00] ClientHandle at 0xd0d1120 deleted
[11658700|20:39:02] Client "83.84.152.69" connected!
[11658700|20:39:02] New ClientHandle created at 0xd0d1760
[13a5b700|20:39:02] Created cProtocol132 at 0xd025340
[13a5b700|20:39:04] LOGIN ThuGhacK
[10257700|20:39:05] Got 200 OK :D
[10257700|20:39:05] Got result: YES
[10257700|20:39:05] Result was "YES", so player is authenticated!
[10257700|20:39:05] Created a player object for "ThuGhacK" @ "83.84.152.69" at 0x8c36c60, ID 1
[10257700|20:39:05] Inventory window for player 0x8c36c60 is at 0xcf68af0
[10257700|20:39:05] Added ThuGhacK to group Admins
[10257700|20:39:05] Player ThuGhacK has permissions:
[10257700|20:39:05] *
[10257700|20:39:06] Player "ThuGhacK" was read from file, spawning at {22.32, 76.41, -625.09} in world "Maou"
[10257700|20:39:06] Streaming chunks centered on [1, -40], view distance 9
[10257700|20:39:06] cChunk: Entity #1 (cPlayer) at [1, 0, -40] spawning for player "ThuGhacK"
[13a5b700|20:39:11] 1. Stack size: 1
[13a5b700|20:39:11] 2. Stack size: 2
[13a5b700|20:39:12] 3. Stack size: 3
[13a5b700|20:39:12] Calling bound function! :D
[13a5b700|20:39:13] ok. Stack size: 1
[12a59700|20:39:57] Streaming chunks centered on [1, -39], view distance 9
[12a59700|20:40:19] Streaming chunks centered on [2, -38], view distance 9
[12a59700|20:40:24] Streaming chunks centered on [3, -38], view distance 9
[13a5b700|20:40:24] OnBlockDig: {55, 69, -605}; Face: 4; Stat: 0
[13a5b700|20:40:24] OnBlockDig: {57, 69, -608}; Face: 3; Stat: 0
[13a5b700|20:40:24] HandleBlockPlace: {-1, 255, -1}, face -1, itemtype: 1
[13a5b700|20:40:24] OnBlockDig: {76, 70, -609}; Face: 4; Stat: 0
[13a5b700|20:40:24] HandleBlockPlace: {76, 69, -609}, face 1, itemtype: 1
[13a5b700|20:40:24] HandleBlockPlace: {76, 69, -608}, face 1, itemtype: 1
[13a5b700|20:40:24] HandleBlockPlace: {76, 69, -607}, face 1, itemtype: 1
[13a5b700|20:40:24] HandleBlockPlace: {76, 69, -606}, face 1, itemtype: 1
[13a5b700|20:40:24] HandleBlockPlace: {75, 69, -606}, face 1, itemtype: 1
[13a5b700|20:40:24] HandleBlockPlace: {74, 69, -606}, face 1, itemtype: 1
[13a5b700|20:40:24] HandleBlockPlace: {73, 69, -606}, face 1, itemtype: 1
[13a5b700|20:40:24] HandleBlockPlace: {72, 69, -606}, face 1, itemtype: 1
[13a5b700|20:40:24] HandleBlockPlace: {72, 69, -607}, face 1, itemtype: 1
[13a5b700|20:40:24] HandleBlockPlace: {72, 70, -607}, face 2, itemtype: 1
[13a5b700|20:40:24] HandleBlockPlace: {72, 69, -609}, face 1, itemtype: 1
[13a5b700|20:40:24] HandleBlockPlace: {75, 69, -610}, face 1, itemtype: 1
[13a5b700|20:40:24] HandleBlockPlace: {74, 69, -610}, face 1, itemtype: 1
[13a5b700|20:40:24] HandleBlockPlace: {73, 69, -610}, face 1, itemtype: 1
[13a5b700|20:40:25] HandleBlockPlace: {77, 69, -610}, face 1, itemtype: 1
[12a59700|20:40:25] Streaming chunks centered on [4, -39], view distance 9
[13a5b700|20:40:25] HandleBlockPlace: {76, 69, -610}, face 1, itemtype: 1
[13a5b700|20:40:26] HandleBlockPlace: {71, 69, -610}, face 1, itemtype: 1
[13a5b700|20:40:26] HandleBlockPlace: {71, 70, -610}, face 5, itemtype: 1
[12a59700|20:40:27] Streaming chunks centered on [4, -38], view distance 9
[13a5b700|20:40:28] HandleBlockPlace: {76, 69, -605}, face 1, itemtype: 1
[13a5b700|20:40:29] HandleBlockPlace: {75, 69, -605}, face 1, itemtype: 1
[13a5b700|20:40:29] HandleBlockPlace: {74, 69, -605}, face 1, itemtype: 1
[13a5b700|20:40:30] HandleBlockPlace: {73, 69, -605}, face 1, itemtype: 1
[13a5b700|20:40:30] HandleBlockPlace: {71, 69, -605}, face 1, itemtype: 1
[13a5b700|20:40:31] HandleBlockPlace: {71, 70, -605}, face 5, itemtype: 1
[13a5b700|20:40:32] HandleBlockPlace: {77, 69, -605}, face 1, itemtype: 1
[13a5b700|20:40:33] HandleBlockPlace: {76, 70, -605}, face 1, itemtype: 1
[13a5b700|20:40:34] HandleBlockPlace: {75, 70, -605}, face 1, itemtype: 1
[13a5b700|20:40:34] HandleBlockPlace: {74, 70, -605}, face 1, itemtype: 1
[13a5b700|20:40:35] HandleBlockPlace: {72, 70, -605}, face 1, itemtype: 1
[13a5b700|20:40:35] HandleBlockPlace: {73, 70, -605}, face 1, itemtype: 1
[13a5b700|20:40:37] HandleBlockPlace: {71, 70, -605}, face 1, itemtype: 1
[13a5b700|20:40:37] HandleBlockPlace: {71, 71, -605}, face 1, itemtype: 1
[13a5b700|20:40:39] HandleBlockPlace: {77, 69, -604}, face 1, itemtype: 1
[13a5b700|20:40:39] HandleBlockPlace: {76, 69, -604}, face 1, itemtype: 1
[13a5b700|20:40:40] HandleBlockPlace: {75, 69, -604}, face 1, itemtype: 1
[13a5b700|20:40:42] HandleBlockPlace: {74, 69, -604}, face 1, itemtype: 1
[13a5b700|20:40:43] HandleBlockPlace: {72, 69, -604}, face 1, itemtype: 1
[13a5b700|20:40:46] HandleBlockPlace: {73, 69, -604}, face 1, itemtype: 1
[13a5b700|20:40:46] HandleBlockPlace: {71, 69, -604}, face 1, itemtype: 1
[13a5b700|20:40:46] HandleBlockPlace: {71, 70, -604}, face 1, itemtype: 1
[13a5b700|20:40:46] HandleBlockPlace: {71, 71, -604}, face 1, itemtype: 1
[13a5b700|20:40:56] HandleBlockPlace: {72, 70, -604}, face 1, itemtype: 1
[12a59700|20:41:02] Sending a DC: "Nooooo!! You timed out! D: Come back!"
[12a59700|20:41:02] chunk [4, -38] destroying entity #1 for player "ThuGhacK"
[13a5b700|20:41:02] HandleBlockPlace: {73, 70, -604}, face 1, itemtype: 1
[13a5b700|20:41:02] HandleBlockPlace: {74, 70, -604}, face 1, itemtype: 1
[13a5b700|20:41:02] HandleBlockPlace: {77, 70, -604}, face 1, itemtype: 1
[13a5b700|20:41:02] HandleBlockPlace: {76, 70, -604}, face 1, itemtype: 1
[13a5b700|20:41:02] HandleBlockPlace: {76, 71, -604}, face 4, itemtype: 1
[13a5b700|20:41:02] HandleBlockPlace: {77, 71, -604}, face 1, itemtype: 1
[13a5b700|20:41:02] HandleBlockPlace: {76, 71, -604}, face 1, itemtype: 1
[13a5b700|20:41:02] HandleBlockPlace: {75, 71, -604}, face 1, itemtype: 1
[13a5b700|20:41:02] HandleBlockPlace: {74, 71, -604}, face 1, itemtype: 1
[13a5b700|20:41:02] HandleBlockPlace: {73, 71, -604}, face 1, itemtype: 1
[13a5b700|20:41:02] HandleBlockPlace: {72, 71, -604}, face 1, itemtype: 1
[13a5b700|20:41:02] HandleBlockPlace: {77, 70, -605}, face 1, itemtype: 1
[13a5b700|20:41:02] HandleBlockPlace: {-1, 255, -1}, face -1, itemtype: 1
[13a5b700|20:41:02] HandleBlockPlace: {77, 71, -605}, face 1, itemtype: 1
[13a5b700|20:41:02] HandleBlockPlace: {71, 69, -606}, face 1, itemtype: 1
[13a5b700|20:41:02] HandleBlockPlace: {71, 70, -606}, face 1, itemtype: 1
[13a5b700|20:41:02] HandleBlockPlace: {77, 69, -606}, face 1, itemtype: 1
[13a5b700|20:41:02] HandleBlockPlace: {77, 70, -606}, face 1, itemtype: 1
[13a5b700|20:41:02] HandleBlockPlace: {76, 72, -604}, face 2, itemtype: 326
[13a5b700|20:41:02] HandleBlockPlace: {-1, 255, -1}, face -1, itemtype: 326
[13a5b700|20:41:02] Client "ThuGhacK" @ 83.84.152.69 disconnected
[12a59700|20:41:02] Deleting client "ThuGhacK" at 0xd0d1760
[12a59700|20:41:03] Sending a DC: "Server shut down? Kthnxbai"
[12a59700|20:41:03] QueueClose(client 0xd0d1760)
[12a59700|20:41:03] Deleted cProtocol132 at 0xd025340
[12a59700|20:41:03] ClientHandle at 0xd0d1760 deleted
[12a59700|20:41:03] Destroying entity #1
[12a59700|20:41:03] Deleting cPlayer "ThuGhacK" at 0x8c36c60, ID 1; inv win 0xcf68af0
[12a59700|20:41:03] Player 0x8c36c60 deleted
[12a59700|20:41:03] Deleting entity 1 at pos {76.53, -607.51} ~ [4, -37]; ptr 0x8c36c60
[11658700|20:41:07] Client "83.84.152.69" connected!
[11658700|20:41:07] New ClientHandle created at 0xd0747b0
[13a5b700|20:41:07] Sending a DC: "MaouKami MCServer§0§100"
[13a5b700|20:41:08] Client "" @ 83.84.152.69 disconnected
[12a59700|20:41:08] Deleting client "" at 0xd0747b0
[12a59700|20:41:08] QueueClose(client 0xd0747b0)
[12a59700|20:41:08] ClientHandle at 0xd0747b0 deleted
[11658700|20:41:09] Client "83.84.152.69" connected!
[11658700|20:41:09] New ClientHandle created at 0xf3a5900
[13a5b700|20:41:09] Created cProtocol132 at 0x8a095c0
[13a5b700|20:41:10] LOGIN ThuGhacK
[10257700|20:41:11] Got 200 OK :D
[10257700|20:41:11] Got result: YES
[10257700|20:41:11] Result was "YES", so player is authenticated!
[10257700|20:41:11] Created a player object for "ThuGhacK" @ "83.84.152.69" at 0x8c36c60, ID 3
[10257700|20:41:11] Inventory window for player 0x8c36c60 is at 0xd023d10
[10257700|20:41:11] Added ThuGhacK to group Admins
[10257700|20:41:11] Player ThuGhacK has permissions:
[10257700|20:41:11] *
[10257700|20:41:11] Player "ThuGhacK" was read from file, spawning at {76.53, 71.00, -607.51} in world "Maou"
[10257700|20:41:11] Streaming chunks centered on [4, -38], view distance 9
[10257700|20:41:11] cChunk: Entity #2 (cPickup) at [4, 0, -38] spawning for player "ThuGhacK"
[10257700|20:41:11] cChunk: Entity #3 (cPlayer) at [4, 0, -38] spawning for player "ThuGhacK"
[13a5b700|20:41:20] 1. Stack size: 1
[13a5b700|20:41:20] 2. Stack size: 2
[13a5b700|20:41:20] 3. Stack size: 3
[13a5b700|20:41:20] Calling bound function! :D
[13a5b700|20:41:20] ok. Stack size: 1
[13a5b700|20:41:20] Too far away (250.44), "repairing" the client
[13a5b700|20:41:20] Too far away (253.92), "repairing" the client
[13a5b700|20:41:20] Too far away (257.41), "repairing" the client
[13a5b700|20:41:20] Too far away (260.90), "repairing" the client
[13a5b700|20:41:20] Too far away (264.41), "repairing" the client
[13a5b700|20:41:20] Too far away (267.92), "repairing" the client
[13a5b700|20:41:20] Too far away (271.44), "repairing" the client
[13a5b700|20:41:20] Too far away (274.97), "repairing" the client
[13a5b700|20:41:20] Too far away (278.50), "repairing" the client
[13a5b700|20:41:20] Too far away (282.05), "repairing" the client
[13a5b700|20:41:20] Too far away (285.60), "repairing" the client
[13a5b700|20:41:20] Too far away (289.16), "repairing" the client
[13a5b700|20:41:20] Too far away (292.72), "repairing" the client
[13a5b700|20:41:20] Too far away (296.30), "repairing" the client
[13a5b700|20:41:20] Too far away (299.88), "repairing" the client
[13a5b700|20:41:20] Too far away (303.46), "repairing" the client
[13a5b700|20:41:20] Too far away (307.06), "repairing" the client
[13a5b700|20:41:20] Too far away (310.66), "repairing" the client
[13a5b700|20:41:20] Too far away (314.26), "repairing" the client
[13a5b700|20:41:21] Too far away (317.88), "repairing" the client
[13a5b700|20:41:21] Too far away (321.49), "repairing" the client
[13a5b700|20:41:21] Too far away (325.12), "repairing" the client
[13a5b700|20:41:21] Too far away (328.75), "repairing" the client
[13a5b700|20:41:21] Too far away (332.39), "repairing" the client
[13a5b700|20:41:21] Too far away (336.03), "repairing" the client
[13a5b700|20:41:21] Too far away (339.68), "repairing" the client
[13a5b700|20:41:21] Too far away (343.33), "repairing" the client
[13a5b700|20:41:21] Too far away (346.99), "repairing" the client
[13a5b700|20:41:21] Too far away (350.65), "repairing" the client
[13a5b700|20:41:21] Too far away (354.32), "repairing" the client
[13a5b700|20:41:21] Too far away (357.99), "repairing" the client
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 360.67 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 71.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -289.67, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 365.36 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -293.36, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 369.04 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -297.04, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 372.74 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -300.74, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 376.43 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -304.43, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 380.14 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -308.14, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 383.84 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -311.84, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 387.55 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -315.55, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 391.27 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -319.27, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 394.99 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -322.99, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 398.71 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -326.71, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 402.44 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -330.44, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 406.17 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -334.17, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 409.90 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -337.90, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 413.64 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -341.64, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 417.38 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -345.38, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 421.13 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -349.13, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 424.88 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -352.88, -607.51}
[13a5b700|20:41:21] Too far away (428.63), "repairing" the client
[13a5b700|20:41:21] Too far away (432.38), "repairing" the client
[13a5b700|20:41:21] Too far away (436.14), "repairing" the client
[13a5b700|20:41:21] Too far away (439.90), "repairing" the client
[13a5b700|20:41:21] Too far away (443.67), "repairing" the client
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 447.44 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -375.44, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 451.21 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -379.21, -607.51}
[13a5b700|20:41:21] Too far away (454.98), "repairing" the client
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 458.76 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -386.76, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 462.54 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -390.54, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 466.32 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -394.32, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 470.11 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -398.11, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 473.90 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -401.90, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 477.69 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -405.69, -607.51}
[13a5b700|20:41:21] Player "ThuGhacK" sent a weird position confirmation 481.48 blocks away, retrying
[13a5b700|20:41:21] Expected pos: {76.53, 72.00, -607.51}
[13a5b700|20:41:21] Received pos: {76.53, -409.48, -607.51}
[13a5b700|20:41:21] Too far away (485.28), "repairing" the client
[13a5b700|20:41:21] Too far away (489.08), "repairing" the client
[13a5b700|20:41:21] Too far away (492.88), "repairing" the client
[13a5b700|20:41:21] Too far away (496.68), "repairing" the client
[13a5b700|20:41:21] Too far away (500.49), "repairing" the client
[13a5b700|20:41:21] Too far away (504.30), "repairing" the client
[13a5b700|20:41:21] Too far away (508.11), "repairing" the client
[13a5b700|20:41:21] Too far away (511.92), "repairing" the client
[13a5b700|20:41:21] Too far away (515.73), "repairing" the client
[13a5b700|20:41:21] Too far away (519.55), "repairing" the client
[13a5b700|20:41:21] Too far away (523.37), "repairing" the client
[13a5b700|20:41:21] Too far away (527.19), "repairing" the client
[13a5b700|20:41:21] Too far away (531.01), "repairing" the client
[13a5b700|20:41:21] Too far away (534.84), "repairing" the client
[13a5b700|20:41:21] Too far away (538.66), "repairing" the client
[13a5b700|20:41:21] Too far away (542.49), "repairing" the client
[13a5b700|20:41:21] Too far away (546.32), "repairing" the client
[13a5b700|20:41:21] Too far away (550.16), "repairing" the client
[13a5b700|20:41:21] Too far away (553.99), "repairing" the client
[13a5b700|20:41:21] Too far away (557.83), "repairing" the client
[13a5b700|20:41:21] Too far away (561.66), "repairing" the client
[13a5b700|20:41:38] 1. Stack size: 1
[13a5b700|20:41:38] 2. Stack size: 2
[13a5b700|20:41:38] 3. Stack size: 3
[13a5b700|20:41:38] Calling bound function! :D
[13a5b700|20:41:38] ok. Stack size: 1
[13a5b700|20:41:38] Too far away (221.96), "repairing" the client
[13a5b700|20:41:38] Too far away (225.36), "repairing" the client
[13a5b700|20:41:38] Too far away (228.77), "repairing" the client
[13a5b700|20:41:38] Too far away (232.19), "repairing" the client
[13a5b700|20:41:38] Too far away (235.63), "repairing" the client
[13a5b700|20:41:38] Too far away (239.07), "repairing" the client
[13a5b700|20:41:39] Too far away (242.52), "repairing" the client
[13a5b700|20:41:39] Too far away (245.98), "repairing" the client
[13a5b700|20:41:39] Too far away (249.44), "repairing" the client
[13a5b700|20:41:39] Too far away (252.92), "repairing" the client
[13a5b700|20:41:39] Too far away (256.41), "repairing" the client
[13a5b700|20:41:39] Too far away (259.90), "repairing" the client
[13a5b700|20:41:39] Too far away (263.41), "repairing" the client
[13a5b700|20:41:39] Too far away (266.92), "repairing" the client
[13a5b700|20:41:39] Too far away (270.44), "repairing" the client
[13a5b700|20:41:39] Too far away (273.97), "repairing" the client
[13a5b700|20:41:39] Too far away (277.50), "repairing" the client
[13a5b700|20:41:39] Too far away (281.05), "repairing" the client
[13a5b700|20:41:39] Too far away (284.60), "repairing" the client
[13a5b700|20:41:39] Too far away (288.16), "repairing" the client
[13a5b700|20:41:39] Too far away (291.72), "repairing" the client
[13a5b700|20:41:39] Too far away (295.30), "repairing" the client
[13a5b700|20:41:39] Too far away (298.88), "repairing" the client
[13a5b700|20:41:39] Too far away (302.46), "repairing" the client
[13a5b700|20:41:39] Too far away (306.06), "repairing" the client
[13a5b700|20:41:39] Too far away (309.66), "repairing" the client
[13a5b700|20:41:39] Too far away (313.26), "repairing" the client
[13a5b700|20:41:39] Too far away (316.88), "repairing" the client
[13a5b700|20:41:39] Too far away (320.49), "repairing" the client
[13a5b700|20:41:39] Too far away (324.12), "repairing" the client
[13a5b700|20:41:39] Too far away (327.75), "repairing" the client
[13a5b700|20:41:39] Too far away (331.39), "repairing" the client
[13a5b700|20:41:39] Too far away (335.03), "repairing" the client
[13a5b700|20:41:39] Too far away (338.68), "repairing" the client
[13a5b700|20:41:39] Too far away (342.33), "repairing" the client
[13a5b700|20:41:39] Too far away (345.99), "repairing" the client
[13a5b700|20:41:39] Too far away (349.65), "repairing" the client
[13a5b700|20:41:39] Too far away (353.32), "repairing" the client
[13a5b700|20:41:39] Too far away (356.99), "repairing" the client
[13a5b700|20:41:39] Too far away (360.67), "repairing" the client
[13a5b700|20:41:39] Too far away (364.36), "repairing" the client
[13a5b700|20:41:39] Too far away (368.04), "repairing" the client
[13a5b700|20:41:39] Too far away (371.74), "repairing" the client
[13a5b700|20:41:39] Too far away (375.43), "repairing" the client
[13a5b700|20:41:39] Too far away (379.14), "repairing" the client
[13a5b700|20:41:39] Too far away (382.84), "repairing" the client
[13a5b700|20:41:44] 1. Stack size: 1
[13a5b700|20:41:44] 2. Stack size: 2
[13a5b700|20:41:44] 3. Stack size: 3
[13a5b700|20:41:44] Calling bound function! :D
[13a5b700|20:41:44] ThuGhacK returned to spawn.
[13a5b700|20:41:44] ok. Stack size: 1
[13a5b700|20:41:44] Too far away (570.76), "repairing" the client
[13a5b700|20:41:44] Too far away (574.57), "repairing" the client
[13a5b700|20:41:44] Too far away (578.39), "repairing" the client
[13a5b700|20:41:44] Too far away (582.21), "repairing" the client
[13a5b700|20:41:44] Too far away (586.03), "repairing" the client
[13a5b700|20:41:44] Too far away (589.85), "repairing" the client
[13a5b700|20:41:44] Too far away (593.68), "repairing" the client
[13a5b700|20:41:44] Too far away (597.51), "repairing" the client
[13a5b700|20:41:44] Too far away (601.33), "repairing" the client
[13a5b700|20:41:44] Too far away (605.16), "repairing" the client
[13a5b700|20:41:44] Too far away (609.00), "repairing" the client
[13a5b700|20:41:44] Too far away (612.83), "repairing" the client
[13a5b700|20:41:44] Too far away (616.66), "repairing" the client
[13a5b700|20:41:44] Too far away (620.50), "repairing" the client
[13a5b700|20:41:44] Too far away (624.34), "repairing" the client
[13a5b700|20:41:44] Too far away (628.18), "repairing" the client
[13a5b700|20:41:44] Too far away (632.02), "repairing" the client
[13a5b700|20:41:44] Too far away (635.86), "repairing" the client
[13a5b700|20:41:44] Too far away (639.70), "repairing" the client
[12a59700|20:41:48] Streaming chunks centered on [4, -39], view distance 9
[12a59700|20:41:54] Streaming chunks centered on [0, -39], view distance 9
[13a5b700|20:42:29] HandleBlockPlace: {1, 68, -615}, face 1, itemtype: 326
[13a5b700|20:42:29] HandleBlockPlace: {-1, 255, -1}, face -1, itemtype: 326
[11658700|20:42:47] Client "80.56.198.226" connected!
[11658700|20:42:47] New ClientHandle created at 0x5ba42d0
[13a5b700|20:42:52] HandleBlockPlace: {6, 69, -616}, face 1, itemtype: 326
[13a5b700|20:42:52] HandleBlockPlace: {6, 69, -616}, face 4, itemtype: 326
[13a5b700|20:42:52] Sending a DC: "MaouKami MCServer§1§100"
[13a5b700|20:42:57] Client "" @ 80.56.198.226 disconnected
[13a5b700|20:42:57] WindowClick: WinID 4, SlotNum 33, IsRclk 0, IsShift 0, Item -1:0 x 0
[12a59700|20:42:57] Deleting client "" at 0x5ba42d0
[12
Am i right to see line numbers ?
Also cBlockDirtHandler::OnUpdate could this be the reason sometimes crashing while digging ?
Should i run it with http://stackoverflow.com/questions/64172...nd-options
The options they recommend ?
At least this right ?
Option : --leak-resolution=high
Purpose : An option that should be used when doing leak checking since all other options result in confusing reports.
Edit:
Well a more indept run only gave me this as its to slow to let me login srry.
Code:
==1408== Thread 7:
==1408== Conditional jump or move depends on uninitialised value(s)
==1408== at 0x741073: cChunkSender::Execute() (ChunkSender.cpp:144)
==1408== by 0x64BD1C: cIsThread::thrExecute(void*) (IsThread.h:62)
==1408== by 0x55DF8C9: start_thread (pthread_create.c:300)
==1408== by 0x58C4B6C: clone (clone.S:112)
==1408== Uninitialised value was created by a heap allocation
==1408== at 0x4C2695A: operator new(unsigned long) (vg_replace_malloc.c:298)
==1408== by 0x626895: cRoot::LoadWorlds() (Root.cpp:218)
==1408== by 0x626052: cRoot::Start() (Root.cpp:125)
==1408== by 0x744EB2: main (main.cpp:178)
Edit: able to login although quite slow extra error.
Code:
==1408==
==1408== Thread 15:
==1408== Conditional jump or move depends on uninitialised value(s)
==1408== at 0x72CECC: cSimulatorManager::Simulate(float) (SimulatorManager.cpp:36)
==1408== by 0x6C15E9: cWorld::Tick(float) (World.cpp:474)
==1408== by 0x627001: cRoot::TickWorlds(float) (Root.cpp:330)
==1408== by 0x6E2C31: cServer::Tick(float) (Server.cpp:381)
==1408== by 0x6E2ED0: ServerTickThread(void*) (Server.cpp:436)
==1408== by 0x64AEF1: cThread::MyThread(void*) (Thread.cpp:124)
==1408== by 0x55DF8C9: start_thread (pthread_create.c:300)
==1408== by 0x58C4B6C: clone (clone.S:112)
==1408== Uninitialised value was created by a heap allocation
==1408== at 0x4C2695A: operator new(unsigned long) (vg_replace_malloc.c:298)
==1408== by 0x6C08C7: cWorld::cWorld(std::string const&) (World.cpp:292)
==1408== by 0x626B6C: cRoot::LoadWorlds() (Root.cpp:241)
==1408== by 0x626052: cRoot::Start() (Root.cpp:125)
==1408== by 0x744EB2: main (main.cpp:178)
Code:
==1408== Conditional jump or move depends on uninitialised value(s)
==1408== at 0x61D8BF: cBlockDirtHandler::OnUpdate(cWorld*, int, int, int) (BlockDirt.h:55)
==1408== by 0x730739: cChunk::TickBlocks(MTRand&) (Chunk.cpp:519)
==1408== by 0x72FF82: cChunk::Tick(float, MTRand&) (Chunk.cpp:406)
==1408== by 0x6F8550: cChunkMap::cChunkLayer::Tick(float, MTRand&) (ChunkMap.cpp:1817)
==1408== by 0x6F7E71: cChunkMap::Tick(float, MTRand&) (ChunkMap.cpp:1681)
==1408== by 0x6C15B3: cWorld::Tick(float) (World.cpp:470)
==1408== by 0x627001: cRoot::TickWorlds(float) (Root.cpp:330)
==1408== by 0x6E2C31: cServer::Tick(float) (Server.cpp:381)
==1408== by 0x6E2ED0: ServerTickThread(void*) (Server.cpp:436)
==1408== by 0x64AEF1: cThread::MyThread(void*) (Thread.cpp:124)
==1408== by 0x55DF8C9: start_thread (pthread_create.c:300)
==1408== by 0x58C4B6C: clone (clone.S:112)
==1408== Uninitialised value was created by a stack allocation
==1408== at 0x61D746: cBlockDirtHandler::OnUpdate(cWorld*, int, int, int) (BlockDirt.h:29)
==1408==
This needs a new post!
It crashed while testing yay ?
10-26-2012, 06:59 PM (This post was last modified: 10-26-2012, 07:21 PM by xoft.)
I'm sorry to say so, but the big-ass error log wasn't too useful. When the server crashed, it (of course) "leaked" a lot of memory, so the error is mostly about this leaked memory.
One piece of interesting information, though - the program crashed without valgrind detecting any invalid pointer operations. So there's still something else lurking in the shadows.
Well, keep valgrinding it (update first, so that you have the fixes), something useful is bound to fall out of this
What might help, too: enable core dumps: http://stackoverflow.com/questions/29193...-c-program
Basically, just run "ulimit -c unlimited" before launching MCServer / valgrind.
Then if the server crashes, hopefully it will create a core dump file, which could be used for post-mortem analysis. I'll need that core dump file and the executable.
Also, I've found out that -ggdb doesn't imply -g, so both flags should probably be present in the makefile.
Edit:
Uploaded a second crash log was able to try out a bit more.
But i dont think much useful stuff is in there.
Testing is hard as 80% of the time i cant get in or get a timeout.
And everything takes ages to take action like placing water pff wait a minute or more same for chunk loading.
I've fixed the two things valgrind has been complaining about in both logs in rev 1013.
I think right now more valgrinding won't bring much useful info, what we need most is find that stupid crash, and it seems valgrind won't help us there.
Maybe the crashdump isn't created because valgrind is taking over. Try running the server without valgrind and make it crash (make sure ulimit -c stayed unlimited in the meantime; it should, unless you restarted the comp)
Oh, by the way, with the speed - welcome to our (developers') world That slowness is what you get for having a debug build instead of a release build and having a tight memory watcher.
10-28-2012, 03:25 AM (This post was last modified: 10-28-2012, 07:46 AM by ThuGie.)
Hey,
I know about that but its kinda annoying haha.
Anyway tonight i will update and run it without valgrind.
Also i did run it once with ulimit but.. i was told -g wasnt needed as -ggdb was the same.
Now that i know better lets hope for the best and hope it does dump after a crash haha.
And nice that it at least allowed you to fix some bugs . not sure if those bugs fixed are useful but a fix is a fix i guess .
Edit:
Without valgrind it refuses to crash.
But normaly it random crashes so lets just wait.
Unless one of the valgrind errors you fixed where the cause of the crash lol.