[0.14.5] [Oxyd] random crash - not sure what caused it

Bugs that are actually features.
Post Reply
tacgnol
Inserter
Inserter
Posts: 36
Joined: Sun May 29, 2016 3:51 am
Contact:

[0.14.5] [Oxyd] random crash - not sure what caused it

Post by tacgnol »

this is what I have

I will try to get more info.

if my save game is required, please let me know. thanks

Code: Select all

   9.941 Info ServerMultiplayerManager.cpp:701: mapTick(7758289) received stateChanged peerID(1) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
 135.570 Error CrashHandler.cpp:210: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
 136.479 Warning Logger.cpp:364: Symbols.size() == 17, usedSize == 11
#0  0x84235d in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-R73bVs/src/Util/Logger.cpp:386
#1  0xaad0eb in CrashHandler::writeStackTrace() at /tmp/factorio-R73bVs/src/Util/CrashHandler.cpp:105
#2  0xaad364 in CrashHandler::SignalHandler(int) at /tmp/factorio-R73bVs/src/Util/CrashHandler.cpp:215
#3  0x7fa2c571c4a0 in ?? at ??:0
#4  0xc28342 in update at /tmp/factorio-R73bVs/src/Surface/Chunk.cpp:477
#5  0xc2a282 in update at /tmp/factorio-R73bVs/src/Surface/Surface.cpp:861
#6  0xc3b093 in update at /tmp/factorio-R73bVs/src/Map/Map.cpp:1127
#7  0xc3beb1 in update at /tmp/factorio-R73bVs/src/Game.cpp:144
#8  0xcc727b in update at /tmp/factorio-R73bVs/src/Scenario/Scenario.cpp:835
#9  0x7fa2c5707830 in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) [clone .constprop.70994] at /tmp/factorio-R73bVs/src/MainLoop.cpp:720
#10 0x406a29 in getBaseMultiplayerManager at /tmp/factorio-R73bVs/src/GlobalContext.cpp:966
 137.362 Warning Logger.cpp:364: Symbols.size() == 16, usedSize == 10
 137.362 Error CrashHandler.cpp:106: Map tick at moment of crash: 7765827
 137.362 Error Util.cpp:77: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.

Last edited by tacgnol on Sat Sep 10, 2016 6:50 pm, edited 2 times in total.

tacgnol
Inserter
Inserter
Posts: 36
Joined: Sun May 29, 2016 3:51 am
Contact:

Re: random crash - not sure what caused it

Post by tacgnol »

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
4847.486 Warning Logger.cpp:364: Symbols.size() == 14, usedSize == 10
#0  0x84235d in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-R73bVs/src/Util/Logger.cpp:386
#1  0xaad0eb in CrashHandler::writeStackTrace() at /tmp/factorio-R73bVs/src/Util/CrashHandler.cpp:105
#2  0xaad364 in CrashHandler::SignalHandler(int) at /tmp/factorio-R73bVs/src/Util/CrashHandler.cpp:215
#3  0x7f9a7330b4a0 in ?? at ??:0
#4  0x733f58 in TilePropertiesCache::getChunkProperties(ChunkPosition const&) at /tmp/factorio-R73bVs/src/Map/TilePropertiesCache.cpp:23
#5  0x73711b in generateBasicTiles at /tmp/factorio-R73bVs/src/Map/AsynchronousMapGenerator.cpp:19
#6  0x9e1666 in compute at /tmp/factorio-R73bVs/src/Map/BasicTilesMapGenerationTask.cpp:9
#7  0x10ec080 in __gthread_mutex_lock at /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h:748
#8  0x7f9a73fd16fa in lock at /usr/include/c++/5/mutex:135
#9  0x7f9a733dcb5d in std::lock_guard<std::mutex>::lock_guard(std::mutex&) at /usr/include/c++/5/mutex:377
4848.344 Warning Logger.cpp:364: Symbols.size() == 13, usedSize == 9
4848.344 Error CrashHandler.cpp:106: Map tick at moment of crash: 7846331
4848.344 Error Util.cpp:77: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.

Loewchen
Global Moderator
Global Moderator
Posts: 8308
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: random crash - not sure what caused it

Post by Loewchen »

Please upload the complete logs.

tacgnol
Inserter
Inserter
Posts: 36
Joined: Sun May 29, 2016 3:51 am
Contact:

Re: random crash - not sure what caused it

Post by tacgnol »

I don't have it anymore, the log turned over since. But it was only stuff related to connecting player, or disconnected player.

is there more log than factorio-current.log and factorio-previous.log that i should check ?



Also, forgot to mention it, I am running headless on ubuntu x64.

tacgnol
Inserter
Inserter
Posts: 36
Joined: Sun May 29, 2016 3:51 am
Contact:

Re: [0.14.5]random crash - not sure what caused it

Post by tacgnol »

It crashed again, here's the full 'previous' log :

Code: Select all

   0.000 2016-09-10 02:54:59; Factorio 0.14.5 (build 24594, linux64, headless)
   0.154 Operating system: Linux (Ubuntu 16.04)
   0.155 Program arguments: "/opt/factorio/bin/x64/factorio" "--config" "/opt/factorio/config/config.ini" "--port" "34197" "--start-server-load-latest" "--server-settings" "/opt/factorio/data/server-settings.json" "--autosave-interval" "5" "--autosave-slots" "5" "--allow-commands" "admins-only"
   0.155 Read data path: /opt/factorio/data
   0.155 Write data path: /opt/factorio
   0.155 Binaries path: /opt/factorio/bin
   0.169 Running in headless mode
   0.175 Loading mod core 0.0.0 (data.lua)
   0.179 Loading mod base 0.14.5 (data.lua)
   0.283 Checksum for core: 1620335853
   0.283 Checksum for mod base: 574141439
   0.662 Info PlayerData.cpp:45: Local player-data.json available, timestamp 1473484364
   0.662 Info PlayerData.cpp:52: Cloud player-data.json unavailable
   0.668 Custom inputs active: 0
   0.671 Factorio initialised
   0.673 Info ServerSynchronizer.cpp:27: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
   0.673 Info ServerMultiplayerManager.cpp:625: mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
   0.673 Info ServerMultiplayerManager.cpp:625: mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
   0.673 Loading map /opt/factorio/saves/_autosave4.zip
   0.705 Info Scenario.cpp:148: Map version 0.14.5-3
   2.083 Checksum for script /opt/factorio/temp/currently-playing/control.lua: 900459546
   2.098 Info PosixUDPSocket.cpp:50: Opening socket at port 34197
   2.098 Hosting game at port 34197
   2.098 Info HttpSharedState.cpp:44: Downloading https://auth.factorio.com/generate-server-padlock
   2.240 Info HttpSharedState.cpp:108: Status code: 200
   2.240 Info AuthServerConnector.cpp:106: Obtained serverPadlock for serverHash (lOs11ll74xVj8HX2c36YqouWeGWDHo5m) from the auth server.
   2.240 Info ServerMultiplayerManager.cpp:625: mapTick(8154001) changing state from(CreatingGame) to(InGame)
  16.665 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(192.168.5.25:53149)
  16.665 Refusing connection for address(192.168.5.25:53149). User verification is required for this game.
  16.900 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(192.168.5.25:59179)
  16.900 Info ServerRouter.cpp:418: Replying to connectionRequest for address(192.168.5.25:59179).
  16.900 Info ServerSynchronizer.cpp:504: nextHeartbeatSequenceNumber(0) adding peer(1)
  16.917 Info ServerMultiplayerManager.cpp:625: mapTick(8154001) changing state from(InGame) to(InGameSavingMap)
  16.950 Info ServerMultiplayerManager.cpp:701: mapTick(8154001) received stateChanged peerID(1) oldState(Ready) newState(ConnectedWaitingForMap)
  18.012 Info ServerMultiplayerManager.cpp:733: MapTick(8154001) Serving map(/opt/factorio/temp/mp-save-0.zip) for peer(1) size(14053926) crc(4291187319)
  18.012 Info ServerMultiplayerManager.cpp:625: mapTick(8154001) changing state from(InGameSavingMap) to(InGame)
  18.082 Info ServerMultiplayerManager.cpp:701: mapTick(8154007) received stateChanged peerID(1) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
  19.631 Info ServerMultiplayerManager.cpp:701: mapTick(8154100) received stateChanged peerID(1) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
  21.249 Info ServerMultiplayerManager.cpp:701: mapTick(8154166) received stateChanged peerID(1) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
  21.547 Info ServerMultiplayerManager.cpp:701: mapTick(8154184) received stateChanged peerID(1) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
  21.547 Info GameActionHandler.cpp:2551: MapTick(8154184) processed PlayerJoinGame peerID(1) playerIndex(0) mode(connect)
  21.601 Info ServerMultiplayerManager.cpp:701: mapTick(8154188) received stateChanged peerID(1) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
  29.039 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(70.30.227.50:64723)
  29.040 Refusing connection for address(70.30.227.50:64723). User verification is required for this game.
  29.268 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(70.30.227.50:51039)
  29.268 Info ServerRouter.cpp:418: Replying to connectionRequest for address(70.30.227.50:51039).
  29.268 Info ServerSynchronizer.cpp:504: nextHeartbeatSequenceNumber(337) adding peer(2)
  29.286 Info ServerMultiplayerManager.cpp:625: mapTick(8154649) changing state from(InGame) to(InGameSavingMap)
  29.320 Info ServerMultiplayerManager.cpp:701: mapTick(8154649) received stateChanged peerID(2) oldState(Ready) newState(ConnectedWaitingForMap)
  30.382 Info ServerMultiplayerManager.cpp:733: MapTick(8154649) Serving map(/opt/factorio/temp/mp-save-1.zip) for peer(2) size(14014164) crc(1730426480)
  30.382 Info ServerMultiplayerManager.cpp:625: mapTick(8154649) changing state from(InGameSavingMap) to(InGame)
  30.472 Info ServerMultiplayerManager.cpp:701: mapTick(8154656) received stateChanged peerID(2) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
  33.458 Info ServerMultiplayerManager.cpp:701: mapTick(8154835) received stateChanged peerID(2) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
  34.304 Info ServerMultiplayerManager.cpp:701: mapTick(8154886) received stateChanged peerID(2) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
  34.708 Info ServerMultiplayerManager.cpp:701: mapTick(8154910) received stateChanged peerID(2) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
  34.708 Info GameActionHandler.cpp:2551: MapTick(8154910) processed PlayerJoinGame peerID(2) playerIndex(1) mode(connect)
  34.797 Info ServerMultiplayerManager.cpp:701: mapTick(8154915) received stateChanged peerID(2) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
5729.544 Info ServerMultiplayerManager.cpp:775: Disconnect notification for peer (2)
5729.544 Info ServerMultiplayerManager.cpp:701: mapTick(8495380) received stateChanged peerID(2) oldState(InGame) newState(DisconnectScheduled)
5729.563 Info ServerSynchronizer.cpp:519: nextHeartbeatSequenceNumber(155651) removing peer(2).
6044.293 Info ServerMultiplayerManager.cpp:775: Disconnect notification for peer (1)
6044.294 Info ServerMultiplayerManager.cpp:701: mapTick(8514125) received stateChanged peerID(1) oldState(InGame) newState(DisconnectScheduled)
6044.294 Info ServerSynchronizer.cpp:519: nextHeartbeatSequenceNumber(164288) removing peer(1).
39711.942 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(70.30.227.50:49990)
39711.942 Refusing connection for address(70.30.227.50:49990). User verification is required for this game.
39712.360 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(70.30.227.50:56699)
39712.360 Info ServerRouter.cpp:418: Replying to connectionRequest for address(70.30.227.50:56699).
39712.361 Info ServerSynchronizer.cpp:504: nextHeartbeatSequenceNumber(164288) adding peer(3)
39712.377 Info ServerMultiplayerManager.cpp:625: mapTick(8514126) changing state from(InGame) to(InGameSavingMap)
39712.394 Info ServerMultiplayerManager.cpp:701: mapTick(8514126) received stateChanged peerID(3) oldState(Ready) newState(ConnectedWaitingForMap)
39713.599 Info ServerMultiplayerManager.cpp:733: MapTick(8514126) Serving map(/opt/factorio/temp/mp-save-2.zip) for peer(3) size(15388094) crc(1127535329)
39713.599 Info ServerMultiplayerManager.cpp:625: mapTick(8514126) changing state from(InGameSavingMap) to(InGame)
39713.668 Info ServerMultiplayerManager.cpp:701: mapTick(8514132) received stateChanged peerID(3) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
39715.819 Info ServerMultiplayerManager.cpp:701: mapTick(8514261) received stateChanged peerID(3) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
39716.833 Info ServerMultiplayerManager.cpp:701: mapTick(8514322) received stateChanged peerID(3) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
39717.187 Info ServerMultiplayerManager.cpp:701: mapTick(8514343) received stateChanged peerID(3) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
39717.187 Info GameActionHandler.cpp:2551: MapTick(8514343) processed PlayerJoinGame peerID(3) playerIndex(1) mode(connect)
39717.277 Info ServerMultiplayerManager.cpp:701: mapTick(8514348) received stateChanged peerID(3) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
47172.614 Error CrashHandler.cpp:210: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
47173.832 Warning Logger.cpp:364: Symbols.size() == 25, usedSize == 16
#0  0x84235d in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-R73bVs/src/Util/Logger.cpp:386
#1  0xaad0eb in CrashHandler::writeStackTrace() at /tmp/factorio-R73bVs/src/Util/CrashHandler.cpp:105
#2  0xaad364 in CrashHandler::SignalHandler(int) at /tmp/factorio-R73bVs/src/Util/CrashHandler.cpp:215
#3  0x7f3e713be4a0 in ?? at ??:0
#4  0xa8143f in collidePredicate at /tmp/factorio-R73bVs/src/Map/AdvancedTile.cpp:8
#5  0xa81873 in collideWithEntityPredicate at /tmp/factorio-R73bVs/src/Surface/Surface.cpp:743
#6  0xa81e1e in Surface::collidePredicate(BoundingBox const&, CollisionMask, std::function<bool (Entity*)>) [clone .isra.69393] at /tmp/factorio-R73bVs/src/Surface/Surface.cpp:727
#7  0xa83d6e in Surface::findNonCollidingPositionOptimised(BoundingBox const&, CollisionMask, RealPosition const&, double, double&, double&, double) [clone .isra.69394] at /tmp/factorio-R73bVs/src/Surface/Surface.cpp:211
#8  0xa95f4d in findNonCollidingPosition at /tmp/factorio-R73bVs/src/Surface/Surface.cpp:189
#9  0xc26012 in findGroupMeetingPosition at /tmp/factorio-R73bVs/src/AI/Commander.cpp:252
#10 0xc2a282 in setGroupCommand at /tmp/factorio-R73bVs/src/AI/Commander.cpp:120
#11 0xc3b093 in buildNewBase at /tmp/factorio-R73bVs/src/AI/Commander.cpp:369
#12 0xc3beb1 in update at /tmp/factorio-R73bVs/src/AI/Commander.cpp:223
#13 0xcc727b in update at /tmp/factorio-R73bVs/src/Surface/Surface.cpp:849
#14 0x7f3e713a9830 in update at /tmp/factorio-R73bVs/src/Map/Map.cpp:1127
#15 0x406a29 in update at /tmp/factorio-R73bVs/src/Game.cpp:144
47174.816 Warning Logger.cpp:364: Symbols.size() == 24, usedSize == 15
47174.816 Error CrashHandler.cpp:106: Map tick at moment of crash: 8959932
47174.816 Error Util.cpp:77: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
Attachments
_autosave2.zip
(15.37 MiB) Downloaded 53 times

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.14.5] [Oxyd] random crash - not sure what caused it

Post by Oxyd »

Can't reproduce. The save you provided doesn't crash for me. Is there something specific I have to do?

tacgnol
Inserter
Inserter
Posts: 36
Joined: Sun May 29, 2016 3:51 am
Contact:

Re: [0.14.5] [Oxyd] random crash - not sure what caused it

Post by tacgnol »

I don't know how to reproduce ... those were pretty random crash. sometime i would just wait for my item to be done being crafted, then it would crash.

sometime i can play for 10 hours straight, then it would crash non-stop.

a hard reboot on my headless server seems to help to reduce the crash.

Is there a way to have a more verbose output in the log ?

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.14.5] [Oxyd] random crash - not sure what caused it

Post by Oxyd »

tacgnol wrote:I don't know how to reproduce ... those were pretty random crash. sometime i would just wait for my item to be done being crafted, then it would crash.

sometime i can play for 10 hours straight, then it would crash non-stop.

a hard reboot on my headless server seems to help to reduce the crash.

Is there a way to have a more verbose output in the log ?
That sounds a lot like hardware issue – it crashes in random places and at random times.

I would suggest that you run memtest on your server – might be bad RAM or bad CPU.

Post Reply

Return to “Not a bug”