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

SIGABRT when using QFontMEtrics::width with default font on OS X 10.10

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 5.3.0
    • Fix Version/s: 5.3.1
    • Component/s: GUI: Font handling
    • Labels:
      None
    • Environment:
      Mac OS X 10.10 DP (build 14A238x)
    • Platform/s:
      macOS
    • Commits:
      abcea1c5f06b2ea0428e08a3a71f08d39c29c2fd

      Description

      The following code:

      QFont font = QToolTip::font();
      QFontMetrics metrics = QFontMetrics(font);
      int width = metrics.width(text);

      cause an assertion to fail and subsequent SIGABRT on OS X 10.10 DP.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              dedietri Gabriel de Dietrich (drgvond)
              Reporter:
              violetgiraffe Alex
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes