|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] qcow-create buffer overflow?
For many months now we have been trying to create a file-backed qcow
image with the qcow-create code. Each time we try to back a file with a
qcow, it screams:
*** buffer overflow detected ***: qcow-create terminated
Below is the output from two different attempts and information about
qcow-create. Any ideas/thoughts/help you can offer?
Thank you for your help!
-Eric
[root@trogdor ~]# qcow-create --version
Qcow-utils: v1.0.0
usage: qcow-create <SIZE(MB)> <FILENAME> [<BACKING_FILENAME>]
[root@trogdor ~]# rpm -qf `which qcow-create`
xen-3.0.3-8.fc6
Trying a simple 10mb empty image:
========================================================================================
[root@trogdor ~]# dd if=/dev/zero bs=1M count=10 of=foo
10+0 records in
10+0 records out
10485760 bytes (10 MB) copied, 0.032415 seconds, 323 MB/s
[root@trogdor ~]# qcow-create 10 foo-cow.qcow foo
Creating file size 10485760
*** buffer overflow detected ***: qcow-create terminated
======= Backtrace: =========
/lib64/libc.so.6(__chk_fail+0x2f)[0x3d02ae0cdf]
/lib64/libc.so.6[0x3d02ae132b]
qcow-create[0x4049ec]
qcow-create[0x4064a4]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x3d02a1da44]
qcow-create[0x401149]
======= Memory map: ========
00400000-0040b000 r-xp 00000000 08:03 34026133
/usr/sbin/qcow-create
0060a000-0060b000 rw-p 0000a000 08:03 34026133
/usr/sbin/qcow-create
0060b000-0062c000 rw-p 0060b000 00:00 0 [heap]
3d02600000-3d0261a000 r-xp 00000000 08:03 35520538
/lib64/ld-2.5.so
3d02819000-3d0281a000 r--p 00019000 08:03 35520538
/lib64/ld-2.5.so
[snip!]
========================================================================================
I had thought maybe it will only create qcow images where the backing file
is also a qcow, but got the same error:
========================================================================================
[root@trogdor ~]# qcow-create 10 foo.qcow
Creating file size 10485760
Created cksum: -45401879
[root@trogdor ~]# qcow-create 10 foo-cow.qcow foo.qcow
Creating file size 10485760
*** buffer overflow detected ***: qcow-create terminated
======= Backtrace: =========
/lib64/libc.so.6(__chk_fail+0x2f)[0x3d02ae0cdf]
/lib64/libc.so.6[0x3d02ae132b]
qcow-create[0x4049ec]
qcow-create[0x4064a4]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x3d02a1da44]
qcow-create[0x401149]
======= Memory map: ========
00400000-0040b000 r-xp 00000000 08:03 34026133
/usr/sbin/qcow-create
0060a000-0060b000 rw-p 0000a000 08:03 34026133
/usr/sbin/qcow-create
0060b000-0062c000 rw-p 0060b000 00:00 0 [heap]
3d02600000-3d0261a000 r-xp 00000000 08:03 35520538
/lib64/ld-2.5.so
3d02819000-3d0281a000 r--p 00019000 08:03 35520538
/lib64/ld-2.5.so
[snip!]
========================================================================================
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-users] qcow-create buffer overflow?,
xen <=
|
|
|
|
|