Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.6.1
-
5c4ddaae0 (dev), be3f2005f (6.7), 81986f13e (6.6), 3ecf8f2e7 (tqtc/lts-6.5)
-
G&UI Finishing 2023
Description
When a QAbstractSeries subclass with setUseOpenGL(true) called is added to a QChart added to a visible QChartView, when the QChartView is deleted an error is thrown.
This includes deleteLater() and closing the application normally.
The error is as follows:
Debug Error!
Program: C:/Qt/6.6.1/msvc2019_64\bin\Qt6Cored.dll
Module: 6.6.1
File:
C:\Users\qt\work\install\include\QtCore/qobjectdefs_impl.h
Line: 130
ASSERT failure in GLWidget: "Called object is not of the correct type (class destructor may have already fun)", file C:\Users\qt\work\install\include\QtCore/qtobjetdefs_impl.h, line 130
Error can be reproduced with any Qt example that uses a QAbstractSeries subclass, call setUseOpenGL(true) on the subclass and close the application with the QChartView containing it visible.
Attachments
For Gerrit Dashboard: QTBUG-119900 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
524486,2 | GLWidget: disconnect during destruction and cleanup | dev | qt/qtcharts | Status: MERGED | +2 | 0 |
524793,2 | GLWidget: disconnect during destruction and cleanup | 6.7 | qt/qtcharts | Status: MERGED | +2 | 0 |
524854,2 | GLWidget: disconnect during destruction and cleanup | 6.6 | qt/qtcharts | Status: MERGED | +2 | 0 |
524954,2 | GLWidget: disconnect during destruction and cleanup | tqtc/lts-6.5 | qt/tqtc-qtcharts | Status: MERGED | +2 | 0 |