Apache OpenOffice (AOO) Bugzilla – Issue 84719
osl_getModuleURLFromAddress computes wrong path
Last modified: 2013-02-07 21:50:49 UTC
At least on some Linuxs, osl_getModuleURLFromAddress (sal/osl/unx/module.c:1.38 l. 258), when asked for an address in the executable (e.g., osl_bootstrap_getExecutableFile_Impl at sal/osl/unx/process_impl.cxx:1.11 l. 152 asking for "main"), may get a relative dli_fname from dladdr, which it will erroneously make absolute relative to the cwd. For example, setting PATH to point to solver's bin directory and executing testshl2 (without path), while the cwd is somewhere completely unrelated, leads to this problem.
.