[GH-ISSUE #6940] audacity: crash when opening file dialog #3429

Closed
opened 2026-05-05 09:59:40 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @nphantasm on GitHub (Oct 16, 2025).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6940

Description

Audacity crashes with SIGABRT when trying to open the file dialog via File->Open... from the menu bar.

Steps to Reproduce

  1. Run audacity with the default profile
  2. Navigate to the menu bar and click on File
  3. Navigate to the Open... option and click
  4. Audacity crashes

Expected behavior

The file dialog should open.

Actual behavior

Audacity crashes before the file dialog is displayed

Behavior without a profile

File dialog opens as expected.

Additional context

When private-tmp audacity and include disable-common.inc are removed from the profile, Audacity works as expected.

I've also been able to crash Audacity using the default profile when attempting to move the play head somewhere in the timeline after dragging and dropping a file to Audacity without using the file dialog.

Environment

  • Name/version/arch of the Linux kernel (uname -srm): Linux 6.16.10-artix1-1 x86_64
  • Name/version of the Linux distribution (e.g. "Ubuntu 20.04" or "Arch Linux"): Artix Linux
  • Name/version of the relevant program(s)/package(s) (e.g. "firefox 134.0-1,
    mesa 1:24.3.3-2"): Audacity 3.7.4 and 3.7.5 (older versions untested)
  • Version of Firejail (firejail --version): 0.9.76

Checklist

  • The issues is caused by firejail (i.e. running the program by path (e.g. /usr/bin/vlc) "fixes" it).
  • I can reproduce the issue without custom modifications (e.g. globals.local).
  • The program has a profile. (If not, request one in https://github.com/netblue30/firejail/issues/1139)
  • The profile (and redirect profile if exists) hasn't already been fixed upstream.
  • I have performed a short search for similar issues (to avoid opening a duplicate).
    • I'm aware of browser-allow-drm yes/browser-disable-u2f no in firejail.config to allow DRM/U2F in browsers.
  • I used --profile=PROFILENAME to set the right profile. (Only relevant for AppImages)

Log

Output of LC_ALL=C firejail /path/to/program

Reading profile /etc/firejail/audacity.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-shell.inc
Reading profile /etc/firejail/disable-xdg.inc
Reading profile /etc/firejail/whitelist-var-common.inc
firejail version 0.9.76

Parent pid 12634, child pid 12635
Warning: cannot open source file /usr/lib/firejail/seccomp.debug32, file not copied
Warning fcopy: skipping /etc/alsa/conf.d, file already present
Warning fcopy: skipping /etc/alsa/conf.d/10-rate-lav.conf, file already present
Warning fcopy: skipping /etc/alsa/conf.d/10-samplerate.conf, file already present
Warning fcopy: skipping /etc/alsa/conf.d/10-speexrate.conf, file already present
Warning fcopy: skipping /etc/alsa/conf.d/50-arcam-av-ctl.conf, file already present
Warning fcopy: skipping /etc/alsa/conf.d/50-jack.conf, file already present
Warning fcopy: skipping /etc/alsa/conf.d/50-oss.conf, file already present
Warning fcopy: skipping /etc/alsa/conf.d/50-pulseaudio.conf, file already present
Warning fcopy: skipping /etc/alsa/conf.d/60-a52-encoder.conf, file already present
Warning fcopy: skipping /etc/alsa/conf.d/60-speex.conf, file already present
Warning fcopy: skipping /etc/alsa/conf.d/60-upmix.conf, file already present
Warning fcopy: skipping /etc/alsa/conf.d/60-vdownmix.conf, file already present
Warning fcopy: skipping /etc/alsa/conf.d/98-usb-stream.conf, file already present
Warning fcopy: skipping /etc/alsa/conf.d/50-pipewire.conf, file already present
Warning fcopy: skipping /etc/alsa/conf.d/99-pipewire-default.conf, file already present
Warning fcopy: skipping /etc/pipewire/client-rt.conf.d, file already present
Warning fcopy: skipping /etc/pipewire/client.conf.d, file already present
Warning fcopy: skipping /etc/pipewire/minimal.conf.d, file already present
Warning fcopy: skipping /etc/pipewire/pipewire.conf.d, file already present
Warning fcopy: skipping /etc/pipewire/pipewire.conf.d/10-buffersize.conf, file already present
Warning fcopy: skipping /etc/pipewire/jack.conf.d, file already present
Warning fcopy: skipping /etc/pipewire/pipewire-pulse.conf.d, file already present
Warning fcopy: skipping /etc/pulse/client.conf, file already present
Private /etc installed in 49.26 ms
Private /usr/etc installed in 0.10 ms
Warning: /sbin directory link was not blacklisted
Warning: /usr/sbin directory link was not blacklisted
Warning: not remounting /home/<REDACTED>/.ssh/authorized_keys
Warning: not remounting /home/<REDACTED>/.ssh/config
Warning: not remounting /run/user/1000/gvfs
Warning: not remounting /run/user/1000/doc
Base filesystem installed in 132.40 ms
Child process initialized in 204.09 ms

Parent is shutting down, bye...

Output of LC_ALL=C firejail --debug /path/to/program

fjdebug.txt

Originally created by @nphantasm on GitHub (Oct 16, 2025). Original GitHub issue: https://github.com/netblue30/firejail/issues/6940 <!-- See the following links for help with formatting: https://guides.github.com/features/mastering-markdown/ https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax --> ### Description Audacity crashes with SIGABRT when trying to open the file dialog via File->Open... from the menu bar. ### Steps to Reproduce 1. Run audacity with the default profile 2. Navigate to the menu bar and click on File 3. Navigate to the Open... option and click 4. Audacity crashes ### Expected behavior The file dialog should open. ### Actual behavior Audacity crashes before the file dialog is displayed ### Behavior without a profile File dialog opens as expected. ### Additional context When `private-tmp audacity` and `include disable-common.inc` are removed from the profile, Audacity works as expected. I've also been able to crash Audacity using the default profile when attempting to move the play head somewhere in the timeline after dragging and dropping a file to Audacity without using the file dialog. ### Environment - Name/version/arch of the Linux kernel (`uname -srm`): Linux 6.16.10-artix1-1 x86_64 - Name/version of the Linux distribution (e.g. "Ubuntu 20.04" or "Arch Linux"): Artix Linux - Name/version of the relevant program(s)/package(s) (e.g. "firefox 134.0-1, mesa 1:24.3.3-2"): Audacity 3.7.4 and 3.7.5 (older versions untested) - Version of Firejail (`firejail --version`): 0.9.76 ### Checklist <!-- Note: Items are checked with an "x", like so: - [x] This is a checked item. --> - [x] The issues is caused by firejail (i.e. running the program by path (e.g. `/usr/bin/vlc`) "fixes" it). - [x] I can reproduce the issue without custom modifications (e.g. globals.local). - [x] The program has a profile. (If not, request one in `https://github.com/netblue30/firejail/issues/1139`) - [x] The profile (and redirect profile if exists) hasn't already been fixed [upstream](https://github.com/netblue30/firejail/tree/master/etc). - [x] I have performed a short search for similar issues (to avoid opening a duplicate). - [x] I'm aware of `browser-allow-drm yes`/`browser-disable-u2f no` in `firejail.config` to allow DRM/U2F in browsers. - [x] I used `--profile=PROFILENAME` to set the right profile. (Only relevant for AppImages) ### Log <details> <summary>Output of <code>LC_ALL=C firejail /path/to/program</code></summary> <p> ``` Reading profile /etc/firejail/audacity.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-exec.inc Reading profile /etc/firejail/disable-interpreters.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/disable-shell.inc Reading profile /etc/firejail/disable-xdg.inc Reading profile /etc/firejail/whitelist-var-common.inc firejail version 0.9.76 Parent pid 12634, child pid 12635 Warning: cannot open source file /usr/lib/firejail/seccomp.debug32, file not copied Warning fcopy: skipping /etc/alsa/conf.d, file already present Warning fcopy: skipping /etc/alsa/conf.d/10-rate-lav.conf, file already present Warning fcopy: skipping /etc/alsa/conf.d/10-samplerate.conf, file already present Warning fcopy: skipping /etc/alsa/conf.d/10-speexrate.conf, file already present Warning fcopy: skipping /etc/alsa/conf.d/50-arcam-av-ctl.conf, file already present Warning fcopy: skipping /etc/alsa/conf.d/50-jack.conf, file already present Warning fcopy: skipping /etc/alsa/conf.d/50-oss.conf, file already present Warning fcopy: skipping /etc/alsa/conf.d/50-pulseaudio.conf, file already present Warning fcopy: skipping /etc/alsa/conf.d/60-a52-encoder.conf, file already present Warning fcopy: skipping /etc/alsa/conf.d/60-speex.conf, file already present Warning fcopy: skipping /etc/alsa/conf.d/60-upmix.conf, file already present Warning fcopy: skipping /etc/alsa/conf.d/60-vdownmix.conf, file already present Warning fcopy: skipping /etc/alsa/conf.d/98-usb-stream.conf, file already present Warning fcopy: skipping /etc/alsa/conf.d/50-pipewire.conf, file already present Warning fcopy: skipping /etc/alsa/conf.d/99-pipewire-default.conf, file already present Warning fcopy: skipping /etc/pipewire/client-rt.conf.d, file already present Warning fcopy: skipping /etc/pipewire/client.conf.d, file already present Warning fcopy: skipping /etc/pipewire/minimal.conf.d, file already present Warning fcopy: skipping /etc/pipewire/pipewire.conf.d, file already present Warning fcopy: skipping /etc/pipewire/pipewire.conf.d/10-buffersize.conf, file already present Warning fcopy: skipping /etc/pipewire/jack.conf.d, file already present Warning fcopy: skipping /etc/pipewire/pipewire-pulse.conf.d, file already present Warning fcopy: skipping /etc/pulse/client.conf, file already present Private /etc installed in 49.26 ms Private /usr/etc installed in 0.10 ms Warning: /sbin directory link was not blacklisted Warning: /usr/sbin directory link was not blacklisted Warning: not remounting /home/<REDACTED>/.ssh/authorized_keys Warning: not remounting /home/<REDACTED>/.ssh/config Warning: not remounting /run/user/1000/gvfs Warning: not remounting /run/user/1000/doc Base filesystem installed in 132.40 ms Child process initialized in 204.09 ms Parent is shutting down, bye... ``` </p> </details> <details> <summary>Output of <code>LC_ALL=C firejail --debug /path/to/program</code></summary> <p> <!-- If the output is too long, save it to a file (e.g. "fjdebug.txt") and attach it to the comment: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/attaching-files If that does not work, create a secret gist at https://gist.github.com/ and link it here. --> [fjdebug.txt](https://github.com/user-attachments/files/22958170/fjdebug.txt) </p> </details>
gitea-mirror 2026-05-05 09:59:40 -06:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@rusty-snake commented on GitHub (Oct 16, 2025):

#6906, #6913

<!-- gh-comment-id:3412720187 --> @rusty-snake commented on GitHub (Oct 16, 2025): #6906, #6913
Author
Owner

@nphantasm commented on GitHub (Oct 16, 2025):

Missed that, sorry.

For others, the fix is adding this to audacity.local:

private-bin audacity,bwrap
noblacklist /usr/bin/bwrap
noblacklist /proc/sys/kernel/overflowuid
noblacklist /proc/sys/kernel/overflowgid

ignore seccomp !chroot
seccomp !chroot,!mount,!pivot_root,!umount2

Or on Arch installing the gdk-pixbuf2-noglycin AUR package which also fixed this.

<!-- gh-comment-id:3412779940 --> @nphantasm commented on GitHub (Oct 16, 2025): Missed that, sorry. For others, the fix is adding this to `audacity.local`: ``` private-bin audacity,bwrap noblacklist /usr/bin/bwrap noblacklist /proc/sys/kernel/overflowuid noblacklist /proc/sys/kernel/overflowgid ignore seccomp !chroot seccomp !chroot,!mount,!pivot_root,!umount2 ``` Or on Arch installing the gdk-pixbuf2-noglycin AUR package which also fixed this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#3429
No description provided.