Article View: comp.sys.ibm.pc.misc
Article #8970Re: exception #10 (not #13)
From: Jerry Gardner
Date: Thu, 04 Apr 1991 20:59
Date: Thu, 04 Apr 1991 20:59
29 lines
1893 bytes
1893 bytes
In article <22164@yunexus.YorkU.CA> rreiner@yunexus.YorkU.CA (Richard Reiner) writes:
>I have one small program which occasionally produces an exception #10
>(not exception #13) when run under QEMM 5.11 and DESQview 2.31.
>This is somewhat mysterious, since it is a very small program with
>only one execution path (I know -- I wrote it), and yet it only
>*sometimes*, i.e. about 1 time in 5, produces the exception. Anyone
>have any idea what this might mean?
Exception 10 is the "Invalid TSS" exception. A TSS is a task state segment,
a data structure used by the control program (in this case DESQview/QEMM) and
the CPU to manage tasks. Every time the processor switches tasks, it saves
the machine state for the current task into its TSS and loads the saved
machine state for the new task from its own TSS.
Since a TSS is a data structure used by control programs, I'd assume that
DESQview would mark the memory they occupy read-only, but perhaps this
isn't the case and our program accidently overwrites one or more TSS's.
Check your code for obvious problems such as dangling pointers and if nothing
appears to be wrong, try calling Quarterdeck customer service.
--
Jerry Gardner, NJ6A Altos Computer Systems
UUCP: {sun|pyramid|sco|amdahl|uunet}!altos!jerry 2641 Orchard Parkway
Internet: jerry@altos.com San Jose, CA 95134
Help stamp out vi in our lifetime. (408) 432-6200
Technical Details
Message-ID:
<4776@gumby.Altos.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!altos!gumby!jerryReferences:
<22164@yunexus.YorkU.CA>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!altos!gumby!jerry From: jerry@gumby.Altos.COM (Jerry Gardner) Newsgroups: comp.sys.ibm.pc.misc Subject: Re: exception #10 (not #13) Message-ID: <4776@gumby.Altos.COM> Date: 4 Apr 91 20:59:13 GMT References: <22164@yunexus.YorkU.CA> Reply-To: jerry@altos.COM (Jerry Gardner) Distribution: comp Organization: Altos Computer Systems, San Jose, CA Lines: 29