Re: segfault with windows XP guest

Avi Kivity
2009-08-10T12:21:23Z

On 08/10/2009 03:13 PM, Gene Horodecki wrote:
> Avi Kivity wrote:
>> On 08/08/2009 03:56 AM, Gene Horodecki wrote:
>>> Hi there, I currently have about five guests set up with KVM, one of
>>> them being windows XP. I am having trouble with the windows XP
>>> one. It will works for a bit and then the process dies with the
>>> following in the kern.log:
>>>
>>> kvm[5593]: segfault at 29c ip 00000000004316d8 sp 00007fff0766bed0
>>> error 4 in kvm[400000+1e0000]
>>>
>>> Once the process dies once, then it keeps happening. The virtual
>>> machine will hardly boot now and it just crashes with this error.
>>>
>>> No major load on the windows VM, acpi enabled, a single 20Gb raw disk.
>>>
>>> Really hoping to get this working, thanks!
>>>
>>
>> Please generate a core dump and a stack trace. You may need to
>> ./configure --disable-strip so that debug symbols are retained.
>>
> Can someone please link me to instructions on how to do this? Thanks.
>

On the command line, do

$ ulimit -c unlimited

then run your guest (from the command line). When it segfaults it will
say "core dumped". Look for a file named core (or core.$PID), and run

$ gdb /path/to/qemu-system-x86_64 /path/to/core/file
(gdb) bt full

and post the results.

--
error compiling committee.c: too many arguments to function