Git Product home page Git Product logo

Comments (6)

alanmillard avatar alanmillard commented on July 18, 2024 1

Running ARGoS in gdb shows that the above code segfaults on line 773 of qtopengl_lua_main_window.cpp:

m_pcLuaVariableTree->setRootIndex(m_pcLuaVariableTree->model()->index(0, 0));

See backtrace.txt for further detail.

from argos3.

allsey87 avatar allsey87 commented on July 18, 2024

Also worth noting is a segfault which is produced for a similar reason as the QObject::disconnect: Unexpected null parameter warning. I am to produce this sometime when transitioning from having a light source selected and then selecting a robot (or vice versa). Attached is a backtrace that shows that this due to an oversight in the code where it is assumed that m_pcLuaVariableTree->model() is always a valid pointer. This assumption breaks when we consider some classes of entities such as those without controllers and perhaps in this case, entities which are not composable.

from argos3.

alanmillard avatar alanmillard commented on July 18, 2024

I'm able to reproduce the error with the following code, which does not include a light source: obstacle_avoidance.zip

from argos3.

ilpincy avatar ilpincy commented on July 18, 2024

Working on it now. Thanks @allsey87 and @alanmillard for your input!

from argos3.

ilpincy avatar ilpincy commented on July 18, 2024

So, I looked at the code. I made a Buzz editor based on the Lua editor, and the Buzz editor now has new features with respect to the Lua one. Along with the new features, the Buzz editor also solves all of the issues mentioned here. I guess the best option for me is to backport the Buzz editor into the Lua one, so we would get the new features as well. It'll take a day or two - done by the weekend.

from argos3.

allsey87 avatar allsey87 commented on July 18, 2024

@ilpincy sounds good. Can you make a decision on whether to accept my proposal for #40 first though? It really should take no more than 10 minutes and I did put in two weeks of work to get to that point... It would really be appreciated.

from argos3.

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.