Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-46838

QString::arg(double...) crashes with precision below -1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P4: Low P4: Low
    • 5.6.0 RC
    • 4.8.6, 5.2.1
    • None
    • Ubuntu 14.04 64bit
    • 7a8da57a637f7a0b94199bb0e19f97a53958a8f0

      QString("%L1").arg(28.0, 0, 'f', -2) produces std::bad_alloc on Qt 4.8.6 and segmentation fault on Qt 5.2.1

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            naresh Kamil Klimek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes