Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.2, 5.12.2
-
None
-
8f8267f00bfa0d1716e38358ecc0fafff1d9df14 (qt/qtbase/5.12) f184f8780fef920006cf71e38b1477fe975bc3b1 (qt/qtbase/5.9)
Description
My application hangs unreproducibly in QDashStroker::processCurrentSubpath
I managed to capture a stacktrace and stepped through the code to dump the pattern of lines that are repeated in the code. See attachments.
The particular backtrace was captured on a Fedora 21 system, however, I experienced similar hangs (without the possibility to debug them) on an Ubuntu 12.04 machine (with Qt 5.4 installed).
Edit:
As described below, I've narrowed down the problem: Drawing a Qt::DashLine with 1.5 width to a point with an "Infinity" in its coordinates causes the hang. See qt-qstroker-bug.tar.bz2 for a MWE.
Attachments
For Gerrit Dashboard: QTBUG-47887 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
258107,2 | Avoid hanging on painting dashed lines with non-finite coordinates | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |
263732,5 | Avoid hanging on painting dashed lines with non-finite coordinates | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |