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

No sound and file-manager dialogs crash #2

Open
exchaex opened this issue Feb 3, 2024 · 3 comments
Open

No sound and file-manager dialogs crash #2

exchaex opened this issue Feb 3, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@exchaex
Copy link

exchaex commented Feb 3, 2024

Tried to adapt your profile to my artix linux environment with no success.
Screenshot_2024-02-03_17-40-59

Reading profile /etc/firejail/firejailed-mullvad-browser.profile
Reading profile /etc/firejail/firejailed-mullvad-browser-x11.inc
Reading profile /etc/firejail/whitelist-runuser-common.inc
Reading profile /etc/firejail/allow-bin-sh.inc
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-proc.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-shell.inc
Reading profile /etc/firejail/disable-xdg.inc
Seccomp list in: !chroot,!set_mempolicy,@memlock,@setuid,@timer,io_pgetevents, check list: @default-keep, prelist: unknown,unknown,mlock,mlock2,mlockall,munlock,munlockall,setgid,setgroups,setregid,setresgid,setresuid,setreuid,setuid,alarm,getitimer,setitimer,timer_create,timer_delete,timer_getoverrun,timer_gettime,timer_settime,timerfd_create,timerfd_gettime,timerfd_settime,times,io_pgetevents,
Parent pid 14291, child pid 14292
10 programs installed in 7.34 ms
Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set.
Warning: /sbin directory link was not blacklisted
Warning: /usr/sbin directory link was not blacklisted
Seccomp list in: !chroot,!set_mempolicy,@memlock,@setuid,@timer,io_pgetevents, check list: @default-keep, prelist: unknown,unknown,mlock,mlock2,mlockall,munlock,munlockall,setgid,setgroups,setregid,setresgid,setresuid,setreuid,setuid,alarm,getitimer,setitimer,timer_create,timer_delete,timer_getoverrun,timer_gettime,timer_settime,timerfd_create,timerfd_gettime,timerfd_settime,times,io_pgetevents,
Warning: cleaning all supplementary groups
Child process initialized in 75.86 ms
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot access /sys/bus/pci (t=0.19145) [GFX1-]: glxtest: cannot access /sys/bus/pci
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot access /sys/bus/pci (t=0.19145) |[1][GFX1-]: glxtest: libEGL no display (t=0.191572) [GFX1-]: glxtest: libEGL no display
Failed to create secure directory (/run/user/1000/pulse): Permission denied

(Mullvad Browser:18): dconf-WARNING **: 16:34:54.166: Unable to open /usr/local/share/dconf/profile/user: Permission denied
Failed to create secure directory (/run/user/1000/pulse): Permission denied

Parent is shutting down, bye...

My profiles are in $HOME/.mullvad/mullvadbrowser but I already tried linking and/or moving the dir in $HOME/.firejailed-mullvad-browser

@samsapti samsapti added the bug Something isn't working label Feb 6, 2024
@samsapti
Copy link
Owner

samsapti commented Feb 6, 2024

Did you use the install script? Mine are in $HOME/.firejailed-mullvad-browser/Data/.

@exchaex
Copy link
Author

exchaex commented Feb 12, 2024

No I manually tried to adapt the script to the aur installation, but it was a mess to make it work.

So I decided to install it from scratch the official way.
Everything works out of the box except for sound. I don't have pulseaudio installed, only alsa.
No sound at all, .asoundrc is whitelisted and into .firejailed-mullvad-browser directory and there's no error in firejail output so I don't know the reason at all.
(I didn't edit the profiles, everything as default)
Any help? How can I debug this?

@exchaex exchaex changed the title Add support to AUR mullvad-browser No sound and file-manager dialogs crash Feb 16, 2024
@exchaex
Copy link
Author

exchaex commented Feb 16, 2024

Another weird issue, everytime I try to save a file/link it crashes, (--noprofile works for both dialog crash and audio).
Full verbose log
firejail --profile=firejailed-mullvad-browser "$HOME/Browser/start-mullvad-browser" --verbose --name="Mullvad Browser"
The only audio portion of --verbose log is:

[Child 238, MediaDecoderStateMachine #1] WARNING: 75d17a3674c0 OpenCubeb() failed to init cubeb: file /var/tmp/build/firefox-9917db4f732d/dom/media/AudioStream.cpp:281
[Child 238, MediaDecoderStateMachine #1] WARNING: Decoder=75d17be84400 [OnMediaSinkAudioError]: file /var/tmp/build/firefox-9917db4f732d/dom/media/MediaDecoderStateMachine.cpp:4604
[Child 238, MediaDecoderStateMachine #1] WARNING: 75d17a2f9820 OpenCubeb() failed to init cubeb: file /var/tmp/build/firefox-9917db4f732d/dom/media/AudioStream.cpp:281
[Child 238, MediaDecoderStateMachine #1] WARNING: Decoder=75d17be84400 [OnMediaSinkAudioError]: file /var/tmp/build/firefox-9917db4f732d/dom/media/MediaDecoderStateMachine.cpp:4604

The rest I assume is related to the save dialog crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants