https://bugs.documentfoundation.org/show_bug.cgi?id=167631

--- Comment #1 from Stephan Bergmann <[email protected]> ---
That pipe set up by the soffice.bin process (PipeIpcThread::enable in
desktop/source/app/officeipcthread.cxx, calling osl_psz_createPipe in
sal/osl/unx/pipe.cxx) and connected to by oosplash processes (get_pipe_path and
connect_pipe in desktop/unx/source/start.c) is used to ensure that at most one
soffice.bin process is ever running (per UserInstallation).  For that to work,
both ends must apparently agree on the same pathname for the pipe.(this appears
to already be somewhat broken, as since
<https://git.libreoffice.org/core/+/d83eb4b9ff792080f3c0012f7e0b59ed3c8639ce%5E!>
"android: get osl_Pipe creation sorted out, before we kill it." the
osl_psz_createPipe end additionally checks a OSL_SOCKET_PATH env var, while the
get_pipe path end does not).  So it would be a bad idea if we would use TMPDIR,
and the first instance of soffice -> oosplash -> soffice.bin was run with one
value of TMPDIR, while another instance of soffice -> oosplash was run with
another value of TMPDIR, and would start a second soffice.bin.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to