HP3000-L Archives

July 2001, Week 4

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:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Fri, 27 Jul 2001 16:14:32 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (48 lines)
Re:
> C program is launching BM1870 program. I have also added :setdump before
> the run of C program (ZX0700).

good move!
The instruction that trapped (see "IIR") is: STW  2,-20(0,30)
and we see that r30 is 41842000.  My guess is that something screwed
up the stack, or that you've had a stack overflow.

Check the system that it runs on, in SYSGEN, to see the default NMSTACK
size.  Check the system it dies on, in SYSGEN, to see the default NMSTACK...
there's a chance they're different.  Also, there's a chance the new process
is getting its stack size from the parent, if this is a fork(), so you
might check what stack size the parent (the web server?) has:

   :linkedit
   listprog <thewebserver>    (be prepared to hit control-Y to interrupt,
                               you only want the first 10 lines or so)

Try running the web server with a larger "NMSTACK=" to see if that has an
effect.

Sadly, linking a program with NMSTACK will *not* result in the desired stack
size when the program is run via a fork() in the shell ... a definite bug
worth reporting to HP!

> Data PAGE Fault
> [VSM] Undecoded status.info = -300
> ABORT: LMBM1870.DHWC.SPDEV
> ZX0732.003 Copyrighted (c) CTC 1997
> <zx0732>main() sweep_cycle: 120
>        PC=14f.00031288 bm1870
> NM* 0) SP=41842000 RP=14f.00030db8 ?bm1870+$8
> Can't unwind.  Error reading a value from virtual memory.  (error #1902)
> Can't get next stack frame.  Can't trace any further.  (error #1914)
>
> R0 =00000000 d5111018 00030dbb 41843f00 R4 =00000001 d3816c00 d510f018

> NM* 0) SP=41842000 RP=14f.00030db8 ?bm1870+$8
>
> Does the +$8 point to the verb or statement causing the problem?

Stan Sieler                                           [log in to unmask]
www.allegro.com/sieler/wanted/index.html          www.allegro.com/sieler

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2