[Gluster-devel] One more regression

Emmanuel Dreyfus manu at netbsd.org
Fri Mar 20 10:19:30 UTC 2015


On Fri, Mar 20, 2015 at 08:43:15AM +0000, Emmanuel Dreyfus wrote:
> There have also been real new bugs introduced. The fact that they did
> not appear in Linux is not a guarantee that you will never see them 
> bite you later.

Does that one ring a bell for someone? Uninitialized iobuf triggered by 
./tests/basic/afr/data-self-heal.t

It may pass on Linux, as it allows usiing a lock that was not 
initalized.

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xbb69f23d in pthread_spin_lock () from /usr/lib/libpthread.so.1
(gdb) bt
#0  0xbb69f23d in pthread_spin_lock () from /usr/lib/libpthread.so.1
#1  0xbb78de6d in iobuf_unref (iobuf=0x3) at iobuf.c:792
#2  0xbb78e150 in iobref_destroy (iobref=0xb7502118) at iobuf.c:880
#3  0xbb78e226 in iobref_unref (iobref=0xb7502118) at iobuf.c:905
#4  0xbb71cb7d in rpcsvc_request_destroy (req=0xb750c028) at rpcsvc.c:365
#5  0xbb71e9e2 in rpcsvc_submit_generic (req=0xb750c028, proghdr=0xb97fe278, 
    hdrcount=1, payload=0x0, payloadcount=0, iobref=0xb76040d8)
    at rpcsvc.c:1318
#6  0xb9ad4c49 in server_submit_reply (frame=0xb75cbe70, req=0xb750c028, 
    arg=0xb97fe2e8, payload=0x0, payloadcount=0, iobref=0xb76040d8, 
    xdrproc=0xbb6fa29c <xdr_gfs3_getxattr_rsp>) at server.c:183
#7  0xb9adf853 in server_getxattr_cbk (frame=0xb75cbe70, cookie=0xb7526258, 
    this=0xbb1df018, op_ret=76, op_errno=0, dict=0xb76050a8, xdata=0x0)
    at server-rpc-fops.c:780
#8  0xb9b0dbdb in io_stats_getxattr_cbk (frame=0xb7526258, cookie=0xb75262e8, 
    this=0xbb1dd018, op_ret=76, op_errno=0, dict=0xb76050a8, xdata=0x0)
    at io-stats.c:1674
#9  0xbb75f247 in default_getxattr_cbk (frame=0xb75262e8, cookie=0xb7526378, 
    this=0xbb1dc018, op_ret=76, op_errno=0, dict=0xb76050a8, xdata=0x0)
    at defaults.c:1119
#10 0xb9b45f56 in marker_getxattr_cbk (frame=0xb7526378, cookie=0x0, 
    this=0xbb1db018, op_ret=76, op_errno=0, dict=0xb76050a8, xdata=0x0)
    at marker.c:364
#11 0xbb75f247 in default_getxattr_cbk (frame=0xb7526408, cookie=0xb7526498, 
    this=0xbb1da018, op_ret=76, op_errno=0, dict=0xb76050a8, xdata=0x0)
    at defaults.c:1119
#12 0xbb75f247 in default_getxattr_cbk (frame=0xb7526498, cookie=0xb76020a8, 
    this=0xbb1d7018, op_ret=76, op_errno=0, dict=0xb76050a8, xdata=0x0)
    at defaults.c:1119
#13 0xb9b9c3d4 in pl_getxattr_cbk (frame=0xb76020a8, cookie=0xb7602138, 
    this=0xbb1d5018, op_ret=76, op_errno=0, dict=0xb76050a8, xdata=0x0)
    at posix.c:385
#14 0xb9bbc840 in posix_acl_getxattr_cbk (frame=0xb7602138, cookie=0xb76021c8, 
    this=0xbb1d4018, op_ret=76, op_errno=0, xattr=0xb76050a8, xdata=0x0)
    at posix-acl.c:1959
#15 0xb9ce3fd9 in posix_getxattr (frame=0xb76021c8, this=0xbb1cf018, 
    loc=0xb7515048, name=0xb7502198 "trusted.glusterfs.pathinfo", xdata=0x0)
    at posix.c:4053
#16 0xbb767747 in default_getxattr (frame=0xb76021c8, this=0xbb1d0018, 
    loc=0xb7515048, name=0xb7502198 "trusted.glusterfs.pathinfo", xdata=0x0)
    at defaults.c:1968
#17 0xbb767747 in default_getxattr (frame=0xb76021c8, this=0xbb1d1018, 
    loc=0xb7515048, name=0xb7502198 "trusted.glusterfs.pathinfo", xdata=0x0)
    at defaults.c:1968
#18 0xbb767747 in default_getxattr (frame=0xb76021c8, this=0xbb1d2018, 
    loc=0xb7515048, name=0xb7502198 "trusted.glusterfs.pathinfo", xdata=0x0)
    at defaults.c:1968
#19 0xb9bbcaa4 in posix_acl_getxattr (frame=0xb7602138, this=0xbb1d4018, 
    loc=0xb7515048, name=0xb7502198 "trusted.glusterfs.pathinfo", xdata=0x0)
    at posix-acl.c:1978
#20 0xb9b9cb3d in pl_getxattr (frame=0xb76020a8, this=0xbb1d5018, 
    loc=0xb7515048, name=0xb7502198 "trusted.glusterfs.pathinfo", xdata=0x0)
    at posix.c:502
#21 0xbb767747 in default_getxattr (frame=0xb76020a8, this=0xbb1d6018, 
    loc=0xb7515048, name=0xb7502198 "trusted.glusterfs.pathinfo", xdata=0x0)
    at defaults.c:1968
#22 0xbb763c8a in default_getxattr_resume (frame=0xb7526498, this=0xbb1d7018, 
    loc=0xb7515048, name=0xb7502198 "trusted.glusterfs.pathinfo", xdata=0x0)
    at defaults.c:1529
#23 0xbb77effe in call_resume_wind (stub=0xb7515028) at call-stub.c:2445
#24 0xbb78663d in call_resume (stub=0xb7515028) at call-stub.c:2894
#25 0xb9b8d03f in iot_worker (data=0xbb1fb058) at io-threads.c:214


-- 
Emmanuel Dreyfus
manu at netbsd.org


More information about the Gluster-devel mailing list