<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - EDITING. 100% CPU usage after a few minutes with certain documents."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=118991">118991</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>EDITING. 100% CPU usage after a few minutes with certain documents.
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.0.5.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Mac OS X (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>laurens@norbit.no
</td>
</tr></table>
<p>
<div>
<pre>Since at least LO 6.0 some documents cause 100% CPU usage when they are open
for a few minutes.
After scrolling through the document from top to bottom reduces the CPU usage
to normal levels for a few minutes, but then the CPU gets back to 100%.
This is a deal-breaker for using LO on my laptop
OS: macOS High Sierra.
Profile: I recently made a new profile - no change
Document: happens in a work document, so I cannot share. It is quite a complex
document (quite a few included PNG files) - 6MB total doc. size, about 77 pages
I have the process sampled - include an extract here. Seems like the
AquaSalTimer takes a lot of time?
Sampling process 1307 for 3 seconds with 1 millisecond of run time between
samples
Sampling completed, processing symbols...
Analysis of sampling soffice (pid 1307) every 1 millisecond
Process: soffice [1307]
Path: /Applications/LibreOffice.app/Contents/MacOS/soffice
Load Address: 0x109f9c000
Identifier: org.libreoffice.script
Version: 6.0.5002 (6.0.5002)
Code Type: X86-64
Parent Process: ??? [1]
Date/Time: 2018-07-30 08:58:55.994 +0200
Launch Time: 2018-07-30 08:50:39.223 +0200
OS Version: Mac OS X 10.13.6 (17G2208)
Report Version: 7
Analysis Tool: /usr/bin/sample
Physical footprint: 355.7M
Physical footprint (peak): 482.8M
----
Call graph:
2577 Thread_28540 DispatchQueue_1: com.apple.main-thread (serial)
+ 2577 start (in libdyld.dylib) + 1 [0x7fff686b8015]
+ 2577 main (in soffice) + 16 [0x109f9cf50]
+ 2577 soffice_main (in libsofficeapp.dylib) + 230 [0x10a050c36]
+ 2577 SVMain() (in libvcllo.dylib) + 40 [0x10d88c348]
+ 2577 ImplSVMainHook(int*) (in libvcllo.dylib) + 353
[0x10d8f8ef1]
+ 2577 NSApplicationMain (in AppKit) + 804 [0x7fff3dd03a72]
+ 2577 -[NSApplication run] (in AppKit) + 812
[0x7fff3dd348b5]
+ 2577 -[VCL_NSApplication sendEvent:] (in libvcllo.dylib) +
79 [0x10d952b4f]
+ 2577 AquaSalInstance::handleAppDefinedEvent(NSEvent*)
(in libvcllo.dylib) + 159 [0x10d8f9caf]
+ 2577 ImplSVMain() (in libvcllo.dylib) + 91
[0x10d88b73b]
+ 2577 desktop::Desktop::Main() (in
libsofficeapp.dylib) + 2764 [0x10a02062c]
+ 2577 Application::Execute() (in libvcllo.dylib) +
256 [0x10d886150]
+ 2575 ImplYield(bool, bool) (in libvcllo.dylib) +
73 [0x10d886249]
+ ! 1825 AquaSalInstance::DoYield(bool, bool) (in
libvcllo.dylib) + 720 [0x10d8fa510]
+ ! : 1816 AquaSalTimer::callTimerCallback() (in
libvcllo.dylib) + 64 [0x10d8fd800]
+ ! : | 1390 Scheduler::ProcessTaskScheduling()
(in libvcllo.dylib) + 568 [0x10d877d78]
+ ! : | + 1324
sw::DocumentTimerManager::DoIdleJobs(Timer*) (in libswlo.dylib) + 535
[0x18c7e72a7]
+ ! : | + ! 1166 SwViewShell::LayoutIdle() (in
libswlo.dylib) + 338 [0x18cc4d5d2]
+ ! : | + ! : 571
SwLayIdle::SwLayIdle(SwRootFrame*, SwViewShellImp*) (in libswlo.dylib) + 129
[0x18c977be1]
+ ! : | + ! : | 333
SwLayIdle::DoIdleJob(SwLayIdle::IdleJobType, bool) (in libswlo.dylib) + 216
[0x18c977888]
+ ! : | + ! : | + 177
SwContentFrame::ImplGetNextContentFrame(bool) const (in libswlo.dylib) + 171
[0x18c94c55b]
+ ! : | + ! : | + ! 52 SwFrame::IsContentFrame()
const (in libswlo.dylib) + 54 [0x18c6ca466]
+ ! : | + ! : | + ! : 29
o3tl::typed_flags<SwFrameType>::Wrap operator&<SwFrameType>(SwFrameType,
o3tl::typed_flags<SwFrameType>::Wrap) (in libswlo.dylib) + 53,37,...
[0x18c6cc265,0x18c6cc255,...]
+ ! : | + ! : | + ! : 17
o3tl::typed_flags<SwFrameType>::Wrap operator&<SwFrameType>(SwFrameType,
o3tl::typed_flags<SwFrameType>::Wrap) (in libswlo.dylib) + 50 [0x18c6cc262]
+ ! : | + ! : | + ! : | 9
o3tl::is_typed_flags<SwFrameType, 64511>::Wrap::Wrap(int) (in libswlo.dylib) +
7,1,... [0x18c6cc317,0x18c6cc311,...]
+ ! : | + ! : | + ! : | 8
o3tl::is_typed_flags<SwFrameType, 64511>::Wrap::Wrap(int) (in libswlo.dylib) +
4 [0x18c6cc304]
+ ! : | + ! : | + ! : 5
o3tl::typed_flags<SwFrameType>::Wrap operator&<SwFrameType>(SwFrameType,
o3tl::typed_flags<SwFrameType>::Wrap) (in libswlo.dylib) + 37 [0x18c6cc255]
+ ! : | + ! : | + ! : | 5
o3tl::is_typed_flags<SwFrameType, 64511>::Wrap::operator int() const (in
libswlo.dylib) + 4,1,... [0x18c6cc2f4,0x18c6cc2f1,...]
+ ! : | + ! : | + ! : 1
o3tl::is_typed_flags<SwFrameType, 64511>::Wrap::Wrap(int) (in libswlo.dylib) +
5 [0x18c6cc305]
+ ! : | + ! : | + ! 48 SwFrame::IsContentFrame()
const (in libswlo.dylib) + 45 [0x18c6ca45d]</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>