Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt 4.7.4 qml/c++ app under valgrind
Forum Updated to NodeBB v4.3 + New Features

Qt 4.7.4 qml/c++ app under valgrind

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 1 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lmcbeath
    wrote on last edited by
    #1

    I am running valgrind on my qml/c++ app and I get a number of unit warnings such as:
    @
    ==6119== Conditional jump or move depends on uninitialised value(s)
    ==6119== at 0x5CEAFDA: QScriptEnginePrivate::mark(QTJSC::MarkStack&) (JSCell.h:329)
    ==6119== by 0x5CE50A0: QScript::GlobalClientData::mark(QTJSC::MarkStack&) (qscriptengine.cpp:489)
    ==6119== by 0x5C3B3BE: QTJSC::Heap::markRoots() (Collector.cpp:1154)
    ==6119== by 0x5C3B886: QTJSC::Heap::reset() (Collector.cpp:1267)
    ==6119== by 0x5C3A9FD: QTJSC::Heap::allocate(unsigned int) (Collector.cpp:403)
    ==6119== by 0x5B6BDA2: QTJSC::JSCell::operator new(unsigned int, QTJSC::ExecState*) (JSCell.h:167)
    ==6119== by 0x5BD9B5D: QTJSC::FunctionExecutable::make(QTJSC::ExecState*, QTJSC::ScopeChainNode*) (Executable.h:263)
    ==6119== by 0x5C18810: cti_op_new_func_exp (JITStubs.cpp:2655)
    ==6119== by 0x14306E99: ???
    ==6119== by 0x5BD9926: QTJSC::JITCode::execute(QTJSC::RegisterFile*, QTJSC::ExecState*, QTJSC::JSGlobalData*, QTJSC::JSValue*) (JITCode.h:79)
    ==6119== by 0x5BC757F: QTJSC::Interpreter::execute(QTJSC::EvalExecutable*, QTJSC::ExecState*, QTJSC::JSObject*, int, QTJSC::ScopeChainNode*, QTJSC::JSValue*) (Interpreter.cpp:886)
    ==6119== by 0x5BC6FDE: QTJSC::Interpreter::execute(QTJSC::EvalExecutable*, QTJSC::ExecState*, QTJSC::JSObject*, QTJSC::ScopeChainNode*, QTJSC::JSValue*) (Interpreter.cpp:803)
    ==6119== by 0x5CEB77B: QScriptEnginePrivate::evaluateHelper(QTJSC::ExecState*, int, QTJSC::EvalExecutable*, bool&) (qscriptengine.cpp:1382)
    ==6119== by 0x5CEFDF0: QScriptEngine::evaluate(QString const&, QString const&, int) (qscriptengine.cpp:2637)
    ==6119== by 0x42968F3: QDeclarativeExpressionPrivate::init(QDeclarativeContextData*, void*, QDeclarativeRefCount*, QObject*, QString const&, int) (qdeclarativeexpression.cpp:149)
    ==6119== by 0x4296F93: QDeclarativeExpression::QDeclarative[removed]QDeclarativeContextData*, void*, QDeclarativeRefCount*, QObject*, QString const&, int, QDeclarativeExpressionPrivate&) (qdeclarativeexpression.cpp:264)
    ==6119== by 0x429A1C6: QDeclarativeBinding::QDeclarativeBinding(void*, QDeclarativeRefCount*, QObject*, QDeclarativeContextData*, QString const&, int, QObject*) (qdeclarativebinding.cpp:233)
    ==6119== by 0x42B103D: QDeclarativeVME::run(QDeclarativeVMEStack<QObject*, 128>&, QDeclarativeContextData*, QDeclarativeCompiledData*, int, int, QBitField const&) (qdeclarativevme.cpp:750)
    ==6119== by 0x42AD53D: QDeclarativeVME::run(QDeclarativeContextData*, QDeclarativeCompiledData*, int, int, QBitField const&) (qdeclarativevme.cpp:110)
    ==6119== by 0x42A4339: QDeclarativeComponentPrivate::begin(QDeclarativeContextData*, QDeclarativeContextData*, QDeclarativeCompiledData*, int, int, QDeclarativeComponentPrivate::ConstructionState*, QList<QDeclarativeError>*, QBitField const&) (qdeclarativecomponent.cpp:871)
    @

    Is this typical?
    Is this qt or is something not good in my qml?

    If I can ignore this does anyone have a good suppression file?

    Thanks,

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lmcbeath
      wrote on last edited by
      #2

      ps - I dont see the same stuff when running valgrind on minehunt

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved