Bug 1079234

Summary: [abrt] qemu-system-x86: error_exit(): qemu-system-x86_64 killed by SIGABRT
Product: [Fedora] Fedora Reporter: Robin Hack <rhack>
Component: qemuAssignee: Fedora Virtualization Maintainers <virt-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: amit.shah, berrange, cfergeau, crobinso, dwmw2, itamar, pbonzini, rhack, rjones, scottt.tw, virt-maint
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/c0197c8d61cbc6e22e135d0ecf048b0457e20042
Whiteboard: abrt_hash:dbb5aeb2a4442ae723155cf5c0b5bfa9b0a2ece4
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-31 19:27:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Robin Hack 2014-03-21 09:19:53 UTC
Description of problem:
qemu-kvm --smp cpus=255

Version-Release number of selected component:
qemu-system-x86-1.6.1-3.fc20

Additional info:
reporter:       libreport-2.2.0
backtrace_rating: 4
cmdline:        /usr/bin/qemu-system-x86_64 -machine accel=kvm --smp cpus=44
crash_function: error_exit
executable:     /usr/bin/qemu-system-x86_64
kernel:         3.13.6-200.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            20787

Truncated backtrace:
Thread no. 1 (10 frames)
 #2 error_exit at util/qemu-thread-posix.c:28
 #3 qemu_thread_create at util/qemu-thread-posix.c:299
 #4 qemu_kvm_start_vcpu at /usr/src/debug/qemu-1.6.1/cpus.c:1064
 #5 qemu_init_vcpu at /usr/src/debug/qemu-1.6.1/cpus.c:1089
 #6 x86_cpu_realizefn at /usr/src/debug/qemu-1.6.1/target-i386/cpu.c:2399
 #7 device_set_realized at hw/core/qdev.c:720
 #8 property_set_bool at qom/object.c:1300
 #9 object_property_set_qobject at qom/qom-qobject.c:24
 #10 object_property_set_bool at qom/object.c:851
 #11 pc_new_cpu at /usr/src/debug/qemu-1.6.1/hw/i386/pc.c:922

Comment 1 Robin Hack 2014-03-21 09:20:03 UTC
Created attachment 877168 [details]
File: backtrace

Comment 2 Robin Hack 2014-03-21 09:20:06 UTC
Created attachment 877169 [details]
File: cgroup

Comment 3 Robin Hack 2014-03-21 09:20:10 UTC
Created attachment 877170 [details]
File: core_backtrace

Comment 4 Robin Hack 2014-03-21 09:20:13 UTC
Created attachment 877171 [details]
File: dso_list

Comment 5 Robin Hack 2014-03-21 09:20:16 UTC
Created attachment 877172 [details]
File: environ

Comment 6 Robin Hack 2014-03-21 09:20:18 UTC
Created attachment 877173 [details]
File: limits

Comment 7 Robin Hack 2014-03-21 09:20:21 UTC
Created attachment 877174 [details]
File: maps

Comment 8 Robin Hack 2014-03-21 09:20:24 UTC
Created attachment 877175 [details]
File: open_fds

Comment 9 Robin Hack 2014-03-21 09:20:27 UTC
Created attachment 877176 [details]
File: proc_pid_status

Comment 10 Robin Hack 2014-03-21 09:20:30 UTC
Created attachment 877177 [details]
File: var_log_messages

Comment 11 Cole Robinson 2014-03-21 12:57:39 UTC
qemu is aborting because pthread_create failed... was printed in stderr? My guess is this is some resource exhaustion, like hitting a thread limit given --smp cpus=44

Comment 12 Robin Hack 2014-04-25 07:21:04 UTC
I'm able to reproduce this with:
$ qemu-kvm --smp cpus=255
qemu: qemu_thread_create: Resource temporarily unavailable
Aborted (core dumped)

So.. maybe little bit error handling will be good.

Comment 13 Fedora End Of Life 2015-05-29 11:19:40 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 14 Cole Robinson 2015-05-31 19:27:24 UTC
F22 now has:

$ qemu-kvm -smp cpus=255
Warning: Number of SMP cpus requested (255) exceeds the recommended cpus supported by KVM (160)
Warning: Number of hotpluggable cpus requested (255) exceeds the recommended cpus supported by KVM (160)