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 921890

Summary: Core dump when block mirror with "sync" is "none" and mode is "absolute-paths"
Product: Red Hat Enterprise Linux 7 Reporter: Shaolong Hu <shu>
Component: qemu-kvmAssignee: Hanna Czenczek <hreitz>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: acathrow, juzhang, knoel, michen, pbonzini, qzhang, tpoitras, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-1.5.3-40.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 10:58:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1080820    

Description Shaolong Hu 2013-03-15 08:09:10 UTC
Description of problem:
----------------------------------------
I believe correct usage should be "sync" is "none" and mode is "existing", and the existing snapshot based on current image qemu-kvm uses, so this is more than a negtive test, low priority.


Version-Release number of selected component (if applicable):
---------------------------------------------------------------
qemu-kvm-1.4.0-1.el7.x86_64


How reproducible:
-------------------
1/1


Steps to Reproduce:
-----------------------
1.boot guest with base

2.do mirror with

{ "execute": "drive-mirror", "arguments": { "device": "drive-virtio-disk0", "target": "/root/sn1", "format": "qcow2", "mode": "absolute-paths", "sync": "none", "speed": 1000000000, "on-source-error": "stop", "on-target-error": "stop" } }


#0  qmp_drive_mirror (device=0x7f3400002022 "", target=0x7f349439a210 "/root/sn2", has_format=192, format=0x7f349439a230 "qcow2", 
    sync=MIRROR_SYNC_MODE_NONE, has_mode=<optimized out>, mode=<optimized out>, has_speed=true, speed=1000000000, has_granularity=false, 
    granularity=0, has_buf_size=false, buf_size=10485760, has_on_source_error=true, on_source_error=BLOCKDEV_ON_ERROR_STOP, 
    has_on_target_error=true, on_target_error=BLOCKDEV_ON_ERROR_STOP, errp=errp@entry=0x7fff697f08f8) at blockdev.c:1297
#1  0x00007f34925684de in qmp_marshal_input_drive_mirror (mon=<optimized out>, qdict=<optimized out>, ret=<optimized out>) at qmp-marshal.c:1780
#2  0x00007f349260b988 in qmp_call_cmd (cmd=<optimized out>, params=0x7f349436e710, mon=0x7f3493f43140) at /usr/src/debug/qemu-1.4.0/monitor.c:4462
#3  handle_qmp_command (parser=<optimized out>, tokens=<optimized out>) at /usr/src/debug/qemu-1.4.0/monitor.c:4528
#4  0x00007f34926b08fa in json_message_process_token (lexer=0x7f3493e29660, token=0x7f34942f0320, type=JSON_OPERATOR, x=237, y=5)
    at qobject/json-streamer.c:87
#5  0x00007f34926c1cbf in json_lexer_feed_char (lexer=lexer@entry=0x7f3493e29660, ch=125 '}', flush=flush@entry=false) at qobject/json-lexer.c:303
#6  0x00007f34926c1e06 in json_lexer_feed (lexer=0x7f3493e29660, buffer=<optimized out>, size=<optimized out>) at qobject/json-lexer.c:356
#7  0x00007f34926b0b11 in json_message_parser_feed (parser=<optimized out>, buffer=<optimized out>, size=<optimized out>)
    at qobject/json-streamer.c:110
#8  0x00007f3492609e4e in monitor_control_read (opaque=<optimized out>, buf=<optimized out>, size=<optimized out>)
    at /usr/src/debug/qemu-1.4.0/monitor.c:4549
#9  0x00007f349255ea06 in qemu_chr_be_write (len=<optimized out>, buf=0x7fff697f0b80 "}\246\062\224\064\177", s=0x7f3493daea30) at qemu-char.c:180
#10 tcp_chr_read (opaque=0x7f3493daea30) at qemu-char.c:2440
#11 0x00007f3492537147 in qemu_iohandler_poll (readfds=readfds@entry=0x7f3492ea50c0 <rfds>, writefds=writefds@entry=0x7f3492ea5140 <wfds>, 
    xfds=xfds@entry=0x7f3492ea51c0 <xfds>, ret=ret@entry=1) at iohandler.c:159
#12 0x00007f349253ca18 in main_loop_wait (nonblocking=<optimized out>) at main-loop.c:417
#13 0x00007f3492416385 in main_loop () at vl.c:2001
#14 main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at vl.c:4326

Comment 4 Miroslav Rezanina 2014-01-22 07:10:14 UTC
Fix included in qemu-kvm-1.5.3-40.el7

Comment 6 Shaolong Hu 2014-01-28 07:26:16 UTC
Verified on qemu-kvm-rhev-1.5.3-43.el7.x86_64:

with steps in comment 0, won't hit the problem.

Comment 8 Ludek Smid 2014-06-13 10:58:27 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.