godotengine / godotengine/godot

ERROR: Caller thread can't call this function in this node (/root). Use call_deferred() or call_thread_group() instead

Open
#97,129 4 comments 0 reactions 0 assignees View on GitHub
crash needs testing
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

Reproducible in Godot_v4.4-dev2_linux.x86_64, and Godot_v3

### System information

Linux fedora 38,

### Issue description

I download Godot, on the link: https://github.com/godotengine/godot-builds/releases/download/4.4-dev2/Godot_v4.4-dev2_linux.x86_64.zip, I extract the program, I do create the project, then when I edit is error is showed:
```
ERROR: Caller thread can't call this function in this node (/root). Use call_deferred() or call_thread_group() instead.
at: propagate_notification (scene/main/node.cpp:2446)

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.4.dev2.official (97ef3c837263099faf02d8ebafd6c77c94d2aaba)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib64/libc.so.6(+0x3dbb0) [0x7f624994abb0] (??:0)
[2] llvm::CmpInst::Create(llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*) (??:0)
[3] [0x7f622026e8c0] (??:0)
-- END OF BACKTRACE --
```

![Captura de tela de 2024-09-17 19-42-54](https://github.com/user-attachments/assets/08f97ac8-6e52-4c85-8cd7-dedf27020c89)
![Captura de tela de 2024-09-17 19-43-56](https://github.com/user-attachments/assets/9459f29d-13d5-4b68-a7cc-20281212bc43)
![Captura de tela de 2024-09-17 19-44-15](https://github.com/user-attachments/assets/1adc05b8-e708-4dde-81d3-d73ac1e8ae88)
![Captura de tela de 2024-09-17 19-44-39](https://github.com/user-attachments/assets/3480b1d5-dc7d-4b33-a69b-bba393ae028f)
![Captura de tela de 2024-09-17 19-44-51](https://github.com/user-attachments/assets/0d65c84b-83a5-4c8a-a4b6-dfba71847e97)

### Steps to reproduce

The images on issue description reproduce the errors.

### Minimal reproduction project (MRP)

[fb_godot_2.zip](https://github.com/user-attachments/files/17036182/fb_godot_2.zip)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.