home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!decwrl!concert!sas!mozart.unx.sas.com!sasjzs
- From: sasjzs@falcon.unx.sas.com (Joseph Slater)
- Subject: sys$hiber/sys$wake problems? - SUMMARY
- Originator: sasjzs@falcon.unx.sas.com
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Message-ID: <Bxnt96.8oJ@unx.sas.com>
- Date: Fri, 13 Nov 1992 14:51:05 GMT
- Reply-To: sasjzs@vms.sas.com
- References: <BxIAFn.2p6@unx.sas.com> <1992Nov10.180054.23127@fripp.ri.cadre.com> <BxIrqM.2pF@unx.sas.com> <1992Nov11.003646.249@rlgsc.com>
- Nntp-Posting-Host: falcon.unx.sas.com
- Organization: Or lack thereof
- Lines: 30
-
-
- Thanks to all who responded:
- Bob Gezelter, Ehud Gavron, James Harvey, Bruce Hudson,
- Russell Owen, Matt Madison, Carl Lydick, Rob deFriesse,
- Mike Moroney, Paul S. Winalski, and anyone else I may
- have missed.
-
- I determined the spurious $wake was not coming from the PPL
- rtl by patching the rtl so that any calls to $wake from
- within the rtl went to a stub routine in my main image. The
- stub routine then called Lib$signal with SS$_DEBUG where the
- call frame was traced and it afterwards called the real
- sys$wake. No calls were made from pplrtl (isn't patch wonderful?).
- I then looked at the other shareable images loaded and
- determined that the most likely culprit was.... (drum roll)
- THE DEBUGGER.
-
- And sure enough, the problem doesn't occur when the debugger
- isn't active.
-
- As many of you suggested, we will eventually add code to check
- the state on exit from $hiber and to re-hiber if we get awakened
- prematurely.
-
- Today's rhetorical question: How do you debug a problem caused
- by the debugger?
-
- Joe Slater
- sasjzs@vms.sas.com
- Mine opinion is just that.
-