From: broeker AT acp3bf DOT knirsch DOT de (Hans-Bernhard Broeker) Newsgroups: comp.os.msdos.djgpp Subject: Re: far call Date: 19 Oct 1999 23:02:50 +0200 Organization: RWTH Aachen, III. physikalisches Institut B Lines: 18 Message-ID: <7uim9q$14k@acp3bf.knirsch.de> References: NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 940366973 9097 137.226.32.75 (19 Oct 1999 21:02:53 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 19 Oct 1999 21:02:53 GMT X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Gisle Vanem (giva AT bryggen DOT bgnett DOT no) wrote: > Eli Zaretskii said: > > > Exiting due to signal SIGSEGV > > > General Protection Fault at eip=00001dcc, error=01d4 > > So in this case, you are trying to use a selector 0x1d4, which is indeed > > invalid (it's not ring-3 selector). > > OTOH, the error code doesn't include the ring-level. It does. You just don't see it because you don't know where to look --- the 2 lowest bits of the descriptor are the ring-level. Your descriptor is 0x1d4 ==> lowest bits are 00 ==> Ring-0 was requested. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.