Bug 762241 (GLUSTER-509) - Crash in afr_local_cleanup ()
Summary: Crash in afr_local_cleanup ()
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-509
Product: GlusterFS
Classification: Community
Component: replicate
Version: 3.0.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Vikas Gorur
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-24 06:37 UTC by Vijay Bellur
Modified: 2010-01-12 11:31 UTC (History)
1 user (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 Vijay Bellur 2009-12-24 06:37:14 UTC
Reported by community user elsif.then at gmail dot com



(gdb) backtrace
#0  0xf7da47f2 in free () from /lib/libc.so.6
#1  0xf7eb623f in data_destroy (data=0xc1f229c0) at dict.c:141
#2  0xf7eb62e0 in data_unref (this=0xeeeeeeee) at dict.c:459
#3  0xf7eb6b46 in dict_destroy (this=0x122f1750) at dict.c:383
#4  0xf7eb6c80 in dict_unref (this=0x122f1750) at dict.c:419
#5  0xf749dc76 in afr_local_cleanup (local=0x1284b600, this=0x97d0108)
    at afr.c:341
#6  0xf74bf0f1 in afr_self_heal_completion_cbk (bgsh_frame=0x12dd9eb4,
    this=0x97d0108) at afr-self-heal-common.c:1489
#7  0xf74c3de1 in afr_sh_entry_done (frame=0x12dd9eb4, this=0x97d0108)
    at afr-self-heal-entry.c:82
#8  0xf74c3e3e in afr_self_heal_entry (frame=0x12dd9eb4, this=0x97d0108)
    at afr-self-heal-entry.c:2552
#9  0xf74bfdd2 in afr_sh_metadata_done (frame=0x12dd9eb4, this=0x97d0108)
    at afr-self-heal-metadata.c:96
#10 0xf74bfe20 in afr_self_heal_metadata (frame=0x12dd9eb4, this=0x19)
    at afr-self-heal-metadata.c:817
#11 0xf74bc9bd in afr_sh_missing_entries_done (frame=0x12dd9eb4,
    this=0x97d0108) at afr-self-heal-common.c:745
#12 0xf74bec87 in afr_self_heal (frame=0xb7916c00, this=0x97d0108)
    at afr-self-heal-common.c:1567
#13 0xf74a0312 in afr_lookup_done (frame=0xb7916c00, this=0x97d0108,
    lookup_buf=0xbbed2bdc) at afr.c:663
#14 0xf74a05d3 in afr_revalidate_lookup_cbk (frame=0xb7916c00, cookie=0x2,
    this=0x97d0108, op_ret=0, op_errno=22, inode=0xd97514e0, buf=0xffd003a0,
---Type <return> to continue, or q <return> to quit---
    xattr=0xe7dd6d8, postparent=0xffd00340) at afr.c:947
#15 0xf74ebe37 in client_lookup_cbk (frame=0xdb92d1b0, hdr=0x12515d28,
    hdrlen=664, iobuf=0x0) at client-protocol.c:4953
#16 0xf74d7b75 in protocol_client_interpret (this=0x97ca608,
trans=0x9821518,
    hdr_p=0x12515d28 "", hdrlen=664, iobuf=0x0) at client-protocol.c:6507
#17 0xf74d7d1f in protocol_client_pollin (this=0x97ca608, trans=0x9821518)
    at client-protocol.c:6805
#18 0xf74dd832 in notify (this=0x97ca608, event=2, data=0x9821518)
    at client-protocol.c:6924
#19 0xf7ebc72f in xlator_notify (xl=0x97ca608, event=2, data=0x9821518)
    at xlator.c:923
#20 0xf7ea5afd in socket_event_poll_in (this=0x9821518) at socket.c:729
#21 0xf7ea5bbb in socket_event_handler (fd=67, idx=59, data=0x9821518,
    poll_in=1, poll_out=0, poll_err=0) at socket.c:829
#22 0xf7ed778a in event_dispatch_epoll (event_pool=0x97c0cd0) at event.c:804
#23 0xf7ed6571 in event_dispatch (event_pool=0x0) at event.c:975
#24 0x0804b9b3 in main (argc=4, argv=0xffd01284) at glusterfsd.c:1378

Comment 1 Anand Avati 2010-01-08 08:51:21 UTC
PATCH: http://patches.gluster.com/patch/2648 in master (cluster/afr: Use dict_ref instead of dict_copy_with_ref.)


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