Skip to content

Fix XWayland GLX crash when opening child dialogs (#1233)#1259

Merged
ten9876 merged 3 commits intomainfrom
aetherclaude/issue-1233
Apr 14, 2026
Merged

Fix XWayland GLX crash when opening child dialogs (#1233)#1259
ten9876 merged 3 commits intomainfrom
aetherclaude/issue-1233

Conversation

@aethersdr-agent
Copy link
Copy Markdown
Contributor

Summary

Fixes #1233


Generated by AetherClaude (automated agent for AetherSDR)

Auto-detect Wayland sessions and prefer native Wayland platform to avoid
XWayland GLX context-switching BadAccess crashes. Add AETHER_NO_GPU env
var for runtime software-rendering fallback. Fix PII-redaction regex
objects to survive crash teardown (heap-allocate to avoid static
destruction order issues).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ten9876 and others added 2 commits April 13, 2026 16:46
Replace the intentional-leak raw `new QRegularExpression` pattern with
a Q_GLOBAL_STATIC<PiiPatterns> struct. The global static is lazily
initialised once and its isDestroyed() guard short-circuits redactPii()
if called during crash teardown — same correctness guarantee, no raw
heap leak.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ten9876 ten9876 marked this pull request as ready for review April 14, 2026 00:06
@ten9876 ten9876 self-requested a review as a code owner April 14, 2026 00:06
@ten9876 ten9876 merged commit f958265 into main Apr 14, 2026
5 checks passed
@ten9876 ten9876 deleted the aetherclaude/issue-1233 branch April 14, 2026 00:06
@aethersdr-agent aethersdr-agent bot mentioned this pull request Apr 14, 2026
2 tasks
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.

Followup request - still crashes - Dbus error and crash on clicking settings

2 participants