Skip to content

Fix Qt 6.7 QML engine segfault - #5231

Draft
kairosci wants to merge 2 commits into
wwmm:masterfrom
kairosci:fix-ci-jobs
Draft

Fix Qt 6.7 QML engine segfault #5231
kairosci wants to merge 2 commits into
wwmm:masterfrom
kairosci:fix-ci-jobs

Conversation

@kairosci

@kairosci kairosci commented Aug 7, 2026

Copy link
Copy Markdown

This pull request fixes the failing QML format job by adding a command fallback since the binary location changed on Arch Linux. It also updates the flatpak external data checker configuration for libebur128 to use git tags in order to avoid GitHub API rate limits that were causing the Flatpak lint job to fail.

Crucially, it also resolves the root cause of the segmentation fault tracked in #5120. In Qt 6.7, a known issue causes the QML engine to occasionally segfault when initializing components if Javascript array syntax ([]) is used to assign to QML list properties like actions. Because actions is the default property of Kirigami.ActionToolBar, we can safely omit the actions: [] wrapper. This removes the array conversion, completely fixing the random runtime segfaults.

Closes #5120

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

@kairosci
kairosci marked this pull request as draft August 7, 2026 12:31
@kairosci kairosci changed the title Fix failing QML format and flatpak lint CI jobs Fix Qt 6.7 QML engine segfault (#5120) and CI jobs Aug 7, 2026
@kairosci kairosci changed the title Fix Qt 6.7 QML engine segfault (#5120) and CI jobs Fix Qt 6.7 QML engine segfault (#5120) Aug 7, 2026
@kairosci
kairosci force-pushed the fix-ci-jobs branch 3 times, most recently from ff90e6f to 473f795 Compare August 7, 2026 13:15
@wwmm

wwmm commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Crucially, it also resolves the root cause of the segmentation fault tracked in #5120. In Qt 6.7, a known issue causes the QML engine to occasionally segfault when initializing components if Javascript array syntax ([]) is used to assign to QML list properties like actions

Although I am not a fan of the proposed syntax using it isn't the end of the world. But I wonder if that is actually the fix for #5120. At least in our latest flatpak package release Qt 6.7 is not used. It uses 6.10.3.

@wwmm

wwmm commented Aug 7, 2026

Copy link
Copy Markdown
Owner

And it seems qt 6.7 has already reached end of life. Are there still many distributions using it when compiling easyeffects native packages? As users on older system usually use our Flatpak package I prefer to write the source code targeting more recent library versions.

@kairosci kairosci changed the title Fix Qt 6.7 QML engine segfault (#5120) Fix Qt 6.7 QML engine segfault Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Segfault Crash

2 participants