Skip to content

Linux AppImage crashes on HTML audio/video previews #1032

Open

Description

@xiaofan4122

Opening a local HTML report containing embedded video or Web Audio can abort the Linux AppImage's WebKit process. The Rust server can remain healthy, leaving a frozen/blank window; restoring the preview can repeat the failure on the next launch.

The original unmodified v0.2.25 package reproduces the failure. Its bundled GStreamer 1.20 cannot use Arch's 1.28 or Ubuntu 24.04's 1.24 media plugins; on Arch its compiled plugin search path also differs from the system directory. The required Arch packages were already installed. Ubuntu 22.04 passes when compatible 1.20 plugins are present and fails when they are absent. This is not specific to Arch or introduced by the Wayland environment fix.

Reproduction: place a self-contained HTML file with an H.264/AAC data-URL video and an AudioContext in a local project; open Files and select its HTML preview. Diagnostics include missing appsrc / autoaudiosink, incompatible plugin/core versions, or missing GLib symbols before the WebKit process exits.

Expected: a compatible installed runtime renders the preview. If media dependencies cannot be used, show actionable installation instructions rather than aborting WebKit or repeating the crash on restored tabs.

PR #1033 selects a compatible complete system WebKit/GStreamer stack, keeps the existing bundled WebKit fallback with compatible system media plugins, and shows dependency instructions when neither works. Media codecs stay in distribution packages. The same-executable package comparison adds 4 KiB rather than bundling codec dependencies. It passes native runtime checks on Arch, Ubuntu 22.04, Ubuntu 24.04 and Debian 12, plus fallback/missing-dependency checks. The PR contains a synthetic fixture, before/after desktop evidence and test limitations.

Assisted-by: Codex

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions