Bug 817461
Summary: | [99bdbb2ed9697bb93f006d4060d4f1aaeb0850af] Crash in mdc_local_wipe during graph change | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Anush Shetty <ashetty> |
Component: | fuse | Assignee: | Raghavendra Bhat <rabhat> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | mainline | CC: | gluster-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-05-02 08:21:14 UTC | Type: | Bug |
Regression: | --- | Mount Type: | fuse |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Anush Shetty
2012-04-30 06:27:26 UTC
Ran the glusterfs client process with valgrind and did volume set in a loop. Saw invalid writes in the valgrind log. Valgrind log. ==19418== Invalid write of size 4 ==19418== at 0x4C2AF5A: memset (mc_replace_strmem.c:738) ==19418== by 0x4E79ECB: __fd_ctx_set (fd.c:834) ==19418== by 0x4E79FC8: fd_ctx_set (fd.c:859) ==19418== by 0xA290856: ra_open_cbk (read-ahead.c:99) ==19418== by 0xA081C69: wb_open_cbk (write-behind.c:1416) ==19418== by 0x9E5F793: dht_open_cbk (dht-inode-read.c:64) ==19418== by 0x9BE7081: client3_1_open_cbk (client3_1-fops.c:422) ==19418== by 0x50D3320: rpc_clnt_handle_reply (rpc-clnt.c:797) ==19418== by 0x50D3697: rpc_clnt_notify (rpc-clnt.c:916) ==19418== by 0x50CF37F: rpc_transport_notify (rpc-transport.c:498) ==19418== by 0x8FB5322: socket_event_poll_in (socket.c:1686) ==19418== by 0x8FB588B: socket_event_handler (socket.c:1801) ==19418== Address 0xff454d8 is 8 bytes after a block of size 176 free'd ==19418== at 0x4C29097: realloc (vg_replace_malloc.c:525) ==19418== by 0x4E7D980: __gf_default_realloc (mem-pool.h:96) ==19418== by 0x4E7DFB4: __gf_realloc (mem-pool.c:194) ==19418== by 0x4E79E07: __fd_ctx_set (fd.c:815) ==19418== by 0x4E79FC8: fd_ctx_set (fd.c:859) ==19418== by 0xA290856: ra_open_cbk (read-ahead.c:99) ==19418== by 0xA081C69: wb_open_cbk (write-behind.c:1416) ==19418== by 0x9E5F793: dht_open_cbk (dht-inode-read.c:64) ==19418== by 0x9BE7081: client3_1_open_cbk (client3_1-fops.c:422) ==19418== by 0x50D3320: rpc_clnt_handle_reply (rpc-clnt.c:797) ==19418== by 0x50D3697: rpc_clnt_notify (rpc-clnt.c:916) ==19418== by 0x50CF37F: rpc_transport_notify (rpc-transport.c:498) ==19418== Conditional jump or move depends on uninitialised value(s) ==19418== at 0x4E79D68: __fd_ctx_set (fd.c:797) ==19418== by 0x4E79FC8: fd_ctx_set (fd.c:859) ==19418== by 0xAAE0C93: ios_fd_ctx_set (io-stats.c:358) ==19418== by 0xAAE5E04: io_stats_open_cbk (io-stats.c:1270) ==19418== by 0x4E4D6D4: default_open_cbk (defaults.c:202) ==19418== by 0xA6B7E08: qr_open_cbk (quick-read.c:661) ==19418== by 0xA4A1D8A: ioc_open_cbk (io-cache.c:588) ==19418== by 0xA290A1C: ra_open_cbk (read-ahead.c:112) ==19418== by 0xA081C69: wb_open_cbk (write-behind.c:1416) ==19418== by 0x9E5F793: dht_open_cbk (dht-inode-read.c:64) ==19418== by 0x9BE7081: client3_1_open_cbk (client3_1-fops.c:422) ==19418== by 0x50D3320: rpc_clnt_handle_reply (rpc-clnt.c:797) ==19418== ==19418== Conditional jump or move depends on uninitialised value(s) ==19418== at 0x4E79D92: __fd_ctx_set (fd.c:803) ==19418== by 0x4E79FC8: fd_ctx_set (fd.c:859) ==19418== by 0xAAE0C93: ios_fd_ctx_set (io-stats.c:358) ==19418== by 0xAAE5E04: io_stats_open_cbk (io-stats.c:1270) ==19418== by 0x4E4D6D4: default_open_cbk (defaults.c:202) ==19418== by 0xA6B7E08: qr_open_cbk (quick-read.c:661) ==19418== by 0xA4A1D8A: ioc_open_cbk (io-cache.c:588) ==19418== by 0xA290A1C: ra_open_cbk (read-ahead.c:112) ==19418== by 0xA081C69: wb_open_cbk (write-behind.c:1416) ==19418== by 0x9E5F793: dht_open_cbk (dht-inode-read.c:64) ==19418== by 0x9BE7081: client3_1_open_cbk (client3_1-fops.c:422) ==19418== by 0x50D3320: rpc_clnt_handle_reply (rpc-clnt.c:797) CHANGE: http://review.gluster.com/3250 (libglusterfs/fd: use reallocated memory for intializing new graphs contexts) merged in master by Vijay Bellur (vijay) *** Bug 816951 has been marked as a duplicate of this bug. *** |