MantisBT - Open CASCADE
View Issue Details
0030480Open CASCADE[OCCT] OCCT:Visualizationpublic2019-02-06 20:232019-03-05 13:46
nds 
bugmaster 
normaltrivial 
verifiedfixed 
[OCCT] 6.9.0 
[OCCT] 7.4.0* 
Not needed
0030480: Visualization - Clear of Select3D_SensitiveGroup does not update internal container
Containers myBVHPrimIndexes and myEntities are used in Select3D_SensitiveGroup in a pair. In method Clear(), container myEntities is free, but myBVHPrimIndexes is not, but should be.
As a result we have wrong number of virtual method Size().

The problem is reproduced on PMIVis presentations and sometimes leads to crash during internal selection build as myEntities are requested by index of myBVHPrimIndexes that exceeds bounds of myEntities container.
No tags attached.
child of 0024623closed bugmaster Visualization - improve selection mechanism 
Issue History
2019-02-06 20:23ndsNew Issue
2019-02-06 20:23ndsAssigned To => kgv
2019-02-06 20:23ndsAssigned Tokgv => nds
2019-02-06 20:28gitNote Added: 0082055
2019-02-06 20:30ndsNote Added: 0082056
2019-02-06 20:30ndsAssigned Tonds => kgv
2019-02-06 20:30ndsStatusnew => resolved
2019-02-06 20:42kgvNote Added: 0082057
2019-02-06 20:42kgvAssigned Tokgv => bugmaster
2019-02-06 20:42kgvSeverityminor => trivial
2019-02-06 20:42kgvStatusresolved => reviewed
2019-02-06 20:43kgvRelationship addedchild of 0024623
2019-02-06 20:43kgvProduct Version => 6.9.0
2019-02-07 11:07bugmasterTest case number => Not needed
2019-02-08 10:05bugmasterNote Added: 0082078
2019-02-08 10:05bugmasterStatusreviewed => tested
2019-02-10 19:36bugmasterChangeset attached => occt master a7ced2a4
2019-02-10 19:36bugmasterStatustested => verified
2019-02-10 19:36bugmasterResolutionopen => fixed
2019-03-05 13:46gitNote Added: 0082638

Notes
(0082055)
git   
2019-02-06 20:28   
Branch CR30480 has been created by nds.

SHA-1: 8113d549d5a733cf73d97e60dc761271378e52e7


Detailed log of new commits:

Author: nds
Date: Wed Feb 6 20:20:47 2019 +0300

    0030480: Visualization - Clear of Select3D_SensitiveGroup does not update internal container
(0082056)
nds   
2019-02-06 20:30   
Dear Kirill

could you please review.
(0082057)
kgv   
2019-02-06 20:42   
Please raise the patch.
(0082078)
bugmaster   
2019-02-08 10:05   
tested in framework of WREEK-6 branch

Combination -
OCCT branch : WEEK-6 SHA - a7ced2a456dce4c99f7ad92b28923fb7ca75e5c3
Products branch : WEEK-6 SHA - 9aa25f353abc3855a46a51135af99c115d17b709
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 16398.100000000006 / 16363.790000000015 [+0.21%]
Products
Total CPU difference: 768.9699999999888 / 769.5799999999863 [-0.08%]
Windows-64-VC14:
OCCT
Total CPU difference: 17772.359375 / 17773.921875 [-0.01%]
Products
Total CPU difference: 8601.046875 / 8604.828125 [-0.04%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0082638)
git   
2019-03-05 13:46   
Branch CR30480 has been deleted by kgv.

SHA-1: 8113d549d5a733cf73d97e60dc761271378e52e7