Open Bug 1825202 Opened 2 years ago Updated 2 years ago

Firefox ESR 102.x on Linux crashes in libxul.so when nproc limit reached

Categories

(Core :: Widget: Gtk, defect)

Firefox 102
defect

Tracking

()

UNCONFIRMED

People

(Reporter: a.ott, Unassigned)

Details

Steps to reproduce:

Set an nproc rlimit at 1000 processes/threads per user and open several tabs with huge websites. Should be easy to trigger with e.g. 200.

Actual results:

Tabs and after a while main thread with whole Firefox crash in libxul.so with segmentation fault.

Expected results:

libxul should catch the failed start of new threads and exit the tab gracefully, in best case with a message on screen. If main thread fails to start a new thread, it should e.g. kill the oldest tab or least recently used tab and retry, but never ever crash.

The segmentation faults indicate a missing handling of failed thread startups.

Forgot to mention: this happens with Firefox ESR 102.x, latest tests with 102.9 compiled with GCC 12.

Summary: Firefox 102 on Linux crashes in libxul.so when nproc limit reached → Firefox ESR 102.x on Linux crashes in libxul.so when nproc limit reached

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.