[0.15.10] ogl_flush_vertex_cache

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
User avatar
HeilTec
Filter Inserter
Filter Inserter
Posts: 258
Joined: Tue Jul 08, 2014 1:14 pm
Contact:

[0.15.10] ogl_flush_vertex_cache

Post by HeilTec »

Unexplained crash in a multiplayer game on a headless server.
factorio-current.log.zip
Crash report
(14.41 KiB) Downloaded 119 times
Server: _autosave.3.zip

System:

ubuntu 16.04 LTS
Memory: 3.9 GiB
Processor: Intel® Core™2 Duo CPU E8400 @ 3.00GHz × 2
Graphics: GeForce 9600 GT/PCIe/SSE2
OS type: 64-bit

Hope to help making this great game even greater.
Loewchen
Global Moderator
Global Moderator
Posts: 9183
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.15.10] Crash (SIGSEGV)

Post by Loewchen »

Code: Select all

   0.012 2017-05-14 20:05:53; Factorio 0.15.10 (build 29654, linux64, steam)
   0.403 Operating system: Linux (Ubuntu 16.04)
   0.403 Program arguments: "/home/heiltec/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio" 
   0.403 Read data path: /home/heiltec/.local/share/Steam/steamapps/common/Factorio/data
   0.403 Write data path: /home/heiltec/.factorio
   0.403 Binaries path: /home/heiltec/.local/share/Steam/steamapps/common/Factorio/bin
   0.439 System info: [CPU: Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz, 2 cores, RAM: 3950MB]
   0.439 Display options: [FullScreen: 1] [VSync: 1] [UIScale: 94.0217%] [MultiSampling: OFF] [Screen: 1]
   0.611 Available display adapters: 2
   0.611  [0]: resolution 1280x1024px at [1920,0]
   0.611  [1]: resolution 1920x1080px at [0,0]
   0.611 Create display on adapter 1. Size 1280x720 at position [310, 162].
   1.049 Initialised OpenGL:[1] GeForce 9600 GT/PCIe/SSE2; driver: 3.3.0 NVIDIA 340.102
   1.049     Video memory size (dedicated/total available/current available): 512/512/174 MB
   1.176 Graphics settings preset: medium
   1.176 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 25%] [DXT: auto]
   1.399 Loading mod core 0.0.0 (data.lua)
   1.615 Loading mod base 0.15.10 (data.lua)
   3.538 Loading mod base 0.15.10 (data-updates.lua)
   3.661 Checksum for core: 493117188
   3.661 Checksum of base: 3607179770
   4.087 Info PlayerData.cpp:56: Local player-data.json available, timestamp 1494783286
   4.088 Info PlayerData.cpp:61: Cloud player-data.json available, timestamp 1494783285
   4.320 Loaded shader file /home/heiltec/.local/share/Steam/steamapps/common/Factorio/data/core/graphics/shaders/game.glsl
   4.321 Loaded shader file /home/heiltec/.local/share/Steam/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.glsl
   4.360 Initial atlas bitmap size is 8192
   4.523 Created atlas bitmap 8192x8123
   4.528 Created atlas bitmap 4096x4084
   4.563 Created atlas bitmap 4096x3976
   4.597 Created atlas bitmap 4096x3648
   4.601 Created atlas bitmap 4096x1860
   4.638 Created atlas bitmap 4096x4092
   4.642 Created atlas bitmap 4096x582
   4.681 Created atlas bitmap 4096x4096
   4.704 Created atlas bitmap 4096x2600
   4.720 Created atlas bitmap 4096x1568
  34.985 Sprites loaded
  34.985 Convert atlas 4096x4084 to: compressed 
  36.080 Convert atlas 4096x3976 to: compressed 
  37.092 Convert atlas 4096x3648 to: mipmap 
  37.366 Convert atlas 4096x1860 to: trilinear-filtering 
  37.584 Convert atlas 4096x4096 to: compressed 
  38.252 Convert atlas 4096x2600 to: compressed 
  38.632 Convert atlas 4096x1568 to: mipmap compressed 
  40.743 Loading sounds...
  45.187 Custom inputs active: 0
  45.228 Factorio initialised
  45.242 Game is running on selected version branch on Steam.
  61.851 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:0)
 299.532 Info UDPSocket.cpp:234: Socket closed
 299.536 Joining game 85.25.214.109:40016
 299.536 Info UDPSocket.cpp:33: Opening socket
 299.536 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(Ready) to(Connecting)
 299.983 Connection refused
 300.000 Info ClientMultiplayerManager.cpp:177: Quitting multiplayer connection.
 300.000 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(Connecting) to(Disconnected)
 300.001 Info HttpSharedState.cpp:44: Downloading https://auth.factorio.com/generate-user-server-key
 300.896 Info HttpSharedState.cpp:111: Status code: 200
 300.896 Info AuthServerConnector.cpp:136: Received key(DwP95IbzflTaBdBUTZlCJw==) for username(HeilTec) from auth server.
 300.971 Info UDPSocket.cpp:234: Socket closed
 300.971 Joining game 85.25.214.109:40016
 300.971 Info UDPSocket.cpp:33: Opening socket
 300.971 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(Ready) to(Connecting)
 301.399 Connection refused
 301.400 Info ClientMultiplayerManager.cpp:177: Quitting multiplayer connection.
 301.400 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(Connecting) to(Disconnected)
 301.483 Info UDPSocket.cpp:234: Socket closed
 310.544 Joining game 85.25.214.109:40016
 310.544 Info UDPSocket.cpp:33: Opening socket
 310.544 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(Ready) to(Connecting)
 310.949 Info ClientSynchronizer.cpp:34: Initialized Synchronizer local peer(1) latency(32).
 310.950 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(Connecting) to(ConnectedWaitingForMap)
 310.950 Info ClientRouter.cpp:220: ConnectionAccepted
 311.416 Info ClientMultiplayerManager.cpp:669: Received mapReadyForDownload
 311.416 Downloading file /home/heiltec/.factorio/temp/mp-download.zip (9377791 B, 18644 blocks)
 311.421 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(ConnectedWaitingForMap) to(ConnectedDownloadingMap)
 316.681 Finished download (5 s, 9.3 MB, 1.7 MB/s)
 316.740 Info ClientMultiplayerManager.cpp:650: mapTick(-1) map download finished creating scenario
 316.741 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(ConnectedDownloadingMap) to(ConnectedLoadingMap)
 316.743 Loading map /home/heiltec/.factorio/temp/mp-download.zip: 9377791 bytes.
 316.757 Loading Level.dat: 22392085 bytes.
 316.764 Info Scenario.cpp:133: Map version 0.15.10-3
 317.513 Info BlueprintLibrary.cpp:189: Loaded library shelves:
 317.513 Info BlueprintLibrary.cpp:678: Game shelf: playerIndex = 65535, nextRecordID = 0; timestamp = 1494002601; records:
 317.513 Info BlueprintLibrary.cpp:680: Player shelf: playerIndex = 0, nextRecordID = 6; timestamp = 1494785381; records: (id: 0, 5; label: "", preview: false, empty: false; single) (id: 0, 0; label: "Science", preview: false, empty: false; single) (id: 0, 4; label: "Spoons tune :D", preview: false, empty: false; single) (id: 0, 2; label: "science expand", preview: false, empty: false; single)
 317.513 Info BlueprintLibrary.cpp:680: Player shelf: playerIndex = 1, nextRecordID = 2; timestamp = 1494612698; records: (id: 1, 0; label: "Arumbas upgradable furnaces", preview: false, empty: false; single) (id: 1, 1; label: "Loading", preview: false, empty: false; single)
 317.513 Info BlueprintLibrary.cpp:680: Player shelf: playerIndex = 2, nextRecordID = 0; timestamp = 1494185355; records:
 317.683 Info BlueprintLibrary.cpp:46: Loaded external blueprint storage: playerIndex = 1, nextRecordID = 2; timestamp = 1494612698; records: (id: 1, 0; label: "Arumbas upgradable furnaces", preview: false, empty: false; single) (id: 1, 1; label: "Loading", preview: false, empty: false; single)
 317.684 Loading script.dat: 190 bytes.
 317.700 Checksum for script /home/heiltec/.factorio/temp/currently-playing/control.lua: 76911248
 317.774 Info ClientMultiplayerManager.cpp:539: MapTick(5783959) changing state from(ConnectedLoadingMap) to(TryingToCatchUp)
 318.427 Info ClientMultiplayerManager.cpp:539: MapTick(5784381) changing state from(TryingToCatchUp) to(WaitingForCommandToStartSendingTickClosures)
 318.708 Info ClientMultiplayerManager.cpp:539: MapTick(5784381) changing state from(WaitingForCommandToStartSendingTickClosures) to(InGame)
 318.958 Info ClientSynchronizer.cpp:257: Changing local latency from 32 to 108 (nextTickToSend: 5784428, ticksClientWillJumpOver: 0 {})
 318.963 Info GameActionHandler.cpp:3243: MapTick (5784396) processed PlayerJoinGame peerID(4) playerIndex(1) mode(connect ) 
 332.115 Info ClientSynchronizer.cpp:257: Changing local latency from 108 to 58 (nextTickToSend: 5785289, ticksClientWillJumpOver: 0 {})
 337.112 Info ClientSynchronizer.cpp:257: Changing local latency from 58 to 57 (nextTickToSend: 5785538, ticksClientWillJumpOver: 0 {})

...

7567.425 Info ClientSynchronizer.cpp:257: Changing local latency from 35 to 37 (nextTickToSend: 6186021, ticksClientWillJumpOver: 0 {})
7577.415 Info ClientSynchronizer.cpp:257: Changing local latency from 37 to 42 (nextTickToSend: 6186621, ticksClientWillJumpOver: 0 {})
7591.681 Error CrashHandler.cpp:232: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
7595.454 Warning Logger.cpp:386: Symbols.size() == 28, usedSize == 22
#0  0x0000000000aca2fd in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-guvDQc/src/Util/Logger.cpp:408
#1  0x000000000066a5e0 in CrashHandler::writeStackTrace() at /tmp/factorio-guvDQc/src/Util/CrashHandler.cpp:105
#2  0x000000000066a864 in CrashHandler::SignalHandler(int) at /tmp/factorio-guvDQc/src/Util/CrashHandler.cpp:237
#3  0x00007f684d41a4b0 in ?? at ??:0
#4  0x00007f684b03a15b in ?? at ??:0
#5  0x00007f684b10ea68 in ?? at ??:0
#6  0x00007f684b10fb87 in ?? at ??:0
#7  0x00007f684b110490 in ?? at ??:0
#8  0x00007f684b0d83ac in ?? at ??:0
#9  0x00007f684b13c6e5 in ?? at ??:0
#10 0x00007f684b19e2b8 in ?? at ??:0
#11 0x00007f684ae12378 in ?? at ??:0
#12 0x0000000000fdaec1 in ogl_flush_vertex_cache at /tmp/factorio-guvDQc/libraries/Allegro/src/opengl/ogl_draw.c:459
#13 0x0000000000fd9514 in draw_quad_optimised at /tmp/factorio-guvDQc/libraries/Allegro/src/opengl/ogl_bitmap.c:300
#14 0x00000000004b4d78 in ogl_draw_bitmap_region_optimised at /tmp/factorio-guvDQc/libraries/Allegro/src/opengl/ogl_bitmap.c:487
#15 0x00000000004b5007 in SpriteDrawOrder::renderInternal(float, RealPosition, ALLEGRO_COLOR const*) const [clone .constprop.113765] at /tmp/factorio-guvDQc/src/Graphics/SpriteDrawOrder.cpp:241
#16 0x00000000008403fc in SpriteDrawOrder::render(float) const [clone .constprop.113762] at /tmp/factorio-guvDQc/src/Graphics/SpriteDrawOrder.cpp:155
#17 0x0000000000892437 in DrawEngine::drawEntities(std::vector<DrawQueue const*, std::allocator<DrawQueue const*> > const&, unsigned char, unsigned char) at /tmp/factorio-guvDQc/src/Graphics/DrawEngine.cpp:385
#18 0x0000000000e3b445 in render at /tmp/factorio-guvDQc/src/Graphics/DrawEngine.cpp:126
#19 0x0000000000eaa345 in render at /tmp/factorio-guvDQc/src/Graphics/GameRenderer.cpp:190
#20 0x00007f684d405830 in render at /tmp/factorio-guvDQc/src/GameView.cpp:911
#21 0x000000000040af29 in render at /tmp/factorio-guvDQc/src/Game.cpp:333
7598.160 Warning Logger.cpp:386: Symbols.size() == 27, usedSize == 21
7598.160 Error CrashHandler.cpp:106: Map tick at moment of crash: 6187428
7598.160 Error Util.cpp:76: 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.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.15.10] ogl_flush_vertex_cache

Post by kovarex »

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

Re: [0.15.10] ogl_flush_vertex_cache

Post by Oxyd »

I see all of the reports seem to come from the Steam version. Did anything Steam-related happen around the time of crash? Like a Steam popup showing up or something. Also if somebody could get a coredump, that might be helpful.
posila
Factorio Staff
Factorio Staff
Posts: 5350
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.15.10] ogl_flush_vertex_cache

Post by posila »

Hi, if it happens in 0.15.16, can you post new log? We have added some extra logging to OGL code.
Post Reply

Return to “Pending”