From: Joachim Henke <joachim.henke@stud.tu-ilmenau.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Mac OS X issues
Date: Tue, 13 Dec 2005 20:34:32 +0100 [thread overview]
Message-ID: <11979026-8109-4044-A0C5-8B4E15B41C84@stud.tu-ilmenau.de> (raw)
In-Reply-To: <C791EFAF-27DD-44E4-853A-497AB08CD51F@stud.tu-ilmenau.de>
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_PROTECTION_FAILURE at address: 0x00000010
> 0x00062f98 in tb_phys_invalidate (tb=0x8cad00,
> page_addr=4294967295) at /Volumes/Data/build/qemu/exec-all.h:249
> 249 {
>
> This is the path to the crash (each function calling the next one):
>
> tb_invalidate_phys_page_range() [exec.c]
> tb_phys_invalidate() [exec.c]
> tb_reset_jump() [exec.c]
> tb_set_jmp_target() [exec-all.h]
>
> According to GDB, qemu crashes in the moment (or shortly after)
> when tb_set_jmp_target() is called (line 442, exec.c). As I wrote
> in my last post, the crash does not occur when cpu-exec.c is
> compiled with GCC4 while everything else is compiled with GCC3.
> Compiling only exec.c with GCC4 does not help. Since cpu-exec.c
> includes exec-all.h through target-pcc/exec.h this could be a point
> to start.
For completeness I did the opposit experiment with the same CVS code:
Compiling everything with GCC4, but compiling cpu-exec.c with GCC3.
And qemu crashes like a pure GCC3 build. GDB output is a little bit
different, but points in fact to the same place. Note that the
functions tb_phys_invalidate() <- tb_reset_jump() <- tb_set_jmp_target
() are all inlined into tb_invalidate_phys_page_range().
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000010
0x00061e20 in tb_invalidate_phys_page_range (start=630485,
end=630486, is_cpu_write_access=1) at /Volumes/Data/build/qemu/exec.c:
442
442 tb_set_jmp_target(tb, n, (unsigned long)(tb->tc_ptr + tb-
>tb_next_offset[n]));
I post this with the hope that the main authors of these files can help.
Sinercely
Jo.
next prev parent reply other threads:[~2005-12-13 19:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-08 17:21 [Qemu-devel] [PATCH] Mac OS X: QEMU crashes when pressing dead keys Joachim Henke
2005-12-09 9:34 ` Mike Kronenberg
2005-12-09 22:34 ` [Qemu-devel] Mac OS X issues Joachim Henke
2005-12-10 13:31 ` Mike Kronenberg
2005-12-11 14:56 ` Joachim Henke
2005-12-11 17:22 ` Mike Kronenberg
2005-12-11 20:47 ` Joachim Henke
2005-12-12 17:38 ` Mike Kronenberg
2005-12-13 16:33 ` Joachim Henke
2005-12-13 19:34 ` Joachim Henke [this message]
2005-12-14 17:53 ` Mike Kronenberg
2005-12-17 0:03 ` Joachim Henke
2005-12-19 18:21 ` Joachim Henke
2005-12-20 9:33 ` Mike Kronenberg
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=11979026-8109-4044-A0C5-8B4E15B41C84@stud.tu-ilmenau.de \
--to=joachim.henke@stud.tu-ilmenau.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.