BRepOffsetAPI_ThruSections::Build() crashes in 6.5.1 64-bit Release version

After rebuilding all of the OpenCascade DLLs on a 64-bit Windows 7 system using Visual Studio 10 I made a few simple tests and noticed that there's (again?) a problem with BRepOffsetAPI_ThruSections. After adding two wires (both closed circular arcs with different radii and orientations) calling Build() results in a crash, corrupting the stack in the process.

Interestingly this doesn't appear to be a problem when I use the Debug version of the TKBREP.dll.

Has anyone else experienced similar problems?

I repeated the test with different parameters and created new Release versions with different complier/linker options, but it doesn't appear to make any difference. Does anyone have an idea what might be causing the problem?

Thomas Paviot's picture

Hi Michael,

Do you have any code snippet that reproduces the issue?



Forum supervisor's picture

Dear Michael,
Very probably the problem is not linked with OCCT itself, but rather with VC10 version under Windows7 X64 Release. Try to update you current version of VC10 by service pack SP1.
We had several analogical crashes in Release mode and after applying SP1 the problems are not reproducible more.

Michael Ruth's picture

Thanks, that did the trick! :)

I thought I'd already installed SP1 but apparently I hadn't.