View Issue Details

IDProjectCategoryView StatusLast Update
0028033Open CASCADEOCCT:Visualizationpublic2021-03-20 14:09
Reporterkgv Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version7.0.0 
Target Version7.6.0 
Summary0028033: Visualization - Graphic3d_Camera::ZFitAll() throws exception on camera rotation
DescriptionZRange computed by Graphic3d_Camera::ZFitAll() throws exception "ZFar should be greater than ZNear" within Graphic3d_Camera::SetZRange() in some cases during camera rotation leading to application crash:

09 pc 00677d5b /data/app/org.opencascade.cadassistant-1/lib/arm/libCADAssistant.so (_ZNK21Standard_ProgramError5ThrowEv+42)
10 pc 0067801b /data/app/org.opencascade.cadassistant-1/lib/arm/libCADAssistant.so (_ZN21Standard_ProgramError5RaiseEPKc+38)
11 pc 00ae4b37 /data/app/org.opencascade.cadassistant-1/lib/arm/libCADAssistant.so (_ZN16Graphic3d_Camera9SetZRangeEdd+110)
12 pc 00ad44fb /data/app/org.opencascade.cadassistant-1/lib/arm/libCADAssistant.so (_ZNK8V3d_View7ZFitAllEd+110)
13 pc 00ad7573 /data/app/org.opencascade.cadassistant-1/lib/arm/libCADAssistant.so (_ZN8V3d_View6RotateEddddddj+898)
14 pc 00ad77ef /data/app/org.opencascade.cadassistant-1/lib/arm/libCADAssistant.so (_ZN8V3d_View8RotationEii+158)
Steps To ReproduceThis is not the same test case as call stack in bug description (which is unknown), but having the same effect:
pload MODELING VISUALIZATION
vclear
vinit View1
vaxo
circle c 0 0 0 0.001
mkedge e c
wire   w e
plane  s
mkface f1000 s w
ttranslate f1000 1000 0 0
vpoint v1000 1000 0 0.001
vdisplay -dispMode 1 f1000
vstereo anaglyph
vfit

vpoint v0 0 0 0
TagsNo tags attached.
Test case number

Relationships

related to 0029837 closedbugmaster Visualization, Graphic3d_Camera - Fit All operation works incorrectly on flat object 
related to 0029388 closedbugmaster Visualization - Setting camera eye position to (0,0,0) kills the application 

Activities

kgv

2019-08-12 14:34

developer   ~0086190

Patch for 0029837 adds protection that should eliminate this sudden assertion, although the logic in the method should be checked to understand if this is expected or invalid behavior.

kgv

2021-03-02 15:33

developer   ~0099289

Dear bugmaster,

please close the issue as no more reproducible.

Issue History

Date Modified Username Field Change
2016-11-01 11:48 kgv New Issue
2016-11-01 11:48 kgv Assigned To => kgv
2016-11-01 11:49 kgv Assigned To kgv => apl
2016-11-01 11:49 kgv Description Updated
2016-11-01 11:53 kgv Steps to Reproduce Updated
2017-07-20 10:55 kgv Target Version 7.2.0 => 7.3.0
2017-12-15 11:37 kgv Relationship added related to 0029388
2018-03-13 14:52 kgv Target Version 7.3.0 => 7.4.0
2019-07-30 19:27 kgv Relationship added related to 0029837
2019-08-12 14:34 kgv Note Added: 0086190
2019-08-12 14:34 kgv Assigned To apl =>
2019-08-12 14:34 kgv Target Version 7.4.0 => 7.5.0
2019-10-25 14:22 abv Assigned To => kgv
2020-08-28 14:26 kgv Target Version 7.5.0 => 7.6.0
2021-03-02 15:33 kgv Note Added: 0099289
2021-03-02 15:33 kgv Assigned To kgv => bugmaster
2021-03-02 15:33 kgv Status new => feedback
2021-03-02 15:33 kgv Resolution open => no change required
2021-03-20 14:09 bugmaster Status feedback => closed