From: Andi Kleen <ak@suse.de>
To: Dave <dave.jiang@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: x86_64 segfault error codes
Date: 14 Dec 2005 19:31:07 +0100 [thread overview]
Message-ID: <p73hd9b8r9w.fsf@verdi.suse.de> (raw)
In-Reply-To: <8746466a0512141017j141d61dft3dd2b1ab95dc2351@mail.gmail.com>
Dave <dave.jiang@gmail.com> writes:
> For segfault error codes on x86_64, bits 0-3 are documented in
> arch/x86_64/mm/fault.c. However, I am getting error 0x14 and 0x15 with this
> particular user app when it segfaults. Is bit 4 valid and what does that
> imply?
bit 4 is documented too in 2.6. It means it was an instruction fetch.
The error code is just the architectural error code for page faults
BTW, see the Intel and AMD manuals for details.
-Andi
next prev parent reply other threads:[~2005-12-14 18:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-14 18:17 Dave
2005-12-14 18:31 ` Andi Kleen [this message]
2005-12-14 19:24 ` Dave
2005-12-14 19:58 ` Andi Kleen
2005-12-14 20:09 ` Dave
2005-12-15 9:55 ` Hugh Dickins
2005-12-15 9:59 ` Andi Kleen
2005-12-15 14:49 ` Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=p73hd9b8r9w.fsf@verdi.suse.de \
--to=ak@suse.de \
--cc=dave.jiang@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®