Bug 679346 - start qemu-kvm cause Segmentation fault during virtualbox running
Summary: start qemu-kvm cause Segmentation fault during virtualbox running
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.1
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: Markus Armbruster
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-22 10:32 UTC by Mike Cao
Modified: 2015-11-23 03:34 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-02 14:51:38 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Mike Cao 2011-02-22 10:32:43 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.start VM by using VirtualBox
2.start VM by using qemu-kvm

  
Actual results:
Seg fault happened 
(gdb) bt
#0  tb_alloc_page (tb=0x7f48e56a2010, phys_pc=<value optimized out>, 
    phys_page2=18446744073709551615)
    at /usr/src/debug/qemu-kvm-0.12.1.2/exec.c:1126
#1  tb_link_phys (tb=0x7f48e56a2010, phys_pc=<value optimized out>, 
    phys_page2=18446744073709551615)
    at /usr/src/debug/qemu-kvm-0.12.1.2/exec.c:1216
#2  0x00000000004ec4dc in tb_gen_code (env=0x1eafc00, 
    pc=<value optimized out>, cs_base=<value optimized out>, 
    flags=<value optimized out>, cflags=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/exec.c:914
#3  0x00000000004ef2b7 in tb_find_slow (env1=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/cpu-exec.c:168
#4  tb_find_fast (env1=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/cpu-exec.c:189
#5  cpu_x86_exec (env1=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/cpu-exec.c:587
#6  0x000000000040eb06 in qemu_cpu_exec (argc=<value optimized out>, 
    argv=<value optimized out>, envp=<value optimized out>)
    at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:4495
#7  tcg_cpu_exec (argc=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:4526
#8  main_loop (argc=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:4650
---Type <return> to continue, or q <return> to quit---
#9  main (argc=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:6848


Expected results:


Additional info:

Comment 2 Dor Laor 2011-02-24 14:24:17 UTC
Details? Cmdline? Version?
Seems like qemu was in no-kvm mode. Was the kvm modules loaded?

Comment 6 Markus Armbruster 2011-03-02 14:51:38 UTC
This is clearly a TCG bug.  Closing WONTFIX, because TCG is not supported in RHEL.

Bug report suggests the reporter got TCG instead of KVM by accident.  That's a common pitfall.  Our fix for bug 662701 should help there.


Note You need to log in before you can comment on or make changes to this bug.