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

Crashes when open epub book Ubuntu 24.04 #1397

Closed
auspham opened this issue Sep 12, 2024 · 1 comment
Closed

Crashes when open epub book Ubuntu 24.04 #1397

auspham opened this issue Sep 12, 2024 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@auspham
Copy link

auspham commented Sep 12, 2024

Describe the bug
Crashes when trying to open an epub book

To Reproduce
Steps to reproduce the behavior:

  1. Click open on the main screen
  2. Click on an epub file
  3. Crash

Expected behavior
Should open the epub for reading

Version:

  • Foliate version: 3.1.1
  • OS/Distribution and version: [e.g. Ubuntu 18.04] Ubuntu 24.04.1 LTS"
  • Desktop environment: [e.g. GNOME 3.36] GNOME 46.0
  • Installation method: [e.g. Flatpak] Github release download link

Additional context
Crash logs:

❯ foliate
bwrap: setting up uid map: Permission denied

** (com.github.johnfactotum.Foliate:24820): ERROR **: 23:53:09.979: Failed to fully launch dbus-proxy: Child process exited with code 1
[1]    24820 trace trap (core dumped)  foliate

Work around:

Related bugs can be found here: https://etbe.coker.com.au/2024/04/24/ubuntu-24-04-bubblewrap/

Work around is to create a file in /etc/apparmor.d/bwrap with following content:

abi <abi/4.0>,
include <tunables/global>

profile bwrap /usr/bin/bwrap flags=(unconfined) {
  userns,

  # Site-specific additions and overrides. See local/README for details.
  include if exists <local/bwrap>
}

And then do a systemctl reload apparmor

@auspham auspham added the bug Something isn't working label Sep 12, 2024
@auspham auspham changed the title Crashes when open epub book Crashes when open epub book Ubuntu 24.04 Sep 12, 2024
@johnfactotum
Copy link
Owner

Duplicate of #1262

@johnfactotum johnfactotum marked this as a duplicate of #1262 Sep 13, 2024
@johnfactotum johnfactotum added the duplicate This issue or pull request already exists label Sep 13, 2024
@johnfactotum johnfactotum closed this as not planned Won't fix, can't repro, duplicate, stale Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants