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

QSlider crash osx (getSliderInfo)

    XMLWordPrintable

    Details

    • Platform/s:
      macOS
    • Commits:
      cd389e4584754554282fbcb1cdc1b174d0f211dc

      Description

      Hi, I'm new to Qt and am standing up a new application. I'm getting the following crash when trying to show a slider. My mac is running 10.10.1 (14B25). My web searches have shown that there may be a fix checked into the latest git hub line. There are Yosemite specific changes that my local source tree does not have. Is a newer version being packaged soon? Or do I need to go down the path of building the latest qt?

      Much Thanks!

      Scott

      Exception Type: EXC_ARITHMETIC (SIGFPE)
      Exception Codes: EXC_I386_DIV (divide by zero)

      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0 org.qt-project.QtWidgets 0x0000000106a7117c QMacStylePrivate::getSliderInfo(QStyle::ComplexControl, QStyleOptionSlider const*, HIThemeTrackDrawInfo*, QWidget const*) const + 460
      1 org.qt-project.QtWidgets 0x0000000106a82073 QMacStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const + 403
      2 org.qt-project.QtWidgets 0x0000000106c16a98 QSlider::paintEvent(QPaintEvent*) + 344
      3 org.qt-project.QtWidgets 0x0000000106ad74bb QWidget::event(QEvent*) + 2123
      4 org.qt-project.QtWidgets 0x0000000106c16c18 QSlider::event(QEvent*) + 344
      5 org.qt-project.QtWidgets 0x0000000106a97dbb QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
      6 org.qt-project.QtWidgets 0x0000000106a9b110 QApplication::notify(QObject*, QEvent*) + 8192
      7 org.qt-project.QtCore 0x0000000105f86fb3 QCoreApplication::notifyInternal(QObject*, QEvent*) + 115
      8 org.qt-project.QtWidgets 0x0000000106ad0c20 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 3152
      9 org.qt-project.QtWidgets 0x0000000106ad154a QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1226
      10 org.qt-project.QtWidgets 0x0000000106ad0fb0 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 4064
      11 org.qt-project.QtWidgets 0x0000000106aa464d QWidgetBackingStore::doSync() + 4045
      12 org.qt-project.QtWidgets 0x0000000106aa3666 QWidgetBackingStore::sync(QWidget*, QRegion const&) + 294
      13 org.qt-project.QtWidgets 0x0000000106af1508 QWidgetWindow::event(QEvent*) + 472
      14 org.qt-project.QtWidgets 0x0000000106a97dbb QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
      15 org.qt-project.QtWidgets 0x0000000106a9b110 QApplication::notify(QObject*, QEvent*) + 8192
      16 org.qt-project.QtCore 0x0000000105f86fb3 QCoreApplication::notifyInternal(QObject*, QEvent*) + 115
      17 org.qt-project.QtGui 0x00000001057c55fd QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) + 317
      18 org.qt-project.QtGui 0x00000001057c13c5 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 2165
      19 org.qt-project.QtGui 0x00000001057ae497 QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 215
      20 org.qt-project.QtGui 0x00000001057ac611 QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 673
      21 libqcocoa.dylib 0x0000000109b073de QCocoaWindow::setVisible(bool) + 526
      22 org.qt-project.QtGui 0x00000001057cb590 QWindow::setVisible(bool) + 912
      23 org.qt-project.QtWidgets 0x0000000106ad4e6b QWidgetPrivate::show_sys() + 827
      24 org.qt-project.QtWidgets 0x0000000106ad5daf QWidgetPrivate::show_helper() + 447
      25 org.qt-project.QtWidgets 0x0000000106ad6a42 QWidget::setVisible(bool) + 1394

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                liaqi Liang Qi
                Reporter:
                scottreeser Scott Reeser
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes