From: Dave Butenhof <butenhof@zko.dec.com>
Subject: Re: weird DECthreads bugcheck (PW433au, DU 4.0c)
Date: 1997/11/17 [thread overview]
Message-ID: <34705761.6F4FEC64@zko.dec.com> (raw)
In-Reply-To: EJn1Ky.5r7@utcc.utoronto.ca
Mark Bartelt wrote:
> A program which works fine under DU 3.2c doesn't work on our PW433au
> systems (DU 4.0c). It doesn't even manage to start, but aborts with
> the following message:
>
> DECthreads bugcheck (version V3.13-439), terminating execution.
> Failure initializing the manager thread tcb
This usually means you've got a full address space REALLY early in the
program initialization. I'd try raising the vm-vpagemax and possibly
vm-mapentries sysconfig parameters (via /etc/sysconfigtab)
> mprotect (0x148098000, 8192, 0) = -1, (Not enough space)
This implies that the failure is occurring on the creation of the guard
page for the manager thread stack. Such failures almost always point to
insufficient vm-vpagemax.
> The first obvious question is why the pthreads stuff is even getting
> invoked, since this isn't a multi-threaded application. So my first
> suspicion was that somehow the parallel DXML library was getting used
> instead of the normal one. Nope; dxml.a is a symlink which points to
> /usr/opt/XMDLOA313/dxml/libdxml_ev5.a (the parallel DXML stuff lives
> in XMDPLL313).
You can check your program, and any shared libraries, with "odump -Dl" to
get a list of shared library dependencies. You could do that iteratively
do determine which library has a dependency on libpthread.so.
> PS: What is obreak()? It doesn't appear to be documented anywhere
> that I can find. Some variant of the brk() and sbrk() family? But
> why is there no manpage?
As far as I can see, "obreak" is, for whatever reason, the syscall that
implements "sbrk". There's no obreak outside the kernel, and there's no
sbrk inside the kernel. Most likely, "obreak" is an arbitrary name
assigned when someone changed the kernel interface to (or behavior of)
sbrk in an incompatible way. The old syscall just got left as it was, but
all new code uses the new syscall.
/---------------------------[ Dave Butenhof ]--------------------------\
| Digital Equipment Corporation butenhof@zko.dec.com |
| 110 Spit Brook Rd ZKO2-3/Q18 http://members.aol.com/drbutenhof |
| Nashua NH 03062-2698 http://www.awl.com/cseng/titles/0-201-63392-2/ |
\-----------------[ Better Living Through Concurrency ]----------------/
prev parent reply other threads:[~1997-11-17 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-11-14 5:00 weird DECthreads bugcheck (PW433au, DU 4.0c) Mark Bartelt
1997-11-17 5:00 ` Dave Butenhof [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox