Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Stack Overflow
Topic Summary:
Created On: 29-Sep-2004 21:52
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Ross Morgan, on Thursday, September 30, 2004 3:32 PM

Answer:
I haven't seen this problem since DOORS 6.
the problem is that some DXL somewhere on that machine #include's usersAndGroups.inc

the workaround is to set the pragma...
pragma stack, 10000
...in startup dxl somewhere. This is a nasty hack though - how can you know how big to set the stack?

the solution is to
-not #include usersAndGroups.inc
-not use allUsers[] or allGroups[] arrays

and instead use userList and groupList constants, e.g...
User theUser
for theUser in userList do {
...
}



 29-Sep-2004 21:52
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

When changing user access rights to a module, one of our clients is experiencing a DXL error, in encrypted file "usersAndGroups.inc": stack overflow, current value 4096. No other client machines get this error (you can change the rights on all the rest).

I don't see anything fishy in the registry. Its consistent even after rebooting the machine and it doesn't matter which DOORS user you log into.

Anybody see anything like this?

- Louie
Report this to a Moderator Report this to a Moderator
 30-Sep-2004 10:09
User is offline View Users Profile Print this message


Ross Morgan

Posts: 74
Joined: 15-Apr-2004

Answer Answer
I haven't seen this problem since DOORS 6.
the problem is that some DXL somewhere on that machine #include's usersAndGroups.inc

the workaround is to set the pragma...
pragma stack, 10000
...in startup dxl somewhere. This is a nasty hack though - how can you know how big to set the stack?

the solution is to
-not #include usersAndGroups.inc
-not use allUsers[] or allGroups[] arrays

and instead use userList and groupList constants, e.g...
User theUser
for theUser in userList do {
...
}



Report this to a Moderator Report this to a Moderator
 30-Sep-2004 15:34
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Didn't know that setting the stack in startup.dxl applied to all subsequent DXL scripts. I suppose "pragma runLim, 0" would also work.

Not so nasty. If its complaining about stack size of 4096 then 10000 (double) seems to be a good first guess. Thanks.

- Louie
Report this to a Moderator Report this to a Moderator
 8-Feb-2006 19:49
User is offline View Users Profile Print this message


Abdessamad MAAZOUZ

Posts: 2
Joined: 6-Oct-2005

After I applied patch 5 on DOORS 8.0, I start geting the same error: Stack Overflow(current limit is 16384) ... Stack Overflow(current limit is 16384) Anyone can help with that please? Thanks, Abdessamad
Report this to a Moderator Report this to a Moderator
 9-Feb-2006 13:35
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Are you using usersAndGroups.inc?

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 9-Feb-2006 14:51
User is offline View Users Profile Print this message


Abdessamad MAAZOUZ

Posts: 2
Joined: 6-Oct-2005

Good question! ... how to know that? Anyway, when I did a quick search, I found it in DOORS_8.0\lib\dxl\users. Thanks
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 0 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.