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:
Bruce Toback <[log in to unmask]>
Reply To:
Bruce Toback <[log in to unmask]>
Date:
Fri, 15 Oct 1999 08:34:34 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
John Korb writes:

>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
>
>Below is the fragment of source implicated:
>
>      Flags:=Graceful'Release'Bit;
>      IPCShutDown (Virtual'Circuit, Flags);

The problem is that you haven't passed the ipcStatus variable in the call
to IPCSHUTDOWN. The IPCSHUTDOWN is failing, and since you haven't
provided a way for NetIPC to return the failure status, it does an ESCAPE
(exception) instead. Since you don't have an active TRY block, this
aborts your program. Make sure that you provide a valid status variable
in your call and the problem will go away. (This is a good idea in
general.)

-- Bruce


--------------------------------------------------------------------------
Bruce Toback    Tel: (602) 996-8601| My candle burns at both ends;
OPT, Inc.            (800) 858-4507| It will not last the night;
11801 N. Tatum Blvd. Ste. 142      | But ah, my foes, and oh, my friends -
Phoenix AZ 85028                   | It gives a lovely light.
btoback AT optc.com                |     -- Edna St. Vincent Millay
Mail sent to [log in to unmask] will be inspected for a
fee of US$250. Mailing to said address constitutes agreement to
pay, including collection costs.

ATOM RSS1 RSS2