View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023860 | Community | OCCT:Modeling Algorithms | public | 2013-03-26 21:24 | 2023-08-07 15:48 |
Reporter | Aaron Michalk | Assigned To | bugmaster | ||
Priority | normal | Severity | crash | ||
Status | closed | Resolution | unable to reproduce | ||
Platform | A | OS | L | ||
Product Version | 6.5.4 | ||||
Target Version | Unscheduled | Fixed in Version | 7.7.1 | ||
Summary | 0023860: Bad memory access intersecting two nearly coincident cylindrical faces | ||||
Description | Executing the following code results in an access violation in Release on Windows and MacOS. It throws an exception in debug. | ||||
Steps To Reproduce | gp_Ax3 axes1(gp_Pnt(1031.3339148728076, -113.25868616662650, 56.152387686082520), gp_Dir(-0.86602540378443815, 0.50000000000000089, 0.00000000000000000), gp_Dir(-0.50000000000000089, -0.86602540378443815, 0.00000000000000000)); Handle(Geom_CylindricalSurface) surface1(new Geom_CylindricalSurface(axes1, 76.499999999999986)); gp_Ax3 axes2(gp_Pnt(1017.0706583606553, -103.24955863669388, 56.152387686082548), gp_Dir(0.86602540378443915, -0.49999999999999933, 0.00000000000000000), gp_Dir(0.49999999999999933, 0.86602540378443915, 0.00000000000000000)); Handle(Geom_CylindricalSurface) surface2(new Geom_CylindricalSurface(axes2, 76.499999999999986)); BRep_Builder builder; TopoDS_Face face1; TopoDS_Face face2; builder.MakeFace(face1, surface1, Precision::Confusion()); builder.MakeFace(face2, surface2, Precision::Confusion()); IntTools_FaceFace intersection; intersection.SetParameters(false, true, true, Precision::Confusion()); intersection.Perform(face1, face2); | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
It is needed to create a test case. |
|
Branch CR23860 has been created by vmigunov. SHA-1: f5a092b6cf73141df8a7a322b024ea9534c75e2c Detailed log of new commits: Author: vmigunov Date: Wed Jun 29 09:58:57 2022 +0300 0023860: Bad memory access intersecting two nearly coincident cylindrical faces Test of 2 nearly coincident cylindrical faces intersection is added |
|
Branch CR23860 has been updated forcibly by vmigunov. SHA-1: 337415de745a0d340776aab23b9a1f0cdb17b09d |
|
See branch CR23860 |
|
No need to convert curves to edges:mkedge e1 c_1 mkedge e2 c_2 Check of picture for each edge is redundant: checkview -display e1 -2d -path ${imagedir}/${test_image}_e1.png checkview -display e2 -2d -path ${imagedir}/${test_image}_e2.png Both edges could be shown at once, you may use xwd ${imagedir}/${test_image}.png Also, I would expect the check of some numeric values of the result, at least the number of curves, and probably some other values of those curves. |
|
Branch CR23860 has been updated forcibly by vmigunov. SHA-1: 3a7aca33c4d5c8e401e5528310b79636c603e091 |
|
Done. See branch CR23860. |
|
@akaftasev, please make review of this patch. |
|
Please, use construction 'puts "REQUIRED ALL"' in case with bad but expected function behavior. In this case, nessesary to use another tcl constructions like: set r [expr] if {$r != val} { puts "error" } |
|
Branch CR23860 has been updated forcibly by vmigunov. SHA-1: 208a9cbcc9ad2a1b36ed57a3e0f30f25f2397b68 |
|
Done. See branch CR23860. |
|
|
|
Branch for integrate CR23860 |
|
It is needed to pass false in the first parameter of the call to intersection.SetParameters. It is not so when we use bopcurves command. |
|
Please also rerun tests on jenkins. |
|
Branch CR23860 has been updated forcibly by vmigunov. SHA-1: c31210f0f675bdcf8376f0d375f0b895c740a677 |
|
Done. See http://jenkins-test-occt.nnov.opencascade.com/view/CR23860-master-vmigunov/view/COMPARE/ |
|
Please add new option -noapprox instead of -2d12. |
|
Branch CR23860 has been updated forcibly by vmigunov. SHA-1: a0c6a637fa6c41e90b21a5a78d06ec341aa8295c |
|
Done. See http://jenkins-test-occt/view/CR23860-master-vmigunov/view/COMPARE/ |
|
Branch CR23860 seems to be valid |
|
please put a clear resolution of the bug here and into git commit. From the current discussion and patch it is completely unclear what has been done and for which purpose. Was bug solved by some other patch? In which OCCT version it was last reproducible if any? |
|
Please, close current bug. The problem was resolved in previous versions. |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-03-26 21:24 | Aaron Michalk | New Issue | |
2013-03-26 21:24 | Aaron Michalk | Assigned To | => abv |
2013-09-22 13:17 |
|
Assigned To | abv => ifv |
2013-09-22 13:17 |
|
Status | new => assigned |
2013-09-22 13:17 |
|
Category | OCCT:Foundation Classes => OCCT:Modeling Algorithms |
2021-11-25 11:42 |
|
Status | assigned => resolved |
2021-11-25 11:42 |
|
Resolution | open => unable to reproduce |
2021-11-25 12:07 |
|
Note Added: 0105416 | |
2021-11-25 12:07 |
|
Status | resolved => assigned |
2022-06-24 14:58 |
|
Assigned To | ifv => vmigunov |
2022-06-24 14:58 |
|
Target Version | => 7.7.0 |
2022-06-29 10:04 | git | Note Added: 0109355 | |
2022-07-04 11:16 | git | Note Added: 0109526 | |
2022-07-04 19:05 |
|
Assigned To | vmigunov => azv |
2022-07-05 09:04 |
|
Status | assigned => resolved |
2022-07-05 09:04 |
|
Note Added: 0109551 | |
2022-07-05 11:08 |
|
Assigned To | azv => vmigunov |
2022-07-05 11:08 |
|
Status | resolved => assigned |
2022-07-05 11:08 |
|
Note Added: 0109558 | |
2022-08-09 13:23 | git | Note Added: 0110152 | |
2022-08-09 13:24 |
|
Note Added: 0110153 | |
2022-08-09 13:24 |
|
Status | assigned => resolved |
2022-08-09 13:45 |
|
Assigned To | vmigunov => Aaron Michalk |
2022-08-09 13:46 |
|
Assigned To | Aaron Michalk => msv |
2022-08-09 13:57 |
|
Assigned To | msv => akaftasev |
2022-08-09 13:57 |
|
Note Added: 0110154 | |
2022-08-11 10:17 | akaftasev | Assigned To | akaftasev => vmigunov |
2022-08-11 10:17 | akaftasev | Status | resolved => assigned |
2022-08-11 10:17 | akaftasev | Note Added: 0110181 | |
2022-08-11 10:17 | akaftasev | Note Edited: 0110181 | |
2022-08-11 12:51 | git | Note Added: 0110186 | |
2022-08-11 12:51 |
|
Note Added: 0110187 | |
2022-08-11 15:35 |
|
Assigned To | vmigunov => akaftasev |
2022-08-11 15:35 |
|
Status | assigned => resolved |
2022-08-11 15:36 |
|
Note Added: 0110191 | |
2022-08-11 15:39 | akaftasev | Assigned To | akaftasev => bugmaster |
2022-08-11 15:39 | akaftasev | Status | resolved => reviewed |
2022-08-11 15:39 | akaftasev | Note Added: 0110192 | |
2022-08-11 15:58 |
|
Assigned To | bugmaster => vmigunov |
2022-08-11 15:58 |
|
Status | reviewed => assigned |
2022-08-11 15:59 |
|
Note Added: 0110193 | |
2022-08-11 16:00 |
|
Note Added: 0110194 | |
2022-08-11 17:47 | git | Note Added: 0110196 | |
2022-08-12 08:36 |
|
Note Added: 0110206 | |
2022-08-12 08:37 |
|
Assigned To | vmigunov => msv |
2022-08-12 08:37 |
|
Status | assigned => resolved |
2022-08-12 11:01 |
|
Note Edited: 0110206 | |
2022-08-12 12:09 |
|
Note Added: 0110209 | |
2022-08-12 12:09 |
|
Assigned To | msv => vmigunov |
2022-08-12 12:09 |
|
Status | resolved => assigned |
2022-08-12 12:30 | git | Note Added: 0110210 | |
2022-08-15 13:13 |
|
Note Added: 0110236 | |
2022-08-15 13:14 |
|
Assigned To | vmigunov => ifv |
2022-08-15 13:14 |
|
Status | assigned => resolved |
2022-08-16 15:35 |
|
Assigned To | ifv => bugmaster |
2022-08-16 15:35 |
|
Status | resolved => reviewed |
2022-08-16 15:35 |
|
Note Added: 0110246 | |
2022-08-16 16:15 | kgv | Note Added: 0110247 | |
2022-08-16 16:15 | kgv | Assigned To | bugmaster => vmigunov |
2022-08-16 16:15 | kgv | Status | reviewed => feedback |
2022-08-16 16:16 | kgv | Note Edited: 0110247 | |
2022-08-16 16:17 | kgv | Note Edited: 0110247 | |
2022-10-24 10:40 |
|
Target Version | 7.7.0 => 7.8.0 |
2023-08-02 01:57 | dpasukhi | Assigned To | vmigunov => akaftasev |
2023-08-02 01:57 | dpasukhi | Status | feedback => assigned |
2023-08-02 01:57 | dpasukhi | Target Version | 7.8.0 => Unscheduled |
2023-08-02 13:38 | akaftasev | Assigned To | akaftasev => bugmaster |
2023-08-02 13:38 | akaftasev | Status | assigned => feedback |
2023-08-02 13:38 | akaftasev | Note Added: 0113853 | |
2023-08-07 15:48 | vglukhik | Status | feedback => closed |
2023-08-07 15:48 | vglukhik | Fixed in Version | => 7.7.1 |