From: Pat Wilson <paw () northstar ! dartmouth ! edu>
To: tru64-unix-managers
Subject: DECthreads problem
Date: Tue, 18 Feb 1997 17:47:16 +0000 [thread overview]
Message-ID: <96078608810375.tru64-unix-managers.marc@archive.invalid> (raw)
One of the developers here reports the following - is there a patch known?
Many thanks; I'll summarize.
Pat Wilson
paw@dartmouth.edu
------- Forwarded Message
I've run into a problem with DECthreads and disassociated programs:
There is a problem with the pthread libraries in DU 4.0B. If an
exception isn't handled by code in the program, the DECthreads code
can end up writing the following sort of message out fd 1 or 2 (stdout
or stderr). If the program has disassociated from its control
terminal, then fds 1 and 2 may be in use for other purposes (e.g. as
sockets), quite possibly in situations where the following message
causes some sort of problem for the program at the other end of the
socket. I will probably add code to my program to open fds 1 and 2 to
/dev/null or some such, but I really don't think a system library
should write to stdout or stderr in any circumstances. If it needs to
do something, perhaps syslog(3) would be a reasonable alternative.
DECthreads Last Chance handler: thread 1 exiting on status exception 0x177db005
Exception: Invalid memory address (dce / thd)
- -Eric Bivona
Information Systems, Dartmouth College
------- End of Forwarded Message
next reply other threads:[~1997-02-18 17:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-02-18 17:47 Pat Wilson [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-05-09 9:59 DECthreads problem Dr. Otto Titze, Kernphysik TUD, +49 6151 162916
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