Closed WasabiFan closed 4 years ago
I believe this bug is already fixed here. Can you try if you can reproduce it with a recent nightly build of Webots?
You guys are fast! :grin: That did indeed fix the problem.
For others' reference, I downloaded the R2020b-rev1 nightly:
Webots version: R2020b revision 1 Nightly Build 28/8/2020 83fdfeede46351e591fb6fe200ba94ca45838ef7
Thanks!
Actually, that fixes the crash, but introduces (a variety of?) other bug(s) regarding the camera. Inexactly:
The former, at least, appears to be mentioned in #2119 as a supposed bugfix. Is this something I should be investigating more thoroughly and opening issues for or is this expected?
I will try to reproduce the new issues you mentioned. Could you please write step by step the actions you do?
The world which exhibited the above symptoms is not the same one as the simplified version I included in the OP; I won't be able to sit down and make it a reproducible sample until tomorrow (~16hrs from now). That being said, for our purposes I suspect the original world can be reduced to just a camera with a controller that enables it on load.
Broadly, the steps are:
I tested both in Ubuntu 18.04 and Ubuntu 20.04 with the built-in camera example (samples/devices/worlds/camera
) and unfortunately I cannot reproduce the two issues:
even after reloading the world, the camera image is shown in the external window and the main view rendering is correct.
We would need some more details:
It would also be very helpful if you could try to reproduce the same issues on another linux installation (preferably Ubuntu).
Describe the Bug
My custom PROTO with a named camera causes Webots to crash upon loading the world if the camera view is configured to be popped out in a separate window.
Steps to Reproduce
Demo.proto
:demo.wbt
:Open the above project. Double-click the black camera view so it appears in a new window. Hit the "reload" button to reload the world, or alternately close and re-open Webots.
The application appears, begins to render, and shows the pop-out for a short time, before crashing with a segfault.
Expected behavior
Webots would load without crashing.
Screenshots
System Pop! OS 20.04.
Additional context I don't know what I am doing, and am blindly hacking on PROTO files until it does what I want. This is the most minimal repro I could reasonably produce. I didn't see an obvious way to generate a core dump, but if that'd be helpful and someone can let me know what the proper procedure would be I'd be happy to get that done.