-
-
Notifications
You must be signed in to change notification settings - Fork 21.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Godot randomly crashing when opening TileSet Editor #23672
Comments
some backtrace: handle_crash: Program crashed with signal 11 Godot crashed; |
@Liangdi I can confirm that opening through "Edit" on dropdown won't crash here. How may I provide descriptive backtraces like yours? Mine just print (??:?) |
@mateusfccp You need to compile Godot from source, this should have debug symbols enabled. |
@Zireael07 I compiled it from source through AUR (godot-git). Is there any specific flag I have to pass to include debug symbols? It's being compiled with |
i just compiled with: scons p=x11 -j4 |
@mateusfccp I believe you're looking for |
AUR strips debug info automatically, you have to modify the PKGBUILD to override that: https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces#Compilation_settings |
BTW, someone should tell the AUR godot-git maintainers that the desktop file, icon and LICENSE file are already provided in the upstream source, they don't need to make their own. |
@akien-mga This worked for me. I've updated my issue to include a new backtrace with working debug symbols. |
I managed to trigger it using the steps to reproduce of the OP on 3.1 alpha 4 on Linux. It didn't crash right away but instead the editor froze, and Godot kept one CPU core busy at 100% until I killed it manually. Sounds like some kind of infinite (or very long) loop. |
I'm still getting this on the Beta 3.1, clicking "Open Editor" causes crash fairly regularly (am in Linux)
|
Just tested with the 2nd beta and is still happening; clicking "Edit Tileset" button from the inspector sometimes crashes. Linux, Ubuntu, currently testing with an Intel Integrated GPU, but saw same crashes with nvidia. |
Seems I am able to narrow this down for when this happens: If I am editing one tileset in the new tileset editor, and make a change (such as adding a new single tile), then have it still open I switch to a different scene or tilemap, and try to click "Edit Tileset" on that one, it crashes every time. |
Slight correction, after I save a tileset in the new editor, it also crashes if I simply swap my view to a different node then come back to the same tileset and click "Edit Tileset"; so something happens after saving the tileset and then trying to reopen the tileset editor that is causing the crash. (by saving the tileset i mean as a .tres resource, and clicking the disk icon and going to save) |
I cannot replicate this crash with the instructions providen by @nazgum |
I can confirm that in December it was broken, but now |
Sorry to provide more info, I was exclusively trying to create Autotiles with 3x3 bitmask (minimal) - so perhaps it is tied with that. After drawing some of the bitmask, I would save the tiles as a resource (Tiles.tres), then try opening another tileset to compare the bitmask (and see if I made a mistake), and when I do this, it crashes; always. Linux Ubuntu 18.10, Intel GPU (also happened on Nvidia), still using Beta2 |
As MarianoGnu said, create a test project, otherwise it is hard to reproduce your crash. |
Note that it's not only with the TileSet editor, other kinds of editors can trigger the same crash when clicking their "Open in Editor" toggle in the inspector (see e.g. #24630). |
Good point. By pressing the Shader Editor button Godot crashed randomly. After loosing lot of unsaved work, I decided to preferably double-click the shader in the Filesystem Dock and forgot about it. It is still the case and easy to reproduce. You can e.g. try to open the shader in the test-project from #15617 Create a custom shader. Try to find the button in the Inspector;) and then 1-2x click on the button:
Edit: I have to take that back, this crash was introduced in 973b68f
|
Not fixed by #21015, #23578, although the issues are similar.
Godot version:
v3.1.alpha.custom_build.37c5aa1
v3.1.alpha.custom_build.a2e4eb7
OS/device including version:
Arch Linux up-to-date
Kernel 4.18.16-arch1-1-ARCH
Happens both using Intel® HD Graphics 520 (Skylake GT2) and GeForce 940M (driver 410.66)
Issue description:
When trying to open TileSet editor through "Open Editor" button, Godot crashes. If opened through dropdown menu "Edit", as stated by @Liangdi, it won't crash.
Steps to reproduce:
On my case, there's something about 2/3 chance to crash and 1/3 to not crash and open.
Crash log:
The text was updated successfully, but these errors were encountered: