Details
-
Bug
-
Resolution: Cannot Reproduce
-
P1: Critical
-
None
-
4.7.4
-
Harmattan
-
5
Description
Valgrind reports following memory leaks, for more info see bugzilla report.
Trace1.2) 348196 ==12995== 180 (148 direct, 32 indirect) bytes in 1 blocks are definitely lost in loss record 10,483 of 14,578 348197 ==12995== at 0x48355D0: operator new[](unsigned int) (vg_replace_malloc.c:299) 348198 ==12995== by 0x5E718EB: QHashData::rehash(int) (qhash.cpp:364) 348199 ==12995== by 0x6FE1727: QPatternist::AccelTree::AccelTree(QUrl const&, QUrl const&) (qhash.h:847) 348200 ==12995== by 0x6FFB537: QPatternist::AccelTreeBuilder<false>::AccelTreeBuilder(QUrl const&, QUrl const&, QExplicitlySharedDataPointer<QPatternist::NamePool> const&, QPatternist::ReportContext*, QFl ags<QPatternist::AccelTreeBuilder<false>::Feature>) (qacceltreebuilder.cpp:62) 348201 ==12995== by 0x7016397: QXmlQueryPrivate::dynamicContext(QAbstractXmlReceiver*) (qxmlquery_p.h:184) 348202 ==12995== by 0x701339F: QXmlQuery::evaluateTo(QXmlResultItems*) const (qxmlquery.cpp:827) 348203 ==12995== by 0x4F3AA47: QDeclarativeXmlQuery::doSubQueryJob(XmlQueryJob*, QDeclarativeXmlQueryResult*) (qdeclarativexmllistmodel.cpp:372) 348204 ==12995== by 0x4F408AF: QDeclarativeXmlQuery::processQuery(int) (qdeclarativexmllistmodel.cpp:224) 348205 ==12995== by 0x4F3C997: QDeclarativeXmlQuery::qt_metacall(QMetaObject::Call, int, void**) (qdeclarativexmllistmodel.moc:80) 348206 ==12995== by 0x5F695F7: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (qmetaobject.cpp:237) 348207 ==12995== by 0x5F78307: QObject::event(QEvent*) (qobject.cpp:1219) 348208 ==12995== by 0x5420BCB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4478) 348209 ==12995== by 0x542ADAF: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:4357) Trace1.3) 424044 ==12995== 21,200 (72 direct, 21,128 indirect) bytes in 9 blocks are definitely lost in loss record 14,481 of 14,578 424045 ==12995== at 0x4835B80: operator new(unsigned int) (vg_replace_malloc.c:255) 424046 ==12995== by 0x6FE159F: QPatternist::AccelTree::AccelTree(QUrl const&, QUrl const&) (qacceltree.cpp:82) 424047 ==12995== by 0x6FFB537: QPatternist::AccelTreeBuilder<false>::AccelTreeBuilder(QUrl const&, QUrl const&, QExplicitlySharedDataPointer<QPatternist::NamePool> const&, QPatternist::ReportContext*, QFl ags<QPatternist::AccelTreeBuilder<false>::Feature>) (qacceltreebuilder.cpp:62) 424048 ==12995== by 0x7016397: QXmlQueryPrivate::dynamicContext(QAbstractXmlReceiver*) (qxmlquery_p.h:184) 424049 ==12995== by 0x701339F: QXmlQuery::evaluateTo(QXmlResultItems*) const (qxmlquery.cpp:827) 424050 ==12995== by 0x4F3AA47: QDeclarativeXmlQuery::doSubQueryJob(XmlQueryJob*, QDeclarativeXmlQueryResult*) (qdeclarativexmllistmodel.cpp:372) 424051 ==12995== by 0x4F408AF: QDeclarativeXmlQuery::processQuery(int) (qdeclarativexmllistmodel.cpp:224) 424052 ==12995== by 0x4F3C997: QDeclarativeXmlQuery::qt_metacall(QMetaObject::Call, int, void**) (qdeclarativexmllistmodel.moc:80) 424053 ==12995== by 0x5F695F7: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (qmetaobject.cpp:237) 424054 ==12995== by 0x5F78307: QObject::event(QEvent*) (qobject.cpp:1219) 424055 ==12995== by 0x5420BCB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4478) 424056 ==12995== by 0x542ADAF: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:4357) Trace2) 403482 ==12995== 1,528 (16 direct, 1,512 indirect) bytes in 1 blocks are definitely lost in loss record 13,399 of 14,578 403483 ==12995== at 0x4835B80: operator new(unsigned int) (vg_replace_malloc.c:255) 403484 ==12995== by 0x7099C43: QPatternist::LetClause::evaluateSequence(QExplicitlySharedDataPointer<QPatternist::DynamicContext> const&) const (qletclause.cpp:63) 403485 ==12995== by 0x70AFDEB: QPatternist::SequenceMappingIterator<QPatternist::Item, QPatternist::Item, QExplicitlySharedDataPointer<QPatternist::Path const> >::next() (qpath.cpp:74) 403486 ==12995== by 0x70AEF83: QPatternist::Path::evaluateSequence(QExplicitlySharedDataPointer<QPatternist::DynamicContext> const&) const (qpath.cpp:117) 403487 ==12995== by 0x70A0353: QPatternist::NodeSortExpression::evaluateSequence(QExplicitlySharedDataPointer<QPatternist::DynamicContext> const&) const (qnodesort.cpp:78) 403488 ==12995== by 0x701343B: QXmlQuery::evaluateTo(QXmlResultItems*) const (qxmlquery.cpp:829) 403489 ==12995== by 0x4F3AA47: QDeclarativeXmlQuery::doSubQueryJob(XmlQueryJob*, QDeclarativeXmlQueryResult*) (qdeclarativexmllistmodel.cpp:372) 403490 ==12995== by 0x4F408AF: QDeclarativeXmlQuery::processQuery(int) (qdeclarativexmllistmodel.cpp:224) 403491 ==12995== by 0x4F3C997: QDeclarativeXmlQuery::qt_metacall(QMetaObject::Call, int, void**) (qdeclarativexmllistmodel.moc:80) 403492 ==12995== by 0x5F695F7: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (qmetaobject.cpp:237) 403493 ==12995== by 0x5F78307: QObject::event(QEvent*) (qobject.cpp:1219) 403494 ==12995== by 0x5420BCB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4478) 403495 ==12995== by 0x542ADAF: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:4357) Trace3.1) 410837 ==12995== 2,378 (40 direct, 2,338 indirect) bytes in 1 blocks are definitely lost in loss record 13,785 of 14,578 410838 ==12995== at 0x4834EBC: malloc (vg_replace_malloc.c:236) 410839 ==12995== by 0x5E71BC3: QHashData::allocateNode(int) (qhash.cpp:175) 410840 ==12995== by 0x705491F: QPatternist::GenericStaticContext::addLocation(QPatternist::SourceLocationReflection const*, QSourceLocation const&) (qhash.h:543) 410841 ==12995== by 0x71768BB: QPatternist::create(QExplicitlySharedDataPointer<QPatternist::Expression> const&, YYLTYPE const&, QPatternist::ParserContext const*) (querytransformparser.ypp:282) 410842 ==12995== by 0x719148F: QPatternist::XPathparse(QPatternist::ParserContext*) (querytransformparser.ypp:3650) Trace3.2) 415419 ==12995== 3,700 (80 direct, 3,620 indirect) bytes in 2 blocks are definitely lost in loss record 14,023 of 14,578 415420 ==12995== at 0x4834EBC: malloc (vg_replace_malloc.c:236) 415421 ==12995== by 0x5E71BC3: QHashData::allocateNode(int) (qhash.cpp:175) 415422 ==12995== by 0x705491F: QPatternist::GenericStaticContext::addLocation(QPatternist::SourceLocationReflection const*, QSourceLocation const&) (qhash.h:543) 415423 ==12995== by 0x717C24F: QPatternist::resolveVariable(QXmlName const&, YYLTYPE const&, QPatternist::ParserContext*, bool) (querytransformparser.ypp:266) 415424 ==12995== by 0x7191993: QPatternist::XPathparse(QPatternist::ParserContext*) (querytransformparser.ypp:3604) Trace3.3) 417003 ==12995== 4,228 (80 direct, 4,148 indirect) bytes in 2 blocks are definitely lost in loss record 14,112 of 14,578 417004 ==12995== at 0x4834EBC: malloc (vg_replace_malloc.c:236) 417005 ==12995== by 0x5E71BC3: QHashData::allocateNode(int) (qhash.cpp:175) 417006 ==12995== by 0x705491F: QPatternist::GenericStaticContext::addLocation(QPatternist::SourceLocationReflection const*, QSourceLocation const&) (qhash.h:543) 417007 ==12995== by 0x7176957: QPatternist::create(QPatternist::Expression*, YYLTYPE const&, QPatternist::ParserContext const*) (querytransformparser.ypp:266) 417008 ==12995== by 0x718B3C3: QPatternist::XPathparse(QPatternist::ParserContext*) (querytransformparser.ypp:3514) Trace4) 410844 ==12995== 2,378 (40 direct, 2,338 indirect) bytes in 1 blocks are definitely lost in loss record 13,786 of 14,578 410845 ==12995== at 0x4834EBC: malloc (vg_replace_malloc.c:236) 410846 ==12995== by 0x5E71BC3: QHashData::allocateNode(int) (qhash.cpp:175) 410847 ==12995== by 0x705491F: QPatternist::GenericStaticContext::addLocation(QPatternist::SourceLocationReflection const*, QSourceLocation const&) (qhash.h:543) 410848 ==12995== by 0x704CFE3: QPatternist::DelegatingStaticContext::addLocation(QPatternist::SourceLocationReflection const*, QSourceLocation const&) (qdelegatingstaticcontext.cpp:228) 410849 ==12995== by 0x70597D3: QPatternist::StaticContext::wrapExpressionWith(QPatternist::SourceLocationReflection const*, QExplicitlySharedDataPointer<QPatternist::Expression> const&) (qstaticcontext.cp p:58) 410850 ==12995== by 0x709ECBF: QPatternist::NodeSortExpression::wrapAround(QExplicitlySharedDataPointer<QPatternist::Expression> const&, QExplicitlySharedDataPointer<QPatternist::StaticContext> const&) (q nodesort.cpp:99) 410851 ==12995== by 0x70ADF27: QPatternist::Path::typeCheck(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&, QExplicitlySharedDataPointer<QPatternist::SequenceType const> const&) (qpath.cp p:217) 410852 ==12995== by 0x707CD3B: QPatternist::Expression::typeCheckOperands(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&) (qexpression.cpp:114) 410853 ==12995== by 0x707D127: QPatternist::Expression::typeCheck(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&, QExplicitlySharedDataPointer<QPatternist::SequenceType const> const&) (qe xpression.cpp:74) 410854 ==12995== by 0x70AE02F: QPatternist::Path::typeCheck(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&, QExplicitlySharedDataPointer<QPatternist::SequenceType const> const&) (qpath.cp p:220) 410855 ==12995== by 0x707CD3B: QPatternist::Expression::typeCheckOperands(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&) (qexpression.cpp:114) 410856 ==12995== by 0x707D127: QPatternist::Expression::typeCheck(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&, QExplicitlySharedDataPointer<QPatternist::SequenceType const> const&) (qe xpression.cpp:74) 410857 ==12995== by 0x70ADF43: QPatternist::Path::typeCheck(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&, QExplicitlySharedDataPointer<QPatternist::SequenceType const> const&) (qpath.cp p:217) 410858 ==12995== by 0x707CD3B: QPatternist::Expression::typeCheckOperands(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&) (qexpression.cpp:114) 410859 ==12995== by 0x707D127: QPatternist::Expression::typeCheck(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&, QExplicitlySharedDataPointer<QPatternist::SequenceType const> const&) (qe xpression.cpp:74) 410860 ==12995== by 0x70F64BB: QPatternist::FunctionCall::typeCheck(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&, QExplicitlySharedDataPointer<QPatternist::SequenceType const> const&) ( qfunctioncall.cpp:87) 410861 ==12995== by 0x70CBE57: QPatternist::StringFN::typeCheck(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&, QExplicitlySharedDataPointer<QPatternist::SequenceType const> const&) (qacc essorfns.cpp:100) 410862 ==12995== by 0x707CD3B: QPatternist::Expression::typeCheckOperands(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&) (qexpression.cpp:114) 410863 ==12995== by 0x707D127: QPatternist::Expression::typeCheck(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&, QExplicitlySharedDataPointer<QPatternist::SequenceType const> const&) (qe xpression.cpp:74) 410864 ==12995== by 0x70C5323: QPatternist::EvaluationCache<false>::typeCheck(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&, QExplicitlySharedDataPointer<QPatternist::SequenceType const> const&) (qevaluationcache.cpp:159) Trace5) 410866 ==12995== 2,378 (268 direct, 2,110 indirect) bytes in 1 blocks are definitely lost in loss record 13,787 of 14,578 410867 ==12995== at 0x48355D0: operator new[](unsigned int) (vg_replace_malloc.c:299) 410868 ==12995== by 0x5E718EB: QHashData::rehash(int) (qhash.cpp:364) 410869 ==12995== by 0x705496B: QPatternist::GenericStaticContext::addLocation(QPatternist::SourceLocationReflection const*, QSourceLocation const&) (qhash.h:163) 410870 ==12995== by 0x704CFE3: QPatternist::DelegatingStaticContext::addLocation(QPatternist::SourceLocationReflection const*, QSourceLocation const&) (qdelegatingstaticcontext.cpp:228) 410871 ==12995== by 0x704CFE3: QPatternist::DelegatingStaticContext::addLocation(QPatternist::SourceLocationReflection const*, QSourceLocation const&) (qdelegatingstaticcontext.cpp:228) 410872 ==12995== by 0x70597D3: QPatternist::StaticContext::wrapExpressionWith(QPatternist::SourceLocationReflection const*, QExplicitlySharedDataPointer<QPatternist::Expression> const&) (qstaticcontext.cp p:58) 410873 ==12995== by 0x70F682F: QPatternist::FunctionCall::typeCheck(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&, QExplicitlySharedDataPointer<QPatternist::SequenceType const> const&) ( qfunctioncall.cpp:84) 410874 ==12995== by 0x70CBE57: QPatternist::StringFN::typeCheck(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&, QExplicitlySharedDataPointer<QPatternist::SequenceType const> const&) (qacc essorfns.cpp:100) 410875 ==12995== by 0x707CE6B: QPatternist::Expression::typeCheckOperands(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&) (qexpression.cpp:120) 410876 ==12995== by 0x707D127: QPatternist::Expression::typeCheck(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&, QExplicitlySharedDataPointer<QPatternist::SequenceType const> const&) (qe xpression.cpp:74) 410877 ==12995== by 0x70AE02F: QPatternist::Path::typeCheck(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&, QExplicitlySharedDataPointer<QPatternist::SequenceType const> const&) (qpath.cp p:220) 410878 ==12995== by 0x707CD3B: QPatternist::Expression::typeCheckOperands(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&) (qexpression.cpp:114) 410879 ==12995== by 0x707D127: QPatternist::Expression::typeCheck(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&, QExplicitlySharedDataPointer<QPatternist::SequenceType const> const&) (qe xpression.cpp:74) 410880 ==12995== by 0x70ADF43: QPatternist::Path::typeCheck(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&, QExplicitlySharedDataPointer<QPatternist::SequenceType const> const&) (qpath.cp p:217) 410881 ==12995== by 0x707CD3B: QPatternist::Expression::typeCheckOperands(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&) (qexpression.cpp:114) 410882 ==12995== by 0x707D127: QPatternist::Expression::typeCheck(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&, QExplicitlySharedDataPointer<QPatternist::SequenceType const> const&) (qe xpression.cpp:74) 410883 ==12995== by 0x707CD3B: QPatternist::Expression::typeCheckOperands(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&) (qexpression.cpp:114) 410884 ==12995== by 0x707D127: QPatternist::Expression::typeCheck(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&, QExplicitlySharedDataPointer<QPatternist::SequenceType const> const&) (qe xpression.cpp:74) 410885 ==12995== by 0x70996DF: QPatternist::LetClause::typeCheck(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&, QExplicitlySharedDataPointer<QPatternist::SequenceType const> const&) (qle tclause.cpp:111) 410886 ==12995== by 0x707CE6B: QPatternist::Expression::typeCheckOperands(QExplicitlySharedDataPointer<QPatternist::StaticContext> const&) (qexpression.cpp:120) Trace6) 413788 ==12995== 3,056 (48 direct, 3,008 indirect) bytes in 2 blocks are definitely lost in loss record 13,937 of 14,578 413789 ==12995== at 0x4835B80: operator new(unsigned int) (vg_replace_malloc.c:255) 413790 ==12995== by 0x704D4DF: QPatternist::DynamicContext::createFocus() (qdynamiccontext.cpp:54) 413791 ==12995== by 0x70AED27: QPatternist::Path::evaluateSequence(QExplicitlySharedDataPointer<QPatternist::DynamicContext> const&) const (qpath.cpp:82) 413792 ==12995== by 0x70A0353: QPatternist::NodeSortExpression::evaluateSequence(QExplicitlySharedDataPointer<QPatternist::DynamicContext> const&) const (qnodesort.cpp:78) 413793 ==12995== by 0x701343B: QXmlQuery::evaluateTo(QXmlResultItems*) const (qxmlquery.cpp:829) 413794 ==12995== by 0x4F3AA47: QDeclarativeXmlQuery::doSubQueryJob(XmlQueryJob*, QDeclarativeXmlQueryResult*) (qdeclarativexmllistmodel.cpp:372) 413795 ==12995== by 0x4F408AF: QDeclarativeXmlQuery::processQuery(int) (qdeclarativexmllistmodel.cpp:224) 413796 ==12995== by 0x4F3C997: QDeclarativeXmlQuery::qt_metacall(QMetaObject::Call, int, void**) (qdeclarativexmllistmodel.moc:80) 413797 ==12995== by 0x5F695F7: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (qmetaobject.cpp:237) 413798 ==12995== by 0x5F78307: QObject::event(QEvent*) (qobject.cpp:1219) 413799 ==12995== by 0x5420BCB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4478) 413800 ==12995== by 0x542ADAF: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:4357) Trace7) 420012 ==12995== 6,890 (168 direct, 6,722 indirect) bytes in 3 blocks are definitely lost in loss record 14,269 of 14,578 420013 ==12995== at 0x4834EBC: malloc (vg_replace_malloc.c:236) 420014 ==12995== by 0x7051437: QPatternist::StackContextBase<QPatternist::DynamicContext>::StackContextBase() (qvector.h:393) 420015 ==12995== by 0x7050AFF: QPatternist::GenericDynamicContext::GenericDynamicContext(QExplicitlySharedDataPointer<QPatternist::NamePool> const&, QAbstractMessageHandler*, QHash<QPatternist::SourceLoca tionReflection const*, QSourceLocation> const&) (qgenericdynamiccontext.cpp:59) 420016 ==12995== by 0x70162F3: QXmlQueryPrivate::dynamicContext(QAbstractXmlReceiver*) (qxmlquery_p.h:181) 420017 ==12995== by 0x701339F: QXmlQuery::evaluateTo(QXmlResultItems*) const (qxmlquery.cpp:827) 420018 ==12995== by 0x4F3AA47: QDeclarativeXmlQuery::doSubQueryJob(XmlQueryJob*, QDeclarativeXmlQueryResult*) (qdeclarativexmllistmodel.cpp:372) 420019 ==12995== by 0x4F408AF: QDeclarativeXmlQuery::processQuery(int) (qdeclarativexmllistmodel.cpp:224) 420020 ==12995== by 0x4F3C997: QDeclarativeXmlQuery::qt_metacall(QMetaObject::Call, int, void**) (qdeclarativexmllistmodel.moc:80) 420021 ==12995== by 0x5F695F7: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (qmetaobject.cpp:237) 420022 ==12995== by 0x5F78307: QObject::event(QEvent*) (qobject.cpp:1219) 420023 ==12995== by 0x5420BCB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4478) 420024 ==12995== by 0x542ADAF: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:4357) Trace8) 420815 ==12995== 8,166 (336 direct, 7,830 indirect) bytes in 4 blocks are definitely lost in loss record 14,312 of 14,578 420816 ==12995== at 0x4835B80: operator new(unsigned int) (vg_replace_malloc.c:255) 420817 ==12995== by 0x70162DF: QXmlQueryPrivate::dynamicContext(QAbstractXmlReceiver*) (qxmlquery_p.h:181) 420818 ==12995== by 0x701339F: QXmlQuery::evaluateTo(QXmlResultItems*) const (qxmlquery.cpp:827) 420819 ==12995== by 0x4F3AA47: QDeclarativeXmlQuery::doSubQueryJob(XmlQueryJob*, QDeclarativeXmlQueryResult*) (qdeclarativexmllistmodel.cpp:372) 420820 ==12995== by 0x4F408AF: QDeclarativeXmlQuery::processQuery(int) (qdeclarativexmllistmodel.cpp:224) 420821 ==12995== by 0x4F3C997: QDeclarativeXmlQuery::qt_metacall(QMetaObject::Call, int, void**) (qdeclarativexmllistmodel.moc:80) 420822 ==12995== by 0x5F695F7: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (qmetaobject.cpp:237) 420823 ==12995== by 0x5F78307: QObject::event(QEvent*) (qobject.cpp:1219) 420824 ==12995== by 0x5420BCB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4478) 420825 ==12995== by 0x542ADAF: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:4357)
Attachments
Issue Links
- depends on
-
QTBUG-21031 Fix crashes when running XQuery test suite
- Closed