Page 1 of 1

[0.17.7] Crash playing multiplayer: "Unknown enum value: 160"

Posted: Thu Mar 07, 2019 12:46 pm
by dabiged
Dumped to desktop whilst playing.

Re: [0.17.7] Random Crash when playing on multiplayer server

Posted: Thu Mar 07, 2019 2:54 pm
by Loewchen

Code: Select all

   0.000 2019-03-07 20:15:40; Factorio 0.17.7 (build 43421, linux64, steam)
   0.062 Operating system: Linux (LinuxMint 18.3)
   0.062 Program arguments: "/home/cdinneen/.steam/steam/steamapps/common/Factorio/bin/x64/factorio" 
   0.062 Read data path: /home/cdinneen/.steam/steam/steamapps/common/Factorio/data
   0.062 Write data path: /home/cdinneen/.factorio [74376/232670MB]
   0.062 Binaries path: /home/cdinneen/.steam/steam/steamapps/common/Factorio/bin
   0.069 System info: [CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz, 8 cores, RAM: 15797 MB]
   0.069 Environment: DISPLAY=:0, WAYLAND_DISPLAY=<unset>
   0.069 Display options: [FullScreen: 0] [VSync: 1] [UIScale: automatic (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.104 Available displays: 1
   0.104  [0]: 0 - {[0,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.140 Initialised OpenGL:[0] GeForce GTX 1050/PCIe/SSE2; driver: 3.3.0 NVIDIA 390.87
   0.140   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
   0.140   [Version] 3.3
   0.221 Graphics settings preset: very-high
   0.221   Dedicated video memory size 4096 MB
   0.221 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: high-quality]
   0.221                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Low quality rotation: 0]
   0.495 Loading mod core 0.0.0 (data.lua)
   0.575 Loading mod base 0.17.7 (data.lua)
   0.728 Loading mod base 0.17.7 (data-updates.lua)
   0.799 Checksum for core: 2736929835
   0.799 Checksum of base: 3541142062
   1.231 Loading sounds...
   1.281 Info PlayerData.cpp:69: Local player-data.json unavailable
   1.281 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1551882820
   1.363 Crop bitmaps.
   3.485 Parallel Sprite Loader initialized (threads: 7)
  13.899 Initial atlas bitmap size is 16384
  13.924 Created atlas bitmap 16384x16380 [none]
  13.927 Created atlas bitmap 16384x11380 [none]
  13.927 Created atlas bitmap 16384x2116 [decal]
  13.928 Created atlas bitmap 16384x3808 [low-object]
  13.928 Created atlas bitmap 16384x1888 [mipmap, linear-minification, linear-magnification, linear-mip-level]
  13.929 Created atlas bitmap 16384x6880 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
  13.929 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
  13.929 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
  13.929 Created atlas bitmap 16384x748 [alpha-mask]
  13.931 Created atlas bitmap 16384x12644 [shadow, linear-magnification, alpha-mask]
  13.931 Created atlas bitmap 16384x1264 [shadow, mipmap, linear-magnification, alpha-mask]
  13.948 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  14.329 Parallel Sprite Loader initialized (threads: 7)
  24.797 Sprites loaded
  25.011 Generated mipmaps for atlas of size 16384x3808
  25.067 Generated mipmaps for atlas of size 16384x1888
  25.121 Generated mipmaps for atlas of size 16384x6880
  25.139 Generated mipmaps for atlas of size 16384x480
  25.159 Generated mipmaps for atlas of size 16384x456
  25.170 Generated mipmaps for atlas of size 16384x1264
  25.226 Custom inputs active: 0
  25.280 Factorio initialised
  34.284 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({0.0.0.0:0}))
  46.153 Info UDPSocket.cpp:210: Closing socket
  46.153 Info UDPSocket.cpp:240: Socket closed
  46.153 Info UDPSocket.cpp:210: Closing socket
  46.157 Joining game IP ADDR:({221.121.159.182:32390})
  46.157 Info UDPSocket.cpp:33: Opening socket
  46.158 Info ClientMultiplayerManager.cpp:572: UpdateTick(4294967295) changing state from(Ready) to(Connecting)
  46.294 Connection refused
  46.294 Info ClientMultiplayerManager.cpp:189: Quitting multiplayer connection.
  46.294 Info ClientMultiplayerManager.cpp:572: UpdateTick(4294967295) changing state from(Connecting) to(Disconnected)
  46.295 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-user-server-key-2
  49.735 Info AuthServerConnector.cpp:139: Received key(Fn58yW92FZpgbyjNMo2p+A==) for username(DaBigEd) from auth server.
  49.736 Info UDPSocket.cpp:210: Closing socket
  49.736 Info UDPSocket.cpp:240: Socket closed
  49.736 Joining game IP ADDR:({221.121.159.182:32390})
  49.736 Info UDPSocket.cpp:33: Opening socket
  49.736 Info ClientMultiplayerManager.cpp:572: UpdateTick(4294967295) changing state from(Ready) to(Connecting)
  49.739 Warning TransmissionControlHelper.cpp:179: Fragment 0000 failed too many times
  49.809 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from IP ADDR:({221.121.159.182:32390}): invalid state (WaitingForAccept) for packet type
  49.809 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from IP ADDR:({221.121.159.182:32390}): invalid state (WaitingForAccept) for packet type
  49.825 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from IP ADDR:({221.121.159.182:32390}): invalid state (WaitingForAccept) for packet type
  49.825 Info UnparsedNetworkMessage.cpp:91: Invalid packet (type ConnectionRequestReply) received from IP ADDR:({221.121.159.182:32390}): invalid state (WaitingForAccept) for packet type
  49.877 Connection refused
  49.877 Info ClientMultiplayerManager.cpp:189: Quitting multiplayer connection.
  49.877 Info ClientMultiplayerManager.cpp:572: UpdateTick(4294967295) changing state from(Connecting) to(Disconnected)
  49.878 Info UDPSocket.cpp:210: Closing socket
  49.878 Info UDPSocket.cpp:240: Socket closed
  52.783 Joining game IP ADDR:({221.121.159.182:32390})
  52.783 Info UDPSocket.cpp:33: Opening socket
  52.784 Info ClientMultiplayerManager.cpp:572: UpdateTick(4294967295) changing state from(Ready) to(Connecting)
  52.944 Info ClientSynchronizer.cpp:35: Initialized Synchronizer local peer(1) latency(32).
  52.944 Info ClientMultiplayerManager.cpp:572: UpdateTick(4294967295) changing state from(Connecting) to(ConnectedWaitingForMap)
  52.944 Info ClientRouter.cpp:224: ConnectionAccepted
  61.192 Info ClientMultiplayerManager.cpp:744: Received mapReadyForDownload
  61.193 Downloading file /home/cdinneen/.factorio/temp/mp-download.zip (47313120 B, 94062 blocks)
  61.227 Info ClientMultiplayerManager.cpp:572: UpdateTick(4294967295) changing state from(ConnectedWaitingForMap) to(ConnectedDownloadingMap)
 217.687 Finished download (156 s, 47.3 MB, 302 kB/s)
 217.772 Info ClientMultiplayerManager.cpp:724: updateTick(4294967295) map download finished creating scenario
 217.772 Info ClientMultiplayerManager.cpp:572: UpdateTick(4294967295) changing state from(ConnectedDownloadingMap) to(ConnectedLoadingMap)
 217.772 Loading map /home/cdinneen/.factorio/temp/mp-download.zip: 47313120 bytes.
 217.790 Loading Level.dat: 118924781 bytes.
 217.796 Info Scenario.cpp:147: Map version 0.17.7-2
 220.919 Loading script.dat: 339 bytes.
 220.923 Checksum for script /home/cdinneen/.factorio/temp/currently-playing/control.lua: 1848333929
 220.982 Info ClientMultiplayerManager.cpp:572: UpdateTick(17418885) changing state from(ConnectedLoadingMap) to(TryingToCatchUp)
 345.841 Info ClientMultiplayerManager.cpp:572: UpdateTick(17434177) changing state from(TryingToCatchUp) to(WaitingForCommandToStartSendingTickClosures)
 345.976 Info ClientMultiplayerManager.cpp:572: UpdateTick(17434177) changing state from(WaitingForCommandToStartSendingTickClosures) to(InGame)
 346.079 Info GameActionHandler.cpp:4032: UpdateTick (17434183) processed PlayerJoinGame peerID(13) playerIndex(21) mode(connect) 
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0xafa09b, 0xc61b7d, 0x9e8698, 0xa0a92f, 0x125f744, 0xbf61d3, 0xbf649b, 0xe8eed1, 0xe992ba, 0xecdc2c, 0xece0ad, 0xece407, 0xefe2e4, 0xefe8a0, 0xb01d41, 0x17d0fbf, 0x76ba, 0
1689.277 Warning Logger.cpp:542: Symbols.size() == 28, usedSize == 17
#0  0x0000000000c61b7d in std::__uniq_ptr_impl<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::_M_ptr() const at /usr/include/c++/8/bits/unique_ptr.h:150
#1  0x00000000009e8698 in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::get() const at /usr/include/c++/8/bits/unique_ptr.h:343
#2  0x0000000000a0a92f in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::operator->() const at /usr/include/c++/8/bits/unique_ptr.h:337
#3  0x000000000125f744 in Logger::flush() at /tmp/factorio-build-GSZdBX/src/Util/Logger.cpp:578
#4  0x0000000000bf61d3 in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-build-GSZdBX/src/Util/Logger.cpp:566
#5  0x0000000000bf649b in Logging::flush() at /tmp/factorio-build-GSZdBX/src/Util/Logging.cpp:65
#6  0x0000000000e8eed1 in Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, std::string const&) at /tmp/factorio-build-GSZdBX/src/Util/Logging.cpp:90
#7  0x0000000000e992ba in Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, char const*, ...) at /tmp/factorio-build-GSZdBX/src/Util/Logging.cpp:83
#8  0x0000000000ecdc2c in void Logging::logEnumAndAbortOrThrow<WaitCondition::ConditionType>(char const*, unsigned int, LogLevel, WaitCondition::ConditionType) at crtstuff.c:?
#9  0x0000000000ece0ad in WaitCondition::isFullfilled(Train const*, LazyLoadedCounts<Train, std::map<ID<ItemPrototype, unsigned short>, unsigned int, std::less<ID<ItemPrototype, unsigned short> >, std::allocator<std::pair<ID<ItemPrototype, unsigned short> const, unsigned int> > > >&) const at /tmp/factorio-build-GSZdBX/src/Rail/WaitCondition.cpp:200
#10 0x0000000000ece407 in TrainScheduleRecord::isFullFilled(Train const*) const at /tmp/factorio-build-GSZdBX/src/Rail/TrainScheduleRecord.cpp:82
#11 0x0000000000efe2e4 in Train::update() at /tmp/factorio-build-GSZdBX/src/Rail/Train.cpp:1076 (discriminator 4)
#12 0x0000000000efe8a0 in TrainManager::update(bool) at /tmp/factorio-build-GSZdBX/src/Rail/TrainManager.cpp:238
#13 0x0000000000b01d41 in __gnu_cxx::__normal_iterator<ForceData**, std::vector<ForceData*, std::allocator<ForceData*> > >::__normal_iterator(ForceData** const&) at /usr/include/c++/8/bits/stl_iterator.h:781
#14 0x00000000017d0fbf in std::vector<ForceData*, std::allocator<ForceData*> >::end() at /usr/include/c++/8/bits/stl_vector.h:717
#15 0x00000000000076ba in ForceManager::update(unsigned int) at /tmp/factorio-build-GSZdBX/src/Force/ForceManager.cpp:107
#16 (nil) in Map::updateEntities() at /tmp/factorio-build-GSZdBX/src/Map/Map.cpp:1445
#17 (nil) in Map::update() at /tmp/factorio-build-GSZdBX/src/Map/Map.cpp:1399
#18 0x0000000000000004 in Game::update() at /tmp/factorio-build-GSZdBX/src/Game.cpp:189
#19 0x00000000010b288c in Scenario::update() at /tmp/factorio-build-GSZdBX/src/Scenario/Scenario.cpp:1077
#20 0x0000000000634d08 in Scenario::updateStep() at /tmp/factorio-build-GSZdBX/src/Scenario/Scenario.cpp:975
#21 0x4085c0d89e11a252 in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) at /tmp/factorio-build-GSZdBX/src/MainLoop.cpp:1101
#22 0x3ff0000000000000 in MainLoop::gameUpdateLoop(MainLoop::HeavyMode) at /tmp/factorio-build-GSZdBX/src/MainLoop.cpp:968
#23 0x4085c6877bf298d1 in std::function<void ()>::operator=(decltype(nullptr)) at /usr/include/c++/8/bits/std_function.h:495
#24 0x4085c0d89e11a252 in WorkerThread::loop() at /tmp/factorio-build-GSZdBX/src/Util/WorkerThread.cpp:42
#25 0x412e848000000000 in execute_native_thread_routine at blake2s.c:?
#26 0x4125ade0467a4ed7 in ?? at ??:0
#27 0x416fca0555555555 in ?? at ??:0
Stack trace logging done
1694.415 Warning Logger.cpp:542: Symbols.size() == 23, usedSize == 16
1694.415 Error WaitCondition.cpp:200: Unknown enum value: 160
Logger::writeStacktrace skipped.
1694.415 Error CrashHandler.cpp:174: Map tick at moment of crash: 17508492
1694.415 Error Util.cpp:97: 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.
1701.199 Uploading log file

[0.17.09] - Server Crash potential to be "Artillery Vagon" shooting

Posted: Sun Mar 10, 2019 6:07 pm
by Perfk
Server log: https://pastebin.com/h4wjr92F
Serverhost: GM8

What happened: After 2days, 5h the server suddenly "crashed". We were 3 on the server when it happened.
After the crash, i started the server up, and while i was the only one on. did i try to recreate what i did when the crash happened. and it crashed again.

I was laying down tracks and then moving my long (19 vagon train) along the new tracks. When it stopped, it moved its turrents, and the moment it fired, the server crashed.

Merged...

Re: [0.17.7] Crash playing multiplayer: "Unknown enum value: 160"

Posted: Wed Mar 20, 2019 11:10 pm
by Rseding91
This should be fixed for the next version of 0.17.