- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I try to run the sample
program main
use ifcore
implicit none
CALL TRACEBACKQQ()
end program
I get an error in the traceback call
forrtl: severe (157): Program Exception - access violation
Image PC Routine Line Source
Console_test.exe 0040578F Unknown Unknown Unknown
Console_test.exe 00401037 _MAIN__ 4 Source1.f90
Console_test.exe 004A2053 Unknown Unknown Unknown
Console_test.exe 00447197 Unknown Unknown Unknown
Console_test.exe 0044706F Unknown Unknown Unknown
kernel32.dll 7C817077 Unknown Unknown Unknown
I do not know what I can do to get the expected behavior.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
call tracebackqq(user_exit_code=0)
The issue ID is DPD200158227.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This behavior is surprising because with previous versions of the compiler I had no problem using tracebacqq.
tracebackqq(user_exit_code=0) not resolve the error, which remains
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
C:\Projects>type t0.f90
USE IFCORE
CALL TRACEBACKQQ(user_exit_code=0)
END
C:\Projects>ifort /traceback t0.f90
Intel Visual Fortran Compiler Professional for applications running on IA-32,
Version 11.1 Build 20100414 Package ID: w_cprof_p_11.1.065
Copyright (C) 1985-2010 Intel Corporation. All rights reserved.
Microsoft Incremental Linker Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
-out:t0.exe
-subsystem:console
-incremental:no
t0.obj
C:\Projects>t0.exe
Image PC Routine Line Source
t0.exe 0043EB5A Unknown Unknown Unknown
t0.exe 0043BD88 Unknown Unknown Unknown
t0.exe 00405293 Unknown Unknown Unknown
t0.exe 00401044 _MAIN__ 2 t0.f90
t0.exe 0043F153 Unknown Unknown Unknown
t0.exe 00429314 Unknown Unknown Unknown
kernel32.dll 7C817077 Unknown Unknown Unknown
C:\Projects>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When the malfunction occurs is when compiling the code in a QuickWin project.
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, do you have any news with respect to tracebackqq functionality?
I would expect it to be solved by now, but I have a similar problem:
option 1:
call tracebackqq()
gives:
forrtl: severe (157): Program Exception - access violation
Image PC Routine Line Source
libifcoremd.dll 00BCE1B5 Unknown Unknown Unknown
xyz.dll 774E24BA _DEBUG_ASSERT_MOD 43 debug_assert_mod.f90
PNet.dll 0F28499B _ANOTHERMOD_MO 122 another_mod.f90
... etc ...
(that is, undesirable incorrect execption, but proper stack trace)
However,if I use:
use IFCORE
call tracebackqq(user_exit_code=0)
then, it gives:
Image PC Routine Line Source
libifcoremd.dll 00DC9150 Unknown Unknown Unknown
libifcoremd.dll 00DB1521 Unknown Unknown Unknown
libifcoremd.dll 00DDD292 Unknown Unknown Unknown
Notice that, as desired, I no longer have the access violation bug, however, as I use ifcore, I no longer get the stack trace. This is very annoying, as it seems there is no way to get a stack tracke without terminating the program.
Btw, of course, in both cases, everything is compiled with /traceback.I'm using Intel Visual Fortran 2011, Update 10.
Regards,
Carlos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried several variants of the usages you showed and all of them gave me a valid traceback in Update 11. If you are still having problems, please start a new thread and attach a ZIP with a sample program that demonstrates the problem.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page