kvm throws segfault during logout of user in guest (win7)

Asked by Stig Meireles Johansen on 2013-02-08

When logging out from the guest, occasionally the kvm will throw a segfault:

[46953.865611] kvm[2762]: segfault at 10 ip 00007f014ead854e sp 00007fff56385cf0 error 6 in libc2.15.so[7f014ea58000+1b5000]

I am using the vmvga display driver. The guest was originally a VMware Fusion guest on a Mac. The guest is using the vmdk-disk image.

Is this a "known" problem?

Some details about my system:
$ lsb_release -rd
Description: Ubuntu 12.04.2 LTS
Release: 12.04
$ apt-cache policy kvm-ipxe
kvm-ipxe:
  Installed: 1.0.0+git-3.55f6c88-0ubuntu1
  Candidate: 1.0.0+git-3.55f6c88-0ubuntu1
  Version table:
 *** 1.0.0+git-3.55f6c88-0ubuntu1 0
        500 http://br.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu kvm Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2013-02-08
Last query:
2013-02-08
Last reply:
2013-02-08

Some more logs from the time before the last segfault:
/var/log/kern.log
Feb 6 10:29:24 box kernel: [222277.878253] kvm[2613]: segfault at 10 ip 00007fae8fe3d54e sp 00007fff900e1c50 error 6 in libc-2.15.so[7fae8fdbd000+1b5000]
Feb 6 10:32:39 box kernel: [222472.636725] INFO: task kvm:2616 blocked for more than 120 seconds.
Feb 6 10:32:39 box kernel: [222472.636727] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Feb 6 10:32:39 box kernel: [222472.636729] kvm D ffffffff81806200 0 2616 1 0x00000000
Feb 6 10:32:39 box kernel: [222472.636732] ffff8803f95b9cc8 0000000000000082 0000000000000000 ffffffffffffffe0
Feb 6 10:32:39 box kernel: [222472.636734] ffff8803f95b9fd8 ffff8803f95b9fd8 ffff8803f95b9fd8 0000000000013780
Feb 6 10:32:39 box kernel: [222472.636736] ffff880405a79700 ffff8803da9c8000 ffff8803da9c8000 ffff880400a80380
Feb 6 10:32:39 box kernel: [222472.636738] Call Trace:
Feb 6 10:32:39 box kernel: [222472.636745] [<ffffffff816579cf>] schedule+0x3f/0x60
Feb 6 10:32:39 box kernel: [222472.636748] [<ffffffff8106b365>] exit_mm+0x85/0x130
Feb 6 10:32:39 box kernel: [222472.636750] [<ffffffff8106b57e>] do_exit+0x16e/0x420
Feb 6 10:32:39 box kernel: [222472.636764] [<ffffffffa02d4b6b>] ? kvm_vcpu_block+0x9b/0xb0 [kvm]
Feb 6 10:32:39 box kernel: [222472.636766] [<ffffffff81079d1a>] ? __dequeue_signal+0x6a/0xb0
Feb 6 10:32:39 box kernel: [222472.636768] [<ffffffff81079fbb>] ? recalc_sigpending+0x1b/0x50
Feb 6 10:32:39 box kernel: [222472.636770] [<ffffffff8106b9d4>] do_group_exit+0x44/0xa0
Feb 6 10:32:39 box kernel: [222472.636772] [<ffffffff8107c89c>] get_signal_to_deliver+0x21c/0x420
Feb 6 10:32:39 box kernel: [222472.636774] [<ffffffff81013865>] do_signal+0x45/0x130
Feb 6 10:32:39 box kernel: [222472.636777] [<ffffffff81189c5a>] ? do_vfs_ioctl+0x8a/0x340
Feb 6 10:32:39 box kernel: [222472.636780] [<ffffffff810a062a>] ? sys_futex+0x10a/0x1a0
Feb 6 10:32:39 box kernel: [222472.636781] [<ffffffff8107cc52>] ? set_current_blocked+0x52/0x70
Feb 6 10:32:39 box kernel: [222472.636783] [<ffffffff81013b15>] do_notify_resume+0x65/0x80
Feb 6 10:32:39 box kernel: [222472.636784] [<ffffffff81189f8b>] ? sys_ioctl+0x7b/0xa0
Feb 6 10:32:39 box kernel: [222472.636787] [<ffffffff81662190>] int_signal+0x12/0x17
Feb 6 10:32:39 box kernel: [222472.636788] INFO: task kvm:2617 blocked for more than 120 seconds.
Feb 6 10:32:39 box kernel: [222472.636789] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Feb 6 10:32:39 box kernel: [222472.636790] kvm D ffffffff81806200 0 2617 1 0x00000000
Feb 6 10:32:39 box kernel: [222472.636792] ffff8803db8f3cc8 0000000000000082 0000000000000000 ffffffffffffffe0
Feb 6 10:32:39 box kernel: [222472.636794] ffff8803db8f3fd8 ffff8803db8f3fd8 ffff8803db8f3fd8 0000000000013780
Feb 6 10:32:39 box kernel: [222472.636796] ffff880405a59700 ffff8803da9cdc00 ffff8803da9cdc00 ffff880400a80380
Feb 6 10:32:39 box kernel: [222472.636798] Call Trace:
Feb 6 10:32:39 box kernel: [222472.636800] [<ffffffff816579cf>] schedule+0x3f/0x60
Feb 6 10:32:39 box kernel: [222472.636802] [<ffffffff8106b365>] exit_mm+0x85/0x130
Feb 6 10:32:39 box kernel: [222472.636803] [<ffffffff8106b57e>] do_exit+0x16e/0x420
Feb 6 10:32:39 box kernel: [222472.636808] [<ffffffffa02d4b6b>] ? kvm_vcpu_block+0x9b/0xb0 [kvm]
Feb 6 10:32:39 box kernel: [222472.636810] [<ffffffff81079d1a>] ? __dequeue_signal+0x6a/0xb0
Feb 6 10:32:39 box kernel: [222472.636812] [<ffffffff81079fbb>] ? recalc_sigpending+0x1b/0x50
Feb 6 10:32:39 box kernel: [222472.636814] [<ffffffff8106b9d4>] do_group_exit+0x44/0xa0
Feb 6 10:32:39 box kernel: [222472.636816] [<ffffffff8107c89c>] get_signal_to_deliver+0x21c/0x420
Feb 6 10:32:39 box kernel: [222472.636817] [<ffffffff81013865>] do_signal+0x45/0x130
Feb 6 10:32:39 box kernel: [222472.636819] [<ffffffff81189c5a>] ? do_vfs_ioctl+0x8a/0x340
Feb 6 10:32:39 box kernel: [222472.636821] [<ffffffff810a062a>] ? sys_futex+0x10a/0x1a0
Feb 6 10:32:39 box kernel: [222472.636823] [<ffffffff81013b15>] do_notify_resume+0x65/0x80
Feb 6 10:32:39 box kernel: [222472.636824] [<ffffffff81189f8b>] ? sys_ioctl+0x7b/0xa0
Feb 6 10:32:39 box kernel: [222472.636826] [<ffffffff81662190>] int_signal+0x12/0x17
Feb 6 10:32:39 box kernel: [222472.636827] INFO: task kvm:26515 blocked for more than 120 seconds.
Feb 6 10:32:39 box kernel: [222472.636828] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Feb 6 10:32:39 box kernel: [222472.636829] kvm D ffffffff81806200 0 26515 1 0x00000000
Feb 6 10:32:39 box kernel: [222472.636831] ffff8800080bdcc8 0000000000000082 0000000000000000 ffffffffffffffe0
Feb 6 10:32:39 box kernel: [222472.636833] ffff8800080bdfd8 ffff8800080bdfd8 ffff8800080bdfd8 0000000000013780
Feb 6 10:32:39 box kernel: [222472.636834] ffffffff81c0d020 ffff8801fe9c4500 ffff8801fe9c4500 ffff880400a80380
Feb 6 10:32:39 box kernel: [222472.636836] Call Trace:
Feb 6 10:32:39 box kernel: [222472.636838] [<ffffffff816579cf>] schedule+0x3f/0x60
Feb 6 10:32:39 box kernel: [222472.636840] [<ffffffff8106b365>] exit_mm+0x85/0x130
Feb 6 10:32:39 box kernel: [222472.636842] [<ffffffff8106b57e>] do_exit+0x16e/0x420
Feb 6 10:32:39 box kernel: [222472.636843] [<ffffffff81079d1a>] ? __dequeue_signal+0x6a/0xb0
Feb 6 10:32:39 box kernel: [222472.636845] [<ffffffff8106b9d4>] do_group_exit+0x44/0xa0
Feb 6 10:32:39 box kernel: [222472.636847] [<ffffffff8107c89c>] get_signal_to_deliver+0x21c/0x420
Feb 6 10:32:39 box kernel: [222472.636848] [<ffffffff81013865>] do_signal+0x45/0x130
Feb 6 10:32:39 box kernel: [222472.636850] [<ffffffff810a03ec>] ? do_futex+0x7c/0x1b0
Feb 6 10:32:39 box kernel: [222472.636852] [<ffffffff810a062a>] ? sys_futex+0x10a/0x1a0
Feb 6 10:32:39 box kernel: [222472.636854] [<ffffffff81177ba0>] ? vfs_write+0x110/0x180
Feb 6 10:32:39 box kernel: [222472.636855] [<ffffffff81013b15>] do_notify_resume+0x65/0x80
Feb 6 10:32:39 box kernel: [222472.636857] [<ffffffff81662190>] int_signal+0x12/0x17
Feb 6 10:32:39 box kernel: [222472.636858] INFO: task kvm:28672 blocked for more than 120 seconds.
Feb 6 10:32:39 box kernel: [222472.636859] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Feb 6 10:32:39 box kernel: [222472.636860] kvm D ffffffff81806200 0 28672 1 0x00000000
Feb 6 10:32:39 box kernel: [222472.636861] ffff88001d059cc8 0000000000000082 ffff88001d059ca8 ffffffff8104c2f8
Feb 6 10:32:39 box kernel: [222472.636863] ffff88001d059fd8 ffff88001d059fd8 ffff88001d059fd8 0000000000013780
Feb 6 10:32:39 box kernel: [222472.636865] ffff880405a29700 ffff8804006a1700 0000000000000282 ffff880400a80380
Feb 6 10:32:39 box kernel: [222472.636867] Call Trace:
Feb 6 10:32:39 box kernel: [222472.636870] [<ffffffff8104c2f8>] ? __wake_up_common+0x58/0x90
Feb 6 10:32:39 box kernel: [222472.636872] [<ffffffff816579cf>] schedule+0x3f/0x60
Feb 6 10:32:39 box kernel: [222472.636873] [<ffffffff8106b365>] exit_mm+0x85/0x130
Feb 6 10:32:39 box kernel: [222472.636875] [<ffffffff8106b57e>] do_exit+0x16e/0x420
Feb 6 10:32:39 box kernel: [222472.636877] [<ffffffff81079d1a>] ? __dequeue_signal+0x6a/0xb0
Feb 6 10:32:39 box kernel: [222472.636878] [<ffffffff8106b9d4>] do_group_exit+0x44/0xa0
Feb 6 10:32:39 box kernel: [222472.636880] [<ffffffff8107c89c>] get_signal_to_deliver+0x21c/0x420
Feb 6 10:32:39 box kernel: [222472.636882] [<ffffffff81013865>] do_signal+0x45/0x130
Feb 6 10:32:39 box kernel: [222472.636883] [<ffffffff810a03ec>] ? do_futex+0x7c/0x1b0
Feb 6 10:32:39 box kernel: [222472.636885] [<ffffffff810a062a>] ? sys_futex+0x10a/0x1a0
Feb 6 10:32:39 box kernel: [222472.636886] [<ffffffff81177ba0>] ? vfs_write+0x110/0x180
Feb 6 10:32:39 box kernel: [222472.636888] [<ffffffff81013b15>] do_notify_resume+0x65/0x80
Feb 6 10:32:39 box kernel: [222472.636810] [<ffffffff81079d1a>] ? __dequeue_signal+0x6a/0xb0
Feb 6 10:32:39 box kernel: [222472.636812] [<ffffffff81079fbb>] ? recalc_sigpending+0x1b/0x50
Feb 6 10:32:39 box kernel: [222472.636814] [<ffffffff8106b9d4>] do_group_exit+0x44/0xa0
Feb 6 10:32:39 box kernel: [222472.636816] [<ffffffff8107c89c>] get_signal_to_deliver+0x21c/0x420
Feb 6 10:32:39 box kernel: [222472.636817] [<ffffffff81013865>] do_signal+0x45/0x130
Feb 6 10:32:39 box kernel: [222472.636819] [<ffffffff81189c5a>] ? do_vfs_ioctl+0x8a/0x340
Feb 6 10:32:39 box kernel: [222472.636821] [<ffffffff810a062a>] ? sys_futex+0x10a/0x1a0
Feb 6 10:32:39 box kernel: [222472.636823] [<ffffffff81013b15>] do_notify_resume+0x65/0x80
Feb 6 10:32:39 box kernel: [222472.636824] [<ffffffff81189f8b>] ? sys_ioctl+0x7b/0xa0
Feb 6 10:32:39 box kernel: [222472.636826] [<ffffffff81662190>] int_signal+0x12/0x17
Feb 6 10:32:39 box kernel: [222472.636827] INFO: task kvm:26515 blocked for more than 120 seconds.
Feb 6 10:32:39 box kernel: [222472.636828] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Feb 6 10:32:39 box kernel: [222472.636829] kvm D ffffffff81806200 0 26515 1 0x00000000
Feb 6 10:32:39 box kernel: [222472.636831] ffff8800080bdcc8 0000000000000082 0000000000000000 ffffffffffffffe0
Feb 6 10:32:39 box kernel: [222472.636833] ffff8800080bdfd8 ffff8800080bdfd8 ffff8800080bdfd8 0000000000013780
Feb 6 10:32:39 box kernel: [222472.636834] ffffffff81c0d020 ffff8801fe9c4500 ffff8801fe9c4500 ffff880400a80380
Feb 6 10:32:39 box kernel: [222472.636836] Call Trace:
Feb 6 10:32:39 box kernel: [222472.636838] [<ffffffff816579cf>] schedule+0x3f/0x60
Feb 6 10:32:39 box kernel: [222472.636840] [<ffffffff8106b365>] exit_mm+0x85/0x130
Feb 6 10:32:39 box kernel: [222472.636842] [<ffffffff8106b57e>] do_exit+0x16e/0x420
Feb 6 10:32:39 box kernel: [222472.636843] [<ffffffff81079d1a>] ? __dequeue_signal+0x6a/0xb0
Feb 6 10:32:39 box kernel: [222472.636845] [<ffffffff8106b9d4>] do_group_exit+0x44/0xa0
Feb 6 10:32:39 box kernel: [222472.636847] [<ffffffff8107c89c>] get_signal_to_deliver+0x21c/0x420
Feb 6 10:32:39 box kernel: [222472.636848] [<ffffffff81013865>] do_signal+0x45/0x130
Feb 6 10:32:39 box kernel: [222472.636850] [<ffffffff810a03ec>] ? do_futex+0x7c/0x1b0
Feb 6 10:32:39 box kernel: [222472.636852] [<ffffffff810a062a>] ? sys_futex+0x10a/0x1a0
Feb 6 10:32:39 box kernel: [222472.636854] [<ffffffff81177ba0>] ? vfs_write+0x110/0x180
Feb 6 10:32:39 box kernel: [222472.636855] [<ffffffff81013b15>] do_notify_resume+0x65/0x80
Feb 6 10:32:39 box kernel: [222472.636857] [<ffffffff81662190>] int_signal+0x12/0x17
Feb 6 10:32:39 box kernel: [222472.636858] INFO: task kvm:28672 blocked for more than 120 seconds.
Feb 6 10:32:39 box kernel: [222472.636859] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Feb 6 10:32:39 box kernel: [222472.636860] kvm D ffffffff81806200 0 28672 1 0x00000000
Feb 6 10:32:39 box kernel: [222472.636861] ffff88001d059cc8 0000000000000082 ffff88001d059ca8 ffffffff8104c2f8
Feb 6 10:32:39 box kernel: [222472.636863] ffff88001d059fd8 ffff88001d059fd8 ffff88001d059fd8 0000000000013780
Feb 6 10:32:39 box kernel: [222472.636865] ffff880405a29700 ffff8804006a1700 0000000000000282 ffff880400a80380
Feb 6 10:32:39 box kernel: [222472.636867] Call Trace:
Feb 6 10:32:39 box kernel: [222472.636870] [<ffffffff8104c2f8>] ? __wake_up_common+0x58/0x90
Feb 6 10:32:39 box kernel: [222472.636872] [<ffffffff816579cf>] schedule+0x3f/0x60
Feb 6 10:32:39 box kernel: [222472.636873] [<ffffffff8106b365>] exit_mm+0x85/0x130
Feb 6 10:32:39 box kernel: [222472.636875] [<ffffffff8106b57e>] do_exit+0x16e/0x420
Feb 6 10:32:39 box kernel: [222472.636877] [<ffffffff81079d1a>] ? __dequeue_signal+0x6a/0xb0
Feb 6 10:32:39 box kernel: [222472.636878] [<ffffffff8106b9d4>] do_group_exit+0x44/0xa0
Feb 6 10:32:39 box kernel: [222472.636880] [<ffffffff8107c89c>] get_signal_to_deliver+0x21c/0x420
Feb 6 10:32:39 box kernel: [222472.636882] [<ffffffff81013865>] do_signal+0x45/0x130
Feb 6 10:32:39 box kernel: [222472.636883] [<ffffffff810a03ec>] ? do_futex+0x7c/0x1b0
Feb 6 10:32:39 box kernel: [222472.636885] [<ffffffff810a062a>] ? sys_futex+0x10a/0x1a0
Feb 6 10:32:39 box kernel: [222472.636886] [<ffffffff81177ba0>] ? vfs_write+0x110/0x180
Feb 6 10:32:39 box kernel: [222472.636888] [<ffffffff81013b15>] do_notify_resume+0x65/0x80
Feb 6 10:32:39 box kernel: [222472.636889] [<ffffffff81662190>] int_signal+0x12/0x17

I suggest you report a bug

Thanks actionparsnip, that solved my question.