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

Switch to the empty script interface and godot forces quit when the tscn scene file with script is loaded #23495

Closed
haizhou37 opened this issue Nov 4, 2018 · 4 comments · Fixed by #23535

Comments

@haizhou37
Copy link

Godot version:
godot3.1 alpha2

OS/device including version:
manjaro gnome x64
Intel® Core™ i3-2350M CPU @ 2.30GHz × 4
Intel® Sandybridge Mobile
OpenGL ES 3.0 Renderer: Mesa DRI Intel(R) Sandybridge Mobile
intel hd 3000
4g ram

Issue description:
peek 2018-11-04 14-07

Steps to reproduce:
1.Open a scene without a script (or not a loaded, empty scene)
2.Switch to script interface
3.Open a scene file with script

Minimal reproduction project:
Test2.zip

@qarmin
Copy link
Contributor

qarmin commented Nov 4, 2018

Confirm on Ubuntu 18.10 GTX 970
This is a backtrace

handle_crash: Program crashed with signal 11
Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x41100) [0x7fb7a0992100] (??:0)
[2] Map<StringName, VisualScript::Function, Comparator<StringName>, DefaultAllocator>::front() const (??:0)
[3] VisualScript::get_function_list(List<StringName, DefaultAllocator>*) const (??:0)
[4] VisualScriptEditor::_update_members() (??:0)
[5] VisualScriptEditor::_notification(int) (??:0)
[6] VisualScriptEditor::_notificationv(int, bool) (??:0)
[7] Object::notification(int, bool) (??:0)
[8] Control::_notification(int) (??:0)
[9] Control::_notificationv(int, bool) (??:0)
[10] Container::_notificationv(int, bool) (??:0)
[11] BoxContainer::_notificationv(int, bool) (??:0)
[12] VBoxContainer::_notificationv(int, bool) (??:0)
[13] ScriptEditorBase::_notificationv(int, bool) (??:0)
[14] VisualScriptEditor::_notificationv(int, bool) (??:0)
[15] Object::notification(int, bool) (??:0)
[16] CanvasItem::_enter_canvas() (??:0)
[17] CanvasItem::_notification(int) (??:0)
[18] CanvasItem::_notificationv(int, bool) (??:0)
[19] Control::_notificationv(int, bool) (??:0)
[20] Container::_notificationv(int, bool) (??:0)
[21] BoxContainer::_notificationv(int, bool) (??:0)
[22] VBoxContainer::_notificationv(int, bool) (??:0)
[23] ScriptEditorBase::_notificationv(int, bool) (??:0)
[24] VisualScriptEditor::_notificationv(int, bool) (??:0)
[25] Object::notification(int, bool) (??:0)
[26] Node::_propagate_enter_tree() (??:0)
[27] Node::_set_tree(SceneTree*) (??:0)
[28] Node::_add_child_nocheck(Node*, StringName const&) (??:0)
[29] Node::add_child(Node*, bool) (??:0)
[30] ScriptEditor::edit(Ref<Resource> const&, int, int, bool) (??:0)
[31] ScriptEditor::edit(Ref<Resource> const&, bool) (??:0)
[32] ScriptEditor::set_scene_root_script(Ref<Script>) (??:0)
[33] EditorNode::_set_main_scene_state(Dictionary, Node*) (??:0)
[34] MethodBind2<Dictionary, Node*>::call(Object*, Variant const**, int, Variant::CallError&) (??:0)
[35] Object::call(StringName const&, Variant const**, int, Variant::CallError&) (??:0)
[36] MessageQueue::_call_function(Object*, StringName const&, Variant const*, int, bool) (??:0)
[37] MessageQueue::flush() (??:0)
[38] SceneTree::iteration(float) (??:0)
[39] Main::iteration() (??:0)
[40] OS_X11::run() (??:0)
[41] /home/rafal/Pulpit/godot/bin/godot.x11.tools.64(main+0xdc) [0x55fa6a36e441] (??:0)
[42] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7fb7a097509b] (??:0)
[43] /home/rafal/Pulpit/godot/bin/godot.x11.tools.64(_start+0x2a) [0x55fa6a36e2aa] (??:0)
-- END OF BACKTRACE --

(bugsquad edit: made the backtrace a codeblock)

@akien-mga
Copy link
Member

CC @fire

@fire
Copy link
Member

fire commented Nov 5, 2018

Will look into it tomorrow.

@fire
Copy link
Member

fire commented Nov 5, 2018

#23535

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

Successfully merging a pull request may close this issue.

5 participants