View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0022622 | Open CASCADE | OCCT:Application Framework | public | 2011-06-23 16:10 | 2013-02-19 18:45 |
| Reporter | Assigned To | bugmaster | |||
| Priority | normal | Severity | trivial | ||
| Status | closed | Resolution | unable to reproduce | ||
| OS | Linux | ||||
| Fixed in Version | 6.5.4 | ||||
| Summary | 0022622: If AISInitViewer command is called with ocaf document name in DRAW and corresponding document is closed then exception is raise | ||||
| Description | see caf 003 A4: *** Abort *** an exception was raised, but no catch was found. ... The exception is:SIGSEGV 'segmentation violation' detected. Address 74c08514 | ||||
| Tags | No tags attached. | ||||
| Test case number | caf presentation(003) A4 | ||||
|
|
The problem is in reference to closed OCAF document. The document is created, some labels are displayed in viewer and it is closed after that. The displayed labels are not erased before close of document. The bug may be considered as NOT. It is necessary to add: AISErase D ${aLabel} before Close D command in caf 003 A4 and caf 006 B6 |
|
|
The problem is the following sequence of commands: AISInitViewer D Close D exit The problem is reproduced on Mandriva2008. |
|
|
The problem (exception) is reproduced on Mandriva2008 and Debian 6.0. On all set of Windows it was not reproduced. The problem Linux specific only. Draw reproducer. pload FULL NewDocument D MDTV-Standard box b 100 100 100 SetShape D 0:1:1 b ASIInitViewer D AISSet D 0:1:1 NS AISDisplay D 0:1:1 Close D exit ==> *** Abort *** an exception was raised, but no catch was found. ... The exception is:SIGSEGV 'segmentation violation' detected. Address 3a35333f On Debian the command AISErase D 0:1:1 befor Close D helps to avoid exception. |
|
2012-03-15 15:34 manager |
|
|
|
The problem (not closed doc) is fixed. Updated scripts are attached. |
|
|
Vladislav, please see if it is necessary to fix the problem is sources. |
|
|
Two OCAF draw-commands are corrected: Close - now it cleans all attributes before closure of the document. It allows us to remove all interactive objects displayed from the closing document. AISInitViewer - it uses a single viewer notation like the draw-command "vinit". It avoid a problem of "pending" viewer for a closed document. |
|
|
The changes are in CR22622. |
|
|
A small change: the code cleaning OCAF attributes before closing of a document is moved from a draw-command "Close" to TDocStd_Application::Close() method. The modifications are integrated into CR22622. |
|
|
Please, review the changes. |
|
|
Reviewed with no remarks; the branch is rebased on the current master with name CR22622_1; branch CR22622 removed. Please test |
|
|
Dear BugMaster, The workbenches KAS:dev:mkv-22622-occt (GIT branch CR22622_1) KAS:dev:mkv-22622-products (GIT master) were compiled on Linux platform and tested. Regression: caf 001 G3 H3 I3 - .. The exception is:Attempt to access to null object caf 001 J6 - TDataStd_UAttribute caf 006 A7 A8 A9 - .. The exception is:Attempt to access to null object caf 003 D1 - AISHasOwnMaterial caf 003 D2 - AISMaterial caf 003 D3 - AISMaterial caf 003 D4 - AISMaterial caf 003 E1 - AISMaterial caf 003 F1 - AISHasOwnTransparency caf 003 F2 - AISColor; AISTransparency caf 003 F3 - AISColor; AISTransparency caf 003 F4 - AISColor; AISTransparency caf 003 G1 - AISColor; AISTransparency caf 003 H1 - AISColor caf 003 H2 - AISColor caf 003 I1 - AISColor caf 003 I2 - AISColor caf 003 J1 - AISColor caf 003 J2 - AISColor caf 003 K1 - AISColor caf 003 K2 - AISColor chl 929 K1 K2 K3 - .. The exception is:Attempt to access to null object chl 922 Y3 - AISColor; AISTransparency chl 922 Y4 - AISMaterial chl 934 O4 - AISWidth chl 914 E2 - AISMaterial, AISColor, AISTransparency chl 914 E4 - AISMaterial, AISColor, AISTransparency xml 001 A7 A8 A9 - ... The exception is:Attempt to access to null object xml 001 B2 - TDataStd_UAttribute xml 002 B2 - TDataStd_UAttribute xml 003 L1 - XCAFDoc_Location Improvements: Not detected Testing case: caf 003 A4 See results in /QADisk/occttests/results/KAS/dev/mkv-22622-products-1_16072012/lin See reference results in /QADisk/occttests/results/KAS/dev/products-20120622-opt_22062012/lin See test cases in /QADisk/occttests/tests/ED N.B. In order to launch testing case you can make use the following instructions http://doc/doku.php?id=occt:certification |
|
|
Can't reproduce the original problem on master on Mandriva 2010. Dear mkv, could you please, check if the problem still occurs. Test cases are: caf 003 A4 or pload ALL NewDocument D MDTV-Standard box b 100 100 100 SetShape D 0:1:1 b AISInitViewer D AISSet D 0:1:1 NS AISDisplay D 0:1:1 Close D exit |
|
|
Dear dbv, Test case caf/003/A4 is OK on current master. See: http://occt-tests/IR-08-02-2013-master-occt/Windows-32-VC9/caf/presentation/A4.html http://occt-tests/IR-08-02-2013-master-occt/Mandriva2010/caf/presentation/A4.html You can see also another test cases in this result folder, its are OK. |
|
|
Dear bugmaster, the problem can not be reproduced on current master. Issue can be closed. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-06-23 16:10 |
|
Assigned To | bugmaster => san |
| 2011-06-23 16:10 |
|
Status | new => assigned |
| 2011-06-23 16:54 |
|
Status | assigned => closed |
| 2011-06-23 16:54 |
|
Resolution | @0@ => unable to reproduce |
| 2011-06-30 19:46 |
|
Summary | => If AISInitViewer command is called with ocaf document name in DRAW and corresponding document is closed then exception is raised on exit. |
| 2011-06-30 19:47 |
|
Assigned To | san => bugmaster |
| 2011-06-30 19:47 |
|
Status | closed => assigned |
| 2011-06-30 19:47 |
|
Category | => OCAF |
| 2011-06-30 19:47 |
|
Resolution | unable to reproduce => @0@ |
| 2011-06-30 19:48 |
|
Assigned To | bugmaster => szy |
| 2011-08-02 10:32 | bugmaster | Category | OCCT:OCAF => OCCT:Application Framework |
| 2012-03-05 18:26 |
|
Note Added: 0019868 | |
| 2012-03-15 15:29 |
|
Note Edited: 0019868 | |
| 2012-03-15 15:34 |
|
File Added: OCC22622.zip | |
| 2012-03-15 15:36 |
|
Note Added: 0019994 | |
| 2012-03-15 15:36 |
|
Assigned To | szy => vtn |
| 2012-03-15 15:36 |
|
Status | assigned => resolved |
| 2012-06-15 11:34 |
|
Note View State: 0017729: public | |
| 2012-06-15 11:34 |
|
Note View State: 0017730: public | |
| 2012-06-15 11:37 |
|
Assigned To | vtn => vro |
| 2012-06-15 11:38 |
|
Note Added: 0020703 | |
| 2012-06-15 11:38 |
|
Status | resolved => assigned |
| 2012-06-15 16:01 | vro | Note Added: 0020708 | |
| 2012-06-15 16:01 | vro | Assigned To | vro => vtn |
| 2012-06-15 16:01 | vro | Status | assigned => resolved |
| 2012-06-15 16:01 | vro | Note Added: 0020709 | |
| 2012-07-13 13:40 | vro | Note Added: 0020951 | |
| 2012-07-13 13:40 | vro | Assigned To | vtn => abv |
| 2012-07-13 13:40 | vro | Status | resolved => assigned |
| 2012-07-13 13:56 | vro | Note Added: 0020953 | |
| 2012-07-13 13:56 | vro | Status | assigned => resolved |
| 2012-07-13 17:47 |
|
Note Added: 0020969 | |
| 2012-07-13 17:47 |
|
Assigned To | abv => bugmaster |
| 2012-07-13 17:47 |
|
Status | resolved => reviewed |
| 2012-07-16 13:27 |
|
Assigned To | bugmaster => mkv |
| 2012-07-17 11:27 |
|
Note Added: 0020999 | |
| 2012-07-17 11:28 |
|
Assigned To | mkv => vro |
| 2012-07-17 11:28 |
|
Status | reviewed => assigned |
| 2012-07-17 11:28 |
|
Fixed in Version | EMPTY => |
| 2012-07-17 11:28 |
|
Description Updated | |
| 2012-07-17 12:24 |
|
Assigned To | vro => dbv |
| 2013-02-14 17:53 |
|
Note Added: 0023342 | |
| 2013-02-14 17:53 |
|
Assigned To | dbv => mkv |
| 2013-02-14 17:53 |
|
Status | assigned => feedback |
| 2013-02-14 18:54 |
|
Note Added: 0023343 | |
| 2013-02-14 18:57 |
|
Test case number | => caf presentation(003) A4 |
| 2013-02-14 18:57 |
|
Assigned To | mkv => dbv |
| 2013-02-15 09:44 |
|
Note Added: 0023348 | |
| 2013-02-15 09:44 |
|
Assigned To | dbv => bugmaster |
| 2013-02-15 09:44 |
|
Status | feedback => resolved |
| 2013-02-19 18:44 | bugmaster | Status | resolved => closed |
| 2013-02-19 18:44 | bugmaster | Resolution | open => unable to reproduce |
| 2013-02-19 18:45 | bugmaster | Fixed in Version | => 6.5.4 |