Details
Description
Leak backtraces:
0 libsystem_malloc.dylib malloc_zone_calloc
1 libsystem_malloc.dylib calloc
2 libobjc.A.dylib class_createInstance
3 libobjc.A.dylib +[NSObject allocWithZone:]
4 libobjc.A.dylib +[NSObject new]
5 AppKit -[NSControl _commonEarlyInit]
6 AppKit -[NSControl initWithFrame:]
7 AppKit -[NSSlider initWithFrame:]
8 libqmacstyle.dylib setupSlider(NSSlider*, QStyleOptionSlider const*)
9 libqmacstyle.dylib QMacStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const
10 QtWidgets QSlider::paintEvent(QPaintEvent*)
0 libsystem_malloc.dylib malloc_zone_calloc
1 libsystem_malloc.dylib calloc
2 libobjc.A.dylib class_createInstance
3 libobjc.A.dylib +[NSObject allocWithZone:]
4 libobjc.A.dylib +[NSObject new]
5 AppKit -[NSControl _commonEarlyInit]
6 AppKit -[NSControl initWithFrame:]
7 AppKit -[NSSlider initWithFrame:]
8 libqmacstyle.dylib QMacStylePrivate::cocoaControl(QMacStylePrivate::CocoaControl) const
9 libqmacstyle.dylib QMacStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const
10 QtWidgets QSlider::paintEvent(QPaintEvent*)
This looks like it is probably the same problem that leaked QScroller in QTBUG-60004 where initWithFrame is being called on an object that is already initialised.
Attachments
Issue Links
- resulted from
-
QTBUG-98093 QSlider is broken in MacOS Monterey
- Closed