Re: [Qemu-devel] [Bug 592056] [NEW] qemu segmentation fault when create qcow2 image with qemu-img command
Am 10.06.2010 09:41, schrieb xudong: > when use "qemu-img" command to create qcow image, segmentation fault will > happen. > dmesg: qemu-img[1883] general protection ip:32f0477d20 sp:7fff9c89b308 > error:0 in libc-2.5.so[32f040+14a000] > > Bisected commit ea25559830a1a025e534dea634158c0141c71894 in qemu-kvm tree > bring up this > issue. Can you please provide a backtrace? I couldn't reproduce this in a quick attempt, so I can't get it myself.
RE: [Qemu-devel] [Bug 592056] [NEW] qemu segmentation fault when create qcow2 image with qemu-img command
The commit dafac85ed4f43d694c1b438ec6d14e18d225e600 works fine, I git diff the two dafac85ed4f43d694c1b438ec6d14e18d225e600 and ea25559830a1a025e534dea634158c0141c71894, and revert qemu-img.c to dafac85ed4f43d694c1b438ec6d14e18d225e600 , then everything is OK. Thanks, Xudong -Original Message- From: Kevin Wolf [mailto:kw...@redhat.com] Sent: 2010年6月10日 16:59 To: Bug 592056 Cc: Hao, Xudong; qemu-devel@nongnu.org Subject: Re: [Qemu-devel] [Bug 592056] [NEW] qemu segmentation fault when create qcow2 image with qemu-img command Am 10.06.2010 09:41, schrieb xudong: > when use "qemu-img" command to create qcow image, segmentation fault will > happen. > dmesg: qemu-img[1883] general protection ip:32f0477d20 sp:7fff9c89b308 > error:0 in libc-2.5.so[32f040+14a000] > > Bisected commit ea25559830a1a025e534dea634158c0141c71894 in qemu-kvm tree > bring up this > issue. Can you please provide a backtrace? I couldn't reproduce this in a quick attempt, so I can't get it myself.
RE: [Qemu-devel] [Bug 592056] [NEW] qemu segmentation fault when create qcow2 image with qemu-img command
BT: #0 0x0032f0477d20 in strcmp () from /lib64/libc.so.6 #1 0x004071bb in get_option_parameter (list=0x6447e0, name=0x432dc9 "size") at qemu-option.c:162 #2 0x00408848 in append_option_parameters (dest=, list=0x642460) at qemu-option.c:383 #3 0x00405143 in img_create (argc=6, argv=0x7fffa40081e0) at qemu-img.c:303 #4 0x0032f041d8b4 in __libc_start_main () from /lib64/libc.so.6 #5 0x00403099 in _start () --Xudong