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 1233053 - Segmentation fault when boot guest with spice
Summary: Segmentation fault when boot guest with spice
Keywords:
Status: CLOSED DUPLICATE of bug 1230550
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.2
Hardware: x86_64
OS: Windows
medium
medium
Target Milestone: rc
: ---
Assignee: Ademar Reis
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-18 07:03 UTC by quxiaoya
Modified: 2015-06-23 07:52 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-23 06:07:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description quxiaoya 2015-06-18 07:03:53 UTC
Description of problem:
boot a win2012 guest with spice, wait for about 10 seconds, qemu-kvm will quit and print following info:
(qemu) Segmentation fault


Version-Release number of selected component (if applicable):
host info:
3.10.0-263.el7.x86_64
qemu-kvm-rhev-2.3.0-2.el7.x86_64
spice-server-0.12.4-9.el7.x86_64

guest info:
win2012-64r2.qcow2

How reproducible:
100%

Steps to Reproduce:
1.boot a win2012 guest with spice.
# gdb --args /usr/libexec/qemu-kvm -m 2G -smp 4 -boot menu=on -drive file=/home/win2012-64r2.qcow2,if=none,id=img -device virtio-scsi-pci,id=scsi2,bus=pci.0,addr=0x8 -device scsi-hd,drive=img,id=img-disk -monitor stdio -spice port=5932,disable-ticketing -netdev tap,id=tap0,script=/etc/qemu-ifup -device virtio-net-pci,netdev=tap0,mac=24:be:05:14:95:12 -qmp tcp::8886,server,nowait -vga std
(gdb) r


Actual results:
After step 1, qemu-kvm will core dump. 
(gdb) bt
#0  0x00007ffff0adcce9 in __memcmp_sse4_1 () from /lib64/libc.so.6
#1  0x00005555557b9275 in qemu_spice_create_update (ssd=0x555557a06aa0)
    at ui/spice-display.c:222
#2  qemu_spice_display_refresh (ssd=0x555557a06aa0) at ui/spice-display.c:492
#3  0x00005555557b0c42 in dpy_refresh (s=0x5555563bd850) at ui/console.c:1496
#4  gui_update (opaque=0x5555563bd850) at ui/console.c:196
#5  0x00005555557df139 in timerlist_run_timers (timer_list=0x555556168c70)
    at qemu-timer.c:502
#6  0x00005555557df2b0 in qemu_clock_run_timers (type=<optimized out>)
    at qemu-timer.c:513
#7  qemu_clock_run_all_timers () at qemu-timer.c:621
#8  0x00005555557de17c in main_loop_wait (nonblocking=<optimized out>)
    at main-loop.c:500
#9  0x00005555555e11ee in main_loop () at vl.c:1798
#10 main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>)
    at vl.c:4373

Expected results:
No qemu-kvm core dump, boot a win2012 guest successfully.


Additional info:
Try with linux guest, no hit this issue.
Try with win7 guest do not hit this issue, too.

Comment 3 Gerd Hoffmann 2015-06-22 17:40:51 UTC
High chance to be a bug 1229073 duplicate.
Please retest with qemu-kvm-rhev-2.3.0-3.el7.

Comment 4 quxiaoya 2015-06-23 02:26:00 UTC
(In reply to Gerd Hoffmann from comment #3)
> High chance to be a bug 1229073 duplicate.
> Please retest with qemu-kvm-rhev-2.3.0-3.el7.

retest with qemu-kvm-rhev-2.3.0-3.el7, qemu works well,boot a win2012 guest successfully.
this bud has been fixed

Comment 5 quxiaoya 2015-06-23 02:40:49 UTC
(In reply to quxiaoya from comment #4)
> (In reply to Gerd Hoffmann from comment #3)
> > High chance to be a bug 1229073 duplicate.
> > Please retest with qemu-kvm-rhev-2.3.0-3.el7.
> 
> retest with qemu-kvm-rhev-2.3.0-3.el7, qemu works well,boot a win2012 guest
> successfully.
> this bug has been fixed

retest with qemu-kvm-rhev-2.3.0-4.el7, qemu works well too,boot a win2012 guest
successfully.

Comment 6 Gerd Hoffmann 2015-06-23 06:07:51 UTC

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

Comment 7 Gerd Hoffmann 2015-06-23 07:52:20 UTC
Oops, wrong bug, it is a 1230550 duplicate.

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


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