Silent crash on auto-reload

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
goldo
Regular
Posts: 63
Joined: Mon Jan 23, 2017 8:23 am
Contact:

Silent crash on auto-reload

#1 Post by goldo » Fri Jan 14, 2022 5:34 am

Hi,

So I have a problem with auto-reload, it suddenly stopped working completely.

Here is what happens:
- I press Shift+R, auto-reload happens as normal
- The new game state is actually loaded
- Then the mouse cursor turns into a little rotating blue circle for half a second, and the game crashes to desktop
- There is no error, no traceback, nothing in the log

It is very similar to this issue: viewtopic.php?t=48493#p479810

But my video card and drivers are fine.

Since this started I've also had similar silent crashes on some rollbacks, but most rollbacks still work.

A couple of things I can think of that I did in the recent past:
* Someone told me that writing

Code: Select all

default persistent.my_variable = true
was better than

Code: Select all

define persistent.my_variable = true
so I changed that

Edit: Changing default to define and deleting all persistent data doesn't help.

* I loaded a player's broken save, and it threw an error about missing a return point. I couldn't ignore it, tried to rollback, it threw a string of errors at me and crashed the game

Can either of those issues have caused auto-reload to stop working?

goldo
Regular
Posts: 63
Joined: Mon Jan 23, 2017 8:23 am
Contact:

Re: Silent crash on auto-reload

#2 Post by goldo » Sun Jan 16, 2022 6:14 pm

Okay, plot twist: This is not about my project at all, I can open "The Question", and still auto-reload crashes to desktop. This is on a clean install of Ren'py too.

Edit: Turns out I have older versions of Ren'py still installed: 7.0.0 and 7.3.5 auto-reload correctly, but 7.4.9 and 7.4.11 both crash.

If it helps, here is the error I got from the Windows Event viewer:

Code: Select all

Faulting application name: pythonw.exe, version: 0.0.0.0, time stamp: 0x61a6b501
Faulting module name: MMDevAPI.DLL, version: 10.0.19041.1023, time stamp: 0x00c1ffe2
Exception code: 0xc0000005
Fault offset: 0x000000000001b33b
Faulting process id: 0x6d38
Faulting application start time: 0x01d80bff24ddc8d2
Faulting application path: D:\RenPy\renpy-7.4.9-sdk\lib\windows-x86_64\pythonw.exe
Faulting module path: C:\Windows\SYSTEM32\MMDevAPI.DLL
Report Id: 72c56750-4c60-4c3e-840b-68ccbe45cb73
Faulting package full name:
Faulting package-relative application ID:

Post Reply

Who is online

Users browsing this forum: Google [Bot]