Skip to content
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 freezes when the AssetLib tab is opened due to RichTextLabel bug #16072

Closed
gabe00122 opened this issue Jan 25, 2018 · 13 comments
Closed

Godot freezes when the AssetLib tab is opened due to RichTextLabel bug #16072

gabe00122 opened this issue Jan 25, 2018 · 13 comments

Comments

@gabe00122
Copy link

gabe00122 commented Jan 25, 2018

Godot version:

3.0-rc3

OS/device including version:

Windows 10 x64

When I open the AssetLib tab from inside an empty project Godot's main window freezes.

The following error is written to the console in a infinite loop:
ERROR: RichTextLabel::_process_line: Index line=0 out of size (l.offset_caches.size()=0)
At: scene\gui\rich_text_label.cpp:117

I'm haven't unfortunately been able to consistently reproduce this error, but it's happened to me twice on two separate windows machines. In both cases it was the first time I have run Godot on that machine. Both of the projects were empty.

I hope this was helpful.

@akien-mga akien-mga added this to the 3.1 milestone Jan 25, 2018
@akien-mga
Copy link
Member

CC @bojidar-bg

@bojidar-bg
Copy link
Contributor

Can't confirm on my machine (Arch Linux) using self-contained mode.

@vnen
Copy link
Member

vnen commented Feb 5, 2018

It doesn't freeze for me but it stutters. Don't know if it's caused by the connection poll or by the large amount of prints to the console.

EDIT: I misunderstood the original issue, I have nothing like that.

@paul-dosenbrot
Copy link

I have the same issue, but in a different situation.

Platform:
Windows 10 x64

Godot:
3.0 stable win64 (without mono)

Descrption:
I was editing a script. Pressed [Ctrl] [S] to save it, clicked accidently on 2D and only a few milliseconds later on 3D. The editor freezed. The console is repeating the same error message again and again. 2D and 3D are both highlighted.

Should I open a new issue for this? The console displays the exact same error message as this issue.
bug_all

@akien-mga akien-mga changed the title Godot frezees when the AssetLib tab is opened Godot freezes when the AssetLib tab is opened Jan 19, 2019
@akien-mga
Copy link
Member

Can anyone reproduce this issue in the current master branch?

@Faless
Copy link
Collaborator

Faless commented Jan 27, 2019

Can anyone reproduce this issue in the current master branch?

I remember encountering this months ago, both as described by the OP and @paul-dosenbrot .
I haven't seen it again for a while now.

@akien-mga akien-mga modified the milestones: 3.1, 3.2 Feb 27, 2019
@menip
Copy link
Contributor

menip commented Jun 3, 2019

Potentially related: On linux, with empty project and slow internet connection switching quickly between asset lib and another "tab" causes editor to freeze up. From what I can tell, it's when asset lib initially load until asset lib is completely loaded

@menip
Copy link
Contributor

menip commented Jun 3, 2019

Can someone still reproduce the original issue?

@winston-yallow
Copy link
Contributor

I was able to reproduce what menip mentioned. I was not able to reproduce the original issue on linux. I will try to reproduce the original issue on Windows 10 tomorrow, but I think I did not experience this in the last time (thought I do not use Godot on Windows often).

@winston-yallow
Copy link
Contributor

winston-yallow commented Jun 17, 2019

I could not reproduce this on windows 10 anymore (even with very slow internet), seems to be fixed for me.

Godot Version: v3.2.dev.calinou.197b65f32

@vnen
Copy link
Member

vnen commented Nov 1, 2019

Seems like this is already solved them. We can reopen if someone can reproduce it.

@vnen vnen closed this as completed Nov 1, 2019
@Arech
Copy link

Arech commented May 16, 2020

@vnen The root cause of freezing is still unsolved. I'm having it too in latest 3.2.1.stable (in a different context though, but I don't think it matters). Please, check my comment in neighbouring issue #17815 (comment) , I may have specified correct direct cause of freezing there (but I have no idea, how the engine comes into a state when the issue fires)

@Calinou Calinou reopened this May 16, 2020
@Calinou Calinou changed the title Godot freezes when the AssetLib tab is opened Godot freezes when the AssetLib tab is opened due to RichTextLabel bug May 16, 2020
@Faless
Copy link
Collaborator

Faless commented May 18, 2020

@Calinou the user reports the error not to happen with the asset lib, but with the one click deploy/debug options (see the linked comment and follow-up).
Closing, let's discuss this in only once place: #17815 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants