Crash when moving fluid

This issue has been created since 2022-03-07.

Describe the Bug
Webots crash when trying to move a children of a fluid.

Steps to Reproduce

  1. Open crash_move.zip
  2. Expand the tree to find fluid/children/S Transform
  3. Try to change translation or rotation either by inputting new values, resetting to default or moving in 3D view
  4. Webots crash
  5. Open again, and reset the boundingObject from "USE S" to "NULL"
  6. Retry step 3)
  7. The box move and Webots don't crash

Expected behavior
The box should move even when the boundingBox setup

System

  • Operating System: Debian 11
  • Webots : develop @ 0a240a5

GDB output

0x0000555555dd3bbc in WbSolid::physics (this=0x0) at nodes/WbSolid.cpp:2101
/home/<user>/webots/src/webots/nodes/WbSolid.cpp:2101:69378:beg:0x555555dd3bbc
#0  0x0000555555dd3bbc in WbSolid::physics() const (this=0x0) at nodes/WbSolid.cpp:2101
#1  0x0000555555e64cdc in WbTransform::applyToOdeMass(WbGeometry*, dxGeom*) (this=0x555556a710d0, g=0x55555c3426a0, geom=0x55555c1f2510) at nodes/WbTransform.cpp:376
#2  0x0000555555e64b9d in WbTransform::applyToOdeGeomPosition(bool) (this=0x555556a710d0, correctMass=true) at nodes/WbTransform.cpp:356
#3  0x0000555555e63c76 in WbTransform::updateTranslation() (this=0x555556a710d0) at nodes/WbTransform.cpp:103
#4  0x0000555555c980cf in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (WbTransform::*)()>::call(void (WbTransform::*)(), WbTransform*, void**)
    (f=&virtual table offset 584, o=0x555556a710d0, arg=0x7fffffffc750) at ../../include/qt/QtCore/QtCore/qobjectdefs_impl.h:152
#5  0x0000555555c97f48 in QtPrivate::FunctionPointer<void (WbTransform::*)()>::call<QtPrivate::List<>, void>(void (WbTransform::*)(), WbTransform*, void**)
    (f=&virtual table offset 584, o=0x555556a710d0, arg=0x7fffffffc750) at ../../include/qt/QtCore/QtCore/qobjectdefs_impl.h:185
#6  0x0000555555c97e29 in QtPrivate::QSlotObject<void (WbTransform::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
    (which=1, this_=0x55555b0a2410, r=0x555556a710d0, a=0x7fffffffc750, ret=0x0) at ../../include/qt/QtCore/QtCore/qobjectdefs_impl.h:395
#7  0x00007ffff7b38b8a in  () at /home/yann/webots/lib/webots/libQt6Core.so.6
#8  0x0000555555fd986d in WbValue::changed() (this=0x55555c236020) at build/debug/WbValue.moc.cpp:169
#9  0x0000555555d98748 in WbSFVector3::operator=(WbSFVector3 const&) (this=0x55555c236020, other=...) at vrml/WbSFVector3.cpp:88
#10 0x0000555555d9880c in WbSFVector3::copyFrom(WbValue const*) (this=0x55555c236020, other=0x55555c257bd0) at vrml/WbSFVector3.cpp:99
#11 0x0000555555bf9e66 in WbField::copyValueFrom(WbField const*) (this=0x55555c1f4dd0, other=0x55555c1f23a0) at vrml/WbField.cpp:422
#12 0x0000555555cd6d6c in WbNode::notifyFieldChanged() (this=0x555556aad1a0) at vrml/WbNode.cpp:779
#13 0x0000555555ce6fe9 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (WbNode::*)()>::call(void (WbNode::*)(), WbNode*, void**)
    (f=(void (WbNode::*)(WbNode * const)) 0x555555cd6baa <WbNode::notifyFieldChanged()>, o=0x555556aad1a0, arg=0x7fffffffca00) at ../../include/qt/QtCore/QtCore/qobjectdefs_impl.h:152
#14 0x0000555555ce545b in QtPrivate::FunctionPointer<void (WbNode::*)()>::call<QtPrivate::List<>, void>(void (WbNode::*)(), WbNode*, void**)
    (f=(void (WbNode::*)(WbNode * const)) 0x555555cd6baa <WbNode::notifyFieldChanged()>, o=0x555556aad1a0, arg=0x7fffffffca00) at ../../include/qt/QtCore/QtCore/qobjectdefs_impl.h:185
#15 0x0000555555ce385f in QtPrivate::QSlotObject<void (WbNode::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
    (which=1, this_=0x55555c2434c0, r=0x555556aad1a0, a=0x7fffffffca00, ret=0x0) at ../../include/qt/QtCore/QtCore/qobjectdefs_impl.h:395
#16 0x00007ffff7b38b8a in  () at /home/yann/webots/lib/webots/libQt6Core.so.6
#17 0x0000555555fa80b3 in WbField::valueChanged() (this=0x55555c1f23a0) at build/debug/WbField.moc.cpp:205
#18 0x0000555555bfc22b in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (WbField::*)()>::call(void (WbField::*)(), WbField*, void**)
    (f=(void (WbField::*)(WbField * const)) 0x555555fa808a <WbField::valueChanged()>, o=0x55555c1f23a0, arg=0x7fffffffcba0) at ../../include/qt/QtCore/QtCore/qobjectdefs_impl.h:152
#19 0x0000555555bfbc92 in QtPrivate::FunctionPointer<void (WbField::*)()>::call<QtPrivate::List<>, void>(void (WbField::*)(), WbField*, void**)
    (f=(void (WbField::*)(WbField * const)) 0x555555fa808a <WbField::valueChanged()>, o=0x55555c1f23a0, arg=0x7fffffffcba0) at ../../include/qt/QtCore/QtCore/qobjectdefs_impl.h:185
#20 0x0000555555bfb417 in QtPrivate::QSlotObject<void (WbField::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
    (which=1, this_=0x55555c33dc90, r=0x55555c1f23a0, a=0x7fffffffcba0, ret=0x0) at ../../include/qt/QtCore/QtCore/qobjectdefs_impl.h:395
#21 0x00007ffff7b38b8a in  () at /home/yann/webots/lib/webots/libQt6Core.so.6
#22 0x0000555555fd986d in WbValue::changed() (this=0x55555c257bd0) at build/debug/WbValue.moc.cpp:169
#23 0x0000555555d98534 in WbSFVector3::setValue(double, double, double) (this=0x55555c257bd0, x=0, y=-0.02, z=-7.3464099999999994e-08) at vrml/WbSFVector3.cpp:46
#24 0x0000555555ed915e in WbAbstractTransform::setTranslation(double, double, double) (this=0x555556aad350, tx=0, ty=-0.02, tz=-7.3464099999999994e-08) at nodes/WbAbstractTransform.cpp:440
#25 0x0000555555be956b in WbAbstractTransform::setTranslation(WbVector3 const&) (this=0x555556aad350, v=...) at nodes/WbAbstractTransform.hpp:65
#26 0x0000555555be74ce in WbDragTranslateAlongAxisEvent::apply(QPoint const&) (this=0x55555ce2ef30, currentMousePosition=...) at gui/WbDragTransformEvent.cpp:238
#27 0x0000555555eaacd6 in WbView3D::mouseMoveEvent(QMouseEvent*) (this=0x55555673f700, event=0x7fffffffd690) at gui/WbView3D.cpp:1739
#28 0x00007ffff7093e48 in QWindow::event(QEvent*) () at /home/yann/webots/lib/webots/libQt6Gui.so.6
#29 0x0000555555ed0c41 in WbWrenWindow::event(QEvent*) (this=0x55555673f700, event=0x7fffffffd690) at gui/WbWrenWindow.cpp:258
#30 0x00007ffff67dea62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /home/yann/webots/lib/webots/libQt6Widgets.so.6
#31 0x00007ffff7adc01a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /home/yann/webots/lib/webots/libQt6Core.so.6
#32 0x00007ffff704d11b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /home/yann/webots/lib/webots/libQt6Gui.so.6
#33 0x00007ffff709717c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/yann/webots/lib/webots/libQt6Gui.so.6
#34 0x00007ffff158586a in  () at /home/yann/webots/lib/webots/libQt6XcbQpa.so.6
#35 0x00007ffff2570e6b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007ffff2571118 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007ffff25711cf in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffff7d42f5a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/yann/webots/lib/webots/libQt6Core.so.6
#39 0x00007ffff7ae80bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/yann/webots/lib/webots/libQt6Core.so.6
#40 0x00007ffff7ae400b in QCoreApplication::exec() () at /home/yann/webots/lib/webots/libQt6Core.so.6
#41 0x0000555555c1b821 in WbGuiApplication::exec() (this=0x7fffffffdb90) at gui/WbGuiApplication.cpp:326
#42 0x0000555555ed59d6 in main(int, char**) (argc=1, argv=0x7fffffffdfa8) at gui/main.cpp:213
More Details About Repo
Owner Name cyberbotics
Repo Name webots
Full Name cyberbotics/webots
Language C++
Created Date 2018-11-05
Updated Date 2022-09-26
Star Count 2061
Watcher Count 62
Fork Count 1170
Issue Count 165

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Expand tests for configure package 0 2021-11-04 2022-09-17
Mobile Jog - websocket.js bug 1 2022-08-02 2022-08-07
Gauge当代码动态更改split number时,刻度label显示错误 1 2021-09-03 2022-09-11
初始项目执行 pnpm run lint:stylelint 报错 1 2022-02-15 2022-09-15
Add preferences shortcut (cmd ,) to menu 2 2021-03-03 2022-07-30
ionChange not triggered version 5 and ionic 6 1 2022-01-20 2022-08-22
Custom type or how to use valueGetter 0 2022-01-31 2022-09-22
Issue with installation of data from SeuratData.unable to install "pbmc3k.final" datasets 2 2020-10-17 2022-07-21
[OS: Linux] Incompatibility with KWIN 6 2021-08-28 2022-09-27
Selfmodifying code - changing branches 2 2021-10-26 2022-09-21
No LiveStreams detail in Kafka If WebRTC Disabled 1 2022-02-02 2022-09-17
Strawberry Shake error about already registered type 14 2021-11-17 2022-09-27
How set font spacing? 2 2021-03-27 2022-09-23
SparkleShare (v3.28) doesn't ask for password on encrypted repository 4 2018-11-11 2022-07-14
How can I init panzoom globally? 6 2021-07-21 2022-09-02
OSError: [Errno 10048] 1 2022-01-09 2022-09-28
chacha20-ietf-poly1305 2 2021-05-28 2022-09-11
ERRO the genesis block hash for chain tevmos has changed from X to Y since the last time we ran, component: BlockStore 5 2022-06-13 2022-09-27
2020/06/25/status-code-matters 2 2022-08-22 2022-09-13
2018/03/25/https-protocols 1 2022-07-29 2022-09-13
2022/05/02/ssh-port-forwarding 1 2022-08-12 2022-09-13
adaptively approximate the circle shape 3 2021-11-06 2022-09-18
关于状态栏显示股票个数 2 2021-01-11 2021-12-16
Parsing Error - Soundcloud 2 2021-11-16 2022-09-27
Monster Train (1102190) 1 2022-04-14 2022-09-16
Segmentation fault (core dumped) on newer ephemeris file. 3 2019-06-19 2022-09-13
Why HackRF seems to send datas but smartphone receive nothing (or for a few seconds only) 7 2020-03-08 2022-09-13
No public IP is added to VMs in the sandbox 0 2021-06-09 2022-08-13
[Suggestion] dovecot fail2ban jail 4 2022-04-30 2022-08-25
Diagram is incorrectly labelled 2 2022-09-03 2022-08-30
Error in rownames when validating infercnv object 2 2020-04-09 2022-07-18
[BUG] Connecting to wallet circle 9 2021-10-12 2022-08-31
Crash when want to add manga to library, IF in library already have 2 mangas with the same title 0 2022-06-28 2022-09-19
Update all Yarn dependencies (2021-04-19) 1 2021-04-19 2022-01-23
Lack of order result trimming in send to distribution group dropdown 2 2021-10-06 2022-09-17
Feature Request: Provide a `source-map-support/register-hook-require` entry-point. 1 2019-04-03 2022-09-15
After build nothing is displayed on screen. 17 2021-02-28 2022-09-17
Conversation menu item "unmute" displayed twice when conversation with blocked recipient is muted 3 2022-01-29 2022-09-23
Stored procedures 0 2020-07-03 2022-01-03
Broken link to demo 0 2020-12-29 2021-11-18
Support for Custom Paths 1 2021-05-21 2022-09-10
Assign all keymap action into commands (ability to remap action utilize assigned number and register) 1 2021-11-30 2022-09-28
Why the transferrable to smart contract is deducted? 1 2021-08-13 2022-09-27
Terminal XAML files should be in binary (.xbf) format for improved performance 7 2021-11-04 2022-08-26
"Refresh tests" button missing when telemetry is disabled 11 2021-10-28 2022-09-15
seek 方法不准,seek到时间戳的方法是哪个 0 2020-02-10 2022-09-11
card_entry_sandbox_not_supported 10 2020-03-16 2022-09-07
[FP]: Spring framework related vulnerabilities for spring-session-core dependency 3 2022-04-19 2022-08-26
Deprecating `decryptSession` breaks compatibility with web sockets. 4 2022-09-06 2022-09-21
Reconsider @SpringIntegrationTest 0 2021-11-16 2022-09-29