![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Defect in formal.dxl can crash DOORS 8.x Session Topic Summary: A problem in formal.dxl can cause some undefineable results. Created On: 9-Mar-2007 08:08 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi @all,
I've found a realy interesting bug in formal.dxl ![]() There is declared a function int canAddExternalLink() which is be used to determine if the External link menu is available or not. The problem of this function is that it is declared in formal.dxl itself - all other mapping functions are declared already at startup, so they are defined globally. But the formal.dxl is run at opening Modules and when it has finished the used memory is cleaned up. It's merely a matter of time, until the memory area, where the function is stored, is used for something else. I've found out that the usage of pop up menus in your own scripts will increase the probability for a crash! The error will occour on right click on an Object or opening the Link menu. The problem can cause different effects: It lasts from simple error messages in DXL-window R-E- DXL: <Line:1> incorrect return statement with different file locations. Until full crash of DOORs with "...DOORS will now exit." message --> If you did not saved, you will loose your work here! WORKARROUND: To solve this problem simply move the function from formal.dxl into a file in startup folder, so it will be defined globally and cause no problems anymore ![]() Greetings Reik P.S.: Told this effect to DOORs support team - they want to close case now without any results. ![]() ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany Edited: 13-Mar-2007 at 10:04 by Reik Schroeder |
|
![]() |
|
![]() |
|
Which version of DOORS is being used here?
------------------------- pete.kowalski(at)motorola.com |
|
![]() |
|
![]() |
|
DOORS 8.1 sp6 on Windows XP SP2
------------------------- Dirk Plaschke Edited: 9-Mar-2007 at 15:19 by Dirk Plaschke |
|
![]() |
|
![]() |
|
When you say pop up menus do you mean custom DXL created menu bars on the module window or DXL generated dialog boxes?
------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
|
![]() |
|
Hi David,
I mean esspecially self defined pop up menus on list views or tree views in your own dialog boxes. But I'm not sure, if other scripts are affected by this issue to?! Because of the undefined context of definition of int canAddExternalLink() it might be possible, that other circumstances could cause a crash to. BTW: If you want to use your own mapping functions for self generated menus (placed in formalFiles or baseWindowMenuFiles) you should declare the functions in files that are stored in baseWindowCallbackFiles. That assures that they will be defined at the right time in the right context ![]() Greetings Reik ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.