Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.4.0
-
None
-
Macbook Pro, OSX !0.10.1
-
-
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
- replaces
-
QTBUG-44057 [Mac OS X 10.10] Multimedia 'customvideoitem' example crashes at startup
- Closed
-
QTBUG-44058 [Mac OS X 10.10] 'movie' example crashes at startup
- Closed
-
QTBUG-44316 QSlider crash on OS X after setMinimum
- Closed
-
QTBUG-44066 QMacStyle crashes on Yosemite for sliders with minimum==maximum
- Closed
For Gerrit Dashboard: QTBUG-43398 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
103047,3 | Fix possible divide by zero in QMacStyle | 5.4 | qt/qtbase | Status: ABANDONED | -2 | 0 |
103728,2 | Fix possible divide by zero in QMacStyle | 5.4.1 | qt/qtbase | Status: MERGED | +2 | 0 |