Archived issue #0028306
Visualization - viewer crashes if style for shaded display is set to HATCH
Description
3D Viewer crashes if style for shaded display is set to HATCH. This is regression vs. 7.1.0.
Use the DRAW script in Steps to Reproduce to see the problem. Note that even if exception seem to be handled by DRAW interpretor, any action in 3d Viewer after it crashes DRAW.
Use the DRAW script in Steps to Reproduce to see the problem. Note that even if exception seem to be handled by DRAW interpretor, any action in 3d Viewer after it crashes DRAW.
Steps to reproduce
pload MODELING VISUALIZATION
box b 10 10 10
vdisplay b
vfit
vsetdispmode 1
vsetinteriorstyle b 2
box b 10 10 10
vdisplay b
vfit
vsetdispmode 1
vsetinteriorstyle b 2
Public activity
5 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Commenter 3.
[revision removed]
Detailed log of new commits:
Author: Commenter 3
Date: Tue Jan 3 16:58:41 2017 +0300
0028306: Visualization - viewer crashes if style for shaded display is set to HATCH
Fixed NULL-dereference in OpenGl_Context::SetPolygonHatchStyle().
[revision removed]
Detailed log of new commits:
Author: Commenter 3
Date: Tue Jan 3 16:58:41 2017 +0300
0028306: Visualization - viewer crashes if style for shaded display is set to HATCH
Fixed NULL-dereference in OpenGl_Context::SetPolygonHatchStyle().
Patch is ready for review.
Branch CR28306 reviewed without remarks, ready for testing.
Dear BugMaster,
Branch CR28306 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested.
[revision removed]
Number of compiler warnings:
occt component:
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MasOS: 0 (0 on master)
products component:
Linux: 63
Windows: 0
MacOS: 1132
Regressions/Differences:
Not detected
Testing cases:
bugs vis bug28306 - OK
http://occt-tests/CR28306-master-OCCT/Debian70-64/bugs/vis/bug28306.html
http://occt-tests/CR28306-master-OCCT/Windows-64-VC10/bugs/vis/bug28306.html
Testing on Linux:
Total MEMORY difference: 93044570 / 92909533 [+0.15%]
Total CPU difference: 21387.490000000154 / 21505.9800000003 [-0.55%]
Testing on Windows:
Total MEMORY difference: 58642783 / 58649007 [-0.01%]
Total CPU difference: 19528.361180998596 / 19749.742200098677 [-1.12%]
Branch CR28306 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested.
[revision removed]
Number of compiler warnings:
occt component:
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MasOS: 0 (0 on master)
products component:
Linux: 63
Windows: 0
MacOS: 1132
Regressions/Differences:
Not detected
Testing cases:
bugs vis bug28306 - OK
http://occt-tests/CR28306-master-OCCT/Debian70-64/bugs/vis/bug28306.html
http://occt-tests/CR28306-master-OCCT/Windows-64-VC10/bugs/vis/bug28306.html
Testing on Linux:
Total MEMORY difference: 93044570 / 92909533 [+0.15%]
Total CPU difference: 21387.490000000154 / 21505.9800000003 [-0.55%]
Testing on Windows:
Total MEMORY difference: 58642783 / 58649007 [-0.01%]
Total CPU difference: 19528.361180998596 / 19749.742200098677 [-1.12%]
Branch [archived branch] has been deleted by Commenter 3.
[revision removed]
[revision removed]