[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: %gs:0 thread pseudoregister in oskit-mach

From: Jeroen Dekkers
Subject: Re: %gs:0 thread pseudoregister in oskit-mach
Date: Tue, 23 Apr 2002 21:43:51 +0200
User-agent: Mutt/1.3.28i

On Tue, Apr 23, 2002 at 03:16:34PM -0400, Roland McGrath wrote:
> > On Tue, Apr 23, 2002 at 01:27:11PM -0400, Roland McGrath wrote:
> > > > When hitting the send button I recalled that I had to remove an
> > > > assert, see the patch.
> > > 
> > > Thanks.  I put in a modified assert; please test that I got it right.
> > 
> > No, the assert gets hit when trying to access 0xc0000000. I guess we
> > should not put an assert there at all.
> Just change the >= to >

No, the assert happens using the DS segment. Hmm, I guess something
more is wrong here. It looks like the segment isn't protecting us here
and the segmentation fault just happens because of there is nothing
mapped at 0xc0000000 and it gets a page fault. If the segment would
protect us we should get a general protection exception, right?

Jeroen Dekkers
Jabber supporter - http://www.jabber.org Jabber ID: jdekkers@jabber.org
Debian GNU supporter - http://www.debian.org http://www.gnu.org
IRC: jeroen@openprojects

Attachment: pgpOUK_IFAxOG.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]