-
Notifications
You must be signed in to change notification settings - Fork 486
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
Gazebo crashes in Building Editor when adding a door in 2D view #2276
Comments
Original comment by Thomas Varner (Bitbucket: tvarner). Hi Louise, Thanks for your swift reply! I'm using MacOS Sierra (10.12.4). It's happening every time for me. |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
Marking as an osx issue since we can't reproduce on Linux. I wasn't able to reproduce on osx 10.10, but I'll test it on sierra when I have a chance. |
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). If you run |
Original comment by Christophe Braud (Bitbucket: Christophe Braud). I have the exact same behavior on Linux (Ubuntu 19.04) with Gazebo 9.11 |
Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina). I just tried on Ubuntu 18.04 with Gazebo 9.11 and couldn't reproduce it. It's possible that a regression has happened on Ubuntu 19.04, but I don't have an easy way to test it right now. Would you be able to get a backtrace, Christophe Braud (Christophe Braud) ? |
Original comment by tim kaz (Bitbucket: tim kaz). Hello, I also have this behavior on Debian 10 with Gazebo 11 gdb -batch -n -ex 'set pagination off' -ex run -ex bt -ex 'bt full' -ex 'thread apply all bt full' --args gazebo |
I just checked that adding doors and windows in the building editor with Gazebo 11 on either Ubuntu 18.04 or 20.04 doesn't cause crashes. |
Hi Louise, Thanks for the reply, it's odd and I don't know why it happens on my system. I added screen shots. Any ideas? |
No ideas 😕 It would be good to get a more comprehensive backtrace than the one posted above by tim. This may not work with your installation, but could you try:
|
Here is the backtrace: Core was generated by `gzclient'.
Program terminated with signal SIGSEGV, Segmentation fault.
warning: Unexpected size of section `.reg-xstate/3090' in core file.
#0 0x00007fd92b201563 in ?? () from /lib/x86_64-linux-gnu/libgazebo_gui.so.11
[Current thread is 1 (Thread 0x7fd913fced00 (LWP 3090))]
(gdb) bt
#0 0x00007fd92b201563 in () at /lib/x86_64-linux-gnu/libgazebo_gui.so.11
#1 0x00007fd92b214c5b in gazebo::gui::BuildingMaker::DetachFromParent(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
at /lib/x86_64-linux-gnu/libgazebo_gui.so.11
#2 0x00007fd92b238e02 in gazebo::gui::EditorView::mouseMoveEvent(QMouseEvent*) () at /lib/x86_64-linux-gnu/libgazebo_gui.so.11
#3 0x00007fd9295d62b6 in QWidget::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#4 0x00007fd929683d52 in QFrame::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5 0x00007fd9298ee421 in QGraphicsView::viewportEvent(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#6 0x00007fd92a9ab64b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7 0x00007fd929593a55 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8 0x00007fd92959d343 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9 0x00007fd92a9ab93a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fd92959c457 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007fd9295f235d in () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007fd9295f51ec in () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007fd929593a66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007fd92959d0f0 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007fd92a9ab93a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fd927e897d3 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#17 0x00007fd927e8b10b in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#18 0x00007fd927e6535b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#19 0x00007fd8f040d32e in () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#20 0x00007fd925d34fbd in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fd925d35240 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fd925d352e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fd92aa03565 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007fd92a9aa4db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fd92a9b2246 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007fd92b14e72b in gazebo::gui::run(int, char**) () at /lib/x86_64-linux-gnu/libgazebo_gui.so.11
#27 0x000055ff8a90cb71 in ()
#28 0x00007fd929dc80b3 in __libc_start_main (main=0x55ff8a90cb40, argc=1, argv=0x7ffc8bdecdf8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc8bdecde8)
at ../csu/libc-start.c:308
#29 0x000055ff8a90cd0e in ()
(gdb) |
I can reproduce this on Ubuntu Focal but not on Bionic. It doesn't crash at the first door, it takes 2 or 3 for it to happen. |
I had the same situation. I have Anaconda installed and it is conflicting with Gazebo. I solved by commenting conda in ~/.bashrc. After that Gazebo is stable. Adding doors and windows doesn't cause any problem. |
@farzingkh Were you able to find a solution to this issue ? |
@chapulina I'm using Ubuntu 18.05 with ROS melodic. I found new observation, When I have ROS ros-melodic-ros-base/ros-melodic-desktop-full the issue is reproducible. |
I have the same problem in Ubuntu 20.04. Gazebo installed from apt repository. I am starting compilation from source, we will see... I will let you know. |
Same issue here. Ubuntu 20.04.1 LTS. Brand new install of Gazebo 11.2.0 from Gazebo.sh. Opening gazebo, go to building editor, create a few walls, add window. As soon as I drag the window to any of the walls Gazebo crashes. |
The issue still exists, sources compilation, Ubuntu 20.04 LTS. The same problem is in fresh installed Ubuntu 18.04 LTS, Gazebo installed from the script, windows adding works fine. But, it has frozen and crashed after a few seconds, when I just added the first doors. |
The issue got resolved for me after I enabled my GPU and installed the correct NVidia proprietary drivers. |
@adbidwai Can you tell your OS and driver configuration? |
@nullbyte91 My system has 18.04 dual booted alongside Windows. I have Nvidia 1050Ti GPU and the drivers I'm using are the Nvidia 455 (proprietary) ones. |
@adbidwai Thanks. |
I am having this issue with ubuntu 20.04 . was anyone able to figure out how to resolve this ? or a workaround for this ? |
Hi, I am also facing the same issue. It sill crashes while adding door. My system is Ubuntu 20.04 with gazebo version 11.2.0. Let me know if anyone was able to solve this issue. I tried running this using dedicated graphics card as well, but no luck. |
Issue is still there, both with gazebo9 and gazebo11. Any updates? |
I have no external graphics card, running on 20.04 and gazebo11. I have the same issue. Any update? |
i have the same issue, did you fix it ? @adbidwai which version of Ubuntu you are using and what is the model of your GPU and the version of driver that you are using ? |
@hamids23 My system has 18.04 dual-booted alongside Windows. I have Nvidia 1050Ti GPU and the drivers I'm using are the Nvidia 455 (proprietary) ones. Though I have updated them to the latest ones i.e. 470. |
Facing the same issue. Running Ubuntu 18.04, proprietary nVidia drivers (460.91.03), Gazebo version 11.8.1 |
Facing the same issue on Macbook |
Same issue here. Ubuntu 18.04 LTS. Opening gazebo, go to building editor, create a few walls, add window. As soon as I drag the window to any of the walls Gazebo crashes. |
Same issue. Ubuntu 18.04 + gazebo 9.0.0 / RTX3070 (driver: NVIDIA driver metapackage nvidia-driver-470) |
same issue. ubuntu 18.04 + gazebo9.00 GTX960M |
same issue. Gazebo 11.8.1, Ubuntu 20.04, Nvidia Driver 460.91.03 |
Same issue, when is this going to be fixed? I rather not even have the building editor option if it's been broken for 4 years!!! |
The problem is in LD_LIBRARY_PATH. |
Gazebo11 is approaching to EOL, let's try ignition Citadel out and you won't be disappointed |
Similar issue. both on 18.04 + gazebo9 and 20.04 + gazebo11. |
The same here, with Ubuntu 20.04 and gazebo11, nvidia-driver-390. Gazebo crashes when trying to add doors or windows. Exactly as @CyFio mentions above, it happens when the cursor gets outside the wall. This makes the building editor practically unusable. The more so because there is no way to save an intermediate version and continue editing after restart. |
…osim#2276) BuildingMaker::DetachFromParent: break loop after DetachAllChildren. Prevents memory corruption by iterating over attachmentMap while removing elements.
I found the cause of the crash, it is easy to reproduce. It occurs in |
I am still getting crashing, just as previously described. |
The pull request was approved, but the change is not yet included in the gazebo11 branch. |
#3129) BuildingMaker::DetachFromParent: break loop after DetachAllChildren. Prevents memory corruption by iterating over attachmentMap while removing elements.
it has now been merged |
hello everyone, this issue still seems to persist on gazebo 11. I'm using Ubuntu 20.04 with the Nvidia RTX2060 GPU. it is exactly how @CyFio described it. Gazebo crashes immediately when adding a second door/window to a wall. I have reinstalled Gazebo and updated the Nvidia drivers. Please help. the building editor is still broken. |
Same here. Any feasible solution yet? |
Hi! Uninstall gazebo-11 and reinstall it via the this GitHub repo and the CLI( i know, it sounds stupid). i haven't encountered the same problem yet and i was able to add multiple doors and windows. I will update you if i encounter it again. Cheers! |
Great!
I will try this now and let you know about the result.
…On Mon, 14 Feb 2022 at 13:13, Aditya Tiwari ***@***.***> wrote:
Same here. Any feasible solution yet?
Hi! Uninstall gazebo-11 and reinstall it via the this GitHub repo and the
CLI. i haven't encountered the same problem yet and i was able to add
multiple doors and windows. I will update you if i encounter it again.
Cheers!
—
Reply to this email directly, view it on GitHub
<#2276 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUUEIWK7PACYDFPWBPPGT4TU3DRM5ANCNFSM4PGAYQKA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hi!I am using Noetic and Gazebo11.9.0 and having the same problem. But I found Gazebo11.10.1 in here https://packages.osrfoundation.org/gazebo/ubuntu-stable/pool/main/g/gazebo11/, and after install it, this problem fixed! |
Thanks, @ZuoAnZoom and @Rank-N-Tensor. It seems to work now |
Yes this works for me. |
This error is probably caused because the |
Original report (archived issue) by Thomas Varner (Bitbucket: tvarner).
When completing the Building Editor tutorial (http://gazebosim.org/tutorials?cat=build_world&tut=building_editor), Gazebo crashes in Building Editor when adding a door in 2D view.
To replicate: (1) Create walls as outlined in the tutorial. (2) Attempt to add a door to a wall. Gazebo will crash.
The text was updated successfully, but these errors were encountered: