Qt 4.7.4 qml/c++ app under valgrind



  • 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,



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.