Bug 104700 - SAL_LOG flooded DoYield; Leave ImplYield, Enter ImplYield
Summary: SAL_LOG flooded DoYield; Leave ImplYield, Enter ImplYield
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevAdvice
Depends on:
Blocks:
 
Reported: 2016-12-15 14:51 UTC by Telesto
Modified: 2016-12-15 15:17 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
SAL_LOG=+TIMESTAMP+INFO,+WARN LO5400 (123.89 KB, application/vnd.oasis.opendocument.spreadsheet)
2016-12-15 14:52 UTC, Telesto
Details
Screencast while creating SAL_LOG (2.24 MB, video/x-msvideo)
2016-12-15 14:53 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2016-12-15 14:51:17 UTC
Description:
Don't know if it should report separately. I indirectly reported it already on MacOS (bug 103571 and bug 99784), but it issue also exists on Windows

Steps to Reproduce:
1.Download and install Cygwin
2.Run in Cygwin: SAL_LOG=+INFO+WARN+RELATIVETIMER '/cygdrive/c/Program Files (x86)/LibreOfficeDev 5/program/swriter.exe'
3.Move the mouse over the blank document



Actual Results:  
SAL_LOG is flooded with DoYield; Leave ImplYield, Enter ImplYield and only moving around the mouse uses 2% CPU power 

Expected Results:
I suppose it shouldn't be happening


Reproducible: Always

User Profile Reset: No

Additional Info:
Version: 5.4.0.0.alpha0+
Build ID: d538d3d84172a74dfe97d59a6d3daf9a45459cab
CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-12-14_00:28:59
Locale: nl-NL (nl_NL); Calc: CL


User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Comment 1 Telesto 2016-12-15 14:52:49 UTC
Created attachment 129672 [details]
SAL_LOG=+TIMESTAMP+INFO,+WARN LO5400
Comment 2 Telesto 2016-12-15 14:53:45 UTC
Created attachment 129673 [details]
Screencast while creating SAL_LOG

I used:
Version: 5.4.0.0.alpha0+
Build ID: d538d3d84172a74dfe97d59a6d3daf9a45459cab
CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-12-14_00:28:59
Locale: nl-NL (nl_NL); Calc: CL
Comment 3 Markus Mohrhard 2016-12-15 15:17:57 UTC
Absolutely expected.

Don't enable the logging if you don't know what you are doing. Especially enabling +INFO without limiting to a subset causes huge amounts of log messages.

Keep in mind that the whole SAL_LOG feature is only available in developer builds and is used for debugging.