Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29262 Discussions

Handling Array Bounds Exceeded in IVF

longden_loo
Beginner
1,644 Views
About two years ago, I posted on this forum about a problem in IVF (version 9.0.28 at the time) where I was unable to catch an "array bounds exceeded" exception using Structured Exception Handling (SEH). That thread was titled "Exception handling under IVF" ... (http://software.intel.com/en-us/forums//topic/51696)

At the time, Steve investigated and then noted in the thread ...
In ifort, array bounds violations do not raise exceptions, so you cannot use SEH or even the Exceptions dialog in the debugger to change the behavior. When an array bounds violation occurs, the RTL displays a detailed message and then calls DebugBreak so that a program running under the debugger can stop at the point of error. I think this looks like "User breakpoint", and occurs only when a debugger is loaded.

Fast forward two years and to IVF 10.0.027, and it seems like the same problem still exists ... that I cannot catch an "array bounds exceeded" condition using the sample code I posted on the original thread (SEHTEST.ZIP, on 9/6/2006). The reason I'm bringing this up is that there's a need to move from CVF to IVF for an application and this inability to catch array bounds problems is turning out to be a major issue.

So my question is whether there are specific build options I may be missing, or whether a specific compiler version I need (I'm currently running IVF 10.0.027 on VS 2003) ... or whether, in fact, the same limitation still exists.

Thanks for any info,
Longden
0 Kudos
13 Replies
Steven_L_Intel1
Employee
1,644 Views
Nothing has changed in this regard. I suggest that you submit a feature request to Intel Premier Support - please reference DPD200026986 when you do so.
0 Kudos
Jugoslav_Dujic
Valued Contributor II
1,644 Views
Will it help if I second the feature request? Smiley with tongue out [:-P]

IMHO, that's a bug rather than a "feature". First, there is a regular exception code for array bounds exceeded (0xC000008C). Second, the environment variables (FOR_IGNORE_EXCEPTIONS, FOR_DISABLE_DIAGNOSTIC_DISPLAY) are not honored.

Just now I saw my own workaround here:
http://software.intel.com/en-us/forums//topic/52304
which I'm not sure is applicable, but it's worth a try...
0 Kudos
Steven_L_Intel1
Employee
1,644 Views
Yes, it certainly will. The more the merrier. Please put in as much detail as you can.
0 Kudos
longden_loo
Beginner
1,644 Views
Steve,

I don't currently have a subscription to Intel Premier Support and it looks like I need one in order to sign in to their site, is that correct?

If so, can you direct me to where I can sign up for that level of support to see how much it'll cost and exactly what the benefits are, so I can make my case to my admin folks.

Thx, Longden
0 Kudos
Steven_L_Intel1
Employee
1,644 Views
If you have a current license for the product, you have support and full access to Intel Premier Support. If your support term has expired (you get 12 months with initial purchase), you can buy support renewal at a discount.

See here for details.
0 Kudos
Jugoslav_Dujic
Valued Contributor II
1,644 Views
MADsblionel:
If you have a current license for the product, you have support and full access to Intel Premier Support. If your support term has expired (you get 12 months with initial purchase), you can buy support renewal at a discount.


I really think it's the last thing I'll ever do with Premier, until you change this ridiculous password system. I've just tried to change 5 entirely different passwords, and they didn't satisfy idiotic password rules, which I had to study in detail, but couldn't find the disagreement. Since the system forces me to change them frequently, I cannot use passwords I can remember, so I keep them in a text file on my computer. Which sort of defeats the security paranoia. I don't see why I don't publish them, anyway, because there isn't anything secret in those correspondences.


0 Kudos
Jugoslav_Dujic
Valued Contributor II
1,644 Views
Issue number is 516409.
0 Kudos
Steven_L_Intel1
Employee
1,644 Views
Thanks, Jugoslav. For what it's worth, I agree with you regarding the restrictions Premier Support places on passwords. Believe it or not, it's supposedly looser than it used to be. I will pass on your comments.
0 Kudos
Steven_L_Intel1
Employee
1,644 Views
I made some inquiries regarding Premier Support passwords and this is what I learned. Customer accounts are classified as "confidential" or "non-confidential". I think that everyone starts out as "confidential", but am not sure. Confidential accounts have tighter rules on passwords (length, mix of character types) and must be changed every 90 days. Non-confidential accounts have looser rules and no forced password change.

Jugoslav, your account was complicated by there being nine different accounts for the same email address in our records - the one you're using now, ending in 2, has been set to be non-confidential. I think you have to go in and reset the password one more time.

Anyone else who would like their account set to "non-confidential" can submit a request to Intel Premier Support, selecting "My Account Management" as the product.
0 Kudos
jugoslavdujic2
Beginner
1,644 Views
MADsblionel:
Jugoslav, your account was complicated by there being nine different accounts for the same email address in our records - the one you're using now, ending in 2, has been set to be non-confidential. I think you have to go in and reset the password one more time.

Anyone else who would like their account set to "non-confidential" can submit a request to Intel Premier Support, selecting "My Account Management" as the product.


Thanks a lot Steve. Sorry for being snippy, but I tend to get mad when software treats me like an idiot...

I haven't actively created all those accounts -- I use only the forum and premier ones. I suppose that they accumulated due to occasional trial downloads of VTune, MKL and other Intel compilers.
0 Kudos
longden_loo
Beginner
1,644 Views
JugoslavDujic:
Issue number is 516409.


When I entered this number on the Premier Support website (https://premier.intel.com/premier/) I got a message ...
Issue Number is not available in QuAD. Contact Support for further help.

I updated my license (twice lapsed!) in order to submit this feature request, but Jugoslav got there before me (thx) so now I just want to view the details and also give it my vote.

Steve, is there a simple way to do this? .... or is this some sort of confidentiality issue?
0 Kudos
Steven_L_Intel1
Employee
1,644 Views
You cannot view anyone else's issue. Please enter your own and include the reference to DPD200026986 I mentioned earlier. That's our internal tracking number for this feature request.
0 Kudos
longden_loo
Beginner
1,644 Views
Done.

Issue number is 516963. I included your internal tracking number and declared it a "showstopper", if that's any incentive for them.
0 Kudos
Reply