#1027737 emacs-gtk: "failed to map segment from shared object" when running emacs in firejail

Package:
emacs-gtk
Source:
emacs-gtk
Description:
GNU Emacs editor (with GTK+ GUI support)
Submitter:
Vincent Lefevre
Date:
2023-01-05 17:30:06 UTC
Severity:
normal
#1027737#5
Date:
2023-01-02 16:15:36 UTC
From:
To:
When running emacs in some firejail session, I get the following
error:

zira% emacs
Native elisp load failed: "/home/vinc17/.emacs.d/eln-cache/28.2-f17337a5/url-vars-04b97511-6e21ea42.eln", "/home/vinc17/.emacs.d/eln-cache/28.2-f17337a5/url-vars-04b97511-6e21ea42.eln: failed to map segment from shared object"

The file was created a few days ago:

zira% ls -l /home/vinc17/.emacs.d/eln-cache/28.2-f17337a5/url-vars-04b97511-6e21ea42.eln
-rwxr-xr-x 1 vinc17 vinc17 35208 2022-12-30 03:06:02 /home/vinc17/.emacs.d/eln-cache/28.2-f17337a5/url-vars-04b97511-6e21ea42.eln

This cannot be reproduced in a new session, but I always get
disturbing warnings (this is bug 1018040, but I thought that
such warnings disappeared for some time).

The goal is to be able to run Emacs from a Firefox running in firejail.
There were no such issues in the past.

#1027737#10
Date:
2023-01-05 17:27:25 UTC
From:
To:
control: severity -1 normal

Hello,

It would be good to fix this, but I'm not sure why 'important' is
justified.

I would suggest asking about it upstream.