[Qt-interest] QT XmlPatterns crash

Sujesh Babu N sujeshbabun at gmail.com
Thu Jul 28 12:08:44 CEST 2011


Hi,
I noticed a crash with xmlpatterns with latest code in QT repository.
( One of the application we develop , uses qt components and v1.1 of
the same need qt 4.7.4 , so i am using the latest from repository)

To reproduce the problem , compile latest qt from
http://www.qt.gitorious.org/qt/qt/commits/4.7  using Visual Studio
2010 or MinGW  (64bit) in windows ( i used windows 7)
then run ,  xmlpatterns m1.xsl m1.xml   ( test files m1.xml and m1.xsl
attached in this email) , then xmlpatterns crashes( crash log can be
found in attachment list (crashlog.txt))

Same test scenario is working fine in qt 4.7.2 and 4.7.3 in Visual
Studio and MinGW environments.

Should i create a bug in QT bug tracker or wait till 4.7.4 out to do the same ?

regards

PS : test xml/xsl's are taken from article
http://www.codeproject.com/KB/codegen/CodeSnippetAutomation.aspx
-------------- next part --------------
0	QList<QExplicitlySharedDataPointer<QPatternist::VariableReference> >::count	qlist.h	267	0x5727c1b0	
1	QPatternist::VariableDeclaration::usedByMany	qvariabledeclaration_p.h	150	0x5727c17a	
2	QPatternist::EvaluationCache<0>::compress	qevaluationcache.cpp	202	0x5727bf03	
3	QPatternist::UnlimitedContainer::compressOperands	qunlimitedcontainer.cpp	71	0x57279355	
4	QPatternist::Expression::compress	qexpression.cpp	243	0x5723c978	
5	QPatternist::UserFunctionCallsite::compress	quserfunctioncallsite.cpp	157	0x5727a1ae	
6	QPatternist::SingleContainer::compressOperands	qsinglecontainer.cpp	71	0x57272e17	
7	QPatternist::Expression::compress	qexpression.cpp	243	0x5723c978	
8	QPatternist::CardinalityVerifier::compress	qcardinalityverifier.cpp	199	0x572ef1dd	
9	QPatternist::SingleContainer::compressOperands	qsinglecontainer.cpp	71	0x57272e17	
10	QPatternist::Expression::compress	qexpression.cpp	243	0x5723c978	
11	QPatternist::UnlimitedContainer::compressOperands	qunlimitedcontainer.cpp	71	0x57279355	
12	QPatternist::Expression::compress	qexpression.cpp	243	0x5723c978	
13	QPatternist::StringJoinFN::compress	qstringvaluefns.cpp	115	0x572b1668	
14	QPatternist::SingleContainer::compressOperands	qsinglecontainer.cpp	71	0x57272e17	
15	QPatternist::Expression::compress	qexpression.cpp	243	0x5723c978	
16	QPatternist::SimpleContentConstructor::compress	qsimplecontentconstructor.cpp	81	0x5727274b	
17	QPatternist::SingleContainer::compressOperands	qsinglecontainer.cpp	71	0x57272e17	
18	QPatternist::Expression::compress	qexpression.cpp	243	0x5723c978	
19	QPatternist::TripleContainer::compressOperands	qtriplecontainer.cpp	81	0x572788a1	
20	QPatternist::Expression::compress	qexpression.cpp	243	0x5723c978	
21	QPatternist::IfThenClause::compress	qifthenclause.cpp	89	0x5725864e	
22	QPatternist::UnlimitedContainer::compressOperands	qunlimitedcontainer.cpp	71	0x57279355	
23	QPatternist::Expression::compress	qexpression.cpp	243	0x5723c978	
24	QPatternist::ExpressionSequence::compress	qexpressionsequence.cpp	84	0x5724a4b7	
25	QPatternist::ExpressionFactory::createExpression	qexpressionfactory.cpp	244	0x5724375c	
26	QPatternist::ExpressionFactory::createExpression	qexpressionfactory.cpp	125	0x57242d61	
27	QXmlQueryPrivate::expression	qxmlquery_p.h	258	0x571a89e5	
28	QXmlQuery::setQuery	qxmlquery.cpp	430	0x571c7592	
29	QXmlQuery::setQuery	qxmlquery.cpp	499	0x571c799a	
30	main	main.cpp	361	0x13f712b59	
31	__tmainCRTStartup	crtexe.c	555	0x13f72247c	
32	mainCRTStartup	crtexe.c	371	0x13f7222ce	
33	BaseThreadInitThunk	kernel32		0x7758f56d	
34	RtlUserThreadStart	ntdll		0x776c2cc1	
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m1.xml
Type: text/xml
Size: 2147 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110728/35803258/attachment.xml 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m1.xsl
Type: text/xml
Size: 2646 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110728/35803258/attachment.xsl 


More information about the Qt-interest-old mailing list