View Issue Details

IDProjectCategoryView StatusLast Update
0022056CommunityOCCT:Modeling Algorithmspublic2012-09-06 09:25
ReporterszyAssigned Tobugmaster  
PrioritynormalSeveritytrivial 
Status closedResolutionduplicate 
OSAll 
Fixed in Version6.5.0 
Summary0022056: Standard_DivideByZero exception caught when saving an ellipse prism with draw in iges format
DescriptionCommunity:
"Draw[27]> ellipse el 0 0 0 0 0 1 50 20
Draw[28]> mkedge e el
Draw[29]> wire w e
Draw[30]> mkplane p w
Draw[31]> prism pr p 0 0 100
Draw[32]> brepiges pr e:/pr.iges
An exception was caught 00A3BA00 : Standard_DivideByZero: FLT DIVIDE BY ZERO
** Exception ** 00A3BA00 : Standard_DivideByZero: FLT DIVIDE BY ZERO"

The exception is reproduced on development version too:
Unhandled exception at 0x04a22804 (TKIGES.dll) in DRAWEXE.exe: 0xC000008E:
Floating-point division by zero.
It raise in BRepToIGES_BRWire ::TransferEdge () method.
Stack is below.
========================================================
> TKIGES.dll!BRepToIGES_BRWire::TransferEdge(const TopoDS_Edge & myedge={...},
const TopoDS_Face & myface={...}, const double length=100.00000000000000, const
unsigned int isBRepMode=0) Line 423 + 0x8 bytes C++
     TKIGES.dll!BRepToIGES_BRWire::TransferWire(const TopoDS_Wire & mywire={...},
const TopoDS_Face & myface={...}, Handle_IGESData_IGESEntity & mycurve2d={...},
const double length=100.00000000000000) Line 588 + 0x25 bytes C++
     TKIGES.dll!BRepToIGES_BRShell::TransferFace(const TopoDS_Face & start={...})
Line 178 + 0x2d bytes C++
     TKIGES.dll!BRepToIGES_BRShell::TransferShell(const TopoDS_Shell & start={...})
 Line 270 + 0x10 bytes C++
     TKIGES.dll!BRepToIGES_BRSolid::TransferSolid(const TopoDS_Solid & start={...})
 Line 112 + 0x13 bytes C++
     TKIGES.dll!BRepToIGES_BREntity::TransferShape(const TopoDS_Shape &
start={...}) Line 173 + 0x19 bytes C++
     TKIGES.dll!IGESControl_Writer::AddShape(const TopoDS_Shape & theShape={...})
Line 110 + 0x16 bytes C++
     TKXSDRAW.dll!brepiges(Draw_Interpretor & di={...}, int n=3, const char * *
a=0x7fecf450) Line 438 + 0x12 bytes C++
     TKDraw.dll!CommandCmd(void * clientData=0x7fa87dd0, Tcl_Interp *
interp=0x01dbcb68, int argc=3, const char * * argv=0x022410b8) Line 96 + 0x24
bytes C++
     tcl85.dll!015ab675()
TagsNo tags attached.
Test case number

Relationships

has duplicate 0021906 closedbugmaster Community Exception during exporting a prismatic face to IGES 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2011-02-25 13:41 bugmaster Status closed => assigned
2011-02-25 13:41 bugmaster Resolution suspended => @0@
2011-02-25 13:41 bugmaster Status assigned => closed
2011-02-25 13:41 bugmaster Resolution @0@ => unable to reproduce
2011-02-28 10:10 abv OtherBugsDependingOnThis => 21906
2011-03-18 12:42 bugmaster Status closed => assigned
2011-03-18 12:42 bugmaster Resolution unable to reproduce => @0@
2011-03-18 12:42 bugmaster OtherBugsDependingOnThis 21906 =>
2011-03-18 12:42 bugmaster Status assigned => closed
2011-03-18 12:42 bugmaster Resolution @0@ => duplicate
2011-08-02 11:31 bugmaster Category OCCT:MOA => OCCT:Modeling Algorithms
2012-09-06 09:25 abv Fixed in Version EMPTY => 6.5.0
2012-09-06 09:25 abv Description Updated