Bug 679346

Summary: start qemu-kvm cause Segmentation fault during virtualbox running
Product: Red Hat Enterprise Linux 6 Reporter: Mike Cao <bcao>
Component: qemu-kvmAssignee: Markus Armbruster <armbru>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 6.1CC: armbru, gcosta, michen, mkenneth, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-02 14:51:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.