qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] KQEMU bus errors


From: Julian Seward
Subject: Re: [Qemu-devel] KQEMU bus errors
Date: Sun, 13 Feb 2005 14:10:20 +0000
User-agent: KMail/1.7.1

On Sunday 13 February 2005 11:13, Jonas Maebe wrote:
> On 13 feb 2005, at 10:42, Darryl Dixon wrote:
> > Most of the references that I can find for a Linux 'Bus error' talk
> > about unaligned memory accesses.
>
> Indeed. The only way I know of to get a bus error under Linux/x86 from
> a user space program, is to turn on the alignment check flag in the
> eflags register, followed by an unaligned memory access.

I have a very vague and possibly wrong memory that the another way
to get a bus error is to mmap a file into an area which is too big
for the file, then read/write the area beyond the end of the file.
Or perhaps that was on Solaris.  In any case, it might be worth
checking this isn't somehow related to mmap or use of mmap.

J




reply via email to

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