Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
4.5.2, 4.6.0
-
7d3b0a221 (4.6)
-
Qt Installer Sprint 84
Description
The issue can be easily reproduced with a slightly modified Repository Categories example. I've only added a dummy page and installer script to component B. Please check the attached archive.
Steps to reproduce:
- Build the online repository and installer binary as described in README.
- Run the installer.
- Proceed to Select Components page and click Filter button.
- The installer crashes after fetching remote packages.
If I comment out creation of dynamic page in packages/B/meta/installscript.js, the installer works fine.
The crash seems to happen in PackageManagerPage::nextId(). Basically it tries to call component->licenses() on already destroyed component. Quick bisecting indicates that the issue was first introduced in 5057521 between 4.5.1 and 4.5.2.
Attachments
For Gerrit Dashboard: QTIFW-3085 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
497603,4 | Fix crash when filtering categories | 4.6 | installer-framework/installer-framework | Status: MERGED | +2 | 0 |