View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007721 | Open CASCADE | OCCT:Visualization | public | 2005-01-13 14:15 | 2012-01-12 13:47 |
Reporter | vro | Assigned To | vro | ||
Priority | normal | Severity | trivial | ||
Status | closed | Resolution | fixed | ||
OS | All | ||||
Fixed in Version | 6.3.0 | ||||
Summary | 0007721: Visualization of 33 000 interactive objects crashes an application | ||||
Description | Try to display 33 000 interactive objects (any!), an exception is being raised in TKOpenGl. As far as I can judge, it occurs in the mechanism of allocation of objects in memory (specific mechanism of TKOpenGl). In order to reproduce the bug I used Official Open CASCADE sample: graphic3ddemo. Insert the following code into onAbout() method: #include <TopoDS_Vertex.hxx> #include <BRepBuilderAPI_MakeVertex.hxx> #include <AIS_InteractiveContext.hxx> #include <AIS_Shape.hxx> void Application::onAbout() { Handle(AIS_InteractiveContext) IC = getActiveMDI()->getDocument()->getContext(); for (int i = 1; i <= 100000; i++) { gp_Pnt p(i, i, i); TopoDS_Vertex V = BRepBuilderAPI_MakeVertex(p); Handle(AIS_Shape) A = new AIS_Shape(V); IC->Display(A, false); } IC->UpdateCurrentViewer(); QMessageBox::information(this,tr("TIT_ABOUT"),tr("INF_ABOUT"), tr("BTN_OK"), QString::null, QString::null, 0, 0); } Just call Help / About menu command to see the crash. | ||||
Additional information and documentation updates | Documentation remark, added by VRO 2008-05-22 11:23:20: Improvements: There was a restriction of visualization of about 33 000 interactive objects. Now this restriction is removed. Modified entities: OpenGl/OpenGl_GraphicDriver.cxx | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2005-01-13 14:16 | bugmaster | Assigned To | bugmaster => san |
2005-01-13 14:16 | bugmaster | Status | new => assigned |
2008-05-22 12:17 | bugmaster | Assigned To | san => vro |
2008-05-22 12:17 | bugmaster | Status | assigned => tested |
2008-06-06 08:35 | bugmaster | Status | tested => verified |
2009-06-23 18:29 | bugmaster | Status | verified => closed |
2009-06-23 18:29 | bugmaster | Resolution | @0@ => fixed |
2011-08-02 11:24 | bugmaster | Category | OCCT:VIZ => OCCT:Visualization |
2012-01-12 13:47 |
|
Description Updated | |
2012-01-12 13:47 |
|
Additional Information Updated |