Bug 585951 - A process using kvm can enter a non-killable state
Summary: A process using kvm can enter a non-killable state
Status: CLOSED DUPLICATE of bug 588251
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm
Version: 5.4
Hardware: x86_64
OS: Linux
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
Depends On:
TreeView+ depends on / blocked
Reported: 2010-04-26 14:19 UTC by Naphtali Sprei
Modified: 2010-05-04 07:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-05-04 07:38:59 UTC
Target Upstream Version:

Attachments (Terms of Use)
test-case for the bug (68.90 KB, application/octet-stream)
2010-04-26 14:22 UTC, Naphtali Sprei
no flags Details

Description Naphtali Sprei 2010-04-26 14:19:45 UTC
Description of problem:

While running one of the qemu-kvm unit test (called access), the qemu process
gets to a state that it cannot be killed. When killed, the process get's zombied
but continue to consume resources.

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

How reproducible:
Consistently, every time.

Steps to Reproduce:
1. qemu-kvm -kernel access.flat (the attached test-case)

   This test-case was/can be built from qemu-kvm unit tests.
   clone an upstream qemu-kvm git repo, go to its subdir kvm/user and type make
   test-cases are created in test/x86 subdir, including access.flat
   Intended test runs with following parameters to produce output:
    "-kernel access.flat -device testdev,chardev=testlog -chardev file,id=testlog,path=access.log", where access.log is an example of an output file
2. wait about 5 minutes

   Actually, the test-case runs lots of sub-test-cases until it reaches the problematic sub-test-case that causes this problem. You can follow the output to see when it's stuck.

3. try to kill qemu-kvm process
Actual results:
qemu-kvm process keeps running

Expected results:
qemu-kvm process killed and disappear

Additional info:

Comment 1 Naphtali Sprei 2010-04-26 14:22:19 UTC
Created attachment 409187 [details]
test-case for the bug

Comment 2 Marcelo Tosatti 2010-05-04 07:38:59 UTC

*** This bug has been marked as a duplicate of bug 588251 ***

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