From: Al Viro <viro@ZenIV.linux.org.uk>
To: Zeno Davatz <zdavatz@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.31-rc1 crashes randomly on my Machine.
Date: Fri, 26 Jun 2009 08:15:21 +0100 [thread overview]
Message-ID: <20090626071520.GC8633@ZenIV.linux.org.uk> (raw)
In-Reply-To: <40a4ed590906252356i574f0da4jc3763cfc9f0f65f6@mail.gmail.com>
On Fri, Jun 26, 2009 at 08:56:52AM +0200, Zeno Davatz wrote:
> Jun 25 21:19:12 zenogentoo Code: 00 00 00 c7 47 20 00 00 00 00 c7 47
> 24 00 00 00 00 c7 47 10 00 00 00 00 c7 47 14 00 00 00 00 c7 47 0c 00
> 00 00 00 e9 27 ff ff ff <ff> 89 e5 57 56 53 83 ec 34 89 45 d0 89 55 cc
> 89 4d c8 8b 70 6c
> Jun 25 21:19:12 zenogentoo EIP: [<c10d1d35>] seq_read+0x0/0x3a5 SS:ESP
> 0068:f4b01f44
> Jun 25 21:19:12 zenogentoo CR2: 0000000053565be5
> Jun 25 21:19:12 zenogentoo ---[ end trace 6254fef9dc80950b ]---
> Jun 25 21:19:12 zenogentoo BUG: unable to handle kernel paging request
> at 53565be5
Real cute... Disassembly of that sucker:
decl 0x535657e5(%ecx)
which matches nicely the address in page fault. However, that doesn't
look even remotely plausible for a beginning of function. OTOH,
disassembly at one byte offset from that gives
mov %esp,%ebp
push %edi
push %esi
push %ebx
which is exactly what you'd expect to see in such place. IOW, you've
got an off-by-one - it had jumped at one byte before the actual entry
point of seq_read().
The interesting question is whether that's a memory corruption of some
kind or a linker fuckup. Check what does System.map have for
seq_read; if it's that address (c10d1d35), the odds are that you've
got something fishy going on with linking. Do objdump of vmlinux and
check the functions nearby; ditto for fs/seq_file.o.
next prev parent reply other threads:[~2009-06-26 7:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-26 6:56 2.6.31-rc1 crashes randomly on my Machine Zeno Davatz
2009-06-26 7:15 ` Al Viro [this message]
2009-06-26 7:39 ` Al Viro
2009-06-27 11:10 ` Zeno Davatz
2009-06-27 16:42 ` Al Viro
2009-06-29 6:35 ` Zeno Davatz
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=20090626071520.GC8633@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=zdavatz@gmail.com \
/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