Bug 145174 - Attempt to dlopen() a missing libgcc3_java.so + searching for an .so by dlopen()'s
Summary: Attempt to dlopen() a missing libgcc3_java.so + searching for an .so by dlope...
Status: RESOLVED DUPLICATE of bug 144115
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: console-noise
  Show dependency treegraph
 
Reported: 2021-10-16 16:30 UTC by Eyal Rozenberg
Modified: 2022-01-23 03:44 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2021-10-16 16:30:39 UTC
When I run a daily build and create a new Writer document, I get, along with other console noise, two lines about failed attempts to open a Java-related shared object:

warn:sal.osl:4895:4895:sal/osl/unx/module.cxx:155: dlopen(/opt/libreofficedev7.3/program/libjava_gcc3.so, 257): /opt/libreofficedev7.3/program/libjava_gcc3.so: cannot open shared object file: No such file or directory
warn:sal.osl:4895:4895:sal/osl/unx/module.cxx:155: dlopen(/opt/libreofficedev7.3/program/libgcc3_java.so, 257): /opt/libreofficedev7.3/program/libgcc3_java.so: cannot open shared object file: No such file or directory

dlopen should not be attempted on a non-existent file. Even if the file was expected to exist (which it shouldn't - everything under  /opt/libreofficedev7.3/ was installed with LO 7.3's DEBs, so the contents of that directory should be known apriori) - there should still be an attempt to locate the file, then finally a dlopen() once the so has been found.
Comment 1 Eyal Rozenberg 2021-10-16 16:39:20 UTC
Build info:

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: c998691e22ceda15c89d55cf7005201f0392dadb
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-US (en_IL); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-10-14_11:54:20
Calc: threaded
Comment 2 Eyal Rozenberg 2021-12-14 19:31:20 UTC
Bug still manifests with:

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 250e4886d85a7e131da76f181b3fa7be02d1a76d
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US
Comment 3 Julien Nabet 2022-01-22 10:22:25 UTC

*** This bug has been marked as a duplicate of bug 144115 ***