replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - How to solve - corruption of the heap in f90
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to solve - corruption of the heap in f90

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
AjainAhan



Joined: 18 Jan 2013
Posts: 1

PostPosted: Mon Jan 21, 2013 12:19 pm    Post subject: How to solve - corruption of the heap in f90 Reply with quote

Hello All,

My main.90 fortran file is not executing completly and it is breaking on following code. which gives following output log. can somebody help me what can I do to solve the trouble.

Error :

HEAP[test_lib_dbg.exe]: Heap block at 08AE2958 modified at 08AE2B2D past requested size of 1cd
Windows has triggered a breakpoint in test_lib_dbg.exe.

This may be due to a corruption of the heap, which indicates a bug in test_lib_dbg.exe or any of the DLLs it has loaded.

This may also be due to the user pressing F12 while test_lib_dbg.exe has focus.



main.f90
-----------

call formatcomp(FuelDistrib,2,ndMassDscFL,ndMassFL,comp_flags,ZFW_ID,CS_ID)

formatcomp.c
------------

void formatcomp(double * matrix, int *nmat, int *nrow, int *ncol, int * comp_flag, int * idbaseMat, int * idtargetMat)


Detailed Debugg Information In VSS:


Name Value Type


FuelDistrib {...} REAL(Cool

ndMassDscFL Undefined variable ndMassDscFL

ndMassFL Undefined variable ndMassFL

comp_flags {...} INTEGER(4)

comp_flags(1) 2 INTEGER(4)

comp_flags(2) 3 INTEGER(4)

ZFW_ID Undefined variable ZFW_ID

CS_ID Undefined variable CS_ID

-------------------------------------------------------------------------------------


FuelDistrib(1,1,1) 0.000000000000000D+000 REAL(Cool
FuelDistrib(2,1,1) 0.000000000000000D+000 REAL(Cool
FuelDistrib(3,1,1) 0.000000000000000D+000 REAL(Cool

........................................................
........................................................

........................................................

........................................................

FuelDistrib(6,10,2) -170.091339111328 REAL(Cool
FuelDistrib(7,10,2) 398.197937011719 REAL(Cool
FuelDistrib(8,10,2) 357.680664062500 REAL(Cool
FuelDistrib(9,10,2) 245.521957397461 REAL(Cool
FuelDistrib(10,10,2) 18.7959365844727 REAL(Cool


........................................................

........................................................

........................................................




FuelDistrib(33,10,2) 0.000000000000000D+000 REAL(Cool
FuelDistrib(34,10,2) 0.000000000000000D+000 REAL(Cool
FuelDistrib(35,10,2) 0.000000000000000D+000 REAL(Cool
FuelDistrib(36,10,2) 0.000000000000000D+000 REAL(Cool








Note:

I am using fortran code files for C project optimization profiling


I am using these tools:

1)Visual studio 2008

2)Intel Fortran Version 11.1 (Trial)
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Mon Jan 21, 2013 11:09 pm    Post subject: Reply with quote

This forum is for Silverfrost FTN95 Fortran.
If there is a forum for Intel Fortran then you should post your query there.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group