Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
5.4.0
-
None
-
OS X 10.10 Yosemite
Description
For example: Create new widget form in Qt Designer or Qt Creator, add a slider, set minimum and maximum value to 0.
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 0x000000010353417c QMacStylePrivate::getSliderInfo(QStyle::ComplexControl, QStyleOptionSlider const*, HIThemeTrackDrawInfo*, QWidget const*) const + 460 1 org.qt-project.QtWidgets 0x0000000103545073 QMacStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const + 403 2 org.qt-project.QtWidgets 0x00000001036d9a98 QSlider::paintEvent(QPaintEvent*) + 344 3 org.qt-project.QtWidgets 0x000000010359a4bb QWidget::event(QEvent*) + 2123 4 org.qt-project.QtWidgets 0x00000001036d9c18 QSlider::event(QEvent*) + 344 5 org.qt-project.QtWidgets 0x000000010355adbb QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251 6 org.qt-project.QtWidgets 0x000000010355e110 QApplication::notify(QObject*, QEvent*) + 8192 ...
Clearly there is a division by (maximum-minimum) in that code for OS X 10.10 Yosemite
Attachments
Issue Links
- is replaced by
-
QTBUG-43398 QSlider crash osx (getSliderInfo)
- Closed
- is required for
-
QTBUG-43201 Issues to be fixed before 5.4.1
- Closed
- resulted from
-
QTCREATORBUG-13842 Crash in QT Creator
- Closed