The plugin child is started through the bundled loader with an explicit
--library-path, which is what its own dlopen()s search; the LD_LIBRARY_PATH it
also inherits is not needed by it, but is inherited again by anything the
plugin spawns. Flash for Linux runs sh -c "ps x | grep netscape" at start-up:
the device's own /bin/sh (glibc 2.8) then loaded the bundled glibc 2.23 and
died with SIGSEGV, leaving a crash report for every page with Flash on it.
Unset it at child start-up, only when the bundled loader is in use
(MOZ_CHILD_PROCESS_LOADER), so a desktop build keeps its environment.
On the device: a Flash page loads and plays, and no report is written.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LcrVQFRMC2ANGDfVaRG9Ed
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from embedding, extensions, gfx, hal, ipc, layout, mailnews,
media and memory. More to come.