From: Arjan van de Ven <arjan@infradead.org>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Bart Oldeman <bartoldeman@users.sourceforge.net>,
Adrian Bunk <bunk@stusta.de>,
linux-kernel@vger.kernel.org, linux-msdos@vger.kernel.org,
Ingo Molnar <mingo@elte.hu>
Subject: Re: 2.6.12-rc1 breaks dosemu
Date: Sat, 26 Mar 2005 15:35:26 +0100 [thread overview]
Message-ID: <1111847727.8042.29.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <1111847336.8042.26.camel@laptopd505.fenrus.org>
On Sat, 2005-03-26 at 15:28 +0100, Arjan van de Ven wrote:
> On Sat, 2005-03-26 at 14:49 +0100, Arnd Bergmann wrote:
> > On Sünnavend 26 März 2005 09:18, Bart Oldeman wrote:
> > > On Sat, 26 Mar 2005, Arjan van de Ven wrote:
> > >
> > > > > eip: 0x000069ee esp: 0xbfdbffcc eflags: 0x00010246
> > > >
> > > > hmm interesting. Can you check if at the time of the crash, the esp is
> > > > actually inside the stack vma? If it's not, I wonder what dosemu does to
> > > > get its stack pointer outside the vma... (and on which side of the vma
> > > > it is)
> >
> > The esp value is always slightly below the stack vma and above ld.so.
> > Running it a few times gives
> >
> > stack VMA crash esp
> > bfc8f000-bfca4000 bfc5ffcc
>
> the esp is 0x2F034/192564 bytes below the stack vma. That is a lot! I
> vaguely remember linux having a limit to how much below the stack vma it
> will allow accesses to auto-grow the stack, but I forgot what that limit
> actually was. I wonder if dosemu is somehow getting away with assuming a
> certain alignment by accident and then being inside the kernel grow
> limit, while with randomisation the alignment is only 4Kb and somehow a
> bigger-than-expected auto-grow is needed.
hmm I just read back your first mail and it seems the actual memory
access isn't to the stack at all but to 0xffffff8e
sounds like dosemu had an internal underflow somewhere...
next prev parent reply other threads:[~2005-03-26 14:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-20 2:11 Adrian Bunk
2005-03-20 3:04 ` Gene Heskett
2005-03-25 18:52 ` Arnd Bergmann
2005-03-25 19:14 ` Arjan van de Ven
2005-03-25 22:54 ` Arnd Bergmann
2005-03-26 8:10 ` Arjan van de Ven
2005-03-26 8:18 ` Bart Oldeman
2005-03-26 13:49 ` Arnd Bergmann
2005-03-26 14:28 ` Arjan van de Ven
2005-03-26 14:35 ` Arjan van de Ven [this message]
2005-03-26 8:25 ` Arjan van de Ven
2005-03-26 8:32 ` Bart Oldeman
2005-03-26 9:28 ` Arjan van de Ven
2005-03-31 6:43 ` Bart Oldeman
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=1111847727.8042.29.camel@laptopd505.fenrus.org \
--to=arjan@infradead.org \
--cc=arnd@arndb.de \
--cc=bartoldeman@users.sourceforge.net \
--cc=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-msdos@vger.kernel.org \
--cc=mingo@elte.hu \
/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®