Details
-
Bug
-
Resolution: Incomplete
-
P1: Critical
-
6.7.0 RC
-
None
-
-
8a8bfb410 (dev), bdb2cc69e (6.8), 1852267f6 (6.7), 29e1552b5 (tqtc/lts-6.5)
Description
qmlls rapidly consumes memory. Over 40GB within 5 minutes for large project I work on.
Tried to run under valgrind, but there is an invalid read that is throwing SIGSEGV so I can't check for leaks beyond this read access.
==12546== Invalid read of size 8
==12546== at 0x4215A3E: ??? (in /dev/zero)
==12546== Address 0x1d598c1a is 10 bytes after a block of size 48 alloc'd
==12546== at 0x4C38185: malloc (vg_replace_malloc.c:431)
==12546== by 0x5A81853: QArrayData::allocate2(QArrayData**, long long, QArrayData::AllocationOption) (in /home/jhuels/Qt/6.7.0/gcc_64/lib/libQt6Core.so.6.7.0)
==12546== by 0x5A4E0C1: QString::QString(QChar const*, long long) (in /home/jhuels/Qt/6.7.0/gcc_64/lib/libQt6Core.so.6.7.0)
==12546== by 0x5B3D8FD: QRegularExpressionMatch::captured(QStringView) const (in /home/jhuels/Qt/6.7.0/gcc_64/lib/libQt6Core.so.6.7.0)
==12546== by 0x2121F9: ??? (in /home/jhuels/Qt/6.7.0/gcc_64/bin/qmlls)
==12546== by 0x348D1C: ??? (in /home/jhuels/Qt/6.7.0/gcc_64/bin/qmlls)
==12546== by 0x362D7B: ??? (in /home/jhuels/Qt/6.7.0/gcc_64/bin/qmlls)
==12546== by 0x5304D6F: QQmlJS::AST::UiImport::accept0(QQmlJS::AST::BaseVisitor*) (in /home/jhuels/Qt/6.7.0/gcc_64/lib/libQt6Qml.so.6.7.0)
==12546== by 0x5302C31: QQmlJS::AST::UiHeaderItemList::accept0(QQmlJS::AST::BaseVisitor*) (in /home/jhuels/Qt/6.7.0/gcc_64/lib/libQt6Qml.so.6.7.0)
==12546== by 0x53070F4: QQmlJS::AST::UiProgram::accept0(QQmlJS::AST::BaseVisitor*) (in /home/jhuels/Qt/6.7.0/gcc_64/lib/libQt6Qml.so.6.7.0)
==12546== by 0x22C2BC: ??? (in /home/jhuels/Qt/6.7.0/gcc_64/bin/qmlls)
==12546== by 0x345621: ??? (in /home/jhuels/Qt/6.7.0/gcc_64/bin/qmlls)
Attachments
Issue Links
- relates to
-
QTCREATORBUG-31260 qmlls eats up all my ram
- Closed
For Gerrit Dashboard: QTBUG-123491 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
582152,3 | qmlls: do not endless loop on _deps build folder | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
582819,2 | qmlls: do not endless loop on _deps build folder | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
582879,2 | qmlls: do not endless loop on _deps build folder | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
582913,3 | qmlls: do not endless loop on _deps build folder | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |