godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.68k stars 20.11k forks source link

Godot sporadically hangs during saving scenes #29337

Closed jpVm5jYYRE1VIKL closed 1 year ago

jpVm5jYYRE1VIKL commented 5 years ago

Godot version: 3.1.1 OS/device including version: Windows 10. Issue description: Godot sporadically (not often) hangs in moment scene save. Message saving scene never disappear. Issue happens at least on 2 different computers. hangs

After it hangs possible only to end godot task and restart it again.

Steps to reproduce: It is random.

Minimal reproduction project: In current moment i not sure that this is project related.

mhilbrunner commented 5 years ago

Happens for me too, on Windows 10. Even with small and simple projects.

KoBeWi commented 4 years ago

Can anyone still reproduce this bug in Godot 3.2.3 rc3 or any later release?

KoBeWi commented 3 years ago

Closing due to lack of update. Please comment if you can still reproduce this issue in the latest stable version of Godot.

itsybitesyspider commented 3 years ago

I've been seeing this frequently, but not consistently. It may be relevant that I'm using the gdnative bindings for rust, and have the project open in both VS code (including rust-analyzer) and Godot. I could use guidance on how to collect more useful information.

Edit: the project is also on an external USB hard disk drive. eliminated as a factor

KoBeWi commented 3 years ago

Do you have any minimal reproduction project? Otherwise it will be difficult to diagnose this issue.

itsybitesyspider commented 3 years ago

The project I have is not particularly large, and I would not object to giving you access if it will improve Godot.

I would also not object to trying to build Godot with more logging on my machine. My C/C++ is a little stale but I should be able to follow most instructions.

itsybitesyspider commented 3 years ago

But to properly answer your question, if I am able to arrive at a minimal example, I will certainly provide it.

KoBeWi commented 3 years ago

The project I have is not particularly large, and I would not object to giving you access if it will improve Godot.

I think it would be better to try reproducing it in a fresh project. Or at least strip your project from stuff unnecessary to reproduce the issue.

jpVm5jYYRE1VIKL commented 3 years ago

I have a question do you have some kind of cvs(not git)? I have theory that it possible be binded with filesystem locks.

itsybitesyspider commented 3 years ago

I'm using git. However my suspicion about file system locking is also super elevated as this is only happening after I run "cargo build" (and cargo and rust-analyzer are constantly file locking each other, but handle it gracefully.) I am not even editing the scene in Godot - only changing the rust source files and rebuilding the dll. However, so far I have not put any of this together into any kind of useful conclusion. In particular I do not understand why it has become wildly worse for me in the last 24 hours.

I suppose we could try to replicate the issue consistently by intentionally locking some files in a controlled way.

shpyr commented 2 years ago

I am also seeing this with a variety of projects (some with git, some without). I'm running godot 3.3.3 on Fedora 34:

$ rpm -qi godot
Name        : godot
Version     : 3.3.3
Release     : 1.fc34
Architecture: x86_64
...

It seems to happen consistently if I leave the godot editor open for 12 hours or more, though the exact time is a guess (I typically have to killall -9 godot in the morning after it has stayed open on my desktop over night).

Calinou commented 1 year ago

@jpVm5jYYRE1VIKL @itsybitesyspider @shpyr Can you (or anyone else) still reproduce this bug in Godot 3.5.1 or any later release?

If yes, please ensure that an up-to-date Minimal Reproduction Project (MRP) is included in this report (a MRP is a zipped Godot project with the minimal elements necessary to reliably trigger the bug). You can upload ZIP files in an issue comment with a drag and drop.

Calinou commented 1 year ago

Closing due to lack of response. Please comment if you can still reproduce this bug.

PS: Since no minimal reproduction project was included in the original bug report, please upload one as well to ease troubleshooting.