Bug 762156 (GLUSTER-424)

Summary: crash during deletion when using stat-prefetch
Product: [Community] GlusterFS Reporter: Anand Avati <aavati>
Component: stat-prefetchAssignee: Raghavendra G <raghavendra>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: mainlineCC: chrisw, vijay
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Anand Avati 2009-12-01 12:14:26 UTC
#0  0x00007f7ccbe58570 in fuse_unlink_cbk (frame=0x7f7cc0154a20, cookie=0x7f7cc017cde0, this=0x7f7cc0168a30, op_ret=0, op_errno=107, 
    preparent=0x7f7cc00fb280, postparent=0x7f7cc018b438) at ../../../../../xlators/mount/fuse/src/fuse-bridge.c:1220
	state = (fuse_state_t *) 0x0
	finh = (fuse_in_header_t *) 0x0
	__FUNCTION__ = "fuse_unlink_cbk"
#1  0x00007f7ccc06eec2 in sp_lookup_cbk (frame=0x7f7cc017cde0, cookie=0x7f7cc014c4c0, this=0x942ca0, op_ret=0, op_errno=107, 
    inode=0x7f7cc00fb280, buf=0x7f7cc018b438, dict=0x7f7cc0168410, postparent=0x7f7cc018b558)
    at ../../../../../xlators/performance/stat-prefetch/src/stat-prefetch.c:630
	fn = (fop_lookup_cbk_t) 0x7f7ccbe5853a <fuse_unlink_cbk>
	_parent = (call_frame_t *) 0x7f7cc0154a20
	old_THIS = (xlator_t *) 0x942ca0
	__local = (sp_local_t *) 0x0
	inode_ctx = (sp_inode_ctx_t *) 0x7f7cc0030a00
	value = 140173774096896
	ret = 0
	waiting_ops = {next = 0x7f7cbaff4680, prev = 0x7f7cbaff4680}
	stub = (call_stub_t *) 0x7f7cbaff4680
	tmp = (call_stub_t *) 0x7f7cbaff4680
	local = (sp_local_t *) 0x7f7cc0100ba0
	cache = (sp_cache_t *) 0x0
#2  0x00007f7ccc288104 in qr_lookup_cbk (frame=0x7f7cc014c4c0, cookie=0x7f7cc00b0ea0, this=0x942410, op_ret=0, op_errno=107, 
    inode=0x7f7cc00fb280, buf=0x7f7cc018b438, dict=0x7f7cc0168410, postparent=0x7f7cc018b558)
    at ../../../../../xlators/performance/quick-read/src/quick-read.c:243
	fn = (fop_lookup_cbk_t) 0x7f7ccc06eba2 <sp_lookup_cbk>
	_parent = (call_frame_t *) 0x7f7cc017cde0
	old_THIS = (xlator_t *) 0x942410
	content = (data_t *) 0x0
	qr_file = (qr_file_t *) 0x0
	value = 0
	ret = -1
	conf = (qr_conf_t *) 0x944650
#3  0x00007f7ccc496433 in ioc_lookup_cbk (frame=0x7f7cc00b0ea0, cookie=0x7f7cc017b100, this=0x941a30, op_ret=0, op_errno=107, 
    inode=0x7f7cc00fb280, stbuf=0x7f7cc018b438, dict=0x7f7cc0168410, postparent=0x7f7cc018b558)
    at ../../../../../xlators/performance/io-cache/src/io-cache.c:206
	fn = (fop_lookup_cbk_t) 0x7f7ccc287db0 <qr_lookup_cbk>
	_parent = (call_frame_t *) 0x7f7cc014c4c0
	old_THIS = (xlator_t *) 0x941a30
	ioc_inode = (ioc_inode_t *) 0x0
	table = (ioc_table_t *) 0x9446d0
	cache_still_valid = 0 '\0'
	tmp_ioc_inode = 0
	__FUNCTION__ = "ioc_lookup_cbk"
#4  0x00007f7cce95755d in default_lookup_cbk (frame=0x7f7cc017b100, cookie=0x7f7cc0028dc0, this=0x9411a0, op_ret=0, op_errno=107, 
    inode=0x7f7cc00fb280, buf=0x7f7cc018b438, dict=0x7f7cc0168410, postparent=0x7f7cc018b558) at ../../../libglusterfs/src/defaults.c:47
	fn = (ret_fn_t) 0x7f7ccc49611a <ioc_lookup_cbk>
	_parent = (call_frame_t *) 0x7f7cc00b0ea0
	old_THIS = (xlator_t *) 0x9411a0
#5  0x00007f7cce95755d in default_lookup_cbk (frame=0x7f7cc0028dc0, cookie=0x7f7cc01172b0, this=0x940820, op_ret=0, op_errno=107, 
    inode=0x7f7cc00fb280, buf=0x7f7cc018b438, dict=0x7f7cc0168410, postparent=0x7f7cc018b558) at ../../../libglusterfs/src/defaults.c:47
	fn = (ret_fn_t) 0x7f7cce957474 <default_lookup_cbk>
	_parent = (call_frame_t *) 0x7f7cc017b100
	old_THIS = (xlator_t *) 0x940820
#6  0x00007f7cccac8817 in dht_lookup_cbk (frame=0x7f7cc01172b0, cookie=0x7f7cc0019a70, this=0x93ff30, op_ret=0, op_errno=107, 
    inode=0x7f7cc00fb280, stbuf=0x7f7cc018b438, xattr=0x7f7cc0168410, postparent=0x7f7cc018b558)
    at ../../../../../xlators/cluster/dht/src/dht-common.c:744
	fn = (fop_lookup_cbk_t) 0x7f7cce957474 <default_lookup_cbk>
	_parent = (call_frame_t *) 0x7f7cc0028dc0
	old_THIS = (xlator_t *) 0x93ff30
	__local = (dht_local_t *) 0x7f7cc01a2400
	__xl = (xlator_t *) 0x93ff30
	is_linkfile = 0 '\0'
	is_dir = 0 '\0'
	subvol = (xlator_t *) 0x0
	conf = (dht_conf_t *) 0x944a10
	local = (dht_local_t *) 0x7f7cc01a2400
	loc = (loc_t *) 0x7f7cc01a2408
	prev = (call_frame_t *) 0x7f7cc0019a70
	ret = 0
	__FUNCTION__ = "dht_lookup_cbk"
#7  0x00007f7ccccec4e8 in afr_lookup_done (frame=0x7f7cc0019a70, this=0x93fcd0, lookup_buf=0x7f7cc018b438)
    at ../../../../../xlators/cluster/afr/src/afr.c:619
	fn = (fop_lookup_cbk_t) 0x7f7cccac8235 <dht_lookup_cbk>
	_parent = (call_frame_t *) 0x7f7cc01172b0
	old_THIS = (xlator_t *) 0x93fcd0
	__local = (afr_local_t *) 0x7f7cc018b2f0
	__this = (xlator_t *) 0x93fcd0
	local = (afr_local_t *) 0x7f7cc018b2f0
#8  0x00007f7ccccec90f in afr_fresh_lookup_cbk (frame=0x7f7cc0019a70, cookie=0x1, this=0x93fcd0, op_ret=0, op_errno=22, 
    inode=0x7f7cc00fb280, buf=0x7f7cbaff4d00, xattr=0x7f7ca8081bc0, postparent=0x7f7cbaff4c70)
    at ../../../../../xlators/cluster/afr/src/afr.c:765
	local = (afr_local_t *) 0x7f7cc018b2f0
	priv = (afr_private_t *) 0x944b10
	lookup_buf = (struct stat *) 0x7f7cc018b438
	call_count = 0
	child_index = 1
	first_up_child = 0
#9  0x00007f7cccf54d77 in client_lookup_cbk (frame=0x7f7cc00e09a0, hdr=0xa14160, hdrlen=382, iobuf=0x0)
    at ../../../../../xlators/protocol/client/src/client-protocol.c:4933
	fn = (ret_fn_t) 0x7f7ccccec551 <afr_fresh_lookup_cbk>
	_parent = (call_frame_t *) 0x7f7cc0019a70
	old_THIS = (xlator_t *) 0x93ef50
	stbuf = {st_dev = 5410211788413206556, st_ino = 4083095, st_nlink = 1, st_mode = 33152, st_uid = 0, st_gid = 0, __pad0 = 0, 
  st_rdev = 0, st_size = 1048576, st_blksize = 4096, st_blocks = 2064, st_atim = {tv_sec = 1259663108, tv_nsec = 0}, st_mtim = {
    tv_sec = 1259663108, tv_nsec = 0}, st_ctim = {tv_sec = 1259663108, tv_nsec = 0}, __unused = {0, 0, 0}}
	postparent = {st_dev = 5409865545329672202, st_ino = 4083059, st_nlink = 3, st_mode = 16832, st_uid = 0, st_gid = 0, __pad0 = 0, 
  st_rdev = 0, st_size = 4096, st_blksize = 4096, st_blocks = 16, st_atim = {tv_sec = 1259663095, tv_nsec = 0}, st_mtim = {
    tv_sec = 1259663109, tv_nsec = 0}, st_ctim = {tv_sec = 1259663109, tv_nsec = 0}, __unused = {0, 0, 0}}
	inode = (inode_t *) 0x7f7cc00fb280
	xattr = (dict_t *) 0x7f7ca8081bc0
	rsp = (gf_fop_lookup_rsp_t *) 0xa14180
	op_ret = 0
	op_errno = 22
	dict_len = 186
	dictbuf = 0x0
	ret = 0
	gf_errno = 22
	local = (client_local_t *) 0x7f7cc00f8230
	oldino = 0
	oldgen = 0
	__FUNCTION__ = "client_lookup_cbk"
#10 0x00007f7cccf595ba in protocol_client_interpret (this=0x93ef50, trans=0x945b00, hdr_p=0xa14160 "", hdrlen=382, iobuf=0x0)
    at ../../../../../xlators/protocol/client/src/client-protocol.c:6487
	ret = -1
	frame = (call_frame_t *) 0x7f7cc00e09a0
	hdr = (gf_hdr_common_t *) 0xa14160
	callid = 23811
	type = 4
	op = 27
	conn = (client_connection_t *) 0x946000
	__FUNCTION__ = "protocol_client_interpret"
#11 0x00007f7cccf5a280 in protocol_client_pollin (this=0x93ef50, trans=0x945b00)
    at ../../../../../xlators/protocol/client/src/client-protocol.c:6785
	conf = (client_conf_t *) 0x944e90
	ret = 0
	iobuf = (struct iobuf *) 0x0
	hdr = 0xa14160 ""
	hdrlen = 382
#12 0x00007f7cccf5a8f4 in notify (this=0x93ef50, event=2, data=0x945b00)
    at ../../../../../xlators/protocol/client/src/client-protocol.c:6904
	i = 0
	ret = -1
	child_down = 1
	was_not_down = 0
	trans = (transport_t *) 0x945b00
	conn = (client_connection_t *) 0x0
	conf = (client_conf_t *) 0x944e90
	parent = (xlator_list_t *) 0x0
	__FUNCTION__ = "notify"
#13 0x00007f7cce955751 in xlator_notify (xl=0x93ef50, event=2, data=0x945b00) at ../../../libglusterfs/src/xlator.c:923
	old_THIS = (xlator_t *) 0x7f7cceb91960
	ret = 0
#14 0x00007f7cce962f31 in transport_peerproc (trans_data=0x945b00) at ../../../libglusterfs/src/transport.c:414
	trans = (transport_t *) 0x945b00
	msg = (struct transport_msg *) 0xa46c60
#15 0x00007f7cce523faa in start_thread () from /lib/libpthread.so.0