Bug 763233 (GLUSTER-1501) - Crash in pl_forget
Summary: Crash in pl_forget
Keywords:
Status: CLOSED WORKSFORME
Alias: GLUSTER-1501
Product: GlusterFS
Classification: Community
Component: transport
Version: mainline
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-01 12:08 UTC by Anush Shetty
Modified: 2015-12-01 16:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Anush Shetty 2010-09-01 12:08:19 UTC
Found this crash while creating 100000 files using dd over rdma

#0  0x0000003898e30265 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x0000003898e31d10 in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x0000003898e296e6 in __assert_fail () from /lib64/libc.so.6
No symbol table info available.
#3  0x00002baa17190d60 in __gf_free (free_ptr=0x2aaab4039bb0) at mem-pool.c:252
	req_size = 0
	ptr = 0x2aaab4039bac ""
	type = 0
	xl = (xlator_t *) 0x0
	__PRETTY_FUNCTION__ = "__gf_free"
#4  0x00002aaaaacd4f92 in pl_forget (this=0x518c0c8, inode=0x2aaab04315b8) at posix.c:885
	pl_inode = (pl_inode_t *) 0x51dc268
	ext_tmp = (posix_lock_t *) 0x0
	ext_l = (posix_lock_t *) 0x0
	posixlks_released = {next = 0x7fff1fe1b050, prev = 0x7fff1fe1b050}
	ino_tmp = (pl_inode_lock_t *) 0x0
	ino_l = (pl_inode_lock_t *) 0x0
	inodelks_released = {next = 0x7fff1fe1b040, prev = 0x7fff1fe1b040}
	rw_tmp = (pl_rw_req_t *) 0x2aaab8038800
	rw_req = (pl_rw_req_t *) 0x2aaab4039bb0
	entry_tmp = (pl_entry_lock_t *) 0x0
	entry_l = (pl_entry_lock_t *) 0x0
	entrylks_released = {next = 0x7fff1fe1b030, prev = 0x7fff1fe1b030}
	dom = (pl_dom_list_t *) 0x0
	dom_tmp = (pl_dom_list_t *) 0x0
	__FUNCTION__ = "pl_forget"

#5  0x00002baa1717a020 in __inode_destroy (inode=0x2aaab04315b8) at inode.c:339
	index = 0
	xl = (xlator_t *) 0x518c0c8
	old_THIS = (xlator_t *) 0x51907b8
	tmp_pool = (struct mem_pool *) 0x51dd7a8
#6  0x00002baa1717baf9 in inode_table_prune (table=0x51dd6a8) at inode.c:1155
	ret = 1
	purge = {next = 0x7fff1fe1b160, prev = 0x7fff1fe1b160}
	del = (inode_t *) 0x2aaab04315b8
	tmp = (inode_t *) 0x7fff1fe1b0f8
	entry = (inode_t *) 0x2aaab04315b8
#7  0x00002baa1717a47e in inode_unref (inode=0x2aaab0431528) at inode.c:462
	table = (inode_table_t *) 0x51dd6a8
#8  0x00002baa1718cf38 in fd_destroy (fd=0x2aaab3e85350) at fd.c:448
	xl = (xlator_t *) 0x518c0c8
	i = 8
	old_THIS = (xlator_t *) 0x51907b8
	tmp_pool = (struct mem_pool *) 0x51d5f98
	__FUNCTION__ = "fd_destroy"
#9  0x00002baa1718d00e in fd_unref (fd=0x2aaab3e85350) at fd.c:475
	refcount = 0
	__FUNCTION__ = "fd_unref"
#10 0x00002baa1718c9a2 in gf_fd_put (fdtable=0x2aaab8011d98, fd=0) at fd.c:322
	fdptr = (fd_t *) 0x2aaab3e85350
	fde = (fdentry_t *) 0x2aaab8042678
	__FUNCTION__ = "gf_fd_put"
#11 0x00002aaaab1131fd in server_release (req=0x2aaaab526630) at server3_1-fops.c:3062
	conn = (server_connection_t *) 0x2aaab8022d58
	args = {gfs_id = 41, ino = 0, gen = 0, fd = 0}
	rsp = {gfs_id = 0, op_ret = 0, op_errno = 0}
#12 0x00002baa173c88f9 in rpcsvc_handle_rpc_call (svc=0x51930b8, trans=0x2aaab8038578, msg=0x2aaab4026ac8) at rpcsvc.c:990
	actor = (rpcsvc_actor_t *) 0x2aaaab3211a0
	req = (rpcsvc_request_t *) 0x2aaaab526630
	ret = -1
	port = 1019
	__FUNCTION__ = "rpcsvc_handle_rpc_call"
#13 0x00002baa173c8c8c in rpcsvc_notify (trans=0x2aaab8038578, mydata=0x51930b8, event=RPC_TRANSPORT_MSG_RECEIVED, data=0x2aaab4026ac8) at rpcsvc.c:1085
	ret = -1
msg = (rpc_transport_pollin_t *) 0x2aaab4026ac8
	new_trans = (rpc_transport_t *) 0x0
	svc = (rpcsvc_t *) 0x51930b8
	__FUNCTION__ = "rpcsvc_notify"
#14 0x00002baa173ce9d5 in rpc_transport_notify (this=0x2aaab8038578, event=RPC_TRANSPORT_MSG_RECEIVED, data=0x2aaab4026ac8) at rpc-transport.c:1124
	ret = -1
#15 0x00002aaaae53e1da in socket_event_poll_in (this=0x2aaab8038578) at socket.c:1561
	ret = 0
	pollin = (rpc_transport_pollin_t *) 0x2aaab4026ac8
#16 0x00002aaaae53e54b in socket_event_handler (fd=12, idx=3, data=0x2aaab8038578, poll_in=1, poll_out=0, poll_err=0) at socket.c:1675
	this = (rpc_transport_t *) 0x2aaab8038578
	priv = (socket_private_t *) 0x2aaab802dfb8
	ret = 0
	__FUNCTION__ = "socket_event_handler"
#17 0x00002baa17190024 in event_dispatch_epoll_handler (event_pool=0x5186168, events=0x51c05c8, i=0) at event.c:812
	event_data = (struct event_data *) 0x51c05cc
	handler = (event_handler_t) 0x2aaaae53e44f <socket_event_handler>
	data = (void *) 0x2aaab8038578
	idx = 3
	ret = -1
	__FUNCTION__ = "event_dispatch_epoll_handler"
#18 0x00002baa17190213 in event_dispatch_epoll (event_pool=0x5186168) at event.c:876
	events = (struct epoll_event *) 0x51c05c8
	size = 1
	i = 0
	ret = 1
	__FUNCTION__ = "event_dispatch_epoll"
#19 0x00002baa1719056f in event_dispatch (event_pool=0x5186168) at event.c:984
	ret = -1
	__FUNCTION__ = "event_dispatch"
#20 0x0000000000405c8a in main (argc=7, argv=0x7fff1fe1b7a8) at glusterfsd.c:1398
	ctx = (glusterfs_ctx_t *) 0x5184010
	ret = 0

Comment 1 Vijay Bellur 2010-09-16 10:36:30 UTC
Crash not seen with latest git.


Note You need to log in before you can comment on or make changes to this bug.