[Res] Game crashes when saving

User ID: 9d48c6da-1414-11e5-b8cb-001c42902db4
Device: Apple MacBook Pro Retina (Mid-2012)
Stonehearth OS: Windows 10 Preview, build 10130 (inside of Parallels Desktop 10 [on OS X 10.10.4 Public Beta])
Stonehearth Version: Stonehearth 0.10.0 (alpha_10_5 3) x64 Build
CPU: Intel Core i7
GPU: NVIDIA GeForce GT 650M
RAM: 16GB
Screen Resolution: 2880×1600
VM RAM: 12GB
VM Reported GPU: "Parallels using NVIDIA GeForce GT 650M OpenGL Engine (2.1 NVIDIA-10.4.2 310.41.35 [something] 01)
VM GPU RAM: 512MB
VM Screen Resolution: 2880×1600


When I try to save the game, Stonehearth crashes. It both when saving manually, and when auto-saving.

I cannot try saving over an existing file vs. saving in a new file, as I don’t have any existing files on this installation.

Edit: When Stonehearth crashes, it dumps me back at the desktop with a Windows error dialog.

The error message is: “Assertion Failed: status == GL_FRAMEBUFFER_COMPLETE_EXT(…\…\…\…\…\…\source\horde3d\Source\Horde3DEngine\egRendererBase.cpp:1235”

(I realize that the problem is likely in the fact that I’m running this on a VM under OS X, but just thought I’d file a bug.)


Update: This also happens if the game runs with the integrated graphics chipset, an Intel HD Graphics 4000 (which Stonehearth reports seeing as “Parallels using Intel HD Graphics 4000 OpenGL Engine (2.1 INTEL-10.6.31)”.

1 Like

After reading some other posts, I went and found the stonehearth.log file.

2015-Jun-18 18:34:12.027901 | server |  1 |                              app | Stonehearth Version 0.10.0.3 (x64)
2015-Jun-18 18:34:12.027901 | server |  1 |                      core.config | user id is    9d48c6da-1414-11e5-b8cb-001c42902db4
2015-Jun-18 18:34:12.027901 | server |  1 |                      core.config | session id is 2d6483e2-159d-11e5-ac76-001c42902db4
2015-Jun-18 18:34:12.027901 | server |  1 |                       core.timer | QPC count: 878478069, frequency: 2246093
2015-Jun-18 18:34:12.027901 | server |  1 |                       core.timer | QPC count: 878478459, frequency: 2246093
2015-Jun-18 18:34:12.027901 | server |  1 |                       core.timer | QPC count: 878478734, frequency: 2246093
2015-Jun-18 18:34:12.027901 | server |  1 |                       core.timer | QPC count: 878479053, frequency: 2246093
2015-Jun-18 18:34:12.027901 | server |  0 |                      core.system | Initializing crash reporter
2015-Jun-18 18:34:12.542753 | server |  0 |                         lua.code | lua jit disabled in 64-bit builds.  set force_lua_jit to override
2015-Jun-18 18:34:12.542753 | server |  0 |                         lua.data | lua jit is disabled
2015-Jun-18 18:34:13.602457 | server |  1 |                        resources | Modules are verified pristine.
2015-Jun-18 18:34:13.618028 | server |  1 |                              app | Running Stonehearth server on port 22024
2015-Jun-18 18:34:13.618028 | client |  1 |                renderer.renderer | Initializing OpenGL
2015-Jun-18 18:34:13.633602 | client |  1 |                renderer.renderer | Determining window placement
2015-Jun-18 18:34:13.633602 | client |  1 |                renderer.renderer | Selecting fullscreen monitor at 16, 62
2015-Jun-18 18:34:13.633602 | client |  1 |                renderer.renderer | Creating OpenGL Window
2015-Jun-18 18:34:13.633602 | client |  1 |                renderer.renderer | glfw: filtering 44 native pixel formats
2015-Jun-18 18:34:13.633602 | client |  1 |                renderer.renderer | glfw: 2) found valid pixel format:  colorbits:5,5,5 alphabits:1 depthbits:0 stencilbits:8 srgb:0 stereo:0 samples:0
2015-Jun-18 18:34:13.633602 | client |  1 |                renderer.renderer | glfw: 4) found valid pixel format:  colorbits:5,5,5 alphabits:1 depthbits:24 stencilbits:8 srgb:0 stereo:0 samples:0
2015-Jun-18 18:34:13.633602 | client |  1 |                renderer.renderer | glfw: 6) found valid pixel format:  colorbits:8,8,8 alphabits:8 depthbits:0 stencilbits:8 srgb:0 stereo:0 samples:0
2015-Jun-18 18:34:13.633602 | client |  1 |                renderer.renderer | glfw: 8) found valid pixel format:  colorbits:8,8,8 alphabits:8 depthbits:24 stencilbits:8 srgb:0 stereo:0 samples:0
2015-Jun-18 18:34:13.633602 | client |  1 |                renderer.renderer | glfw: 10) rejected: not accelerated (2)
2015-Jun-18 18:34:13.633602 | client |  1 |                renderer.renderer | glfw: 11) rejected: not accelerated (2)
2015-Jun-18 18:34:13.633602 | client |  1 |                renderer.renderer | glfw: 14) rejected: not accelerated (2)
2015-Jun-18 18:34:13.633602 | client |  1 |                renderer.renderer | glfw: 15) rejected: not accelerated (2)
2015-Jun-18 18:34:13.633602 | client |  1 |                renderer.renderer | glfw: 18) rejected: not accelerated (2)
2015-Jun-18 18:34:13.633602 | client |  1 |                renderer.renderer | glfw: 19) rejected: not accelerated (2)
2015-Jun-18 18:34:13.633602 | client |  1 |                renderer.renderer | glfw: choosing from 4 usable pixel formats
2015-Jun-18 18:34:13.633602 | client |  1 |                renderer.renderer | glfw: 0) missing 1 < -1.  using this format.
2015-Jun-18 18:34:13.633602 | client |  1 |                renderer.renderer | glfw: 1) missing 0 < 1.  using this format.
2015-Jun-18 18:34:13.633602 | client |  1 |                renderer.renderer | glfw: 3) extra 0 < 49.  using this format.
2015-Jun-18 18:34:13.633602 | client |  1 |                renderer.renderer | glfw: 8) chose pixel format:  colorbits:8,8,8 alphabits:8 depthbits:24 stencilbits:8 srgb:0 stereo:0 samples:0
2015-Jun-18 18:34:13.633602 | server |  1 |                         lua.code | could not find path for lua script "lib/unclasslib.lua".
2015-Jun-18 18:34:13.633602 | server |  1 |                         lua.code | could not find path for lua script "radiant/lib/lib/unclasslib.lua".
2015-Jun-18 18:34:13.633602 | server |  1 |                         lua.code | could not find path for lua script "lib/unclasslib.lua".
2015-Jun-18 18:34:13.633602 | server |  1 |                         lua.code | could not find path for lua script "radiant/lib/lib/unclasslib.lua".
2015-Jun-18 18:34:13.649215 | server |  1 |                         lua.code | could not find path for lua script "radiant/checks.lua".
2015-Jun-18 18:34:13.649215 | server |  1 |                         lua.code | could not find path for lua script "checks.lua".
2015-Jun-18 18:34:13.649215 | server |  1 |                         lua.code | could not find path for lua script "modules/common.lua".
2015-Jun-18 18:34:13.649215 | server |  1 |                         lua.code | could not find path for lua script "radiant/lib/modules/common.lua".
2015-Jun-18 18:34:13.664780 | server |  1 |                         lua.code | could not find path for lua script "modules/timer.lua".
2015-Jun-18 18:34:13.664780 | server |  1 |                         lua.code | could not find path for lua script "radiant/lib/modules/timer.lua".
2015-Jun-18 18:34:13.664780 | server |  1 |                         lua.code | could not find path for lua script "stonehearth/stonehearth/lib/loot_table/loot_table.lua".
2015-Jun-18 18:34:13.695965 | server |  0 |                             mod stonehearth | greedy task scheduling enabled
2015-Jun-18 18:34:13.711589 | client |  1 |                renderer.renderer | Creating OpenGL Context
2015-Jun-18 18:34:13.711589 | client |  1 |                renderer.renderer | Finished OpenGL Initialization
2015-Jun-18 18:34:13.711589 | client |  1 |                    horde.general | Initializing GL2 backend using OpenGL driver '2.1 INTEL-10.6.31' by 'Parallels and Intel Inc.' on 'Parallels using Intel HD Graphics 4000 OpenGL Engine'
2015-Jun-18 18:34:13.742754 | server |  1 |                         lua.code | could not find path for lua script "stonehearth/radiant/modules/filtered_trace.lua".
2015-Jun-18 18:34:13.883045 | server |  1 |                         lua.code | could not find path for lua script "stonehearth/stonehearth/lib/entity_forms/entity_forms_lib.lua".
2015-Jun-18 18:34:13.945420 | client |  1 |                          browser | cef started.
2015-Jun-18 18:34:13.976580 | server |  1 |                         lua.code | could not find path for lua script "stonehearth/stonehearth/lib/build_util.lua".
2015-Jun-18 18:34:14.023375 | client |  1 |                         lua.code | could not find path for lua script "lib/unclasslib.lua".
2015-Jun-18 18:34:14.023375 | client |  1 |                         lua.code | could not find path for lua script "radiant/lib/lib/unclasslib.lua".
2015-Jun-18 18:34:14.023375 | client |  1 |                         lua.code | could not find path for lua script "radiant/checks.lua".
2015-Jun-18 18:34:14.023375 | client |  1 |                         lua.code | could not find path for lua script "checks.lua".
2015-Jun-18 18:34:14.023375 | client |  1 |                         lua.code | could not find path for lua script "modules/common.lua".
2015-Jun-18 18:34:14.023375 | client |  1 |                         lua.code | could not find path for lua script "radiant/lib/modules/common.lua".
2015-Jun-18 18:34:14.023375 | client |  1 |                         lua.code | could not find path for lua script "modules/timer.lua".
2015-Jun-18 18:34:14.023375 | client |  1 |                         lua.code | could not find path for lua script "radiant/lib/modules/timer.lua".
2015-Jun-18 18:34:14.054717 | client |  2 |                          network | client allocating new send buffer (total: 0)
2015-Jun-18 18:34:14.070118 | client |  1 |                         lua.code | could not find path for lua script "stonehearth/services/client/build_editor/voxel_editor.lua".
2015-Jun-18 18:34:14.070118 | client |  1 |                         lua.code | could not find path for lua script "services/client/build_editor/voxel_editor.lua".
2015-Jun-18 18:34:14.070118 | client |  1 |                         lua.code | could not find path for lua script "radiant/lib/services/client/build_editor/voxel_editor.lua".
2015-Jun-18 18:34:14.085722 | client |  1 |                      client.core | user feedback is on
2015-Jun-18 18:34:15.002861 | server |  2 |                          network | server allocating new send buffer (total: 0)
2015-Jun-18 18:34:51.817955 | client |  1 |             renderer.render_info | could not load qubicle file: invalid file path ''.
2015-Jun-18 18:34:54.932848 | client |  1 |             renderer.render_info | could not load qubicle file: invalid file path ''.
2015-Jun-18 18:34:57.367323 | client |  1 |             renderer.render_info | could not load qubicle file: invalid file path ''.
2015-Jun-18 18:34:57.368319 | client |  1 |             renderer.render_info | could not load qubicle file: invalid file path ''.
2015-Jun-18 18:35:21.350666 | client |  1 |                         lua.code | unrecognized object type 'boxed' in json_to_lua!
2015-Jun-18 18:35:21.351665 | client |  1 |                         lua.code | unrecognized object type 'boxed' in json_to_lua!
2015-Jun-18 18:35:21.832555 | client |  1 |                    horde.general | raw shader compile error: WARNING: Output of vertex shader 'pos' not read by fragment shader

2015-Jun-18 18:35:21.896434 | client |  1 |                    horde.general | raw shader compile error: WARNING: Output of vertex shader 'pos' not read by fragment shader

2015-Jun-18 18:35:21.954400 | client |  1 |                    horde.general | raw shader compile error: WARNING: Output of vertex shader 'gridLineCoords' not read by fragment shader

2015-Jun-18 18:35:32.006382 | server |  0 |                             mod stonehearth | ai slow start is enabled
2015-Jun-18 18:35:33.082974 | server |  1 |         simulation.remote_client | started buffering client updates. (seq:543 ack:533)
2015-Jun-18 18:35:33.238573 | server |  1 |         simulation.remote_client | stopped buffering client updates. (seq:543 ack:540)
2015-Jun-18 18:35:33.598750 | server |  1 |         simulation.remote_client | started buffering client updates. (seq:553 ack:543)
2015-Jun-18 18:35:33.703515 | server |  1 |         simulation.remote_client | stopped buffering client updates. (seq:553 ack:550)
2015-Jun-18 18:36:01.479264 | client |  1 |                    horde.general | Bind Frambuffer error: 3, 0, 8cdb, 1282
2015-Jun-18 18:36:01.479264 | client |  0 |                              app | Assertion Failed: status == GL_FRAMEBUFFER_COMPLETE_EXT(..\..\..\..\..\..\source\horde3d\Source\Horde3DEngine\egRendererBase.cpp:1235)
2015-Jun-18 18:36:01.940212 | server |  1 |         simulation.remote_client | started buffering client updates. (seq:1103 ack:1093)
2015-Jun-18 18:36:21.189350 | client |  0 |                          sysinfo | Memory Stats: Fatal Exception
2015-Jun-18 18:36:21.189350 | client |  0 |                          sysinfo |  Total System Memory:     8.000 GB (8589455360 bytes)
2015-Jun-18 18:36:21.190322 | client |  0 |                          sysinfo |  Current Memory Usage:    919.078 MB (963723264 bytes)
2015-Jun-18 18:36:21.190322 | client |  0 |                          sysinfo |  Total Address Space:     128.000 TB (140737488224256 bytes)
2015-Jun-18 18:36:21.190322 | client |  0 |                          sysinfo |  Available Address Space: 127.998 TB (140735611265024 bytes)
2015-Jun-18 18:36:21.190322 | client |  0 |                          sysinfo |  Used Address Space:      1.748 GB (1876959232 bytes)

Things to note:

  • I shrank the VM’s memory to 8GB
  • There are 6 folders in saved_games/. All but tmp_save are empty.
    • 1434451877246
    • 1434611828482
    • 1434612716273
    • 1434620161359
    • auto_save
    • tmp_save
  • I have tried the F6/F7 no-ui saves; nothing appears to happen.

Hello,

I have the same problem in a Parallels Virtual Machine (10.2.1) running Windows 7 on OS X 10.10.3. (GPU: AMD Radeon HD 6970M - OpenGL Engine (2.1 ATI-1.32.20)). Stonehearth alpha_10_5-3 (x64).

I found a workaround for this problem: Turn off shadows in-game and saving works.

From the moment that I enable shadows and try to save (or autosave happens), the game crashes with the error message mentioned by @hawkrives.

1 Like

@giftzwerg I shall test this once I get my computer running again! Thanks for finding a possible workaround!

1 Like

I finally got my computer working again, right after the first Alpha 11 build came out.

I can no longer reproduce this bug, so thanks!

1 Like