[Libreoffice-bugs] [Bug 132100] New: jails full of debugsource

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 14 15:53:42 UTC 2020


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

            Bug ID: 132100
           Summary: jails full of debugsource
           Product: LibreOffice Online
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: michael.meeks at collabora.com

There is no need or usefulness to have debugsource inside our jails. The shared
versions are accessed from the parent file-system:

This is an strace of a gdb in the parent system attaching to and getting
debuginfo from various files / symbols:

6712  open("/opt/collaboraoffice6.2/program/libuno_cppu.so.3", O_RDONLY) = 9
...
6712  write(1, "Reading symbols from
/opt/collaboraoffice6.2/program/libuno_cppu.so.3...", 72) = 72
6712  lseek(9, 237568, SEEK_SET)        = 237568
...

6712  brk(0x3903000)                    = 0x3903000
6712  stat("/opt/collaboraoffice6.2/debugsource/sal/rtl/ustring.cxx",
{st_mode=S_IFREG|0644, st_size=51458, ...}) = 0
6712  open("/opt/collaboraoffice6.2/debugsource/sal/rtl/ustring.cxx",
O_RDONLY|O_CLOEXEC) = 8
6712  lstat("/opt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
6712  lstat("/opt/collaboraoffice6.2", {st_mode=S_IFDIR|0755, st_size=4096,
...}) = 0
6712  lstat("/opt/collaboraoffice6.2/debugsource", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
6712  lstat("/opt/collaboraoffice6.2/debugsource/sal", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
6712  lstat("/opt/collaboraoffice6.2/debugsource/sal/rtl",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
6712  lstat("/opt/collaboraoffice6.2/debugsource/sal/rtl/ustring.cxx",
{st_mode=S_IFREG|0644, st_size=51458, ...}) = 0
6712  close(8)                          = 0
6712  ptrace(PTRACE_PEEKTEXT, 6607, 0x7fc92787cb30, [0xf39740ab60ff685]) = 0
6712  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
6712  write(1, "Breakpoint 1 at 0x7fc92787cb30: file
/opt/collaboraoffice6.2/debugsource/sal/rtl/ustring.cxx, line 241.\n", 104) =
104
6712  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
6712  rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
6712  rt_sigaction(SIGINT, {0x5d4860, [INT], SA_RESTORER|SA_RESTART,
0x7fe2e44d74b0}, {0x5d4860, [INT], SA_RESTORER|SA_RESTART, 0x7fe2e510f390}, 8)
= 0

...

6712  lstat("/opt/collaboraoffice6.2", {st_mode=S_IFDIR|0755, st_size=4096,
...}) = 0
6712  lstat("/opt/collaboraoffice6.2/program", {st_mode=S_IFDIR|0755,
st_size=40960, ...}) = 0
6712  open("/opt/collaboraoffice6.2/program/libuno_cppu.so.3.dbg",
O_RDONLY|O_CLOEXEC) = 10


./yrjkcS2dBglG2z3E/lo/program/libnssckbi.so.dbg
./yrjkcS2dBglG2z3E/lo/program/libplc4.so.dbg
./yrjkcS2dBglG2z3E/lo/program/libsoftokn3.so.dbg
./yrjkcS2dBglG2z3E/lo/program/libplds4.so.dbg

#3  0x00007fc92cf2407c in SotStorage::GetFormatID (xStorage=...) at
/opt/collaboraoffice6.2/debugsource/sot/source/sdstor/storage.cxx:775
775             return SotExchange::GetFormat( aDataFlavor );

All of those paths and files are accessed not from the jail, but the parent -
so un-necessary ...

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200414/e9666939/attachment.htm>


More information about the Libreoffice-bugs mailing list