Bug 134502 - _CxxUnregisterExceptionObject VCRUNTIME140 _RTDynamicCast from drawinglayer::primitive2d::arePrimitive2DReferencesEqual
Summary: _CxxUnregisterExceptionObject VCRUNTIME140 _RTDynamicCast from drawinglayer::...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.6.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevAdvice
Depends on:
Blocks:
 
Reported: 2020-07-04 15:42 UTC by Telesto
Modified: 2022-02-16 15:21 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (1008.27 KB, application/vnd.oasis.opendocument.text)
2020-07-04 16:08 UTC, Telesto
Details
BT with symbols VTune Profiler based on x39 build (3.74 KB, text/plain)
2020-07-06 14:36 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-07-04 15:42:48 UTC
Description:
_CxxUnregisterExceptionObject	VCRUNTIME140	_RTDynamicCast from drawinglayer::primitive2d::arePrimitive2DReferencesEqual

Steps to Reproduce:
1. open the attached file
2. Scroll down
3. Create flamegraph. or monitor activity with Very Sleepy CS

Actual Results:
18% of the is spend in _RTDynamicCast and _CxxUnregisterExceptionObject	

_CxxUnregisterExceptionObject
_RTDynamicCast
drawinglayer::primitive2d::arePrimitive2DReferencesEqual
drawinglayer::primitive2d::Primitive2DContainer::operator==
sdr::contact::ViewContact::getViewIndependentPrimitive2DContainer
sdr::contact::ViewObjectContact::createPrimitive2DSequence
sdr::contact::ViewObjectContactRedirector::createRedirectedPrimitive2DSequence
SwViewOption::SetZoom

Expected Results:
Looks pointless


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.1.0.0.alpha0+ (x64)
Build ID: c48e4d795e37f23b71d647247590807ab9e52223
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2020-07-04 15:56:15 UTC
Also in
Version: 6.0.5.0.0+
Build ID: 15ea1cda0b3c37ff944ad9a239b7ed453e8b0591
CPU threads: 4; OS: Windows 6.3; UI render: default; 
Locale: nl-NL (nl_NL); Calc: CL

Similar percentage.

Also in
Version: 5.0.6.3
Build ID: 490fc03b25318460cfc54456516ea2519c11d1aa
Locale: en-US (nl_NL)

However, CPU only talking about 1,5% of the CPU time.. (so clearly better)

No exception in 4.4.7.2
strcmp
_RTDynamicCast
drawinglayer::primitive2d::arePrimitive2DReferencesEqual
drawinglayer::primitive2d::arePrimitive2DSequencesEqual
sdr::contact::ViewContact::getViewIndependentPrimitive2DSequence

CPU time in this area, 0,63%
Comment 2 Telesto 2020-07-04 16:07:36 UTC
Luboš Luňák
No clue how I should rate this kind of 'issue'.  Except it appears to impact the performance in large > 600 pages bug docs (especially if you looking at a bug doc with a multitude of _CxxUnregisterExceptionObject errors in different area's). 

Not even sure who to ask, you Armin Le Grand or Tomaž Vajngerl  

And the other part is of course, does this require a bibisect c.q. would a bibisect be helpful. Or is this related to changes to the VCRUNTIME. LibreOffice 4.4.7.2 uses 110. LibreOffice 5.0.6.3 1.2?
Comment 3 Telesto 2020-07-04 16:08:00 UTC
Created attachment 162634 [details]
Example file
Comment 4 Telesto 2020-07-06 14:36:54 UTC
Created attachment 162720 [details]
BT with symbols VTune Profiler based on x39 build
Comment 5 Luboš Luňák 2021-04-20 10:23:23 UTC
I expect b236b36475ed9a204ac931c34ccc23205296a0a6 handled this.
Comment 6 Telesto 2021-04-20 11:41:17 UTC
(In reply to Luboš Luňák from comment #5)
> I expect b236b36475ed9a204ac931c34ccc23205296a0a6 handled this.

Thanks for the notification .. will check tomorrow
Comment 7 Telesto 2022-02-16 15:21:40 UTC
Seems OK to me
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 2bb10a827ac13d0caf009e8526ccd9f17dc71653
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL