[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxuum::document_ft

Title:DOCUMENT T1.0
Notice:**New notesfile (DOCUMENT.NOTE) now available (see note 897)**
Moderator:CLOSET::ADLER
Created:Mon Feb 09 1987
Last Modified:Thu Oct 31 1991
Last Successful Update:Fri Jun 06 1997
Number of topics:897
Total number of notes:4397

470.0. "Control-Y'ing DOCUMENT can blow away your job" by COOKIE::WITHERS (Le plus ca change...) Fri Jun 05 1987 12:55

Control-y'ing  DOCUMENT can blow away your job.   Attached is a SET
HOST/LOG that demonstrates the problem.

BobW



$ doc qh_reqs_mtg_try_4 memo

Starting Debugging Run...

VAX DOCUMENT T1.0-001
[ T a g   T r a n s l a t i o n ]...
T1.0
End of Loading of Tag Definitions
Tag <PAGE> produces device-specific output.
Tag <PAGE> produces device-specific output.
at text on line 129 in file
   DISK$CSSE_DISK:[WITHERS.SPEC.WORK]QH_REQS_MTG_TRY_4.GNC;
   Tag <DELIMITER> is undefined
Tag <PAGE> produces device-specific output.
End of first pass over the input
There were 2 undefined tag invocations
Pass 1: 4.4  Pass 2: 2.3  Total: 6.7 seconds

Building LN01 file...

VAX DOCUMENT T1.0-001
[ T e x t   F o r m a t t i n g ]...
T1.1							<ctrl/y here>

  Improperly handled condition, bad stack or no handler specified.

	Signal arguments	      Stack contents

	Number = 00000005		 00000000
	Name   = 0000000C		 7FF5D44C
		 00000001		 7FF66C39
		 00000001		 7FF6351F
		 7FF61138		 7FF6382A
		 02800000		 7FF5DA6A
					 7FFED266
					 00000000
					 00000001
					 00000000

	Register dump

	R0 = 7FFE3A06  R1 = 00000001  R2 = 7FF0691B  R3 = 00000000
	R4 = 80411AD0  R5 = 00000000  R6 = 001D24C0  R7 = 00000003
	R8 = 0027B46C  R9 = 7FF7DF28  R10= 7FFEDDD4  R11= 7FFE33DC
	AP = 00000010  FP = 7FFEDDD4  SP = 7FFED242  PC = 7FF61138
	PSL= 02800000

T.RTitleUserPersonal
Name
DateLines
470.1hmmmmWRONGO::PARMENTERVenusian or Venerean?Fri Jun 05 1987 15:298
    Hmmmm.  I couldn't reproduce that error on BL7, BL8, or V1.0.
    Moreover, we've never had a problem of that sort at all.  Was there
    anything unusual about what you were doing?  I gather since you
    were able to SET HOST/LOG that <emphasis>(you) can reproduce it.
    
    Has this happened under any other circumstances?
    
    David Parmenter
470.2Mostly reproducibleCOOKIE::WITHERSLe plus ca change...Fri Jun 05 1987 16:3612
    I am able to reproduce this most of the time (there seems to be
    a window where this occurs).  The window occurs right after it says
    T1.1 and can happen in the text formatting on either the LN01 or
    LN03.  I havn't tried it at other points in my com file.  I actually
    suspect that this is really a VMS problem - especially since my
    COM file does control-y trapping.  I can't be sure though because
    the system is not logging errors at the time I do this.
    
    As they say, additional info:  VMS V4.5, VAX 8800 (I think - I could
    have been on our 8700 or our 8650).
    
    BobW
470.3Not likely DOCUMENT's problemBUNSUP::LITTLETodd Little NJCD SWS 323-4475Fri Jun 05 1987 16:447
    Unless DOCUMENT runs in SUPERVISOR mode, its highly unlikely this
    is DOCUMENT's problem.  The PSL on the stack listed there indicates
    both CURRENT and PREVIOUS mode as being SUPERVISOR mode, i.e. DCL.
    Maybe there is something funny in the way you've set up your CONTROL-Y
    handler in your command procedure.
    
    -tl
470.4reproducibleCOOKIE::WITHERSLe plus ca change...Fri Jun 05 1987 17:3012
    Well,  I've reproduced the problem on an 8700 and a 785.  Havn't
    gotten the job to crash on an 8650 or an 8800.  I'll keep tring.
    
    A couple'a things you may want to know:  This is a rather long file
    (8 pages to the LN03) and I'm using a com file that you can find
    in COOKIE""::DISK$CSSE_DISK:[WITHERS.PUBLIC]DODOC.COM.
    
    Any help would be apreciated - or tell me that it is VMS's problem
    and I'll go ask in VMSNOTES.
    
    Thanks!
    BobW
470.5Yes, it is probably VMS's problemBUNSUP::LITTLETodd Little NJCD SWS 323-4475Fri Jun 05 1987 22:358
    I essentially said it was VMS's problem?.  I can't imagine that
    DOCUMENT runs in SUPERVISOR mode.  As such, it should not be possible
    for ANY non-priv USER mode code to cause an error in an inner mode
    (like SUPERVISOR mode), i.e. meaning the problem is in SUPERVISOR mode
    or inner mode, all of which are in the domain of VMS, unless you are
    running some priv code or inner mode code. 
    
    -tl 
470.6VAXUUM::ADLERFri Jun 12 1987 17:253
Can you reproduce the problem outside of your command procedure?

--Brian
470.7its reproducible.WRONGO::PARMENTERVenusian or Venerean?Fri Jun 12 1987 18:1210
    Well I dug a little deeper, and I can in fact reproduce the problem
    in BL9 of Document.  As a matter of fact, my process gets logged
    out(!!!)  at the same time.
    
    This is in all likelihood a bug in Document and not VMS.  I'll post a
    note here when the problem is fixed. Thanks for your patience,
    
    David Parmenter                                               
                      
470.8Fixed for V1.0WRONGO::PARMENTERVenusian or Venerean?Mon Jun 15 1987 18:106
    This may turn out to be a VMS bug, but we don't have time to find
    out right now.  It is fixed for V1.0 .
    
    
    David Parmenter
    
470.9How can this not be a VMS bug?BUNSUP::LITTLETodd Little NJCD SWS 323-4475Wed Jun 17 1987 00:2011
    Its been a long time since I did any serious VMS support, but I'm
    pretty certain I can look at a stack and see a PSL that says current
    mode SUPERVISOR and previous mode SUPERVISOR.  VMS protection scheme
    is such that a user running a non-privileged USER mode image is
    NOT supposed to be able to cause exceptions in inner modes.  I can't
    see any possible way it is a DOCUMENT bug other than to say that
    DOCUMENT exacerbates the underlying problem.  I'm sure VMS development
    would love to know how a non-privileged USER mode image can force
    a SUPERVISOR mode exception.
    
    -tl