Skip to content

Crash when opening (large?) subtree in monitor view with ctrl + click #72

@tony-p

Description

@tony-p

Describe the bug
In a large/complex multilayered behavior tree ctrl + clicking on a subtree causes groot to crash.

To Reproduce

In our case in the large tree, and opening 1 particular large subtree in the behavior tree while using ctrl + click on the node in the live viewer, it always crashes. Not on all subtrees. It seems not to crash if opening the same tree via the navigator

Expected behavior
Groot shouldn't crash

Screenshots and videos
Image

Desktop (please complete the following information):

  • OS: windows and linux (can reproduce on both)
  • Version 1.6.1

Additional context
stack trace from terminal:

Warning: Wed Oct 22 11:07:20 2025 - Could not find the Qt platform plugin "wayland" in ""
Info: Wed Oct 22 11:07:20 2025 - Running PRO version
loaded Parser plugin:  "libFileLogger2Parser.so"
loaded Writer plugin:  "libFileLogger2Writer.so"
loaded Parser plugin:  "libFlatbuffersParser.so"
loaded Parser plugin:  "libSQLiteParser.so"
current version:  "1.6.1"
latest online version:  "1.6.1"
Info: Wed Oct 22 11:07:26 2025 - "Error loading  model" "The model 'LoopDouble' is builtin model and is being overriden...."
Info: Wed Oct 22 11:07:26 2025 - "Error loading  model" "The model 'LoopString' is builtin model and is being overriden...."
Info: Wed Oct 22 11:07:26 2025 - "Error loading  model" "The model 'Script' is builtin model and is being overriden...."
Info: Wed Oct 22 11:07:26 2025 - "Error loading  model" "The model 'ScriptCondition' is builtin model and is being overriden...."
Info: Wed Oct 22 11:07:26 2025 - "Error loading  model" "The model 'SetBlackboard' is builtin model and is being overriden...."
Info: Wed Oct 22 11:07:26 2025 - "Error loading  model" "The model 'Switch2' is builtin model and is being overriden...."
Info: Wed Oct 22 11:07:26 2025 - "Error loading  model" "The model 'Switch3' is builtin model and is being overriden...."
Info: Wed Oct 22 11:07:26 2025 - "Error loading  model" "The model 'Switch4' is builtin model and is being overriden...."
Info: Wed Oct 22 11:07:26 2025 - "Error loading  model" "The model 'Switch5' is builtin model and is being overriden...."
Info: Wed Oct 22 11:07:26 2025 - "Error loading  model" "The model 'Switch6' is builtin model and is being overriden...."
Info: Wed Oct 22 11:07:28 2025 - Crash report sent to Server
Warning: Wed Oct 22 11:07:33 2025 - QGraphicsItem::ungrabMouse: not a mouse grabber
Stack trace (most recent call last):
#0    Object "/home/me/Data/Groot2/lib/libQt6Widgets.so.6", at 0x75af822f79a0, in QGraphicsItem::acceptedMouseButtons() const
#1    Object "/home/me/Data/Groot2/lib/libQt6Widgets.so.6", at 0x75af8233894e, in 
#2    Object "/home/me/Data/Groot2/lib/libQt6Widgets.so.6", at 0x75af8233c82f, in QGraphicsScene::event(QEvent*)
#3    Object "/home/me/Data/Groot2/lib/libQt6Widgets.so.6", at 0x75af81f844f1, in QApplicationPrivate::notify_helper(QObject*, QEvent*)
#4    Object "/home/me/Data/Groot2/lib/libQt6Core.so.6", at 0x75af80b63189, in QCoreApplication::notifyInternal2(QObject*, QEvent*)
#5    Object "/home/me/Data/Groot2/lib/libQt6Widgets.so.6", at 0x75af823640ec, in QGraphicsView::mousePressEvent(QMouseEvent*)
#6    Source "/home/davide/ws_behaviortree/src/Groot2/3rdparty/nodeeditor/src/GraphicsView.cpp", line 340, in mousePressEvent [0x5a565f750bab]
#7    Object "/home/me/Data/Groot2/lib/libQt6Widgets.so.6", at 0x75af81fdbaed, in QWidget::event(QEvent*)
#8    Object "/home/me/Data/Groot2/lib/libQt6Widgets.so.6", at 0x75af82069ae1, in QFrame::event(QEvent*)
#9    Object "/home/me/Data/Groot2/lib/libQt6Core.so.6", at 0x75af80b62ef9, in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)
#10   Object "/home/me/Data/Groot2/lib/libQt6Widgets.so.6", at 0x75af81f844e0, in QApplicationPrivate::notify_helper(QObject*, QEvent*)
#11   Object "/home/me/Data/Groot2/lib/libQt6Widgets.so.6", at 0x75af81f8ce0f, in QApplication::notify(QObject*, QEvent*)
#12   Object "/home/me/Data/Groot2/lib/libQt6Core.so.6", at 0x75af80b63189, in QCoreApplication::notifyInternal2(QObject*, QEvent*)
#13   Object "/home/me/Data/Groot2/lib/libQt6Widgets.so.6", at 0x75af81f8c15f, in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool)
#14   Object "/home/me/Data/Groot2/lib/libQt6Widgets.so.6", at 0x75af81feda80, in 
#15   Object "/home/me/Data/Groot2/lib/libQt6Widgets.so.6", at 0x75af81ff06ea, in
 
Saving backlog in: /home/me/.cache/AurynRobotics/Groot2/crash_log.txtSegmentation fault (Address not mapped to object [0x5a5600000009])
Segmentation fault (core dumped)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions