View Issue Details

IDProjectCategoryView StatusLast Update
0023695Open CASCADEOCCT:Modeling Algorithmspublic2013-10-22 09:58
ReporternbvAssigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionopen 
Target Version6.7.0 
Summary0023695: Incorrect behavior some tests in Debug or Release mode
Description     boolean bsection N4 N6 N7
Exception "Out-of-range" in debug mode and "Overflow" in Release mode.

     offset wire_closed_outside_0_005 D3
     offset wire_closed_outside_0_025 D3
     offset wire_closed_outside_0_075 D3
There is a trying to make offset when shape has an edge with C0 continuity.
TagsNo tags attached.
Test case numberNot needed

Relationships

related to 0023691 closedifv Community Typo in Draw help of bopsonf 
related to 0023748 closednbv Open CASCADE Bad monitoring of intermediate results in offset commands 
related to 0023547 closedabv Open CASCADE Tests failures in debug mode 

Activities

nbv

2013-01-10 14:54

developer   ~0022931

CR23695 is ready to review.

jgv

2013-01-15 12:06

developer   ~0022965

No remarks

kgv

2013-01-15 21:41

developer   ~0022972

Dear nbv,

tabulation symbols are forbidden in OCCT sources according coding rules.
Please configure your editor/IDE according recommended settings and update patch.

nbv

2013-01-16 15:21

developer   ~0022986

I am sorry. There is some rule really ("Rule OCR1061").

I deleted tabulation symbols who was inserted by me (not all existing).

CR23695_1 is ready to review.

mkv

2013-01-17 13:34

tester   ~0022999

Dear BugMaster,

Branch CR23695_1 (and products from GIT master) was compiled on Linux and
Windows platforms and tested.

Regressions:
http://jenkins-test-01.nnov.opencascade.com/user/mnt/my-views/view/CR23695_1/job/mnt-CR23695_1-master_occt_tests_linux_start/
bugs modalg(006) buc60782_1 buc60782_3 bug165_4 bug165_6 bug305 bug427_6 bug745_12 bug829_1 bug5805_4
bugs moddata(007) bug165_2 - only on Linux
offset faces_type_i(003) A9 B3 B4 B5 B6 B8 C1 C2 C3 C4 C7 C8 C9 D1 D2 D3 E8 F1 F3 F5 I5 J5 J7 K6 M6 M8 N1
offset faces_type_i(003) B2 - only on Linux
offset wire_closed_outside_0_005(007) B4 B7 C3 C4 C9 D3 D6 F9
offset wire_closed_outside_0_025(008) B4 B5 C3 C4 C9 D1 D3 D6 F9
offset wire_closed_outside_0_025(008) G5 - only on Linux
offset wire_closed_outside_0_075(009) A2 B4 B5 C3 C4 D1 D3 D6 F9
offset wire_closed_outside_0_075(009) G5 - only on Linux
offset wire_closed_inside_0_005(010) C3 C4 C9 D3 D6 F9
offset wire_closed_inside_0_025(011) B2 B7 C3 C4 D3 D6 F7 F8 F9 G4 J8
offset wire_closed_inside_0_025(011) C9 - only on Linux
offset wire_closed_inside_0_075(012) A8 B5 B7 C3 C4 D3 D6 F6 F7 F8 F9 G4 J8
offset wire_closed_inside_0_075(012) C9 - only on Linux
offset wire_unclosed_outside_0_005(013) A4 B1 B2 B3 B4 B6 C5
offset wire_unclosed_outside_0_025(014) A1 A4 B1 B2 B3 B4 B6 B8 B9 C1 C2 C5
offset wire_unclosed_outside_0_075(015) A4 B1 B2 B3 B4 B6 B8 B9 C1 C2 C5

Improvements:
Not detected

nbv

2013-01-24 13:30

developer   ~0023119

Last edited: 2013-01-24 13:31

After analyzing above described test cases I can say following.

                Improvements:
bugs modalg(006):
    buc60782_1 buc60782_3 bug165_4 bug745_12 bug829_1: Offset wire is not closed.
    bug305: Initial shape contains an edge with C0 continuity
    bug427_6 bug5805_4: offsetperform operation not done.
offset faces_type_i(003):
    A9 B3 B4 B5 B6 C1 C2 C3 C7 C8 C9 D1 D2 D3 E7 E8 F1 F2 F3 F5 I5 J5 J7 K6 M6 M8 N1: offsetperform operation not done
offset wire_closed_outside_0_005(007):
    B4 B7 C9: Offset wire is not closed
    C3 C4 D3 D6 F9: Initial shape contains an edge with C0 continuity
offset wire_closed_outside_0_025(008):
    B4 B5 C9 D1: Offset wire is not closed
    C3 C4 D3 D6 F9: Initial shape contains an edge with C0 continuity
offset wire_closed_outside_0_075(009):
    A2 B4 B5 D1: Offset wire is not closed.
    C3 C4 D3 D6 F9: Initial shape contains an edge with C0 continuity.
offset wire_closed_inside_0_005(010):
    C3 C4 D3 D6 F9: Initial shape contains an edge with C0 continuity.
    C9: Offset wire is not closed.
offset wire_closed_inside_0_025(011)
    B2 B7 F7 F8 G4 J8: Offset wire is not closed
    C3 C4 D3 D6 F9: Initial shape contains an edge with C0 continuity.
offset wire_closed_inside_0_075(012):
    A8 B5 B7 F6 F7 F8 G4 J8: Offset wire is not closed.
    C3 C4 D3 D6 F9: Initial shape contains an edge with C0 continuity.
offset wire_unclosed_outside_0_005(013):
    A4 B1 B2 B3 B4 B6 C5: Initial shape contains an edge with C0 continuity.
offset wire_unclosed_outside_0_025(014):
    A1 B8 B9 C1 C2: Offset wire is not closed
    A4 B1 B2 B3 B4 B6 C5: Initial shape contains an edge with C0 continuity.
offset wire_unclosed_outside_0_075(015):
    A4 B1 B2 B3 B4 B6 C5: Initial shape contains an edge with C0 continuity.
    B8 B9 C1 C2: Offset wire is not closed

                Following tests are OK:
    bugs modalg(006) bug165_6

                Following tests are BAD:
    offset faces_type_i(003) B8 C4

                Attention:
CPU limit:
bugs modalg(006): bug770

Difference behavior some tests in Debug or Release mode:
    bugs modalg(006): bug827_1
    offset faces_type_i(003): B2 M5 M7
    offset wire_closed_inside_0_005(010): A3
    offset wire_closed_inside_0_025(011): A3
    offset wire_closed_inside_0_075(012): A3

jgv

2013-01-24 14:21

developer   ~0023120

No regress, please modify the scripts described above.

mkv

2013-01-28 13:15

tester   ~0023174

Dear nbv,
There is the bug in mkoffset draw command (always return 0).
For example see buc60782_1 buc60782_3 bug165_4 bug745_12 bug829_1 bug305 test cases.

nbv

2013-01-28 15:26

developer   ~0023178

CR23695_2 is ready to review.

nbv

2013-01-28 15:42

developer   ~0023180

See bug 0023691

nbv

2013-01-29 09:49

developer   ~0023190

CR23695_3 is ready to review

jgv

2013-01-29 11:15

developer   ~0023197

No remarks

nbv

2013-02-14 14:03

developer   ~0023335

offset wire_closed_inside_0_025(011) C9
offset wire_closed_inside_0_075(012) C9

In Windows and in Linux there is an exception.

mkv

2013-02-14 16:17

tester   ~0023339

Dear nbv,
Message of exeption algorithm must contain the word "exeption" for automatic testing.

A lot of test case was modified (see CR23695_3 git branch):
tests/offset/faces_type_i/A9 B2 B3 B4 B5 B6 B8 B9 C1 C2 C3 C7 C8 C9 D1 D2 D3 E7 E8 F1 F2 F3 F5 G5 I5 J5 J7 K6 M6 M8 N1

tests/offset/wire_closed_inside_0_005/C3 C4 C9 D3 D6 F9
tests/offset/wire_closed_inside_0_025/B2 B7 C3 C4 C9 D3 D6 F7 F8 F9 G4 J8
tests/offset/wire_closed_inside_0_075/A8 B5 B7 C3 C4 C9 D3 D6 F6 F7 F8 F9 G4 J8

tests/offset/wire_closed_outside_0_005/B4 B7 C3 C4 C9 D3 D6 F9
tests/offset/wire_closed_outside_0_025/B4 B5 C3 C4 C9 D1 D3 D6 F9 G5
tests/offset/wire_closed_outside_0_075/A2 B4 B5 C3 C4 D1 D3 D6 F9 G5

tests/offset/wire_unclosed_outside_0_005/A4 B1 B2 B3 B4 B6 C5
tests/offset/wire_unclosed_outside_0_025/A1 A4 B1 B2 B3 B4 B6 B8 B9 C1 C2 C5
tests/offset/wire_unclosed_outside_0_075/A4 B1 B2 B3 B4 B6 B8 B9 C1 C2 C5

Now there are following regressions (no modified test cases):

Linux:
Failed:
  bugs modalg(006) buc60782_1 buc60782_3 bug165_4 bug165_6 bug305 bug427_6 bug745_12 bug829_1 bug5805_4
  bugs moddata(007) bug165_2
  offset wire_closed_inside_0_025(011) C9
  offset wire_closed_inside_0_075(012) C9

Windows
Failed:
  bugs modalg(006) buc60782_1 buc60782_3 bug165_4 bug305 bug427_6 bug745_12 bug829_1 bug5805_4
  offset faces_type_i(003) C4
Improvements:
  offset wire_closed_inside_0_025(011) C9 D3

abv

2013-02-14 19:55

manager   ~0023346

Sorry, what is "exception algorithm"?

nbv

2013-02-20 09:56

developer   ~0023395

Above described problems I try to solve in 0023748 bug.

nbv

2013-04-16 15:52

developer   ~0024160

Problems has been solved. See 0023748 bug.

ifv

2013-04-18 09:51

developer   ~0024196

This problem has been solved in fix for issue 23748.
This issue must be closed.

apn

2013-05-15 11:59

administrator   ~0024392

Regarding to branch CR23748_5 problem was fixed. Branch CR23695_3 is not needed.

Issue History

Date Modified Username Field Change
2013-01-10 14:17 nbv New Issue
2013-01-10 14:17 nbv Assigned To => jgv
2013-01-10 14:19 nbv Relationship added related to 0023547
2013-01-10 14:52 nbv Assigned To jgv => nbv
2013-01-10 14:52 nbv Status new => assigned
2013-01-10 14:54 nbv Note Added: 0022931
2013-01-10 14:54 nbv Assigned To nbv => jgv
2013-01-10 14:54 nbv Status assigned => resolved
2013-01-15 12:06 jgv Note Added: 0022965
2013-01-15 12:06 jgv Status resolved => reviewed
2013-01-15 18:26 mkv Assigned To jgv => mkv
2013-01-15 21:41 kgv Note Added: 0022972
2013-01-15 21:41 kgv Assigned To mkv => nbv
2013-01-15 21:41 kgv Status reviewed => assigned
2013-01-16 15:21 nbv Note Added: 0022986
2013-01-16 15:21 nbv Assigned To nbv => jgv
2013-01-16 15:21 nbv Status assigned => resolved
2013-01-16 15:47 jgv Status resolved => reviewed
2013-01-17 13:34 mkv Note Added: 0022999
2013-01-17 13:34 mkv Assigned To jgv => nbv
2013-01-17 13:34 mkv Status reviewed => assigned
2013-01-24 13:30 nbv Note Added: 0023119
2013-01-24 13:30 nbv Assigned To nbv => jgv
2013-01-24 13:30 nbv Status assigned => resolved
2013-01-24 13:31 nbv Note Edited: 0023119
2013-01-24 14:21 jgv Note Added: 0023120
2013-01-24 14:21 jgv Status resolved => reviewed
2013-01-24 14:21 jgv Assigned To jgv => mkv
2013-01-28 13:14 mkv Assigned To mkv => nbv
2013-01-28 13:14 mkv Status reviewed => assigned
2013-01-28 13:15 mkv Note Added: 0023174
2013-01-28 15:26 nbv Note Added: 0023178
2013-01-28 15:26 nbv Assigned To nbv => jgv
2013-01-28 15:26 nbv Status assigned => resolved
2013-01-28 15:41 nbv Assigned To jgv => nbv
2013-01-28 15:41 nbv Status resolved => assigned
2013-01-28 15:42 nbv Note Added: 0023180
2013-01-29 09:49 nbv Note Added: 0023190
2013-01-29 09:49 nbv Assigned To nbv => jgv
2013-01-29 09:49 nbv Status assigned => resolved
2013-01-29 11:04 jgv Relationship added related to 0023691
2013-01-29 11:15 jgv Note Added: 0023197
2013-01-29 11:15 jgv Status resolved => reviewed
2013-01-29 14:56 mkv Assigned To jgv => mkv
2013-02-14 14:03 nbv Note Added: 0023335
2013-02-14 16:17 mkv Note Added: 0023339
2013-02-14 16:18 mkv Assigned To mkv => nbv
2013-02-14 16:18 mkv Status reviewed => assigned
2013-02-14 19:55 abv Note Added: 0023346
2013-02-20 09:52 nbv Relationship added related to 0023748
2013-02-20 09:56 nbv Note Added: 0023395
2013-04-16 15:52 nbv Note Added: 0024160
2013-04-16 15:52 nbv Assigned To nbv => ifv
2013-04-16 15:52 nbv Status assigned => resolved
2013-04-18 09:51 ifv Note Added: 0024196
2013-04-18 09:51 ifv Status resolved => reviewed
2013-05-13 12:18 mkv Assigned To ifv => apn
2013-05-13 12:18 mkv Status reviewed => feedback
2013-05-15 11:59 apn Note Added: 0024392
2013-05-15 12:00 apn Test case number => Not needed
2013-05-15 12:00 apn Assigned To apn => bugmaster
2013-05-15 12:00 apn Status feedback => closed
2013-10-22 09:58 abv Target Version => 6.7.0