Giter VIP home page Giter VIP logo

Comments (17)

omichel avatar omichel commented on May 28, 2024 1

Do you also get no crash from the nightly builds?

from webots.

Flamisell avatar Flamisell commented on May 28, 2024 1

I am having the same Issue with nightly builds (2023b).

from webots.

Flamisell avatar Flamisell commented on May 28, 2024

Hi Phil,

did you solve this? I have the same problem.

from webots.

PhilDel32 avatar PhilDel32 commented on May 28, 2024

Hi,
No, I simply created a dual boot with Ubuntu 22.04 just for Webots and everything works fine on this configuration.

from webots.

ShuffleWire avatar ShuffleWire commented on May 28, 2024

I don't have idea why it could fail here. I don't know if you are familiar with the process, but it would be great if you could build Webots in debug mode, and see what gdb say about that !
If you are willing to do that but don't know how, I could guide you :) Otherwise, that not a big deal if you don't want to investigate, as Webots is first developed for Ubuntu in mind

from webots.

PhilDel32 avatar PhilDel32 commented on May 28, 2024

Hi,
I created a new machine with LMDE 6, installed all the tools required, downloaded the sources, compiled it and guess what : No crash on saving with this executable :-)
Philippe.

from webots.

ShuffleWire avatar ShuffleWire commented on May 28, 2024

Did you checkout the branch/tag 2023b before compiling ?

from webots.

PhilDel32 avatar PhilDel32 commented on May 28, 2024

it is the R2023b revision 1 version (April 29, 2024 source code)

from webots.

PhilDel32 avatar PhilDel32 commented on May 28, 2024

Ok, I do not test the nightly build, except if it worth trying to compile this source code but it is a 3 week ago source code according to the zip file (April 29, 2024 nightly build).

from webots.

ShuffleWire avatar ShuffleWire commented on May 28, 2024

Ok, for those how can test on this specific system (@PhilDel32 on your LMDE), I could give help. I don't know your expertise with that, so don't be shy to ask for precision, but don't be bothered by me taking your hand :)
The process will allows us to see what line is causing you a crash. It could be a memory error, or an false assertion for instance. The traceback will show us where is the program at just before dying !

  1. Checkout on whatever version you experience the crash
  2. Build webots in debug mode make debug
  3. Run webots, and check if the crash still occurs.
    If no, then say me.
    Else, then...
  4. Restart webots, and leave it untouched
  5. Get it's PID : on my machine, the easiest way is to use pidof webots-bin, but on your distribution it might be different
  6. Attach gdb to webots : gdb -p pid_of_the_process
  7. Type continue, and check if webots is still alive. (could you interact with it normally ?)
  8. Try to reproduce the crash in webots
    If it don't happen (webots do the operation happily) then say me.
    If it happen (webots should freeze), then...
  9. In gdb terminal, type where, and copy paste here the log it show you. Please ensure you get all the traceback, it could be very long, like 100 lines long.

from webots.

PhilDel32 avatar PhilDel32 commented on May 28, 2024

Yes, I could do that but if I build webot from source on my LMDE machine, it does not crash when I save. I may have 2 options :

  • Rebuild in debug mode on an Ubuntu 22.04 and copy the library and the executable on my LMDE machine and do the test like you suggest above.
  • Get a version you compile for Ubuntu in debug mode and do the test on my LMDE machine. I guess this is a better option, we will avoid side effects we could have if I compile by myself.

from webots.

ShuffleWire avatar ShuffleWire commented on May 28, 2024

Whelp... webots-bin is 171MB, so not gonna fit here xD

Just for me : where did you get the buggy version you run on your LMDE ?

from webots.

ShuffleWire avatar ShuffleWire commented on May 28, 2024

@Flamisell are you on LMDE as well ?

from webots.

PhilDel32 avatar PhilDel32 commented on May 28, 2024

I got it by running the Debian installation procedure :

sudo mkdir -p /etc/apt/keyrings
cd /etc/apt/keyrings
sudo wget -q https://cyberbotics.com/Cyberbotics.asc
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/Cyberbotics.asc] https://cyberbotics.com/debian binary-amd64/" | sudo tee /etc/apt/sources.list.d/Cyberbotics.list
sudo apt update
sudo apt install webots

from webots.

ShuffleWire avatar ShuffleWire commented on May 28, 2024

Ok then... If the version you build yourself work just fine, by all mean, that could be the solution.
Maybe running software made for Ubuntu in LMDE triggers so bad behavior, some library could be faulty, idk.

I know that Cyberbotics don't "support" others distribution than Ubuntu, so I could understand they don't want to bother with that.

from webots.

Flamisell avatar Flamisell commented on May 28, 2024

Nope :/

NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"

should I install the 2024 version?

from webots.

ShuffleWire avatar ShuffleWire commented on May 28, 2024

Nope :/

NAME="Ubuntu" VERSION="20.04.6 LTS (Focal Fossa)"

should I install the 2024 version?

I don't think it will change the issue, but you can try

Are you able to manually build Webots from source ? If so, it would be handy if you could rebuild from source, and run the debugger on it.

from webots.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.