- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Message Edited by OliverK on 03-02-2006 05:55 AM
Link Copied
- « Previous
-
- 1
- 2
- Next »
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The total simulation time of my case is 756, the time step is between 1E-4 and 0.5, the routine gets 3 times per time step called. After 10 min clicking I am getting tired and ESP is not changing.... :-(
Is there any other chance for tracking the ESP? For instance writing it to a log-file?
- 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
1.) I set the breakpoint at the first statement in the routine (line 23)
2.) the ESP was there constant at 0012B08C
3.) if the System.NullReference Exception occured at line (42) the ESP was at 0012AF7C (I guess it nothing unusual, if the stackpointer chnges inside a routine?
----
To your question: Since this error occurred I disabled all internal write statements and have only one left at line 42:
WRITE(strText, *) 234.45
whre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1.) I set the breakpoint at the first statement in the routine (line 23)
2.) the ESP was there constant at 0012B08C
3.) if the System.NullReference Exception occured at line (42) the ESP was at 0012AF7C (I guess it nothing unusual, if the stackpointer chnges inside a routine?
----
To your question: Since this error occurred I disabled all internal write statements and have only one left at line 42:
WRITE(strText, *) 234.45
where
- 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
Hello Steve,
I still have my troubles with the internal write. I installed now the latest compiler version and I set my string variables (target and format string) to static (SAVE). But it doesn't help.
Does it help if I supply the debugger information as follows:
libifcoremd.dll!for_set_reentrancy() + 0x17f
libifcoremd.dll!for_set_reentrancy() + 0x31a
libifcoremd.dll!_fq_settextposition() + 0x7e9
libifcoremd.dll!for_write_int_fmt() + 0x23
>SiWaProGM.dll!OWS(TYPGRAFIKFENSTER * GRAFIK=0x100907e0, char [6]* FMTX=0x10090d4c) Zeile 41 + 0x72Fortran
- 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
I tried now to take the destination string variable(s) into/away the stack and declared them also as
CHARACTER, AUTOMATIC :: strText*25
but the error message keeps telling me:
Message Edited by OliverK on 05-16-200611:26 AM
- 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
Finally after a lot of grey hairs more, I found the reason:
It was actually a statement
WRITE(strText,'(F5.2)') xmax
wherexmax = -1234.56
Thank you to all for your support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It sounds as if strText is intended to be a Stack local variable.
Depending on options, the array of characters might get compiled as a static array.
Try adding ", automatic" to the declaration which will force it to be on the Stack.
Jim Dempsey

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- « Previous
-
- 1
- 2
- Next »