MantisBT - Community
View Issue Details
0006497Community[OCCT] OCCT:Data Exchangepublic2004-08-25 09:482006-06-29 09:15
bugmaster 
skl 
normaltrivial 
closedfixed 
All
 
[OCCT] 5.2.2 
0006497: Bug in IGESControl_Reader::PrintTransferInfo
Bug From Open CASCADE Community
Registered by Rob Bachrach
http://www.opencascade.org/org/forum/thread_6791/ [^]

I believe I have found a bug in IGESControl_Reader::PrintTransferInfo.
The third line of the file has the code: thesession->MapReader().
thesession is a private handle to a XSControl_WorkSession object and
is declared in IGESControl_Reader.hxx. Unfortunately, it is never
initialized. As a result, MapReader is called on a null entity. On
the PC this seems to throw an exception every time. On my Solaris
system, it crashes with a segmentation fault.

I did notice that XSControl_Reader also has a private member called
thesession that gets initialized in its contructor. I have a feeling
the declaration of thesession in IGESControl_Reader.hxx is a bug.
If this line were removed, everything would most likely work fine.
No tags attached.
Issue History
2004-08-25 09:48bugmasterAssigned Tobugmaster => pdn
2004-08-25 09:48bugmasterStatusnew => assigned
2004-12-09 16:08bugmasterAssigned Topdn => skl
2004-12-14 13:09bugmasterStatusassigned => verified
2004-12-24 09:12bugmasterStatusverified => closed
2004-12-24 09:12bugmasterResolution@0@ => fixed
2004-12-30 11:21bugmasterCustomer =>
2011-08-02 11:12bugmasterCategoryOCCT:DTE => OCCT:Data Exchange

There are no notes attached to this issue.