bertieb

Godot Engine __dynamic_cast segfault

May 14th, 2014
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
GDB 6.53 KB | None | 0 0
  1. /* Preamble: I am not 100% certain what triggered this crash, although it seemed to happen after changing a Timer scene. However the crash still occurs even after not starting the Timer (and decoupling the timeout signal).
  2. */
  3.  
  4. Program received signal SIGSEGV, Segmentation fault.
  5. 0xb78b4540 in __dynamic_cast () from /usr/lib/i386-linux-gnu/libstdc++.so.6
  6.  
  7. (gdb) backtrace
  8.  
  9. #0  0xb78b4540 in __dynamic_cast () from /usr/lib/i386-linux-gnu/libstdc++.so.6
  10. #1  0x0805d309 in Object::cast_to<Node> (this=0x9dc8c60) at core/object.h:476
  11. #2  0x08b65644 in Variant::operator Node* (this=0xbfffc2c4) at core/variant.cpp:1437
  12. #3  0x082c2b05 in VariantCaster<Node*>::cast (p_variant=...) at core/method_bind.h:61
  13. #4  0x082c236d in MethodBind1<Node*>::call (this=0x994eaf0, p_object=0x9ddf890, p_args=0xbfffc418, p_arg_count=1, r_error=...)
  14.     at core/method_bind.inc:609
  15. #5  0x08b33ab0 in Object::call (this=0x9ddf890, p_method=..., p_args=0xbfffc418, p_argcount=1, r_error=...) at core/object.cpp:890
  16. #6  0x08b9e9d1 in Variant::call (this=0xbfffc4e4, p_method=..., p_args=0xbfffc418, p_argcount=1, r_error=...) at core/variant_call.cpp:857
  17. #7  0x080b3ee0 in GDFunction::call (this=0x9c5a04c, p_instance=0x9ddf2b0, p_args=0x0, p_argcount=0, r_err=...)
  18.     at modules/gdscript/gd_script.cpp:631
  19. #8  0x080bb6b7 in GDInstance::_ml_call_reversed (this=0x9ddf2b0, sptr=0x9c40340, p_method=..., p_args=0x0, p_argcount=0)
  20.     at modules/gdscript/gd_script.cpp:1978
  21. #9  0x080bb721 in GDInstance::call_multilevel_reversed (this=0x9ddf2b0, p_method=..., p_args=0x0, p_argcount=0)
  22.     at modules/gdscript/gd_script.cpp:1986
  23. #10 0x085d0136 in Node::_notification (this=0x9ddf890, p_notification=13) at scene/main/node.cpp:106
  24. #12 0x080a961c in CanvasItem::_notificationv (this=0x9ddf890, p_notification=13, p_reversed=false) at ./scene/2d/canvas_item.h:44
  25. #13 0x0875eadc in Node2D::_notificationv (this=0x9ddf890, p_notification=13, p_reversed=false) at ./scene/2d/node_2d.h:36
  26. #14 0x08799bd0 in CollisionObject2D::_notificationv (this=0x9ddf890, p_notification=13, p_reversed=false) at scene/2d/collision_object_2d.h:37
  27. #15 0x087c97c2 in PhysicsBody2D::_notificationv (this=0x9ddf890, p_notification=13, p_reversed=false) at scene/2d/physics_body_2d.h:39
  28. #16 0x087caa58 in KinematicBody2D::_notificationv (this=0x9ddf890, p_notification=13, p_reversed=false) at scene/2d/physics_body_2d.h:235
  29. #17 0x08b33bdf in Object::notification (this=0x9ddf890, p_notification=13, p_reversed=false) at core/object.cpp:902
  30. #18 0x085d042d in Node::_propagate_ready (this=0x9ddf890) at scene/main/node.cpp:149
  31. #19 0x085d6249 in Node::_set_scene (this=0x9ddf890, p_scene=0x9b4fad0) at scene/main/node.cpp:1622
  32. #20 0x085d2434 in Node::_add_child_nocheck (this=0x9c9e5d0, p_child=0x9ddf890, p_name=...) at scene/main/node.cpp:635
  33. #21 0x085d274c in Node::add_child (this=0x9c9e5d0, p_child=0x9ddf890) at scene/main/node.cpp:662
  34. #22 0x082c2383 in MethodBind1<Node*>::call (this=0x994eaf0, p_object=0x9c9e5d0, p_args=0xbfffcf9c, p_arg_count=1, r_error=...)
  35.     at core/method_bind.inc:609
  36. #23 0x08b33ab0 in Object::call (this=0x9c9e5d0, p_method=..., p_args=0xbfffcf9c, p_argcount=1, r_error=...) at core/object.cpp:890
  37. #24 0x08b9e9d1 in Variant::call (this=0xbfffcf4c, p_method=..., p_args=0xbfffcf9c, p_argcount=1, r_error=...) at core/variant_call.cpp:857
  38. #25 0x080b3ee0 in GDFunction::call (this=0x9c749bc, p_instance=0x9dc8ac0, p_args=0xbfffd778, p_argcount=1, r_err=...)
  39.     at modules/gdscript/gd_script.cpp:631
  40. #26 0x080bb546 in GDInstance::call (this=0x9dc8ac0, p_method=..., p_args=0xbfffd778, p_argcount=1, r_error=...)
  41.     at modules/gdscript/gd_script.cpp:1945
  42. #27 0x08b339b1 in Object::call (this=0x9dc8910, p_method=..., p_args=0xbfffd778, p_argcount=1, r_error=...) at core/object.cpp:869
  43. #28 0x08b9e9d1 in Variant::call (this=0xbfffd728, p_method=..., p_args=0xbfffd778, p_argcount=1, r_error=...) at core/variant_call.cpp:857
  44. #29 0x080b3ee0 in GDFunction::call (this=0x9c9a89c, p_instance=0x9dc8730, p_args=0xbfffdebc, p_argcount=1, r_err=...)
  45.     at modules/gdscript/gd_script.cpp:631
  46. #30 0x080bb546 in GDInstance::call (this=0x9dc8730, p_method=..., p_args=0xbfffdebc, p_argcount=1, r_error=...)
  47.     at modules/gdscript/gd_script.cpp:1945
  48. #31 0x08b339b1 in Object::call (this=0x9dc82b0, p_method=..., p_args=0xbfffdebc, p_argcount=1, r_error=...) at core/object.cpp:869
  49. #32 0x08b9e9d1 in Variant::call (this=0xbfffdf84, p_method=..., p_args=0xbfffdebc, p_argcount=1, r_error=...) at core/variant_call.cpp:857
  50. #33 0x080b3ee0 in GDFunction::call (this=0x9c99cdc, p_instance=0x9dc8730, p_args=0xbfffe5d4, p_argcount=1, r_err=...)
  51.     at modules/gdscript/gd_script.cpp:631
  52. #34 0x080bb546 in GDInstance::call (this=0x9dc8730, p_method=..., p_args=0xbfffe5d4, p_argcount=1, r_error=...)
  53.     at modules/gdscript/gd_script.cpp:1945
  54. #35 0x08b339b1 in Object::call (this=0x9dc82b0, p_method=..., p_args=0xbfffe5d4, p_argcount=1, r_error=...) at core/object.cpp:869
  55. #36 0x08b9e9d1 in Variant::call (this=0x9dc765c, p_method=..., p_args=0xbfffe5d4, p_argcount=1, r_error=...) at core/variant_call.cpp:857
  56. #37 0x080b3ee0 in GDFunction::call (this=0x9c564ec, p_instance=0x9dc7460, p_args=0xbfffeca4, p_argcount=0, r_err=...)
  57.     at modules/gdscript/gd_script.cpp:631
  58. #38 0x080bb546 in GDInstance::call (this=0x9dc7460, p_method=..., p_args=0xbfffeca4, p_argcount=0, r_error=...)
  59.     at modules/gdscript/gd_script.cpp:1945
  60. #39 0x08b339b1 in Object::call (this=0x9dc7180, p_method=..., p_args=0xbfffeca4, p_argcount=0, r_error=...) at core/object.cpp:869
  61. #40 0x08b3369d in Object::call (this=0x9dc7180, p_name=..., p_arg1=..., p_arg2=..., p_arg3=..., p_arg4=..., p_arg5=...) at core/object.cpp:766
  62. #41 0x08b34aad in Object::emit_signal (this=0x9dc7a80, p_name=..., p_arg1=..., p_arg2=..., p_arg3=..., p_arg4=..., p_arg5=...)
  63.     at core/object.cpp:1142
  64. #42 0x085e569c in Timer::_notification (this=0x9dc7a80, p_what=17) at scene/main/timer.cpp:52
  65. #43 0x085e6983 in Timer::_notificationv (this=0x9dc7a80, p_notification=17, p_reversed=false) at scene/main/timer.h:36
  66. #44 0x08b33bdf in Object::notification (this=0x9dc7a80, p_notification=17, p_reversed=false) at core/object.cpp:902
  67. #45 0x085e9680 in SceneMainLoop::_notify_group_pause (this=0x9b4fad0, p_group=..., p_notification=17) at scene/main/scene_main_loop.cpp:706
  68. #46 0x085e8d0c in SceneMainLoop::idle (this=0x9b4fad0, p_time=0.0226579998) at scene/main/scene_main_loop.cpp:512
  69. #47 0x0805bc46 in Main::iteration () at main/main.cpp:1295
  70. #48 0x08051f77 in OS_X11::run (this=0xbffff180) at platform/x11/os_x11.cpp:1277
  71. #49 0x0804df2b in main (argc=3, argv=0xbffff4e4) at platform/x11/godot_x11.cpp:41
Advertisement
Add Comment
Please, Sign In to add comment