[Gammaray-interest] QtXmlPatterns and probe's object lock
Christian Gagneraud
chgans at gmail.com
Sun Jun 24 08:01:30 CEST 2018
Hi there,
It took me a while to find out what the problem was, so here it is:
My query engine would dead-lock if i create a QXmlQuery or a
QXmlFormatter, while holding the probe's lock.
Is it something unexpected or does holding the probe's object lock
interferes with some internal Qt lock mechanism?
Thanks,
Chris
BTW, I manage to write my query client, here is a demo on an empty
QCoreApplication program:
$ gammaray-query tcp://127.0.0.1:11732 './/*[@applicationName]'
<objects>
<QThread objectName=""/>
<QBuffer objectName=""/>
<QBuffer objectName=""/>
<QBuffer objectName=""/>
<QBuffer objectName=""/>
<QBuffer objectName=""/>
<QObject objectName=""/>
<QAbstractItemModel objectName=""/>
<QEventLoop objectName=""/>
<QCoreApplication objectName="" applicationName="untitled"
applicationVersion="" organizationName="" organizationDomain=""
quitLockEnabled="true">
<QEventDispatcherGlib objectName=""/>
</QCoreApplication>
</objects>
$ gammaray-query tcp://127.0.0.1:11732 './/*[@applicationName]'
<QCoreApplication objectName="" applicationName="untitled"
applicationVersion="" organizationName="" organizationDomain=""
quitLockEnabled="true">
<QEventDispatcherGlib objectName=""/>
</QCoreApplication>
More information about the Gammaray-interest
mailing list