View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0031817 | Open CASCADE | OCCT:DRAW | public | 2020-10-02 06:44 | 2023-08-01 15:08 |
Reporter | Assigned To | ||||
Priority | normal | Severity | minor | ||
Status | new | Resolution | open | ||
Product Version | 7.4.0 | ||||
Target Version | Unscheduled | ||||
Summary | 0031817: DRAW - Error is reported by Undefined sanitizer on vdisplaymode command | ||||
Description | When running test demo samples bottle on Ubuntu with UBSan sanitizer enabled, I obtain the following message in the log: Showing result... vdisplay bottle vfit vsetdispmode 1 /home/abv/occt/src/AIS/AIS_Selection.hxx:59:53: runtime error: member call on address 0x000002a581b0 which does not point to an object of type 'NCollection_List<opencascade::handle<SelectMgr_EntityOwner> >' 0x000002a581b0: note: object is of type 'NCollection_List<opencascade::handle<SelectMgr_EntityOwner> >' 00 00 00 00 48 0c 1f b5 55 7f 00 00 a0 08 39 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^~~~~~~~~~~~~~~~~~~~~~~ vptr for 'NCollection_List<opencascade::handle<SelectMgr_EntityOwner> >' #0 0x7f55ac5907a4 in AIS_Selection::Extent() const (/home/abv/tmp/occt-clang6/lin64/clang/libi/libTKViewerTest.so+0x3a97a4) 0000001 0x7f55ac5845eb in AIS_InteractiveContext::NbSelected() (/home/abv/tmp/occt-clang6/lin64/clang/libi/libTKViewerTest.so+0x39d5eb) 0000002 0x7f55ac5530bf (/home/abv/tmp/occt-clang6/lin64/clang/libi/libTKViewerTest.so+0x36c0bf) #3 0x7f55cab34233 in Draw_Interpretor::CallBackDataFunc::Invoke(Draw_Interpretor&, int, char const**) (/home/abv/tmp/occt-clang6/lin64/clang/libi/libTKDraw.so.7+0x1fa233) | ||||
Tags | No tags attached. | ||||
Test case number | |||||
related to | 0031877 | closed | DRAW - some Visualization commands are not protected against uninitialized viewer |
|
Branch CR31817 has been created by abv. SHA-1: 8228689f089c48e5b34b794dd80e3989397cd8d0 Detailed log of new commits: Author: abv Date: Fri Oct 2 06:54:01 2020 +0300 0031817: DRAW - Error is reported by Undefined sanitizer on vdisplaymode command Added protections in DRAW commands against accessing Null context |
|
Branch CR31817_1 has been created by kgv. SHA-1: d8c586fbb0183418f1fb926719b88d30fe4125aa Detailed log of new commits: Author: abv Date: Fri Oct 2 06:54:01 2020 +0300 0031817: DRAW - Error is reported by Undefined sanitizer on vdisplaymode command Added protections in DRAW commands against accessing Null context |
|
Branch CR31817_1 has been updated forcibly by kgv. SHA-1: 539e502405f03b9e705698d29bad3ae882ba059c |
|
Separate issue 0031877 is created for adding protections against Null context in DRAW commands |
|
Branch CR31817 has been deleted by abv. SHA-1: 8228689f089c48e5b34b794dd80e3989397cd8d0 |
|
Branch CR31817_1 has been deleted by abv. SHA-1: 539e502405f03b9e705698d29bad3ae882ba059c |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-10-02 06:44 |
|
New Issue | |
2020-10-02 06:44 |
|
Assigned To | => abv |
2020-10-02 06:50 |
|
Summary | DRAW - Undefined sanitizer error on vdisplaymode command => DRAW - Error is reported by Undefined sanitizer on vdisplaymode command |
2020-10-02 06:52 | git | Note Added: 0095545 | |
2020-10-06 14:13 | git | Note Added: 0095757 | |
2020-10-06 14:14 | git | Note Added: 0095758 | |
2020-10-06 14:15 | kgv | Product Version | => 7.4.0 |
2020-10-25 08:23 |
|
Relationship added | related to 0031877 |
2020-10-25 08:23 |
|
Note Added: 0096250 | |
2020-10-25 10:53 | git | Note Added: 0096253 | |
2020-10-25 10:53 | git | Note Added: 0096254 | |
2020-10-25 10:54 |
|
Target Version | 7.5.0 => 7.6.0 |
2021-09-20 10:14 | kgv | Target Version | 7.6.0 => 7.7.0 |
2022-10-24 10:40 |
|
Target Version | 7.7.0 => 7.8.0 |
2023-08-01 15:08 | dpasukhi | Target Version | 7.8.0 => Unscheduled |