qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Windows build crash problem


From: Filip Navara
Subject: Re: [Qemu-devel] Windows build crash problem
Date: Wed, 12 Dec 2007 17:32:08 +0100

Actually  somebody has already described the problem on the mailing list and Paul Brook replied to that message. Hopefully you can find it in the archives.

F.

On Dec 12, 2007 5:25 PM, 武田 俊也 < address@hidden> wrote:
Hi all.

I encountered the crash problem with windows build on Core-Duo host.
Qemu crashes in cpu_interrupt() called from host_alarm_handler() in vl.c
because CPUState *env = next_cpu is null.

I tried the patch to check env is not null in host_alarm_handler()
and now qemu does not crash.

       CPUState *env = next_cpu;
+       if(env) {
       /* stop the currently executing cpu because a timer occured */
       cpu_interrupt(env, CPU_INTERRUPT_EXIT);
#ifdef USE_KQEMU
       if (env->kqemu_enabled) {
           kqemu_cpu_interrupt(env);
       }
#endif
+       }
       event_pending = 1;
}

This is very temporary patch and I need to investigate
why next_cpu is null but sorry now I dont have enough time.

Thanks,
TAKEDA, toshiya





reply via email to

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