Details
Description
qtbase/src/xml/sax/qxml.cpp
// Hack for letting QDom know where the skipped entity occurred // ### Qt5: the use of this variable means the code isn't reentrant. bool qt_xml_skipped_entity_in_content; ...
Indeed that global bool showed up in helgrind traces when using QDomDocument in two threads.
Fixed in https://codereview.qt-project.org/88036 which depends on https://codereview.qt-project.org/88044
Attachments
For Gerrit Dashboard: QTBUG-40015 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
88036,7 | Make QDom/QXmlSimpleReader reentrant. | 5.3 | qt/qtbase | Status: MERGED | +2 | 0 |
88044,6 | Move QXmlReaderPrivate to private header. | 5.3 | qt/qtbase | Status: MERGED | +2 | 0 |