Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
6.6.2, 6.6.3, 6.7.1
-
None
-
-
2024wk24s2FOQtforAndroid
Description
QtActivityBase::onCreate is going to crash on app (re-)starts when QtNative.getStateDetails().isStarted is true.
In QtActivityBase::onCreate::97 m_delegate is created, but its members are not initialized.
In QtActivityBase::handleActivityRestart::68 m_delegate.updateActivityAfterRestart will be entered if QtNative.getStateDetails().isStarted is true.
Now QtActivityDelegate::updateActivityAfterRestart::83 will crash, since m_layout is accessed before it is initialized.
Attachments
Issue Links
- duplicates
-
QTBUG-124786 [Android] NullPointerException at QtActivityDelegate.java:83
- Closed
For Gerrit Dashboard: QTBUG-126206 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
567504,1 | Add nullptr check for the layout in QtActivityDelegate | dev | qt/qtbase | Status: ABANDONED | -1 | 0 |