* [Qemu-devel] Qemu terminating with SIGABRT
@ 2009-12-11 17:08 David S. Ahern
2009-12-12 8:09 ` [Qemu-devel] " Avi Kivity
2009-12-12 8:52 ` [Qemu-devel] " Stefan Weil
0 siblings, 2 replies; 6+ 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] 6+ messages in thread
* [Qemu-devel] Re: Qemu terminating with SIGABRT
2009-12-11 17:08 [Qemu-devel] Qemu terminating with SIGABRT David S. Ahern
@ 2009-12-12 8:09 ` Avi Kivity
2009-12-12 8:52 ` [Qemu-devel] " Stefan Weil
1 sibling, 0 replies; 6+ 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] 6+ messages in thread
* Re: [Qemu-devel] Qemu terminating with SIGABRT
2009-12-11 17:08 [Qemu-devel] Qemu terminating with SIGABRT David S. Ahern
2009-12-12 8:09 ` [Qemu-devel] " Avi Kivity
@ 2009-12-12 8:52 ` Stefan Weil
2009-12-12 18:09 ` David S. Ahern
1 sibling, 1 reply; 6+ 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] 6+ messages in thread
* Re: [Qemu-devel] Qemu terminating with SIGABRT
2009-12-12 8:52 ` [Qemu-devel] " Stefan Weil
@ 2009-12-12 18:09 ` David S. Ahern
2009-12-14 16:04 ` Luiz Capitulino
0 siblings, 1 reply; 6+ 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] 6+ messages in thread
* Re: [Qemu-devel] Qemu terminating with SIGABRT
2009-12-12 18:09 ` David S. Ahern
@ 2009-12-14 16:04 ` Luiz Capitulino
2009-12-14 16:09 ` David S. Ahern
0 siblings, 1 reply; 6+ 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] 6+ 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
0 siblings, 0 replies; 6+ 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] 6+ messages in thread
end of thread, other threads:[~2009-12-14 16:09 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-11 17:08 [Qemu-devel] Qemu terminating with SIGABRT David S. Ahern
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-14 16:04 ` Luiz Capitulino
2009-12-14 16:09 ` David S. Ahern
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).