HP3000-L Archives

October 1999, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Korb <[log in to unmask]>
Reply To:
John Korb <[log in to unmask]>
Date:
Fri, 15 Oct 1999 14:39:16 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (65 lines)
Problem solved!

Special thanks to Chris Bartram, Jeff Kell, Bruce Toback, and Keven Miller
who all responded within a span of 5 minutes with the solution - specify
ALL parameters to IPCShutDown even though it is an option variable intrisic.

In the program in question, the IPCShutDown calls were in a "clean up after
a connection problem" procedure that tried to close any circuits/sockets to
tidy up things.  As failures of IPCShutDown were considered normal, there
were no checks of the status of IPCShutDown, and thus, no "Result"
paramenter specified in the IPCShutDown calls.  Specifying the "Result"
parameter (as Chris, Jeff, Bruce, and Keven suggested) has fixed the problem.

The odd thing is that the CM version of the program works flawlessly.
Obviously this is another of those differences between the CM and NM
intrinsics.  The NM IPCShutDown isn't truely "option variable".

Thanks again to Chris, Jeff, Bruce, and Keven!

John


At 10/15/99 10:02 AM , John Korb wrote:
>A networking application (which works on the classics) is aborting when
>compiled with SPLash!  The abort appears to be generated within
>IPCSHUTDOWN.  Below is the abort message received:
>
>### IPCShutDown Virtual'Circuit ###
>**** Escape executed outside of TRY block; CODE = 00660016 (UNWIND 9).
>
>ABORT: ROUTSTAT.PUB.COMM
>NM SYS   a.00a8f288 dbg_abort_trace+$24
>NM PROG  3d8.00016e64 error_exit+$190
>
>Program terminated in an error state. (CIERR 976)
>
>Where is the "Escape executed outside of TRY block" message coming from?
>Is it really coming from IPCSHUTDOWN?  Any ideas as to why?  What does the
>"CODE = 00660016" mean?
>
>Below is the fragment of source implicated:
>
>      Flags:=Graceful'Release'Bit;
>      Print (LBuf,-Move BBuf:="### IPCShutDown Virtual'Circuit ###",0);
>      IPCShutDown (Virtual'Circuit, Flags);
>      Print (LBuf,-Move BBuf:="### IPCShutDown complete ###",0);
>
>Thanks for any help!
>
>John
>--------------------------------------------------------------
>John Korb                            email: [log in to unmask]
>Innovative Software Solutions, Inc.
>
>The thoughts, comments, and opinions expressed herein are mine
>and do not reflect those of my employer(s), or anyone else.


--------------------------------------------------------------
John Korb                            email: [log in to unmask]
Innovative Software Solutions, Inc.

The thoughts, comments, and opinions expressed herein are mine
and do not reflect those of my employer(s), or anyone else.

ATOM RSS1 RSS2