几何尺寸与公差论坛

 找回密码
 注册
查看: 85|回复: 0

PR 234347 application error when FCF Line-Profile dimension of AutoCircle exi

[复制链接]
发表于 2009-7-10 13:58:57 | 显示全部楼层 |阅读模式
application error when FCF Line-Profile dimension of AutoCircle exists
<< Steven George  --  08/01/05  21:33:26>>
After many attempts to capture problems with FCF line-profile dimensions of DCC circles, I realize that PC-DMIS will not allow me to generate that dimension and save a usable part program.  I receive an application error when I click Create in the FCF dimension dialog, when I save the part program, when I close the part program, when I exit PC-DMIS, or when I attempt to reopen the part program.  I receive the application error 100% of the time at some point of the close and reopen process as long as I have inserted an FCF line-profile of a DCC circle into the part program.
Steps to reproduce:
Open the supplied part program OFFLINE.  This part program uses UG-DCI CAD, so browse to the PRT file or select to use the tessellation if you are without the UG-DCI.  Append to the part program and open the GD&T - Line Profile Dimension dialog via Insert | Dimension | Profile | Line.  Select to dimension CIR1 and select A for the datum.  You will not need to select a datum if PR 234304 is satisfied.  Click Close to close the dimension dialog.  If that doesn't give you an application error, then save the part program via any method.  If that doesn't give you an application error, exit PC-DMIS.  If that doesn't give you an application error, start PC-DMIS and open that saved part program.  If that doesn't give you an application error, you are not able to reproduce the problem.  I will then be taking a moment for a loud outburst, which I will aim out into space as to avoid hurting someone.
<<END>>

<< Steven George  --  11/30/05  17:01:35>>
Verified fixed with the 11.29.05 build of v4.0beta.
Thank you.
<<END>>
<< Changes made by Steven George -- 11/30/05  17:01:39>>
Status:  RESOLVED to CLOSED
<<END>>
<< Bret Naylor  --  08/17/05  10:20:19>>
Reviewed.
<<END>>
<< Changes made by Bret Naylor -- 08/17/05  10:20:25>>
Action:  Bret Naylor to Steven George, Status:  REVIEW to RESOLVED
<<END>>
<< Wade Burton  --  08/09/05  17:38:26>>
Reviewed.  That seems right to me, and we have other places in the code where we first have to call verify_datum_reference_frame() before doing create_datum_reference_frame(), so it seems the appropriate thing.  I've just reviewed the code.  I haven't run it with that release build, though.  I think Steve should verify this since he was reproducing it easily.
<<END>>
<< Changes made by Wade Burton -- 08/09/05  17:38:38>>
Action:  Wade Burton to Bret Naylor
<<END>>
<< Don Turcotte  --  08/05/05  14:09:13>>
Fixed.
<<END>>
<< Changes made by Don Turcotte -- 08/05/05  14:09:13>>
Action:  Don Turcotte to Wade Burton, Status:  OPEN to REVIEW
<<END>>
<< Don Turcotte  --  08/05/05  14:08:42>>
I finally built a Release mode that crashes when I try to create a Line Profile FCF.  Running this Release version under .NET won't crash, but running it by clicking on the PCDLRN.EXE file does.  So I had to debug this the old fashioned way by putting in print statements to identify where the crash is occuring.  I localized this to CPCDdim_profile::do_math_FCF_profile_line() which is calling create_datum_reference_frame() on the CPCDdatum_reference without first calling verify_datum_reference_frame().  The call to verify_datum_reference_frame() is needed to setup the datum types, else create_datum_reference_frame() thinks it has a valid datum when it doesn't.
Files inserted to server
------------------------
V40\DIMENS\DIM_PROF.CPP
<<END>>
<< Don Turcotte  --  08/04/05  17:32:52>>
I built a Release mode version, but when I try to run it, PC-DMIS crashes before it even puts up a menu.  Will try rebuilding again.
<<END>>
<< Don Turcotte  --  08/02/05  15:25:43>>
I tried this on the Release mode install and got it to crash reliably whenever I try to open a program with the line profile.  Don't know if this is related to the profile or just a more general problem.  May also be related to not having a UG-DCI.  I will have to build a Release mode version to debug.
<<END>>
<< Don Turcotte  --  08/02/05  08:53:48>>
I have not been able to duplicate this problem using the latest debug build.  I will try later with a release build version.  I do not have UG-DCI so I used the .CAD file.
<<END>>
<< Changes made by Don Turcotte -- 08/02/05  07:55:00>>
Priority:  to Critical
<<END>>
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2025-1-3 10:18 , Processed in 0.036318 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表