View Issue Details
ID | Category | Date Submitted | Last Update | ||
---|---|---|---|---|---|
0001825 | Bug Report | 2019-05-08 15:48 | 2020-01-24 13:10 | ||
Reporter | SlySly | ||||
Severity | crash | Reproducibility | always | ||
Status | closed | Resolution | unable to reproduce | ||
Summary | 0001825: Crash when attempting to save the game | ||||
Description | Hi, the save file I'm attaching will take a long time to load. After it loads, attempting to save the game again will crash it with an out of memory message. Will upload save file and trace. | ||||
Platform/OS | Windows | ||||
Version | 0.18.2 | ||||
traceback.txt (4,627 bytes)
I'm sorry, but an uncaught exception occurred. While running game code: File "renpy/common/00gamemenu.rpy", line 173, in script $ ui.interact() File "renpy/common/00gamemenu.rpy", line 173, in <module> $ ui.interact() File "renpy/common/00action_file.rpy", line 364, in __call__ renpy.save(fn, extra_info=save_name) MemoryError: out of memory -- Full Traceback ------------------------------------------------------------ Full traceback: File "renpy/common/00gamemenu.rpy", line 173, in script $ ui.interact() File "E:\Games\F95Zone\SummertimeSaga-0-18-2-pc\renpy\ast.py", line 862, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "E:\Games\F95Zone\SummertimeSaga-0-18-2-pc\renpy\python.py", line 1912, in py_exec_bytecode exec bytecode in globals, locals File "renpy/common/00gamemenu.rpy", line 173, in <module> $ ui.interact() File "E:\Games\F95Zone\SummertimeSaga-0-18-2-pc\renpy\ui.py", line 287, in interact rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs) File "E:\Games\F95Zone\SummertimeSaga-0-18-2-pc\renpy\display\core.py", line 2649, in interact repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs) File "E:\Games\F95Zone\SummertimeSaga-0-18-2-pc\renpy\display\core.py", line 3451, in interact_core rv = root_widget.event(ev, x, y, 0) File "E:\Games\F95Zone\SummertimeSaga-0-18-2-pc\renpy\display\layout.py", line 992, in event rv = i.event(ev, x - xo, y - yo, cst) File "E:\Games\F95Zone\SummertimeSaga-0-18-2-pc\renpy\display\layout.py", line 992, in event rv = i.event(ev, x - xo, y - yo, cst) File "E:\Games\F95Zone\SummertimeSaga-0-18-2-pc\renpy\display\layout.py", line 992, in event rv = i.event(ev, x - xo, y - yo, cst) File "E:\Games\F95Zone\SummertimeSaga-0-18-2-pc\renpy\display\screen.py", line 697, in event rv = self.child.event(ev, x, y, st) File "E:\Games\F95Zone\SummertimeSaga-0-18-2-pc\renpy\display\layout.py", line 992, in event rv = i.event(ev, x - xo, y - yo, cst) File "E:\Games\F95Zone\SummertimeSaga-0-18-2-pc\renpy\display\behavior.py", line 906, in event return handle_click(self.clicked) File "E:\Games\F95Zone\SummertimeSaga-0-18-2-pc\renpy\display\behavior.py", line 841, in handle_click rv = run(action) File "E:\Games\F95Zone\SummertimeSaga-0-18-2-pc\renpy\display\behavior.py", line 308, in run new_rv = run(i, *args, **kwargs) File "E:\Games\F95Zone\SummertimeSaga-0-18-2-pc\renpy\display\behavior.py", line 315, in run return action(*args, **kwargs) File "renpy/common/00action_file.rpy", line 364, in __call__ renpy.save(fn, extra_info=save_name) File "E:\Games\F95Zone\SummertimeSaga-0-18-2-pc\renpy\loadsave.py", line 402, in save dump((roots, renpy.game.log), logf) File "E:\Games\F95Zone\SummertimeSaga-0-18-2-pc\renpy\loadsave.py", line 48, in dump pickle.dump(o, f, pickle.HIGHEST_PROTOCOL) File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 1370, in dump File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 224, in dump File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 286, in save File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 548, in save_tuple File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 286, in save File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 649, in save_dict File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 681, in _batch_setitems File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 331, in save File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 419, in save_reduce File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 286, in save File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 649, in save_dict File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 681, in _batch_setitems File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 331, in save File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 413, in save_reduce File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 633, in _batch_appends File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 279, in save MemoryError: out of memory Windows-8-6.2.9200 Ren'Py 7.0.0.196 SummertimeSaga 0.18.2 Wed May 08 18:29:51 2019
log.txt (3,104 bytes)
7-1-LT1.save (796,067 bytes)Wed May 08 18:36:06 2019 Windows-8-6.2.9200 Ren'Py 7.0.0.196 Bootstrap to the start of init.init took 0.05s Early init took 0.00s Loader init took 0.35s Loading error handling took 0.12s Loading script took 2.64s Loading save slot metadata. took 0.35s Loading persistent took 0.02s Importing _renpysteam: ImportError('No module named _renpysteam',) Set script version to: (7, 0, 0) Running init code took 1.34s Loading analysis data took 0.30s Analyze and compile ATL took 0.05s Index archives took 0.00s Dump and make backups. took 0.00s Cleaning cache took 0.00s Making clean stores took 0.00s Initial gc. took 0.16s DPI scale factor: 1.000000 Creating interface object took 0.06s Cleaning stores took 0.00s Init translation took 0.01s Build styles took 0.00s Load screen analysis took 0.09s Analyze screens took 0.00s Save screen analysis took 0.00s Prepare screens took 0.33s Save pyanalysis. took 0.00s Save bytecode. took 0.00s Running _start took 0.00s Performance test: Interface start took 0.18s primary display bounds: (0, 0, 1920, 1080) swap interval: 1 frames Windowed mode. Screen sizes: virtual=(1024, 768) physical=(1028, 771) drawable=(1028, 771) Vendor: 'Google Inc.' Renderer: 'ANGLE (NVIDIA GeForce GTX 1070)' Version: 'OpenGL ES 2.0 (ANGLE 1.0.0.1166)' Display Info: <Info({'blit_sw_CC': False, 'refresh_rate': 60, 'bitsize': 32, 'wm': True, 'losses': (0, 0, 0, 8), 'hw': False, 'masks': (16711680L, 65280L, 255L, 0L), 'current_h': 1080, 'current_w': 1920, 'shifts': (16, 8, 0, 0), 'blit_sw_A': False, 'blit_hw': False, 'blit_sw': False, 'bytesize': 4, 'blit_hw_CC': False, 'blit_hw_A': False, 'video_mem': 268435456})> Extensions: GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 GL_EXT_texture_storage GL_NV_fence GL_OES_element_index_uint GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot Number of texture units: 16 Using shader environment. Using copy RTT. Using angle renderer. Texture testing: - Hardware max texture size: 16384 - 64px textures work. - 128px textures work. - 256px textures work. - 512px textures work. - 1024px textures work. - 2048px textures work. Total time until interface ready: 6.7009999752s - Target is 5 frames in 0.333333333333 seconds. - Frame drawn at 0.000000 seconds. - Frame drawn at 0.013000 seconds. - Frame drawn at 0.034000 seconds. - Frame drawn at 0.046000 seconds. - Frame drawn at 0.064000 seconds. - 0.064000 seconds to render 5 frames. |
|
The crash does not happen on Linux (Fedora 29 64bit) but I believe it's because it's using the 64bit runtimes which allow the game to simply use more memory. When saving, it takes somewhere around 30 seconds. The process uses 1.1GB, while saving it bloats to 1.4GB and then it goes back to 1.1GB after the save is done. | |
I am closing this report because we cannot reproduce it and the impacted version is too old now. But investigations into the out-of-memory issue are still ongoing. Thank you. The report is now closed. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2019-05-08 15:48 | SlySly | New Issue | |
2019-05-08 15:48 | SlySly | File Added: traceback.txt | |
2019-05-08 15:48 | SlySly | File Added: log.txt | |
2019-05-08 15:48 | SlySly | File Added: 7-1-LT1.save | |
2019-05-08 18:27 | SlySly | Note Added: 0002489 | |
2020-01-24 13:10 | Casiope | Status | new => closed |
2020-01-24 13:10 | Casiope | Resolution | open => unable to reproduce |
2020-01-24 13:10 | Casiope | Note Added: 0004371 |