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

Recursive dictionary creation creates a really big log file (Infinite error chain) #95108

Closed
Rokle opened this issue Aug 3, 2024 · 1 comment
Labels

Comments

@Rokle
Copy link

Rokle commented Aug 3, 2024

Tested versions

  • Reproducible in: 4.3-rc2, v4.2.2.stable.official [15073af]
  • Not reproducible in: v3.5.1.stable.official [6fed1ff]

System information

Godot v4.2.2.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated GeForce GTX 770 () - AMD Ryzen 5 2600 Six-Core Processor (12 Threads)

Issue description

Recursive dictionary creation creates a really big (4gb+) log file on project launch and crashes system
Log file content

Godot Engine v4.2.2.stable.official.15073afe3 - https://godotengine.org
Vulkan API 1.2.142 - Forward+ - Using Vulkan Device #0: NVIDIA - GeForce GTX 770
 
USER ERROR: Max recursion reached
   at: recursive_hash (core/variant/dictionary.cpp:267)
USER ERROR: Max recursion reached
   at: recursive_hash (core/variant/dictionary.cpp:267)
....

And it goes on for millions of rows

In v3.5.1.stable.official [6fed1ff] log file isn't filled and game window just crashes
Log file

Godot Engine v3.5.1.stable.official.6fed1ffa3 - https://godotengine.org
OpenGL ES 3.0 Renderer: GeForce GTX 770/PCIe/SSE2
Async. shader compilation: OFF

Steps to reproduce

Create blank project
Create node, add code and paste following

extends Control

func _ready():
	var a = {}
	var b = {}
	b[a] = {a:a}
	a[b] = {b:b}

Launch

Minimal reproduction project (MRP)

N/A

@ajreckof
Copy link
Member

ajreckof commented Aug 3, 2024

Duplicate of #80990

@ajreckof ajreckof marked this as a duplicate of #80990 Aug 3, 2024
@ajreckof ajreckof closed this as not planned Won't fix, can't repro, duplicate, stale Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants