-
Because librewolf is a distribution of firefox, this issue applies to firefox as well. My bookmark manager opens each of multiple chosen bookmarks with an invocation of This librewolf.local allows me to open one new tab at a time.
But, if I try to open several new tabs at a time, librewolf becomes unresponsive and quits with an error after a while. This is the error.
If I don't sandbox librewolf with firejail, there is no error when opening multiple new librewolf tabs at once. Disabling dbus filter in a sandbox doesn't fix the issue. Is there anything else that I have to whitelist? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 17 replies
-
[...]
Does the following help?
Example: firejail --join-or-start=librewolf123 librewolf --new-tab URL Note: If you have multiple librewolf profiles, you can use a different sandbox |
Beta Was this translation helpful? Give feedback.
-
I can not reproduce this using i=0; while [[ $((i++)) -lt 100 ]]; do firefox --new-tab about:blank; done but I can reproduce it using firefox --new-tab about:blank & firefox --new-tab about:blank & firefox --new-tab about:blank & firefox --new-tab about:blank & firefox --new-tab about:blank & firefox --new-tab about:blank & firefox --new-tab about:blank & firefox --new-tab about:blank
# or
cmd=(firefox --new-tab about:blank); ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} For me this looks like a deadlock, maybe caused by a race condition or broken/missing synchronization. I can not reproduce this using $ bwrap --dev-bind / / --tmpfs $HOME --unshare-all /bin/bash
% /usr/bin/firefox >/dev/null 2>/dev/null & { sleep 20s; cmd=(/usr/bin/firefox --new-tab about:blank); ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]}; }
# or
$ firejail --noprofile --private
% /usr/bin/firefox >/dev/null 2>/dev/null & { sleep 20s; cmd=(/usr/bin/firefox --new-tab about:blank); ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]} & ${cmd[@]}; } |
Beta Was this translation helpful? Give feedback.
-
This discussion is moved to #4543 |
Beta Was this translation helpful? Give feedback.
-
Could you open a PR to add this to librewolf.profile? |
Beta Was this translation helpful? Give feedback.
This discussion is moved to #4543