[Gluster-devel] syncop_lookup failing with latest git

Bharata B Rao bharata.rao at gmail.com
Mon Aug 6 08:01:59 UTC 2012


Hi,

I see a segmentation fault with syncop_lookup() when trying with
latest git (87d453f7211d3a38113aea895947143ea8bf7d68)

Things work with 66205114267ec659b4ad8084c7e9497009529c61.

[root at bharata qemu]# gdb ./qemu-img
(gdb) r create gluster://bharata/test/4 1k
Starting program: qemu-img create gluster://bharata/test/4 1k
Formatting 'gluster://bharata/test/4', fmt=raw size=1024
[New Thread 0x7ffff5011700 (LWP 6156)]
[New Thread 0x7ffff4810700 (LWP 6157)]
[New Thread 0x7ffff37b2700 (LWP 6158)]
[New Thread 0x7ffff179b700 (LWP 6159)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6257f6f in syncop_lookup (subvol=0x7fffec00e240, loc=0x7ffff7fd6bc0,
    xdata_req=0x7ffff3b985a4, iatt=0x7ffff7fd6b50, xdata_rsp=0x0, parent=0x0)
    at syncop.c:443
443	        SYNCOP (subvol, (&args), syncop_lookup_cbk, subvol->fops->lookup,
Missing separate debuginfos, use: debuginfo-install
glib2-2.30.3-1.fc16.x86_64 glibc-2.14.90-24.fc16.7.x86_64
keyutils-libs-1.5.2-1.fc16.x86_64 krb5-libs-1.9.3-2.fc16.x86_64
libaio-0.3.109-4.fc16.x86_64 libcom_err-1.41.14-2.fc15.x86_64
libgcc-4.6.3-2.fc16.x86_64 libselinux-2.1.6-6.fc16.x86_64
libuuid-2.20.1-2.3.fc16.x86_64 openssl-1.0.0j-1.fc16.x86_64
zlib-1.2.5-6.fc16.x86_64
(gdb) bt
#0  0x00007ffff6257f6f in syncop_lookup (subvol=0x7fffec00e240,
loc=0x7ffff7fd6bc0,
    xdata_req=0x7ffff3b985a4, iatt=0x7ffff7fd6b50, xdata_rsp=0x0, parent=0x0)
    at syncop.c:443
#1  0x00007ffff729399e in glfs_resolve_component (fs=<optimized out>, subvol=
    0x7fffec00e240, parent=0x7fffeb52402c, component=0x555555c2a4d0 "4", iatt=
    0x7ffff7fd6c70) at glfs-resolve.c:133
#2  0x00007ffff7293daf in glfs_resolve (fs=0x555555c05230,
subvol=0x7fffec00e240,
    origpath=<optimized out>, loc=0x7ffff7fd6db0, iatt=0x7ffff7fd6d40)
    at glfs-resolve.c:193
#3  0x00007ffff7292938 in glfs_creat (fs=0x555555c05230,
path=0x555555be4780 "4", flags=
    577, mode=384) at glfs-fops.c:186
#4  0x0000555555570874 in qemu_gluster_create (filename=
    0x555555be46b0 "gluster://bharata/test/4", options=0x555555be4430)
    at block/gluster.c:407
#5  0x00005555555615f5 in bdrv_create_co_entry (opaque=0x7ffff7fd6ee0)
at block.c:363
#6  0x0000555555561685 in bdrv_create (drv=0x5555557dadc0, filename=
    0x555555be4460 "gluster://bharata/test/4", options=0x555555be4410)
at block.c:385
#7  0x000055555556173a in bdrv_create_file (filename=
    0x555555be4460 "gluster://bharata/test/4", options=0x555555be4410)
at block.c:409
#8  0x0000555555588ec8 in raw_create (filename=
    0x555555be4460 "gluster://bharata/test/4", options=0x555555be4410)
at block/raw.c:92
#9  0x00005555555615f5 in bdrv_create_co_entry (opaque=0x7fffffffe230)
at block.c:363
#10 0x000055555559deab in coroutine_trampoline (i0=1438532752, i1=21845)
    at coroutine-ucontext.c:138
#11 0x00007ffff64cf0d0 in ?? () from /lib64/libc.so.6
#12 0x00007fffffffd970 in ?? ()
#13 0x0000000000000000 in ?? ()

-- 
http://bharata.sulekha.com/blog/posts.htm, http://raobharata.wordpress.com/




More information about the Gluster-devel mailing list