Skip to content

Editor Close/Crash in Play Mode #1138

@GeneralProtectionFault

Description

@GeneralProtectionFault

Tested versions

Redot Version: 4.4 Mono - Linux
Probably not relevant, but I'm using Zed as an external editor.

System information

System Info: OS Garuda Linux x86_64 ├ Kernel Linux 6.18.2-zen2-1-zen ├󰏖 Packages 1974 (pacman)[stable], 18 (flatpak-system), 29 (flatpak-user) └ Shell fish 4.3.2  DE KDE Plasma 6.5.4 ├󰧨 Window Manager KWin (Wayland) ├󰧨 Login Manager sddm 0.21.0 (Wayland) ├󰉼 WM Theme Sweet-Dark ├󰉼 Color Themes Dr460nized (Sweet) [Qt], Sweet-Dark [GTK2/3/4] ├󰀻 System Icons BeautyLine [Qt], BeautyLine [GTK2/3/4] ├ System Fonts Fira Sans (10pt) [Qt], Fira Sans (10pt) [GTK2/3/4] └ Terminal konsole 25.12.0 󰌢 PC Desktop ├󰻠 CPU AMD Ryzen 5 5600X (12) @ 4.65 GHz ├󰍛 GPU NVIDIA GeForce RTX 3060 Lite Hash Rate [Discrete] ├󰍛 Vulkan 1.4.312 - NVIDIA [580.119.02] └󰍹 Display(s) 1920x1080 in 24", 60 Hz [External] └󰍹 Display(s) 2560x1080 in 34", 60 Hz [External] * └󰍹 Display(s) 1920x1080 in 16", 60 Hz [External] └󰍹 Display(s) 1920x1080 in 42", 60 Hz [External]

Issue description

While in Play mode and with the editor not in focus (looking at the code/web browser), the editor suddenly disappeared, but the play window was still there and apparently running. This appears to be the log output for when this happened:

WARNING: 9 RIDs of type "CanvasItem" were leaked. at: _free_rids (servers/rendering/renderer_canvas_cull.cpp:2681) ERROR: 3 RID allocations of type 'N10RendererRD14TextureStorage7TextureE' were leaked at exit. WARNING: 6 RIDs of type "Texture" were leaked. at: finalize (servers/rendering/rendering_device.cpp:7132) WARNING: ObjectDB instances leaked at exit (run with --verbose for details). at: cleanup (core/object/object.cpp:2380) ERROR: 3 resources still in use at exit (run with --verbose for details). at: clear (core/io/resource.cpp:616)

Steps to reproduce

I will add to this issue if I get further crashes or more log output, but it seemed very random, not sure how to reliably reproduce it, so the log output is the only bread crumb I have ;(

Minimal reproduction project (MRP)

As above, it's very difficult to determine if the project is the issue. I'll certainly update if I get a crash on a different one, but proving the negative is tenuous at best.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Open

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions