[Bugs] [Bug 1210137] qcow2 image creation using qemu-img hits segmentation fault

bugzilla at redhat.com bugzilla at redhat.com
Thu Apr 9 02:37:53 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1210137



--- Comment #2 from SATHEESARAN <sasundar at redhat.com> ---
[root at rhs-client15 rpms]# which qemu-img
/usr/bin/qemu-img

[root at rhs-client15 rpms]# gdb /usr/bin/qemu-img
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-64.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/qemu-img...Reading symbols from
/usr/lib/debug/usr/bin/qemu-img.debug...done.
done.
(gdb) 
(gdb) r create -f qcow2 gluster://10.70.37.113/repv/vm6.img 30G
Starting program: /usr/bin/qemu-img create -f qcow2
gluster://10.70.37.113/repv/vm6.img 30G
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Formatting 'gluster://10.70.37.113/repv/vm6.img', fmt=qcow2 size=32212254720
encryption=off cluster_size=65536 lazy_refcounts=off 
[New Thread 0x7ffff1684700 (LWP 11398)]
[New Thread 0x7ffff0e83700 (LWP 11399)]
[New Thread 0x7fffe98c7700 (LWP 11400)]
[New Thread 0x7fffe8ec3700 (LWP 11401)]
[New Thread 0x7fffe3fff700 (LWP 11402)]
[New Thread 0x7fffe0a8f700 (LWP 11403)]
[2015-04-09 02:50:34.040083] E [glfs.c:1011:pub_glfs_fini] 0-glfs:
call_pool_cnt - 0,pin_refcnt - 0
[2015-04-09 02:50:34.040245] E [MSGID: 108006] [afr-common.c:3789:afr_notify]
0-repv-replicate-0: All subvolumes are down. Going offline until atleast one of
them comes back up.
[2015-04-09 02:50:34.041084] E [rpc-transport.c:512:rpc_transport_unref] (-->
/lib64/libglusterfs.so.0(_gf_log_callingfn+0x186)[0x7ffff48d3516] (-->
/lib64/libgfrpc.so.0(rpc_transport_unref+0xa3)[0x7ffff737b493] (-->
/lib64/libgfrpc.so.0(rpc_clnt_unref+0x5c)[0x7ffff737e7dc] (-->
/lib64/libglusterfs.so.0(+0x1edc1)[0x7ffff48cfdc1] (-->
/lib64/libglusterfs.so.0(+0x1ed55)[0x7ffff48cfd55] ))))) 0-rpc_transport:
invalid argument: this
[2015-04-09 02:50:34.041260] E [rpc-transport.c:512:rpc_transport_unref] (-->
/lib64/libglusterfs.so.0(_gf_log_callingfn+0x186)[0x7ffff48d3516] (-->
/lib64/libgfrpc.so.0(rpc_transport_unref+0xa3)[0x7ffff737b493] (-->
/lib64/libgfrpc.so.0(rpc_clnt_unref+0x5c)[0x7ffff737e7dc] (-->
/lib64/libglusterfs.so.0(+0x1edc1)[0x7ffff48cfdc1] (-->
/lib64/libglusterfs.so.0(+0x1ed55)[0x7ffff48cfd55] ))))) 0-rpc_transport:
invalid argument: this
[2015-04-09 02:50:34.041435] E [rpc-transport.c:512:rpc_transport_unref] (-->
/lib64/libglusterfs.so.0(_gf_log_callingfn+0x186)[0x7ffff48d3516] (-->
/lib64/libgfrpc.so.0(rpc_transport_unref+0xa3)[0x7ffff737b493] (-->
/lib64/libgfrpc.so.0(rpc_clnt_unref+0x5c)[0x7ffff737e7dc] (-->
/lib64/libglusterfs.so.0(+0x1edc1)[0x7ffff48cfdc1] (-->
/lib64/libglusterfs.so.0(+0x1ed55)[0x7ffff48cfd55] ))))) 0-rpc_transport:
invalid argument: this
[Thread 0x7ffff0e83700 (LWP 11399) exited]
[Thread 0x7ffff1684700 (LWP 11398) exited]
[Thread 0x7fffe0a8f700 (LWP 11403) exited]
[Thread 0x7fffe3fff700 (LWP 11402) exited]
[Thread 0x7fffe8ec3700 (LWP 11401) exited]
[Thread 0x7fffe98c7700 (LWP 11400) exited]
[New Thread 0x7fffe98c7700 (LWP 11404)]
[New Thread 0x7fffe3fff700 (LWP 11405)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4900c35 in list_add (head=0x555555c0af10, new=0x555555c47c28) at
list.h:33
33              new->next->prev = new;
Missing separate debuginfos, use: debuginfo-install
boost-system-1.53.0-23.el7.x86_64 boost-thread-1.53.0-23.el7.x86_64
glib2-2.40.0-4.el7.x86_64 glibc-2.17-78.el7.x86_64
keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.12.2-14.el7.x86_64
libacl-2.2.51-12.el7.x86_64 libaio-0.3.109-12.el7.x86_64
libattr-2.4.46-12.el7.x86_64 libcom_err-1.42.9-7.el7.x86_64
libgcc-4.8.3-9.el7.x86_64 libgcrypt-1.5.3-12.el7.x86_64
libgpg-error-1.12-3.el7.x86_64 libiscsi-1.9.0-6.el7.x86_64
librados2-0.80.7-2.el7.x86_64 librbd1-0.80.7-2.el7.x86_64
libselinux-2.2.2-6.el7.x86_64 libstdc++-4.8.3-9.el7.x86_64
libuuid-2.23.2-21.el7.x86_64 nspr-4.10.6-3.el7.x86_64 nss-3.16.2.3-5.el7.x86_64
nss-util-3.16.2.3-2.el7.x86_64 openssl-libs-1.0.1e-42.el7_1.4.x86_64
pcre-8.32-14.el7.x86_64 xz-libs-5.1.2-9alpha.el7.x86_64
zlib-1.2.7-13.el7.x86_64
(gdb) bt
#0  0x00007ffff4900c35 in list_add (head=0x555555c0af10, new=0x555555c47c28) at
list.h:33
#1  mem_pool_new_fn (sizeof_type=sizeof_type at entry=144, count=count at entry=4096,
name=name at entry=0x7ffff759f794 "call_frame_t") at mem-pool.c:385
#2  0x00007ffff7590c1d in glusterfs_ctx_defaults_init (ctx=0x555555c2cb90) at
glfs.c:116
#3  pub_glfs_new (volname=0x555555c47c60 "repv") at glfs.c:606
#4  0x000055555556d9c0 in qemu_gluster_init (gconf=gconf at entry=0x555555c47f70,
filename=<optimized out>) at block/gluster.c:199
#5  0x000055555556dc53 in qemu_gluster_open (bs=<optimized out>,
options=0x555555c2bb70, bdrv_flags=66, errp=<optimized out>) at
block/gluster.c:341
#6  0x0000555555564870 in bdrv_open_common (bs=bs at entry=0x555555c29960,
file=file at entry=0x0, options=options at entry=0x555555c2bb70, flags=flags at entry=2, 
    drv=drv at entry=0x5555557fe3a0 <bdrv_gluster>, errp=0x7ffff7fd8eb0) at
block.c:829
#7  0x0000555555569464 in bdrv_file_open (pbs=pbs at entry=0x7ffff7fd8f48,
filename=filename at entry=0x555555c0a760 "gluster://10.70.37.113/repv/vm6.img", 
    options=0x555555c2bb70, options at entry=0x0, flags=flags at entry=2,
errp=errp at entry=0x7ffff7fd8f50) at block.c:959
#8  0x000055555557ca90 in qcow2_create2 (errp=0x7ffff7fd8f40, version=3,
prealloc=<optimized out>, cluster_size=65536, flags=0, backing_format=0x0,
backing_file=0x0, 
    total_size=62914560, filename=0x555555c0a760
"gluster://10.70.37.113/repv/vm6.img") at block/qcow2.c:1660
#9  qcow2_create (filename=0x555555c0a760
"gluster://10.70.37.113/repv/vm6.img", options=<optimized out>,
errp=0x7ffff7fd8fa0) at block/qcow2.c:1839
#10 0x0000555555563409 in bdrv_create_co_entry (opaque=0x7fffffffe1b0) at
block.c:393
#11 0x000055555559af2a in coroutine_trampoline (i0=<optimized out>,
i1=<optimized out>) at coroutine-ucontext.c:118
#12 0x00007ffff502e0f0 in ?? () from /lib64/libc.so.6
#13 0x00007fffffffda20 in ?? ()
#14 0x0000000000000000 in ?? ()

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list