Skip to content

Qupzilla crashes when run with firejail #1663

@Kishore96in

Description

@Kishore96in

When I run qupzilla (built from latest git) with firejail, it crashes with the following output. It sometimes happens within the first few seconds, and sometimes happens a few minutes later.

Output when I run firejail qupzilla in the terminal:

Reading profile /home/kishore/.config/firejail/qupzilla.profile
Reading profile /etc/firejail/qupzilla.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-common.inc
Warning: noroot option is not available
Parent pid 32147, child pid 32148
Warning: /sbin directory link was not blacklisted
Warning: /usr/sbin directory link was not blacklisted
TESTING warning: noblacklist /home/kishore/Documents not matched by a proper blacklist command in disable*.inc
TESTING warning: noblacklist /home/kishore/.cache/fish not matched by a proper blacklist command in disable*.inc
TESTING warning: noblacklist /home/kishore/Pictures not matched by a proper blacklist command in disable*.inc
TESTING warning: noblacklist /home/kishore/Appimages not matched by a proper blacklist command in disable*.inc
Blacklist violations are logged to syslog
Child process initialized in 72.43 ms
QupZilla: 2 extensions loaded
mprotect failed in ExecutableAllocator::makeExecutable: Permission denied
*** stack smashing detected ***: <unknown> terminated

Parent is shutting down, bye...

I have only modified the provided profile to whitelist some more folders in ~. The output of firejail --version is

firejail version 0.9.51

Compile time support:
        - AppArmor support is disabled
        - AppImage support is enabled
        - bind support is enabled
        - chroot support is enabled
        - file and directory whitelisting support is enabled
        - file transfer support is enabled
        - git install support is disabled
        - networking support is enabled
        - overlayfs support is enabled
        - private-home support is enabled
        - seccomp-bpf support is enabled
        - user namespace support is enabled
        - X11 sandboxing support is enabled

I have read issue 1112. However, that seems to be marked closed without any proper resolution. I can run Qupzilla without any problems if I don't use firejail, so I doubt it is a bug in Qupzilla.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions