[Bug 778367] New: Libreoffice start up too slow
https://bugzilla.novell.com/show_bug.cgi?id=778367 https://bugzilla.novell.com/show_bug.cgi?id=778367#c0 Summary: Libreoffice start up too slow Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: LibreOffice AssignedTo: bnc-team-ooo@forge.provo.novell.com ReportedBy: systemofdown@gmail.com QAContact: cwei@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1226.0 Safari/537.4 SUSE/22.0.1226.0 Libreoffice takes 25 seconds to start strace says: read(4, 0x651c94, 4096) = -1 EAGAIN (Resource temporarily unavailable) at this part it stuck for about 20 seconds. the java version "1.7.0_06" Reproducible: Always Steps to Reproduce: 1.run libreoffice -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=778367 https://bugzilla.novell.com/show_bug.cgi?id=778367#c Thiago Lucio <systemofdown@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=778367 https://bugzilla.novell.com/show_bug.cgi?id=778367#c1 Yifan Jiang <yfjiang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yfjiang@suse.com QAContact|cwei@suse.com |yfjiang@suse.com --- Comment #1 from Yifan Jiang <yfjiang@suse.com> 2012-09-03 10:23:19 UTC --- I will take a look at it later on in openSUSE. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=778367 https://bugzilla.novell.com/show_bug.cgi?id=778367#c2 --- Comment #2 from Yifan Jiang <yfjiang@suse.com> 2012-09-19 06:00:14 UTC --- I see the similar problem in 12.2 but it is not always reproduceable. In my environment, for 5-10 times launching libreoffice will meet the slow launch problem once. Here are some sample section I can get from strace: 19942 15:05:18.150150 recvfrom(10, 0x183fb14, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable) 19942 15:05:18.150353 recvfrom(10, 0x183fb14, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable) 19942 15:05:18.150584 recvfrom(10, 0x183fb14, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable) 19942 15:05:18.150679 poll([{fd=7, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=10, events=POLLIN}], 4, 0) = 0 (Timeout) 19942 15:05:18.150788 read(7, 0x7fff2237a500, 16) = -1 EAGAIN (Resource temporarily unavailable) 19942 15:05:18.150881 recvfrom(10, 0x183fb14, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable) 19942 15:05:18.150982 recvfrom(10, 0x183fb14, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable) 19942 15:05:18.151077 select(11, [3 10], NULL, [10], {872, 675747}) = 1 (in [10], left {872, 668830}) 19942 15:05:18.158291 select(11, [10], NULL, [], {0, 0}) = 1 (in [10], left {0, 0}) 19942 15:05:18.158498 recvfrom(10, "\34\0\236\3P\1\0\0002\1\0\0v\257d\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\34\0\236\3P\1\0\0002\1\0\0v\257d\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096, 0, NULL, NULL) = 64 19942 15:05:18.158632 recvfrom(10, 0x183fb14, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable) 19942 15:05:18.158863 poll([{fd=7, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=10, events=POLLIN}], 4, 0) = 0 (Timeout) 19942 15:05:18.158990 read(7, 0x7fff2237a500, 16) = -1 EAGAIN (Resource temporarily unavailable) 19942 15:05:18.159128 recvfrom(10, 0x183fb14, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable) 19942 15:05:18.159244 recvfrom(10, 0x183fb14, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable) 19942 15:05:18.159350 select(11, [3 10], NULL, [10], {872, 667474} <unfinished ...> 19946 15:05:18.366618 <... poll resumed> ) = 0 (Timeout) 19946 15:05:18.366710 recvfrom(23, 0x29f6b34, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable) 19946 15:05:18.366753 poll([{fd=23, events=POLLIN}], 1, 1000 <unfinished ...> 19937 15:05:18.579162 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 19937 15:05:18.579243 futex(0x7f492de59160, FUTEX_WAKE_PRIVATE, 1) = 0 19937 15:05:18.579284 futex(0x7f492de593cc, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 7, {134 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=778367 https://bugzilla.novell.com/show_bug.cgi?id=778367#c3 --- Comment #3 from Yifan Jiang <yfjiang@suse.com> 2012-09-19 06:01:32 UTC --- Here is another section of strace log where I met this problem in another time: 20027 15:06:13.728554 pwrite(24, "States/org.openoffice.Office.UI.WindowState:WindowStateType['private:resource/toolbar/textobjectbar']\"><prop oor:name=\"ContextActive\" oor:op=\"fuse\"><value>true</value></prop></item><item oor:path=\"/org.openoffice.Office.UI.WriterWindowState/UIElements/States/org.openoffice.Office.UI.WindowState:WindowStateType['private:resource/toolbar/textobjectbar']\"><prop oor:name=\"ContextSensitive\" oor:op=\"fuse\"><value>true</value></prop></item><item oor:path=\"/org.openoffice.Office.UI.WriterWindowState/UIElements/State"..., 4096, 86016) = 4096 20027 15:06:13.728713 pread(24, "", 4096, 90112) = 0 20027 15:06:13.729039 pwrite(24, "g.openoffice.Office.Views/Windows\"><node oor:name=\"10370\" oor:op=\"replace\"><node oor:name=\"UserData\"><prop oor:name=\"Data\" oor:op=\"fuse\" oor:type=\"xs:string\"><value>V2,H,0,AL:(5,16,0/0/228/350,228;811)</value></prop></node><prop oor:name=\"Visible\" oor:op=\"fuse\"><value xsi:nil=\"true\"/></prop><prop oor:name=\"WindowState\" oor:op=\"fuse\"><value></value></prop></node></item><item oor:path=\"/org.openoffice.Office.Views/Windows\"><node oor:name=\"22305\" oor:op=\"replace\"><node oor:name=\"UserData\"><prop oor:name=\"Data\""..., 4096, 90112) = 4096 20027 15:06:13.729197 pread(24, "", 4096, 94208) = 0 20027 15:06:13.729570 pwrite(24, ":op=\"fuse\"><value>true</value></prop></item><item oor:path=\"/org.openoffice.Office.Writer/Layout/Other\"><prop oor:name=\"IsSquaredPageMode\" oor:op=\"fuse\"><value>true</value></prop></item><item oor:path=\"/org.openoffice.Office.Writer/Layout/Other\"><prop oor:name=\"MeasureUnit\" oor:op=\"fuse\"><value>8</value></prop></item><item oor:path=\"/org.openoffice.Office.Writer/Layout/Other\"><prop oor:name=\"TabStop\" oor:op=\"fuse\"><value>1251</value></prop></item><item oor:path=\"/org.openoffice.Office.Writer/Layout/ViewLayo"..., 3901, 94208) = 3901 20027 15:06:13.729760 close(24) = 0 20027 15:06:13.730010 rename("/home/jamie/.config/libreoffice/3-suse/user/yQIGZX", "/home/jamie/.config/libreoffice/3-suse/user/registrymodifications.xcu") = 0 20027 15:06:13.730556 madvise(0x7f8f16cc2000, 8368128, MADV_DONTNEED) = 0 20027 15:06:13.730714 _exit(0) = ? 20027 15:06:13.730844 +++ exited with 0 +++ 20025 15:06:17.835311 <... poll resumed> ) = 0 (Timeout) 20025 15:06:17.835539 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 24 20025 15:06:17.835682 connect(24, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("203.192.163.124")}, 16) = 0 20025 15:06:17.835818 poll([{fd=24, events=POLLOUT}], 1, 0) = 1 ([{fd=24, revents=POLLOUT}]) 20025 15:06:17.835926 sendto(24, "Vv\1\0\0\1\0\0\0\0\0\0\10qa_yuke3\3lab\3bej\4apac\6novell\3com\0\0\1\0\1", 50, MSG_NOSIGNAL, NULL, 0) = 50 20025 15:06:17.836186 poll([{fd=24, events=POLLIN}], 1, 3000) = 0 (Timeout) 20025 15:06:20.839593 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 25 20025 15:06:20.839834 connect(25, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("203.192.133.9")}, 16) = 0 20025 15:06:20.839970 poll([{fd=25, events=POLLOUT}], 1, 0) = 1 ([{fd=25, revents=POLLOUT}]) 20025 15:06:20.840076 sendto(25, "Vv\1\0\0\1\0\0\0\0\0\0\10qa_yuke3\3lab\3bej\4apac\6novell\3com\0\0\1\0\1", 50, MSG_NOSIGNAL, NULL, 0) = 50 20025 15:06:20.840688 poll([{fd=25, events=POLLIN}], 1, 6000 <unfinished ...> 20020 15:06:20.965399 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 20020 15:06:20.965823 futex(0x7f375b001160, FUTEX_WAKE_PRIVATE, 1) = 0 20020 15:06:20.966006 futex(0x7f375b0013cc, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 3, {1348038390, 965768000}, ffffffff <unfinished ...> 20026 15:06:21.130137 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 20026 15:06:21.130341 futex(0x7f8f31bef160, FUTEX_WAKE_PRIVATE, 1) = 0 20026 15:06:21.130445 futex(0x7f8f31bef3cc, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 3, {1348038391, 130317000}, ffffffff <unfinished ...> 20025 15:06:26.846904 <... poll resumed> ) = 0 (Timeout) 20025 15:06:26.847088 poll([{fd=23, events=POLLOUT}], 1, 0) = 1 ([{fd=23, revents=POLLOUT}]) 20025 15:06:26.847293 sendto(23, "Vv\1\0\0\1\0\0\0\0\0\0\10qa_yuke3\3lab\3bej\4apac\6novell\3com\0\0\1\0\1", 50, MSG_NOSIGNAL, NULL, 0) = 50 20025 15:06:26.847537 poll([{fd=23, events=POLLIN}], 1, 5000 <unfinished ...> 20020 15:06:30.965911 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 20020 15:06:30.966117 futex(0x7f375b001160, FUTEX_WAKE_PRIVATE, 1) = 0 20020 15:06:30.966287 futex(0x7f375b0013cc, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 5, {1348038400, 966092000}, ffffffff <unfinished ...> 20026 15:06:31.130482 <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) 20026 15:06:31.130669 futex(0x7f8f31bef160, FUTEX_WAKE_PRIVATE, 1) = 0 20026 15:06:31.130777 futex(0x7f8f31bef3cc, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 5, {1348038401, 130646000}, ffffffff <unfinished ...> 20025 15:06:31.852688 <... poll resumed> ) = 0 (Timeout) 20025 15:06:31.853123 poll([{fd=24, events=POLLOUT}], 1, 0) = 1 ([{fd=24, revents=POLLOUT}]) 20025 15:06:31.853717 sendto(24, "Vv\1\0\0\1\0\0\0\0\0\0\10qa_yuke3\3lab\3bej\4apac\6novell\3com\0\0\1\0\1", 50, MSG_NOSIGNAL, NULL, 0) = 50 20025 15:06:31.853902 poll([{fd=24, events=POLLIN}], 1, 3000) = 0 (Timeout) 20025 15:06:34.857205 poll([{fd=25, events=POLLOUT}], 1, 0) = 1 ([{fd=25, revents=POLLOUT}]) 20025 15:06:34.857436 sendto(25, "Vv\1\0\0\1\0\0\0\0\0\0\10qa_yuke3\3lab\3bej\4apac\6novell\3com\0\0\1\0\1", 50, MSG_NOSIGNAL, NULL, 0) = 50 20025 15:06:34.857688 poll([{fd=25, events=POLLIN}], 1, 6000 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=778367 https://bugzilla.novell.com/show_bug.cgi?id=778367#c4 Yifan Jiang <yfjiang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |mmeeks@suse.com --- Comment #4 from Yifan Jiang <yfjiang@suse.com> 2012-09-19 06:03:54 UTC --- Hi Michael, Would you help to take a look what's more information can I provide for more diagnosing :) Not sure if there's any suspicious stuff in the strace log? Thank you! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=778367 https://bugzilla.novell.com/show_bug.cgi?id=778367#c5 Michael Meeks <mmeeks@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mmeeks@suse.com InfoProvider|mmeeks@suse.com |systemofdown@gmail.com --- Comment #5 from Michael Meeks <mmeeks@suse.com> 2012-09-19 09:58:12 UTC --- 20 second delays are almost always symptoms of DNS mis-configuration; perhaps we've become sensitive to this again in error: I could have sworn we had removed this nonsense from our startup in the past. I'd need a full strace to get to the bottom of that. Thiago can you run: time ping `hostname` time dig -x `hostname` and see if you get a 20second delay somewhere there ? :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=778367 https://bugzilla.novell.com/show_bug.cgi?id=778367#c6 --- Comment #6 from Yifan Jiang <yfjiang@suse.com> 2012-12-12 03:15:09 UTC --- Thiago, Is there any updated information here? And it would be nice if seeing how does it look like in 3.6 build :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=778367 https://bugzilla.novell.com/show_bug.cgi?id=778367#c7 --- Comment #7 from Michael Meeks <mmeeks@suse.com> 2012-12-12 10:48:52 UTC --- This is a domain-name lookup: 20025 15:06:17.836186 poll([{fd=24, events=POLLIN}], 1, 3000) = 0 (Timeout) 20025 15:06:20.839593 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 25 20025 15:06:20.839834 connect(25, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("203.192.133.9")}, 16) = 0 20025 15:06:20.839970 poll([{fd=25, events=POLLOUT}], 1, 0) = 1 ([{fd=25, revents=POLLOUT}]) 20025 15:06:20.840076 sendto(25, "Vv\1\0\0\1\0\0\0\0\0\0\10qa_yuke3\3lab\3bej\4apac\6novell\3com\0\0\1\0\1", 50, MSG_NOSIGNAL, NULL, 0) = 50 I -imagine- that (somehow) the dumb reverse-lookup bug has come back. Can you run those 'time' calls ? a few dozen times and see what the results are ? The idea that it is fast to do a reverse/forward lookup on our hostname is one that we have tried to stamp out of the code all over the desktop & in LibreOffice for many years. It keeps coming back sadly. Without that information; I'd be inclined to close this bug. Almost - better is getting a stack-trace: 20 seconds is long enough to attach gdb, and do a: thread apply all backtrace and attach the output here. Otherwise, I guess we'd need to close this ( no info ). Unless you can reproduce it Yifan ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=778367 https://bugzilla.novell.com/show_bug.cgi?id=778367#c8 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|systemofdown@gmail.com | Resolution| |NORESPONSE --- Comment #8 from Andreas Jaeger <aj@suse.com> 2014-07-28 12:10:33 UTC --- No reaction for a long time, closing as noresponse -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com