| Summary: | Core dump when use wrong iscsi target name | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | yduan |
| Component: | qemu-kvm-rhev | Assignee: | Fam Zheng <famz> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.3 | CC: | chayang, huding, jinzhao, juzhang, knoel, pezhang, virt-maint, xfu, yduan |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-06-30 08:09:22 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: | |
|
Description
yduan
2016-04-22 01:51:19 UTC
# qemu-img info /dev/sdc image: /dev/sdc file format: raw virtual size: 10G (10737418240 bytes) disk size: 0 When use this image but with wrong disk format, core dumped. qemu-kvm: -drive file=/dev/sdc,format=qcow2,id=drive_datadisk0,if=none,cache=none,media=disk,aio=native,werror=stop,rerror=stop,readonly=on: Image is not in qcow2 format qemu-kvm:0boot.sh: line 45: 2503 Segmentation fault (core dumped) backtrace is the same. (gdb) bt #0 0x00007fbc73af7ab4 in vfprintf () from /lib64/libc.so.6 #1 0x00007fbc73afb801 in buffered_vfprintf () from /lib64/libc.so.6 #2 0x00007fbc73af673e in vfprintf () from /lib64/libc.so.6 #3 0x00007fbc73bba92d in __vfprintf_chk () from /lib64/libc.so.6 #4 0x00007fbc7be5ba19 in error_printf (fmt=fmt@entry=0x7fbc7bea5c7a "%s%s") at util/qemu-error.c:40 #5 0x00007fbc7be5bea0 in error_print_loc () at util/qemu-error.c:183 #6 error_vreport (fmt=0x7fbc7bee1758 "%s", ap=ap@entry=0x7fffa6bb2780) at util/qemu-error.c:220 #7 0x00007fbc7be5bf69 in error_report (fmt=fmt@entry=0x7fbc7bee1758 "%s") at util/qemu-error.c:237 #8 0x00007fbc7be5b475 in error_report_err (err=0x7fbc7edd7950) at util/error.c:205 #9 0x00007fbc7bd9f68a in tap_cleanup (nc=0x7fbc7eee6000) at net/tap.c:309 #10 0x00007fbc7bd9a195 in qemu_del_net_client (nc=0x7fbc7eee6000) at net/net.c:429 #11 0x00007fbc7bd9b02d in net_cleanup () at net/net.c:1370 #12 0x00007fbc73ae7e69 in __run_exit_handlers () from /lib64/libc.so.6 #13 0x00007fbc73ae7eb5 in exit () from /lib64/libc.so.6 #14 0x00007fbc7bbbb063 in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at vl.c:4106 |