Bug 764351 (GLUSTER-2619) - Memory corruption in io-stats
Summary: Memory corruption in io-stats
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-2619
Product: GlusterFS
Classification: Community
Component: unclassified
Version: mainline
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-29 19:43 UTC by Raghavendra G
Modified: 2011-04-21 08:34 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Raghavendra G 2011-03-29 19:43:24 UTC
==6946== Thread 1:
==6946== Invalid write of size 4
==6946==    at 0x629E3E7: init (io-stats.c:2476)
==6946==    by 0x405E9B5: __xlator_init (xlator.c:1353)
==6946==    by 0x405EAC5: xlator_init (xlator.c:1381)
==6946==    by 0x408E968: glusterfs_graph_init (graph.c:328)
==6946==    by 0x408EF9D: glusterfs_graph_activate (graph.c:501)
==6946==    by 0x804DB85: glusterfs_process_volfp (glusterfsd.c:1372)
==6946==    by 0x804F34F: mgmt_getspec_cbk (glusterfsd-mgmt.c:672)
==6946==    by 0x40AC20D: rpc_clnt_handle_reply (rpc-clnt.c:736)
==6946==    by 0x40AC45B: rpc_clnt_notify (rpc-clnt.c:849)
==6946==    by 0x40A9207: rpc_transport_notify (rpc-transport.c:902)
==6946==    by 0x403130A: socket_event_poll_in (socket.c:1641)
==6946==    by 0x403182E: socket_event_handler (socket.c:1756)
==6946==  Address 0x598757c is 0 bytes after a block of size 4 alloc'd
==6946==    at 0x4022B49: calloc (vg_replace_malloc.c:397)
==6946==    by 0x40847F4: __gf_default_calloc (mem-pool.h:83)
==6946==    by 0x408471A: __gf_calloc (mem-pool.c:135)
==6946==    by 0x629E316: init (io-stats.c:2466)
==6946==    by 0x405E9B5: __xlator_init (xlator.c:1353)
==6946==    by 0x405EAC5: xlator_init (xlator.c:1381)
==6946==    by 0x408E968: glusterfs_graph_init (graph.c:328)
==6946==    by 0x408EF9D: glusterfs_graph_activate (graph.c:501)
==6946==    by 0x804DB85: glusterfs_process_volfp (glusterfsd.c:1372)
==6946==    by 0x804F34F: mgmt_getspec_cbk (glusterfsd-mgmt.c:672)
==6946==    by 0x40AC20D: rpc_clnt_handle_reply (rpc-clnt.c:736)
==6946==    by 0x40AC45B: rpc_clnt_notify (rpc-clnt.c:849)

Comment 1 Vijay Bellur 2011-03-30 08:28:12 UTC
PATCH: http://patches.gluster.com/patch/6633 in master (debug/io-stats: fix memory corruption.)

Comment 2 Saurabh 2011-04-21 05:34:00 UTC
didn't find this issue in the recently executed valgrind on bricks.


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