Bug 1232308
| Summary: | [abrt] qemu-system-x86: qemu_ram_alloc(): qemu-system-x86_64 killed by SIGABRT | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Dr. David Alan Gilbert <dgilbert> |
| Component: | qemu-kvm-rhev | Assignee: | Markus Armbruster <armbru> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.2 | CC: | amit.shah, berrange, cfergeau, crobinso, dgilbert, dwmw2, extras-qa, guillaumepoiriermorency, hhuang, huding, itamar, juzhang, lmiksik, mazhang, mrezanin, pbonzini, rjones, robert.graham, scottt.tw, virt-maint, virt-maint, xfu |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/9eef57238ea402bf4a829269681bcb648be834a6 | ||
| Whiteboard: | abrt_hash:1e3f4bba7893f2ac643bcae8ef7138777361a1aa | ||
| Fixed In Version: | qemu-kvm-rhev-2.3.0-25.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1215372 | Environment: | |
| Last Closed: | 2015-12-04 16:46:53 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: | |||
| Bug Depends On: | 1215372 | ||
| Bug Blocks: | |||
|
Description
Dr. David Alan Gilbert
2015-06-16 13:09:46 UTC
Broken in upstream commit ef701d7, v2.2.0. Proposed upstream fix: http://lists.gnu.org/archive/html/qemu-devel/2015-09/msg03198.html Upstream commit 4f96676..0bdaa3a Fix included in qemu-kvm-rhev-2.3.0-25.el7 Reproduce this bug using the following version:
qemu-kvm-rhev-2.3.0-25.el7.x86_64
kernel-3.10.0-319.el7.x86_64
# /usr/libexec/qemu-kvm -m 10000000
qemu-kvm: cannot set up guest memory 'pc.ram': Cannot allocate memory
Aborted (core dumped)
(gdb) bt
#0 0x00007ffff06ee5f7 in raise () from /lib64/libc.so.6
#1 0x00007ffff06efce8 in abort () from /lib64/libc.so.6
#2 0x000055555585946a in error_propagate (dst_errp=<optimized out>, local_err=<optimized out>) at util/error.c:173
#3 0x00005555555ed158 in qemu_ram_alloc_internal (size=size@entry=10485760000000, max_size=max_size@entry=10485760000000, resized=resized@entry=0x0, host=host@entry=0x0, resizeable=resizeable@entry=false,
mr=mr@entry=0x5555569dcd00, errp=errp@entry=0x555556122dd0 <error_abort>) at /usr/src/debug/qemu-2.3.0/exec.c:1541
#4 0x00005555555edada in qemu_ram_alloc (size=size@entry=10485760000000, mr=mr@entry=0x5555569dcd00, errp=errp@entry=0x555556122dd0 <error_abort>) at /usr/src/debug/qemu-2.3.0/exec.c:1555
#5 0x0000555555622cd9 in memory_region_init_ram (mr=mr@entry=0x5555569dcd00, owner=owner@entry=0x0, name=name@entry=0x555555871324 "pc.ram", size=size@entry=10485760000000, errp=0x555556122dd0 <error_abort>)
at /usr/src/debug/qemu-2.3.0/memory.c:1204
#6 0x000055555561bd9a in allocate_system_memory_nonnuma (ram_size=10485760000000, name=0x555555871324 "pc.ram", owner=0x0, mr=0x5555569dcd00) at /usr/src/debug/qemu-2.3.0/numa.c:435
#7 memory_region_allocate_system_memory (mr=mr@entry=0x5555569dcd00, owner=owner@entry=0x0, name=name@entry=0x555555871324 "pc.ram", ram_size=10485760000000) at /usr/src/debug/qemu-2.3.0/numa.c:448
#8 0x000055555565c254 in pc_memory_init (machine=machine@entry=0x555556959a00, system_memory=system_memory@entry=0x5555569dc700, below_4g_mem_size=3221225472, above_4g_mem_size=10482538774528,
rom_memory=rom_memory@entry=0x5555569dcc00, ram_memory=ram_memory@entry=0x7fffffffe180, guest_info=guest_info@entry=0x555556974780) at /usr/src/debug/qemu-2.3.0/hw/i386/pc.c:1330
#9 0x000055555565dd73 in pc_init1 (machine=0x555556959a00, kvmclock_enabled=1, pci_enabled=1) at /usr/src/debug/qemu-2.3.0/hw/i386/pc_piix.c:182
#10 0x00005555555e579e in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at vl.c:4257
(In reply to huiqingding from comment #8) > Reproduce this bug using the following version: > qemu-kvm-rhev-2.3.0-25.el7.x86_64 > kernel-3.10.0-319.el7.x86_64 > Correct: Reproduce this bug using qemu-kvm-rhev-2.3.0-24.el7.x86_64 > # /usr/libexec/qemu-kvm -m 10000000 > qemu-kvm: cannot set up guest memory 'pc.ram': Cannot allocate memory > Aborted (core dumped) > > (gdb) bt > #0 0x00007ffff06ee5f7 in raise () from /lib64/libc.so.6 > #1 0x00007ffff06efce8 in abort () from /lib64/libc.so.6 > #2 0x000055555585946a in error_propagate (dst_errp=<optimized out>, > local_err=<optimized out>) at util/error.c:173 > #3 0x00005555555ed158 in qemu_ram_alloc_internal > (size=size@entry=10485760000000, max_size=max_size@entry=10485760000000, > resized=resized@entry=0x0, host=host@entry=0x0, > resizeable=resizeable@entry=false, > mr=mr@entry=0x5555569dcd00, errp=errp@entry=0x555556122dd0 > <error_abort>) at /usr/src/debug/qemu-2.3.0/exec.c:1541 > #4 0x00005555555edada in qemu_ram_alloc (size=size@entry=10485760000000, > mr=mr@entry=0x5555569dcd00, errp=errp@entry=0x555556122dd0 <error_abort>) at > /usr/src/debug/qemu-2.3.0/exec.c:1555 > #5 0x0000555555622cd9 in memory_region_init_ram > (mr=mr@entry=0x5555569dcd00, owner=owner@entry=0x0, > name=name@entry=0x555555871324 "pc.ram", size=size@entry=10485760000000, > errp=0x555556122dd0 <error_abort>) > at /usr/src/debug/qemu-2.3.0/memory.c:1204 > #6 0x000055555561bd9a in allocate_system_memory_nonnuma > (ram_size=10485760000000, name=0x555555871324 "pc.ram", owner=0x0, > mr=0x5555569dcd00) at /usr/src/debug/qemu-2.3.0/numa.c:435 > #7 memory_region_allocate_system_memory (mr=mr@entry=0x5555569dcd00, > owner=owner@entry=0x0, name=name@entry=0x555555871324 "pc.ram", > ram_size=10485760000000) at /usr/src/debug/qemu-2.3.0/numa.c:448 > #8 0x000055555565c254 in pc_memory_init > (machine=machine@entry=0x555556959a00, > system_memory=system_memory@entry=0x5555569dc700, > below_4g_mem_size=3221225472, above_4g_mem_size=10482538774528, > rom_memory=rom_memory@entry=0x5555569dcc00, > ram_memory=ram_memory@entry=0x7fffffffe180, > guest_info=guest_info@entry=0x555556974780) at > /usr/src/debug/qemu-2.3.0/hw/i386/pc.c:1330 > #9 0x000055555565dd73 in pc_init1 (machine=0x555556959a00, > kvmclock_enabled=1, pci_enabled=1) at > /usr/src/debug/qemu-2.3.0/hw/i386/pc_piix.c:182 > #10 0x00005555555e579e in main (argc=<optimized out>, argv=<optimized out>, > envp=<optimized out>) at vl.c:4257 Verify this bug using the following version: qemu-kvm-rhev-2.3.0-25.el7.x86_64 kernel-3.10.0-319.el7.x86_64 # /usr/libexec/qemu-kvm -m 10000000 qemu-kvm: cannot set up guest memory 'pc.ram': Cannot allocate memory Based on the above result, I think this bug has been fixed. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2546.html |