Bug 820582 - nfs:mem-pool: mem_put called on freed ptr
Summary: nfs:mem-pool: mem_put called on freed ptr
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: nfs
Version: pre-release
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Vivek Agarwal
QA Contact: Saurabh
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2012-05-10 12:21 UTC by Saurabh
Modified: 2016-02-18 00:03 UTC (History)
4 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:23:08 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions: 3.3.0qa42
Embargoed:


Attachments (Terms of Use)

Description Saurabh 2012-05-10 12:21:25 UTC
Description of problem:
[2012-05-10 11:51:27.142491] I [client-handshake.c:462:client_set_lk_version_cbk] 0-quota_dist_rep-client-5: Server lk version = 1
[2012-05-10 11:51:27.142887] I [afr-common.c:1971:afr_set_root_inode_on_first_lookup] 0-quota_dist_rep-replicate-0: added root inode
[2012-05-10 11:51:27.143613] I [afr-common.c:1971:afr_set_root_inode_on_first_lookup] 0-quota_dist_rep-replicate-1: added root inode
[2012-05-10 11:51:27.143660] I [afr-common.c:1971:afr_set_root_inode_on_first_lookup] 0-quota_dist_rep-replicate-2: added root inode
[2012-05-10 11:58:31.304381] C [mem-pool.c:541:mem_put] (-->/usr/lib64/libgfrpc.so.0(rpcsvc_handle_rpc_call+0x143) [0x30008090b3] (-->/usr/lib64/libgfrpc.so.0(rpcsvc_error_reply+0x50) [0x3000808ba0] (-->/usr/lib64/libgfrpc.so.0(rpcsvc_submit_generic+0x267) [0x30008087d7]))) 0-mem-pool: mem_put called on freed ptr 0x7f2ec61a6910 of mem pool 0x25333a0
pending frames:

patchset: git://git.gluster.com/glusterfs.git
signal received: 6
(END) 



and the system is not able to dump the core and mounts hang, seems some deadlock  
happening

Version-Release number of selected component (if applicable):
3.3.0qa40

How reproducible:
once

Steps to Reproduce:
1. mount the subdir of a volume
2. create some files
3. umount it
4. now try to mount the root of the volume.
  
Actual results:
the volume mount should hangs, with above mentioned results from the nfs.log


Expected results:

it should mount

Additional info:

Comment 1 Anand Avati 2012-05-15 23:09:52 UTC
CHANGE: http://review.gluster.com/3333 (nfs/mount: avoid duplicate reply on ENOENT) merged in master by Anand Avati (avati)

Comment 2 Anand Avati 2012-05-19 10:28:31 UTC
CHANGE: http://review.gluster.com/3355 (nfs/mount: avoid duplicate reply on ENOENT) merged in release-3.3 by Vijay Bellur (vijay)


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