Bug 761940 (GLUSTER-208) - crash in server_connection_destroy
Summary: crash in server_connection_destroy
Keywords:
Status: CLOSED DUPLICATE of bug 762162
Alias: GLUSTER-208
Product: GlusterFS
Classification: Community
Component: protocol
Version: 2.0.5
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Vijay Bellur
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-12 13:51 UTC by Vikas Gorur
Modified: 2010-03-30 11:38 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Vikas Gorur 2009-08-12 13:51:40 UTC
Trying to reproduce bz 112 by running the test suite, release-2.0 branch.

#0  0xb7526f23 in copy_frame (frame=0x8091958)
    at ../../../../../libglusterfs/src/stack.h:212
	newstack = (call_stack_t *) 0x8091930
	oldstack = (call_stack_t *) 0x0
#1  0xb7528c3e in server_connection_destroy (this=0x8056fa8, conn=0x8059f70)
    at ../../../../../xlators/protocol/server/src/server-helpers.c:764
	frame = (call_frame_t *) 0x8091958
	tmp_frame = (call_frame_t *) 0x0
	bound_xl = (xlator_t *) 0x8056a10
	ret = -1
	state = (server_state_t *) 0x0
	file_lockers = {next = 0xb6c04ef0, prev = 0xb6c04ef0}
	dir_lockers = {next = 0xb6c04ee8, prev = 0xb6c04ee8}
	ltable = (struct _lock_table *) 0xb6a09f88
	locker = (struct _locker *) 0xb6c04ee8
	tmp = (struct _locker *) 0xb6c04ee8
	flock = {l_type = 2, l_whence = 0, l_start = 0, l_len = 0, l_pid = 0}
	fd = (fd_t *) 0xb6a097a8
	i = 0
	fdentries = (fdentry_t *) 0xb6a0b180
	fd_count = 256
	__FUNCTION__ = "server_connection_destroy"
#2  0xb7528fa8 in server_connection_put (this=0x8056fa8, conn=0x8059f70)
    at ../../../../../xlators/protocol/server/src/server-helpers.c:852
	conf = (server_conf_t *) 0x8057d68
	todel = (server_connection_t *) 0x8059f70
#3  0xb7524b1b in notify (this=0x8056fa8, event=8, data=0x8059570)
    at ../../../../../xlators/protocol/server/src/server-protocol.c:7838
	ret = 0
	trans = (transport_t *) 0x8059570
	peerinfo = (peer_info_t *) 0x80595ac
	myinfo = (peer_info_t *) 0x805969c
	__FUNCTION__ = "notify"
#4  0xb7f21113 in transport_unref (this=0x8059570)
    at ../../../libglusterfs/src/transport.c:376
	refcount = 0
	ret = -1
	__FUNCTION__ = "transport_unref"
#5  0xb7526d96 in free_state (state=0xb6a099c0)
    at ../../../../../xlators/protocol/server/src/server-helpers.c:188
	trans = (transport_t *) 0x8059570
#6  0xb750d1d3 in protocol_server_reply (frame=0xb6a09660, type=4, op=21, hdr=0x8091900, 
    hdrlen=40, vector=0x0, count=0, iobref=0x0)
    at ../../../../../xlators/protocol/server/src/server-protocol.c:71
	state = (server_state_t *) 0xb6a099c0
	bound_xl = (xlator_t *) 0x8056a10
	trans = (transport_t *) 0x8059570
#7  0xb750ffcb in server_opendir_cbk (frame=0xb6a09660, cookie=0xb6a09778, this=0x8056fa8, 
    op_ret=0, op_errno=22, fd=0xb6a097a8)
    at ../../../../../xlators/protocol/server/src/server-protocol.c:1110
	conn = (server_connection_t *) 0x8059f70
	hdr = (gf_hdr_common_t *) 0x8091900
	rsp = (gf_fop_opendir_rsp_t *) 0x8091920
	state = (server_state_t *) 0xb6a099c0
	hdrlen = 40
	gf_errno = 22
	__FUNCTION__ = "server_opendir_cbk"
#8  0xb7535760 in iot_opendir_cbk (frame=0xb6a09778, cookie=0x8095dc8, this=0x8056a10, 
    op_ret=0, op_errno=22, fd=0xb6a097a8)
    at ../../../../../xlators/performance/io-threads/src/io-threads.c:1349
	fn = (ret_fn_t) 0xb750fd89 <server_opendir_cbk>
	_parent = (call_frame_t *) 0xb6a09660
#9  0xb7f1aaa4 in default_opendir_cbk (frame=0x8095dc8, cookie=0x8093760, this=0x8056548, 
    op_ret=0, op_errno=22, fd=0xb6a097a8) at ../../../libglusterfs/src/defaults.c:802
	fn = (ret_fn_t) 0xb7535703 <iot_opendir_cbk>
	_parent = (call_frame_t *) 0xb6a09778
#10 0xb753f2be in posix_opendir (frame=0x8093760, this=0x8055f10, loc=0xb6a09378, 
    fd=0xb6a097a8) at ../../../../../xlators/storage/posix/src/posix.c:431
	fn = (ret_fn_t) 0xb7f1aa47 <default_opendir_cbk>
	_parent = (call_frame_t *) 0x8095dc8
	real_path = 0xb6c05190 "/home/vikas/work/glusterfs/bugs/112/glusterfs-mirror-test-suite-2/export/server1/0"
	op_ret = 0
	op_errno = 22
	dir = (DIR *) 0x8099200
	pfd = (struct posix_fd *) 0x809a220
	__FUNCTION__ = "posix_opendir"
#11 0xb7f1abb8 in default_opendir (frame=0x8095dc8, this=0x8056548, loc=0xb6a09378, 
    fd=0xb6a097a8) at ../../../libglusterfs/src/defaults.c:814
	_new = (call_frame_t *) 0x8093760
	tmp_cbk = (fop_opendir_cbk_t) 0xb7f1aa47 <default_opendir_cbk>
#12 0xb7535874 in iot_opendir_wrapper (frame=0xb6a09778, this=0x8056a10, loc=0xb6a09378, 
    fd=0xb6a097a8) at ../../../../../xlators/performance/io-threads/src/io-threads.c:1357
	_new = (call_frame_t *) 0x8095dc8
	tmp_cbk = (fop_opendir_cbk_t) 0xb7535703 <iot_opendir_cbk>
#13 0xb7f2c1d1 in call_resume_wind (stub=0xb6a09360)
    at ../../../libglusterfs/src/call-stub.c:2492
	__FUNCTION__ = "call_resume_wind"
#14 0xb7f30165 in call_resume (stub=0xb6a09360)
    at ../../../libglusterfs/src/call-stub.c:4169
	__FUNCTION__ = "call_resume"
#15 0xb7537b3e in iot_worker_unordered (arg=0x8057888)
    at ../../../../../xlators/performance/io-threads/src/io-threads.c:2058
	worker = (iot_worker_t *) 0x8057888
	stub = (call_stub_t *) 0xb6a09360
#16 0xb7eeb4fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0

Comment 1 Anand Avati 2010-01-23 04:14:29 UTC

*** This bug has been marked as a duplicate of bug 430 ***


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