|Anonymous | Login||2019-04-19 09:29 MSK|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0007141||Community||[OCCT] OCCT:Data Exchange||public||2004-11-05 08:14||2006-06-29 09:15|
|Target Version||Fixed in Version||[OCCT] 5.2.2|
|Summary||0007141: STEP interface crashes exporting large assembly|
|Description||This problem was noticed by the Community member Kai Anding and reported on the|
Forum, thread 7002 "Problem with STEP-Export in assembly mode".
Here is the message :
"I have a problem using the STEP-Export Facilities of OpenCASCADE 5.2 with
references (assembly mode on), to keep the filesize small. When using more than
a few hundred references, the TKXSBASE.dll crashes with a stack overflow.
Consider the following simple example program, that writes a square of n*n boxes
as references on a grid, where n is the programm argument (SZV: see problem.cxx
attached). The program will work with argument 10 (i.e. 100 cubes) but will
crash with argument 20 (i.e 400 cubes), when the default stack size on Windows
2000 (i.e. 1MB) is used. The problem seems to originate from a recursive call of
the Handle_Transfer_Binder destructor (each Transfer_Binder owns another
Handle_Transfer_Binder field), which causes the stack overflow. I have made some
changes to the TransferSubShape method of STEPControl_ActorWrite.cxx that works
fine with up to a few thousand references."
Please test the attached solution (modified StepControl_ActorWrite.cxx) and
integrate it into current development version if it's ok.
|Tags||No tags attached.|
|Test case number|
|Attached Files|| problem.cxx (1,437 bytes) 2004-11-05 06:14|
StepControl_ActorWrite.cxx (43,529 bytes) 2004-11-05 06:14
patchOCC7141.zip (9,761 bytes) 2004-11-24 09:55
Please create testing workbench for attached :
Created an attachment (StepControl_ActorWrite.cxx)
Workbench KAS:dev:OCC7141-opt has been created and compiled on SUN and LIN.
Please, test the workbench KAS:dev:OCC7141-opt and compare testing results of
workbenches KAS:dev:OCC7141-opt and KAS:dev:Products. Libraries for SUN and LIN
Please make expert evaluation of suggested solution
|No regress in dev:OCC7141-opt regarding to Products on sun or lin.|
edited on: 2011-11-23 17:52
Please not use last attached patch (patchOCC7141).
I perform our DTE tests (this tests were performed during my illness)
and make a conclusion that attached possible solution is correct.
Please raise dev:OCC7141-opt to KAS:dev:ros
Source file for fixing OCC7141 has been put to the queue KAS:dev:ros.
Please raise :
Created an attachment (patchOCC7141.zip)
Patch for this bug
|2004-11-05 08:30||bugmaster||Assigned To||bugmaster => szv|
|2004-11-05 08:30||bugmaster||Status||new => assigned|
|2004-11-05 08:30||bugmaster||Status||assigned => resolved|
|2004-11-05 09:01||bugmaster||Assigned To||szv => pdn|
|2004-11-05 09:01||bugmaster||Status||resolved => assigned|
|2004-11-15 10:08||apv||CC||=> apv, aki|
|2004-11-24 12:18||bugmaster||Status||assigned => resolved|
|2004-11-29 09:31||bugmaster||Status||resolved => verified|
|2004-12-03 12:16||bugmaster||CC||=> imv|
|2004-12-24 09:13||bugmaster||Status||verified => closed|
|2004-12-24 09:13||bugmaster||Resolution||@0@ => fixed|
|2011-08-02 11:12||bugmaster||Category||OCCT:DTE => OCCT:Data Exchange|
|2011-11-23 17:52||szy||Note Edited: 0009268||View Revisions|
|Copyright © 2000 - 2019 MantisBT Team|