diff options
| author | Erik Kundiman <erik@megapahit.org> | 2025-07-01 18:01:20 +0800 | 
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2025-07-01 18:01:20 +0800 | 
| commit | 6d9bda960f179aa8ea3765c10aa3140d22c74086 (patch) | |
| tree | d1ab95d78497455080303835cffd4f7c6ac0dbe5 /indra/newview | |
| parent | 71c8547184458fb5b2a79cec28787a6999cad4a6 (diff) | |
Fix media_plugin_cef failing on Linux aarch64
WARNING #Plugin# llplugin/llplugininstance.cpp(106) LLPluginInstance::load:
apr_dso_load of /usr/lib64/libmedia_plugin_cef.so failed with error 20019,
additional info string:
/usr/lib64/libcef.so: cannot allocate memory in static TLS block
https://github.com/chromiumembedded/cef/issues/3616
https://github.com/chromiumembedded/cef/issues/3803
https://magpcss.org/ceforum/viewtopic.php?t=19622
I tried adding mProcessParams.envs.add("LD_PRELOAD=/usr/lib64/libcef.so");
to indra/llplugin/llpluginprocessparent.cpp, it didn't get rid of the
error, but running `LD_PRELOAD=/usr/lib64/libcef.so megapahit` OR
`LD_PRELOAD=/usr/lib64/libmedia_plugin_cef.so megapahit` does.
It still doesn't load web pages, however, even though there are
process plugin activities.
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llappviewerlinux.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/indra/newview/llappviewerlinux.cpp b/indra/newview/llappviewerlinux.cpp index c1e8f38c51..9135921acc 100644 --- a/indra/newview/llappviewerlinux.cpp +++ b/indra/newview/llappviewerlinux.cpp @@ -126,7 +126,7 @@ int main( int argc, char **argv )      // install unexpected exception handler      gOldTerminateHandler = std::set_terminate(exceptionTerminateHandler); -    unsetenv( "LD_PRELOAD" ); // <FS:ND/> Get rid of any preloading, we do not want this to happen during startup of plugins. +    //unsetenv( "LD_PRELOAD" ); // <FS:ND/> Get rid of any preloading, we do not want this to happen during startup of plugins.      bool ok = viewer_app_ptr->init();      if(!ok) | 
