From: Blue Swirl <blauwirbel@gmail.com>
To: Isaku Yamahata <yamahata@valinux.co.jp>
Cc: qemu-devel@nongnu.org, Markus Armbruster <armbru@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] isapc: fix segfault.
Date: Sat, 28 Aug 2010 09:04:11 +0000 [thread overview]
Message-ID: <AANLkTikFH5SS8ewxZoQNxEMaF0vbXzW=fa2bvcmK9JRx@mail.gmail.com> (raw)
In-Reply-To: <20100824050631.GK20428@valinux.co.jp>
Thanks, applied.
On Tue, Aug 24, 2010 at 5:06 AM, Isaku Yamahata <yamahata@valinux.co.jp> wrote:
> Ping.
>
> On Wed, Aug 04, 2010 at 05:43:20PM +0900, Isaku Yamahata wrote:
>> https://bugs.launchpad.net/bugs/611646
>> reports that ./i386-softmmu/qemu -M isapc segfaults.
>> This patch fixes the segfault introduced by
>> f885f1eaa8711c06033ceb1599e3750fb37c306f
>>
>> It's because i440fx_state in pc_init1() isn't initialized.
>>
>> > Core was generated by `./i386-softmmu/qemu -M isapc'.
>> > Program terminated with signal 11, Segmentation fault.
>> > [New process 19686]
>> > at qemu/hw/piix_pci.c:136
>> > (gdb) where
>> > at qemu/hw/piix_pci.c:136
>> > boot_device=0x7fffe1f5b040 "cad", kernel_filename=0x0,
>> > kernel_cmdline=0x6469bf "", initrd_filename=0x0,
>> > cpu_model=0x654d10 "486", pci_enabled=0)
>> > at qemu/hw/pc_piix.c:178
>> > boot_device=0x7fffe1f5b040 "cad", kernel_filename=0x0,
>> > kernel_cmdline=0x6469bf "", initrd_filename=0x0, cpu_model=0x654d10 "486")
>> > at qemu/hw/pc_piix.c:207
>> > envp=0x7fffe1f5b188)
>> > at qemu/vl.c:2871
>>
>> Signed-off-by: Markus Armbruster <armbru@redhat.com>
>> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
>> ---
>> hw/pc_piix.c | 1 +
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/hw/pc_piix.c b/hw/pc_piix.c
>> index 812ddfd..34c65d5 100644
>> --- a/hw/pc_piix.c
>> +++ b/hw/pc_piix.c
>> @@ -103,6 +103,7 @@ static void pc_init1(ram_addr_t ram_size,
>> pci_bus = i440fx_init(&i440fx_state, &piix3_devfn, isa_irq, ram_size);
>> } else {
>> pci_bus = NULL;
>> + i440fx_state = NULL;
>> isa_bus_new(NULL);
>> }
>> isa_bus_irqs(isa_irq);
>> --
>> 1.7.1.1
>>
>>
>
> --
> yamahata
>
>
prev parent reply other threads:[~2010-08-28 9:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-04 8:43 [Qemu-devel] [PATCH] isapc: fix segfault Isaku Yamahata
2010-08-24 5:06 ` Isaku Yamahata
2010-08-28 9:04 ` Blue Swirl [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='AANLkTikFH5SS8ewxZoQNxEMaF0vbXzW=fa2bvcmK9JRx@mail.gmail.com' \
--to=blauwirbel@gmail.com \
--cc=armbru@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=yamahata@valinux.co.jp \
/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).