* Qemu terminating with SIGABRT
@ 2009-12-11 17:08 ` David S. Ahern
0 siblings, 0 replies; 14+ messages in thread
From: David S. Ahern @ 2009-12-11 17:08 UTC (permalink / raw)
To: qemu-devel, kvm-devel
I realize this is a rather generic question, but what are typical
reasons Qemu would be killed by a SIGABRT? I am seeing this on a
somewhat regular (though not repeatable on demand) basis. I do not have
a core file, though I hope to capture one if I can get it repeat again.
Thanks,
--
David Ahern
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Qemu-devel] Qemu terminating with SIGABRT
@ 2009-12-11 17:08 ` David S. Ahern
0 siblings, 0 replies; 14+ messages in thread
From: David S. Ahern @ 2009-12-11 17:08 UTC (permalink / raw)
To: qemu-devel, kvm-devel
I realize this is a rather generic question, but what are typical
reasons Qemu would be killed by a SIGABRT? I am seeing this on a
somewhat regular (though not repeatable on demand) basis. I do not have
a core file, though I hope to capture one if I can get it repeat again.
Thanks,
--
David Ahern
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Qemu terminating with SIGABRT
2009-12-11 17:08 ` [Qemu-devel] " David S. Ahern
(?)
@ 2009-12-11 18:11 ` Juan Quintela
-1 siblings, 0 replies; 14+ messages in thread
From: Juan Quintela @ 2009-12-11 18:11 UTC (permalink / raw)
To: David S. Ahern; +Cc: qemu-devel, kvm-devel
"David S. Ahern" <daahern@cisco.com> wrote:
> I realize this is a rather generic question, but what are typical
> reasons Qemu would be killed by a SIGABRT? I am seeing this on a
> somewhat regular (though not repeatable on demand) basis. I do not have
> a core file, though I hope to capture one if I can get it repeat again.
My experience with abort() was with code calling qemu_malloc(0). (*)
Not sure if this is the problem that you are seing, but this is as good
guess as anyother one.
Later, Juan.
(*): Please, not atother qemu_malloc(0) flame, please.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Qemu terminating with SIGABRT
2009-12-11 17:08 ` [Qemu-devel] " David S. Ahern
@ 2009-12-12 8:09 ` Avi Kivity
-1 siblings, 0 replies; 14+ messages in thread
From: Avi Kivity @ 2009-12-12 8:09 UTC (permalink / raw)
To: David S. Ahern; +Cc: qemu-devel, kvm-devel
On 12/11/2009 07:08 PM, David S. Ahern wrote:
> I realize this is a rather generic question, but what are typical
> reasons Qemu would be killed by a SIGABRT? I am seeing this on a
> somewhat regular (though not repeatable on demand) basis. I do not have
> a core file, though I hope to capture one if I can get it repeat again.
>
There's pretty much nothing we can do without a core.
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Qemu-devel] Re: Qemu terminating with SIGABRT
@ 2009-12-12 8:09 ` Avi Kivity
0 siblings, 0 replies; 14+ messages in thread
From: Avi Kivity @ 2009-12-12 8:09 UTC (permalink / raw)
To: David S. Ahern; +Cc: qemu-devel, kvm-devel
On 12/11/2009 07:08 PM, David S. Ahern wrote:
> I realize this is a rather generic question, but what are typical
> reasons Qemu would be killed by a SIGABRT? I am seeing this on a
> somewhat regular (though not repeatable on demand) basis. I do not have
> a core file, though I hope to capture one if I can get it repeat again.
>
There's pretty much nothing we can do without a core.
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] Qemu terminating with SIGABRT
2009-12-11 17:08 ` [Qemu-devel] " David S. Ahern
` (2 preceding siblings ...)
(?)
@ 2009-12-12 8:52 ` Stefan Weil
2009-12-12 18:09 ` [Qemu-devel] " David S. Ahern
-1 siblings, 1 reply; 14+ messages in thread
From: Stefan Weil @ 2009-12-12 8:52 UTC (permalink / raw)
To: David S. Ahern; +Cc: qemu-devel, kvm-devel
David S. Ahern schrieb:
> I realize this is a rather generic question, but what are typical
> reasons Qemu would be killed by a SIGABRT? I am seeing this on a
> somewhat regular (though not repeatable on demand) basis. I do not have
> a core file, though I hope to capture one if I can get it repeat again.
>
> Thanks,
>
Look for "abort" in QEMU's code to see the possible reasons.
In many cases, the reason will be printed to stderr before
aborting. Did you call QEMU from a console and get some
output there? Or maybe the stderr output went into a file?
Run "ulimit -c unlimited" before you run QEMU, then a
core file will be written automatically on SIGABRT.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Qemu terminating with SIGABRT
2009-12-12 8:52 ` [Qemu-devel] " Stefan Weil
@ 2009-12-12 18:09 ` David S. Ahern
0 siblings, 0 replies; 14+ messages in thread
From: David S. Ahern @ 2009-12-12 18:09 UTC (permalink / raw)
To: Stefan Weil; +Cc: qemu-devel, kvm-devel, Avi Kivity
Thanks for the responses. I had forgotten that SIGABRT==abort() which
means I have to get the core file to get to the root cause. To date the
only information I have is a shell exit status of 134 which from the
bash man pages means it died due to SIGABRT.
David Ahern
On 12/12/2009 01:52 AM, Stefan Weil wrote:
> David S. Ahern schrieb:
>> I realize this is a rather generic question, but what are typical
>> reasons Qemu would be killed by a SIGABRT? I am seeing this on a
>> somewhat regular (though not repeatable on demand) basis. I do not have
>> a core file, though I hope to capture one if I can get it repeat again.
>>
>> Thanks,
>>
>
> Look for "abort" in QEMU's code to see the possible reasons.
>
> In many cases, the reason will be printed to stderr before
> aborting. Did you call QEMU from a console and get some
> output there? Or maybe the stderr output went into a file?
>
> Run "ulimit -c unlimited" before you run QEMU, then a
> core file will be written automatically on SIGABRT.
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] Qemu terminating with SIGABRT
@ 2009-12-12 18:09 ` David S. Ahern
0 siblings, 0 replies; 14+ messages in thread
From: David S. Ahern @ 2009-12-12 18:09 UTC (permalink / raw)
To: Stefan Weil; +Cc: qemu-devel, kvm-devel, Avi Kivity
Thanks for the responses. I had forgotten that SIGABRT==abort() which
means I have to get the core file to get to the root cause. To date the
only information I have is a shell exit status of 134 which from the
bash man pages means it died due to SIGABRT.
David Ahern
On 12/12/2009 01:52 AM, Stefan Weil wrote:
> David S. Ahern schrieb:
>> I realize this is a rather generic question, but what are typical
>> reasons Qemu would be killed by a SIGABRT? I am seeing this on a
>> somewhat regular (though not repeatable on demand) basis. I do not have
>> a core file, though I hope to capture one if I can get it repeat again.
>>
>> Thanks,
>>
>
> Look for "abort" in QEMU's code to see the possible reasons.
>
> In many cases, the reason will be printed to stderr before
> aborting. Did you call QEMU from a console and get some
> output there? Or maybe the stderr output went into a file?
>
> Run "ulimit -c unlimited" before you run QEMU, then a
> core file will be written automatically on SIGABRT.
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] Qemu terminating with SIGABRT
2009-12-12 18:09 ` [Qemu-devel] " David S. Ahern
@ 2009-12-14 16:04 ` Luiz Capitulino
-1 siblings, 0 replies; 14+ messages in thread
From: Luiz Capitulino @ 2009-12-14 16:04 UTC (permalink / raw)
To: David S. Ahern; +Cc: Stefan Weil, qemu-devel, kvm-devel, Avi Kivity
On Sat, 12 Dec 2009 11:09:38 -0700
"David S. Ahern" <daahern@cisco.com> wrote:
> Thanks for the responses. I had forgotten that SIGABRT==abort() which
> means I have to get the core file to get to the root cause. To date the
> only information I have is a shell exit status of 134 which from the
> bash man pages means it died due to SIGABRT.
Are you using qemu-kvm or upstream qemu? Which version? Don't you
have any procedure which would make the bug more likely to happen?
Thanks.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] Qemu terminating with SIGABRT
@ 2009-12-14 16:04 ` Luiz Capitulino
0 siblings, 0 replies; 14+ messages in thread
From: Luiz Capitulino @ 2009-12-14 16:04 UTC (permalink / raw)
To: David S. Ahern; +Cc: qemu-devel, kvm-devel, Avi Kivity
On Sat, 12 Dec 2009 11:09:38 -0700
"David S. Ahern" <daahern@cisco.com> wrote:
> Thanks for the responses. I had forgotten that SIGABRT==abort() which
> means I have to get the core file to get to the root cause. To date the
> only information I have is a shell exit status of 134 which from the
> bash man pages means it died due to SIGABRT.
Are you using qemu-kvm or upstream qemu? Which version? Don't you
have any procedure which would make the bug more likely to happen?
Thanks.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] Qemu terminating with SIGABRT
2009-12-14 16:04 ` Luiz Capitulino
@ 2009-12-14 16:09 ` David S. Ahern
-1 siblings, 0 replies; 14+ messages in thread
From: David S. Ahern @ 2009-12-14 16:09 UTC (permalink / raw)
To: Luiz Capitulino; +Cc: Stefan Weil, qemu-devel, kvm-devel, Avi Kivity
I'm using a variant of the KVM source from RHEL5 plus a few
cherry-picked patches. Host OS is RHEL 5.3. The servers are using E5540
or E5504 processors. The host OS is running from a small USB key, and
there is no place to write a core file. Other accommodations have to be
made to get it. Hopefully by the end of the week I can get make to
reproducing the abort and capturing a core.
David Ahern
On 12/14/2009 09:04 AM, Luiz Capitulino wrote:
> On Sat, 12 Dec 2009 11:09:38 -0700
> "David S. Ahern" <daahern@cisco.com> wrote:
>
>> Thanks for the responses. I had forgotten that SIGABRT==abort() which
>> means I have to get the core file to get to the root cause. To date the
>> only information I have is a shell exit status of 134 which from the
>> bash man pages means it died due to SIGABRT.
>
> Are you using qemu-kvm or upstream qemu? Which version? Don't you
> have any procedure which would make the bug more likely to happen?
>
> Thanks.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] Qemu terminating with SIGABRT
@ 2009-12-14 16:09 ` David S. Ahern
0 siblings, 0 replies; 14+ messages in thread
From: David S. Ahern @ 2009-12-14 16:09 UTC (permalink / raw)
To: Luiz Capitulino; +Cc: qemu-devel, kvm-devel, Avi Kivity
I'm using a variant of the KVM source from RHEL5 plus a few
cherry-picked patches. Host OS is RHEL 5.3. The servers are using E5540
or E5504 processors. The host OS is running from a small USB key, and
there is no place to write a core file. Other accommodations have to be
made to get it. Hopefully by the end of the week I can get make to
reproducing the abort and capturing a core.
David Ahern
On 12/14/2009 09:04 AM, Luiz Capitulino wrote:
> On Sat, 12 Dec 2009 11:09:38 -0700
> "David S. Ahern" <daahern@cisco.com> wrote:
>
>> Thanks for the responses. I had forgotten that SIGABRT==abort() which
>> means I have to get the core file to get to the root cause. To date the
>> only information I have is a shell exit status of 134 which from the
>> bash man pages means it died due to SIGABRT.
>
> Are you using qemu-kvm or upstream qemu? Which version? Don't you
> have any procedure which would make the bug more likely to happen?
>
> Thanks.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] Qemu terminating with SIGABRT
2009-12-14 16:09 ` David S. Ahern
(?)
@ 2009-12-21 14:16 ` David S. Ahern
2009-12-21 14:22 ` Avi Kivity
-1 siblings, 1 reply; 14+ messages in thread
From: David S. Ahern @ 2009-12-21 14:16 UTC (permalink / raw)
To: Luiz Capitulino, Avi Kivity; +Cc: kvm-devel
> On 12/14/2009 09:04 AM, Luiz Capitulino wrote:
>> On Sat, 12 Dec 2009 11:09:38 -0700
>> "David S. Ahern" <daahern@cisco.com> wrote:
>>
>>> Thanks for the responses. I had forgotten that SIGABRT==abort() which
>>> means I have to get the core file to get to the root cause. To date the
>>> only information I have is a shell exit status of 134 which from the
>>> bash man pages means it died due to SIGABRT.
>>
>> Are you using qemu-kvm or upstream qemu? Which version? Don't you
>> have any procedure which would make the bug more likely to happen?
>>
>> Thanks.
I still have not been able to capture a core, but I did get this from
stderr:
unhandled vm exit: 0x31 vcpu_id 3
ax 0000000000000000 rbx 00000000c0109120 rcx 0000000000000000 rdx
00000000c9ee2000
rsi 00000000c9ee2000 rdi 00000000c9ee2000 rsp 00000000c9ee3fb0 rbp
00000000c0109120
r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11
0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15
0000000000000000
rip 00000000c0109149 rflags 00000246
cs 0060 (00000000/ffffffff p 1 dpl 0 db 1 s 1 type b l 0 g 1 avl 0)
ds 0068 (00000000/ffffffff p 1 dpl 0 db 1 s 1 type 3 l 0 g 1 avl 0)
es 0068 (00000000/ffffffff p 1 dpl 0 db 1 s 1 type 3 l 0 g 1 avl 0)
ss 0068 (00000000/ffffffff p 1 dpl 0 db 1 s 1 type 3 l 0 g 1 avl 0)
fs 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
gs 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
tr 0070 (c0433300/000000eb p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0)
ldt 0078 (fff5c000/00000027 p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0)
gdt c0384300/ff
idt c0436000/7ff
cr0 8005003b cr2 ad2f77a0 cr3 36e72440 cr4 6f0 cr8 0 efer 800
David
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Qemu-devel] Qemu terminating with SIGABRT
2009-12-21 14:16 ` David S. Ahern
@ 2009-12-21 14:22 ` Avi Kivity
0 siblings, 0 replies; 14+ messages in thread
From: Avi Kivity @ 2009-12-21 14:22 UTC (permalink / raw)
To: David S. Ahern; +Cc: Luiz Capitulino, kvm-devel
On 12/21/2009 04:16 PM, David S. Ahern wrote:
>
> I still have not been able to capture a core, but I did get this from
> stderr:
>
> unhandled vm exit: 0x31 vcpu_id 3
>
>
This was fixed by 083e9e10dd9.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2009-12-21 14:26 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-11 17:08 Qemu terminating with SIGABRT David S. Ahern
2009-12-11 17:08 ` [Qemu-devel] " David S. Ahern
2009-12-11 18:11 ` Juan Quintela
2009-12-12 8:09 ` Avi Kivity
2009-12-12 8:09 ` [Qemu-devel] " Avi Kivity
2009-12-12 8:52 ` [Qemu-devel] " Stefan Weil
2009-12-12 18:09 ` David S. Ahern
2009-12-12 18:09 ` [Qemu-devel] " David S. Ahern
2009-12-14 16:04 ` Luiz Capitulino
2009-12-14 16:04 ` Luiz Capitulino
2009-12-14 16:09 ` David S. Ahern
2009-12-14 16:09 ` David S. Ahern
2009-12-21 14:16 ` David S. Ahern
2009-12-21 14:22 ` Avi Kivity
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.