qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Crash when dereferencing -1


From: Mulyadi Santosa
Subject: Re: [Qemu-devel] Crash when dereferencing -1
Date: Fri, 18 Apr 2008 10:52:16 +0700

Hi

On Thu, Apr 17, 2008 at 10:20 PM, Kent Borg <address@hidden> wrote:
> Running 0.9.0 on Ubuntu 7.04 host, a Ubuntu 7.04 guest crashes when I
> dereference -1.  This also happens on a Windows XP host running the
> precompiled Qemu 0.9.1.  Both with kqemu.
>
>  #include <stdio.h>
>
>  main()
>  {
>   int *foo = -1;
>
>   printf("hello, world %d\n", *foo);
>  }
>

I suspect SIGSEGV isn't handled correctly or just passed to the host,
thus triggering process termination.

regards,

Mulyadi.




reply via email to

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