From: "Mulyadi Santosa" <mulyadi.santosa@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Crash when dereferencing -1
Date: Fri, 18 Apr 2008 10:52:16 +0700 [thread overview]
Message-ID: <f284c33d0804172052p24bcf4bdq4ac5ad0038b214b4@mail.gmail.com> (raw)
In-Reply-To: <48076ABF.9040503@borg.org>
Hi
On Thu, Apr 17, 2008 at 10:20 PM, Kent Borg <kentborg@borg.org> 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.
prev parent reply other threads:[~2008-04-18 3:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-17 15:20 [Qemu-devel] Crash when dereferencing -1 Kent Borg
2008-04-18 3:52 ` Mulyadi Santosa [this message]
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=f284c33d0804172052p24bcf4bdq4ac5ad0038b214b4@mail.gmail.com \
--to=mulyadi.santosa@gmail.com \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).