Giter Club home page Giter Club logo

Comments (6)

akien-mga avatar akien-mga commented on May 27, 2024 4

Thanks for making a reproduction project. I can reproduce the bug with it, which should make it easy for contributors to identify what caused the bug and provide a fix.

Backtrace with debug symbols:

ERROR: Index p_index = 0 is out of bounds ((int)data.children_cache.size() = 0).
   at: get_child (./scene/main/node.cpp:1684)

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.3.dev.custom_build (d2dcaf4e537fed11fecf8d3b21735b95058180ce)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib64/libc.so.6(+0x40710) [0x7f83d1616710] (??:0)
[2] Object::get(StringName const&, bool*) const (/home/akien/Godot/godot/./core/object/object.cpp:318)
[3] Node::_duplicate_properties_node(Node const*, Node const*, Node*) const (/home/akien/Godot/godot/./scene/main/node.cpp:2911 (discriminator 2))
[4] Node::_duplicate_properties_node(Node const*, Node const*, Node*) const (/home/akien/Godot/godot/./scene/main/node.cpp:2933 (discriminator 3))
[5] Node::duplicate(int) const (/home/akien/Godot/godot/./scene/main/node.cpp:2825)
[6] void call_with_variant_args_retc_helper<__UnexistingClass, Node*, int, 0ul>(__UnexistingClass*, Node* (__UnexistingClass::*)(int) const, Variant const**, Variant&, Callable::CallError&, IndexSequence<0ul>) (/home/akien/Godot/godot/./core/variant/binder_common.h:807 (discriminator 1))
[7] void call_with_variant_args_retc_dv<__UnexistingClass, Node*, int>(__UnexistingClass*, Node* (__UnexistingClass::*)(int) const, Variant const**, int, Variant&, Callable::CallError&, Vector<Variant> const&) (/home/akien/Godot/godot/./core/variant/binder_common.h:569)
[8] MethodBindTRC<Node*, int>::call(Object*, Variant const**, int, Callable::CallError&) const (/home/akien/Godot/godot/./core/object/method_bind.h:619 (discriminator 1))
[9] GDScriptFunction::call(GDScriptInstance*, Variant const**, int, Callable::CallError&, GDScriptFunction::CallState*) (/home/akien/Godot/godot/./modules/gdscript/gdscript_vm.cpp:1862 (discriminator 1))
[10] GDScriptInstance::callp(StringName const&, Variant const**, int, Callable::CallError&) (/home/akien/Godot/godot/./modules/gdscript/gdscript.cpp:1981 (discriminator 1))
[11] bool Node::_gdvirtual__ready_call<false>() (/home/akien/Godot/godot/./scene/main/node.h:354 (discriminator 1))
[12] Node::_notification(int) (/home/akien/Godot/godot/./scene/main/node.cpp:214)
[13] Node::_notificationv(int, bool) (/home/akien/Godot/godot/./scene/main/node.h:49 (discriminator 14))
[14] CanvasItem::_notificationv(int, bool) (/home/akien/Godot/godot/./scene/main/canvas_item.h:45 (discriminator 3))
[15] Node2D::_notificationv(int, bool) (/home/akien/Godot/godot/./scene/2d/node_2d.h:37 (discriminator 3))
[16] Object::notification(int, bool) (/home/akien/Godot/godot/./core/object/object.cpp:907)
[17] Node::_propagate_ready() (/home/akien/Godot/godot/./scene/main/node.cpp:269)
[18] Node::_propagate_ready() (/home/akien/Godot/godot/./scene/main/node.cpp:258 (discriminator 3))
[19] Node::_set_tree(SceneTree*) (/home/akien/Godot/godot/./scene/main/node.cpp:3181)
[20] SceneTree::initialize() (/home/akien/Godot/godot/./scene/main/scene_tree.cpp:450)
[21] OS_LinuxBSD::run() (/home/akien/Godot/godot/platform/linuxbsd/os_linuxbsd.cpp:958)
[22] /home/akien/Godot/godot/bin/godot.linuxbsd.editor.dev.x86_64(main+0x14b) [0x5a9b1f1] (/home/akien/Godot/godot/platform/linuxbsd/godot_linuxbsd.cpp:85)
[23] /lib64/libc.so.6(+0x2a088) [0x7f83d1600088] (??:0)
[24] /lib64/libc.so.6(__libc_start_main+0x8b) [0x7f83d160014b] (??:0)
[25] /home/akien/Godot/godot/bin/godot.linuxbsd.editor.dev.x86_64(_start+0x25) [0x5a9afe5] (??:?)
-- END OF BACKTRACE --
================================================================

Judging by the backtrace, I suppose this is related to #87387, CC @warriormaster12 @KoBeWi.

from godot.

Pshy0 avatar Pshy0 commented on May 27, 2024 1

I'm sorry to not be donating enough of my time.

from godot.

AThousandShips avatar AThousandShips commented on May 27, 2024 1

Donating? You made a bug report I'm assuming you're wanting it to be fixed, so providing details isn't donating or doing anything for anyone else, but helping yourself

If you don't have the time that's a shame, but as I said there probably isn't enough information here otherwise so we can't help

from godot.

AThousandShips avatar AThousandShips commented on May 27, 2024

I may make an MRP when I have time.

Please do, or this might not be something that's possible to test, please provide an MRP directly when opening an issue in the future

from godot.

Pshy0 avatar Pshy0 commented on May 27, 2024

This is a bug report, not an assistance request.

I dont NEED to test your dev pre-releases, I could just stay on stable and not take the pain to report a major problem that someone else will unavoidably run into, causing it to eventually get fixed anyway. I'm sure the next person to not encounter this will be very glad I did "look for help".

from godot.

warriormaster12 avatar warriormaster12 commented on May 27, 2024

@Pshy0 Just pushed a single line change that at least on my end fixed the crash.
#91329

from godot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.