Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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:
Embargoed:

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.