You are not logged in.

#1 2017-05-19 07:53:54

kitteboss
Member
Registered: 2015-07-08
Posts: 12

[SOLVED][firejail] Firefox crashes on startup in firejail 0.9.46-1

Hi,
after upgrading firejail to 0.9.46-1, firefox as well as thunderbird won't start inside the sandbox anymore.
I did not modify the standard profiles.

Firejail spits out the following:

(firefox:7): Gdk-ERROR **: The program 'firefox' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 327 error_code 2 request_code 130 (unknown) minor_code 3)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
ExceptionHandler::GenerateDump cloned child 79
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...

Versions are:

firefox 53.0.2-1
firejail 0.9.46-1
thunderbird 52.1.1-1

Any ideas how to change the firejail profiles to let firefox communicate correctly with X?

Last edited by kitteboss (2017-05-27 10:14:58)

Offline

#2 2017-05-19 10:46:18

seth
Member
Registered: 2012-09-03
Posts: 51,617

Re: [SOLVED][firejail] Firefox crashes on startup in firejail 0.9.46-1

request_code 130

should be MIT-SHM
ipc-namespace problem?

after upgrading firejail to 0.9.46-1

Just to be sure: you're not conducting partial updates, are you?

And ceterum censeo: is this gnome on wayland (ie. using xwayland)?

Offline

#3 2017-05-19 12:47:54

glavin
Member
Registered: 2015-07-08
Posts: 22

Re: [SOLVED][firejail] Firefox crashes on startup in firejail 0.9.46-1

Yes it's due to ipc-namespace. Create a folder named firejail under ~/.config, copy firefox and thunderbird profiles (/etc/firejail/) to this folder. Comment ipc-namespace in the firefox profile and under thunderbird profile add the path to include custom firefox.profile i.e include ~/.config/firejail/firefox.profile

Last edited by glavin (2017-05-19 12:50:30)


Speak your mind even if your voice shakes.

Offline

#4 2017-05-19 16:15:51

H.Humpel
Member
Registered: 2016-08-23
Posts: 4

Re: [SOLVED][firejail] Firefox crashes on startup in firejail 0.9.46-1

Same problem here.

glavin's solution fixed it cool .

Thanks a lot!

Offline

#5 2017-05-19 18:10:05

kitteboss
Member
Registered: 2015-07-08
Posts: 12

Re: [SOLVED][firejail] Firefox crashes on startup in firejail 0.9.46-1

Sorry for my inactivity, my job got in my way wink

seth wrote:

And ceterum censeo: is this gnome on wayland (ie. using xwayland)?

No, no partial updates smile and it's KDE Plasma on X.

@galvin thanks a lot for the workaround

Offline

#6 2017-05-20 23:33:06

linuxpragma
Member
Registered: 2016-12-01
Posts: 8

Re: [SOLVED][firejail] Firefox crashes on startup in firejail 0.9.46-1

Glad kitteboss posted the firejail last update bug. I am having the same problem in xfce4. I didnt had the time to open a topic.
Using the "restart" instead of "quit" option on the crash dialogue gets FF running as expected. Opening a Private Mode window using the file menu or shortcuts also works. Havn't noticed other messages after this concerning the functionality of the sandbox. I use firejail with Transmission, VLC, gimp regularly. Last update hvnt affected anything on them - it's just with FF on my mashines. I havnt downgrade the packet as the incovenience is only in the warning message and the selection of "restart".

Thank you very much for the solution !

Last edited by linuxpragma (2017-05-20 23:35:54)

Offline

#7 2017-05-27 10:13:47

kitteboss
Member
Registered: 2015-07-08
Posts: 12

Re: [SOLVED][firejail] Firefox crashes on startup in firejail 0.9.46-1

Issue closed upstream by commenting out ipc-namespace

https://github.com/netblue30/firejail/issues/1287
https://bugs.archlinux.org/task/54128

Last edited by kitteboss (2017-05-27 10:16:40)

Offline

Board footer

Powered by FluxBB