Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: workaround to crash on startup with Qt 5.15.11 #12721

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

caybro
Copy link
Member

@caybro caybro commented Nov 13, 2023

the most recent Qt upstream version introduced a regression that causes our app to crash right on startup when a grouped property is assigned to inside a PropertyChanges handler

upstream issue: https://bugreports.qt.io/browse/QTBUG-107795

Upstream fix will be released with Qt 5.15.12, code being at https://codereview.qt-project.org/c/qt/qtdeclarative/+/424702

Culprit found thanks to PagesValidator from storybook

What does the PR do

Fixes a nasty crash with Qt 5.15.11

Affected areas

ALL (indirectly via SendModal)

Screenshot of functionality (including design for comparison)

  • I've checked the design and this PR matches it

Back in business ;)
image

@status-im-auto
Copy link
Member

status-im-auto commented Nov 13, 2023

Jenkins Builds

Click to see older builds (8)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 1cbed92 #1 2023-11-13 23:26:48 ~5 min tests/nim 📄log
✔️ 1cbed92 #1 2023-11-13 23:28:57 ~7 min macos/aarch64 🍎dmg
✔️ 1cbed92 #1 2023-11-13 23:31:23 ~10 min macos/x86_64 🍎dmg
✔️ 1cbed92 #1 2023-11-13 23:33:45 ~12 min tests/ui 📄log
✔️ 1cbed92 #1 2023-11-13 23:37:55 ~16 min linux/x86_64 📦tgz
✔️ 1cbed92 #1 2023-11-13 23:48:45 ~27 min windows/x86_64 💿exe
✖️ 1cbed92 #1 2023-11-13 23:53:48 ~32 min tests/e2e 📄log
✔️ 1cbed92 #2 2023-11-14 00:28:31 ~33 min tests/e2e 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 9831058 #2 2023-11-14 09:33:19 ~6 min tests/nim 📄log
✔️ 9831058 #2 2023-11-14 09:33:48 ~6 min macos/aarch64 🍎dmg
✔️ 9831058 #2 2023-11-14 09:35:13 ~8 min macos/x86_64 🍎dmg
✔️ 9831058 #2 2023-11-14 09:39:17 ~12 min tests/ui 📄log
✔️ 9831058 #2 2023-11-14 09:41:20 ~14 min linux/x86_64 📦tgz
✔️ 9831058 #2 2023-11-14 09:51:01 ~23 min windows/x86_64 💿exe
✖️ 9831058 #3 2023-11-14 10:00:08 ~33 min tests/e2e 📄log
✖️ 9831058 #4 2023-11-14 10:16:14 ~15 min tests/e2e 📄log
✖️ 9831058 #5 2023-11-14 10:57:45 ~30 min tests/e2e 📄log
✖️ 9831058 #6 2023-11-14 12:11:14 ~28 min tests/e2e 📄log
✖️ 9831058 #7 2023-11-14 15:45:57 ~14 min tests/e2e 📄log
✖️ ee3a15c #8 2023-11-14 15:51:32 ~2 min tests/e2e 📄log
✔️ ee3a15c #3 2023-11-14 15:54:50 ~5 min tests/nim 📄log
✔️ ee3a15c #3 2023-11-14 15:56:26 ~7 min macos/aarch64 🍎dmg
✔️ ee3a15c #3 2023-11-14 15:59:29 ~10 min macos/x86_64 🍎dmg
✔️ ee3a15c #3 2023-11-14 16:00:33 ~11 min tests/ui 📄log
✔️ ee3a15c #3 2023-11-14 16:06:25 ~17 min linux/x86_64 📦tgz
✔️ ee3a15c #3 2023-11-14 16:11:29 ~22 min windows/x86_64 💿exe
✔️ ee3a15c #9 2023-11-14 16:59:43 ~33 min tests/e2e 📄log

Copy link
Member

@micieslak micieslak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but please consider adding link to the bug as a comment.

ui/StatusQ/src/StatusQ/Components/StatusCard.qml Outdated Show resolved Hide resolved
Copy link
Contributor

@Khushboo-dev-cpp Khushboo-dev-cpp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woah! Awesome fix.

@caybro caybro force-pushed the fix/qt_15_5_11-crash-fix-aliased-property branch from 1cbed92 to 9831058 Compare November 14, 2023 09:26
Copy link
Member

@jrainville jrainville left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nasty thing to find

the most recent Qt upstream version introduced a regression that causes
our app to crash right on startup when a grouped property is assigned to
inside a `PropertyChanges` handler

upstream issue: https://bugreports.qt.io/browse/QTBUG-107795

Upstream fix will be released with Qt 5.15.12, code being at
https://codereview.qt-project.org/c/qt/qtdeclarative/+/424702
@caybro caybro force-pushed the fix/qt_15_5_11-crash-fix-aliased-property branch from 9831058 to ee3a15c Compare November 14, 2023 15:48
@caybro caybro merged commit 81d99c4 into master Nov 14, 2023
8 of 9 checks passed
@caybro caybro deleted the fix/qt_15_5_11-crash-fix-aliased-property branch November 14, 2023 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants