<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - opening a file causes soffice.bin to use 100% CPU (one core), doing lstat calls all over the user's home dir, if profile exists"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=124622#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - opening a file causes soffice.bin to use 100% CPU (one core), doing lstat calls all over the user's home dir, if profile exists"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=124622">bug 124622</a>
from <span class="vcard"><a class="email" href="mailto:pasthelod@gmail.com" title="Pas <pasthelod@gmail.com>"> <span class="fn">Pas</span></a>
</span></b>
<pre>Some further info, it's stuck in a loop. :(
[pid 4583] lstat("/home/pas/.wine/dosdevices/z:", {st_mode=S_IFLNK|0777,
st_size=1, ...}) = 0
[pid 4583] lstat("/sys", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
...
[pid 4583] lstat("/home/pas/.wine/dosdevices/z:", {st_mode=S_IFLNK|0777,
st_size=1, ...}) = 0
[pid 4583] lstat("/sys", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
After GDB-ing it:
Thread 1 "soffice.bin" received signal SIGINT, Interrupt.
0x00007ffff11ab5f0 in uno_type_any_assign () from
/usr/lib/libreoffice/program/libuno_cppu.so.3
(gdb) bt
#0 0x00007ffff11ab5f0 in uno_type_any_assign () at
/usr/lib/libreoffice/program/libuno_cppu.so.3
#1 0x00007ffff65d7a6c in () at /usr/lib/libreoffice/program/libmergedlo.so
#2 0x00007ffff65d85a9 in () at /usr/lib/libreoffice/program/libmergedlo.so
#3 0x00007ffff65c9e81 in () at /usr/lib/libreoffice/program/libmergedlo.so
#4 0x00007ffff5d01002 in () at /usr/lib/libreoffice/program/libmergedlo.so
#5 0x00007ffff5d0109d in () at /usr/lib/libreoffice/program/libmergedlo.so
#6 0x00007ffff5d0109d in () at /usr/lib/libreoffice/program/libmergedlo.so
#7 0x00007ffff5d0109d in () at /usr/lib/libreoffice/program/libmergedlo.so
#8 0x00007ffff5d0109d in () at /usr/lib/libreoffice/program/libmergedlo.so
#9 0x00007ffff5d0109d in () at /usr/lib/libreoffice/program/libmergedlo.so
#10 0x00007ffff5d023c5 in () at /usr/lib/libreoffice/program/libmergedlo.so
#11 0x00007ffff5d02e0d in () at /usr/lib/libreoffice/program/libmergedlo.so
#12 0x00007ffff59a4b70 in () at /usr/lib/libreoffice/program/libmergedlo.so
#13 0x00007ffff59a60db in () at /usr/lib/libreoffice/program/libmergedlo.so
#14 0x00007ffff5992068 in () at /usr/lib/libreoffice/program/libmergedlo.so
#15 0x00007ffff5993390 in SfxDocumentTemplates::GetFull(rtl::OUString const&,
rtl::OUString const&, rtl::OUString&) () at
/usr/lib/libreoffice/program/libmergedlo.so
#16 0x00007ffff59c1da5 in () at /usr/lib/libreoffice/program/libmergedlo.so
#17 0x00007ffff5a1099c in
SfxBaseModel::connectController(com::sun::star::uno::Reference<com::sun::star::frame::XController>
const&) () at /usr/lib/libreoffice/program/libmergedlo.so
#18 0x00007ffff5a9ec38 in () at /usr/lib/libreoffice/program/libmergedlo.so
#19 0x00007ffff54802da in () at /usr/lib/libreoffice/program/libmergedlo.so
#20 0x00007ffff5481be6 in () at /usr/lib/libreoffice/program/libmergedlo.so
#21 0x00007ffff5422a41 in () at /usr/lib/libreoffice/program/libmergedlo.so
#22 0x00007ffff5423658 in () at /usr/lib/libreoffice/program/libmergedlo.so
#23 0x00007ffff4f73866 in
comphelper::SynchronousDispatch::dispatch(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>
const&, rtl::OUString const&, rtl::OUString const&,
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) ()
at /usr/lib/libreoffice/program/libmergedlo.so
#24 0x00007ffff5af1a61 in () at /usr/lib/libreoffice/program/libmergedlo.so
#25 0x00007ffff5af9723 in () at /usr/lib/libreoffice/program/libmergedlo.so
#26 0x00007ffff5adfc6f in () at /usr/lib/libreoffice/program/libmergedlo.so
#27 0x00007ffff5ae137a in () at /usr/lib/libreoffice/program/libmergedlo.so
#28 0x00007ffff67c81b0 in () at /usr/lib/libreoffice/program/libmergedlo.so
#29 0x00007ffff6a035d7 in SalUserEventList::DispatchUserEvents(bool) () at
/usr/lib/libreoffice/program/libmergedlo.so
#30 0x00007fffebc97899 in () at
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so
#31 0x00007ffff2f82958 in g_main_context_dispatch () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007ffff2f82d48 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007ffff2f82ddc in g_main_context_iteration () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fffebc98b43 in () at
/usr/lib/libreoffice/program/libvclplug_gtk3lo.so
#35 0x00007ffff6a290f2 in () at /usr/lib/libreoffice/program/libmergedlo.so
#36 0x00007ffff6a2ae75 in Application::Execute() () at
/usr/lib/libreoffice/program/libmergedlo.so
#37 0x00007ffff5ae28a3 in () at /usr/lib/libreoffice/program/libmergedlo.so
#38 0x00007ffff6a31602 in ImplSVMain() () at
/usr/lib/libreoffice/program/libmergedlo.so
#39 0x00007ffff5b00981 in soffice_main () at
/usr/lib/libreoffice/program/libmergedlo.so
#40 0x000055555555507b in ()
#41 0x00007ffff3a0cb6b in __libc_start_main () at
/lib/x86_64-linux-gnu/libc.so.6
#42 0x00005555555550ba in ()
Which corresponds to what strace shows. (The dirwalk loops starts after loading
libuno_cppu.so.3.)
[pid 4933] lstat("/usr/lib/libreoffice/program/libuno_cppu.so.3",
{st_mode=S_IFREG|0644, st_size=228360, ...}) = 0
[pid 4933] lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 4933] lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 4933] lstat("/home/pas", {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0
[pid 4933] access("/home/pas", F_OK) = 0
[pid 4933] openat(AT_FDCWD, "/home/pas",
O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 17
[pid 4933] fstat(17, {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0
[pid 4933] getdents64(17, /* 217 entries */, 32768) = 7200
[pid 4933] lstat("/home/pas/.IdeaIC2019.1", {st_mode=S_IFDIR|0775,
st_size=4096, ...}) = 0
[pid 4933] openat(AT_FDCWD, "/home/pas/.IdeaIC2019.1",
O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 18
...
... endless loop.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>