[Bugs] [Bug 1633930] ASan (address sanitizer) fixes - Blanket bug

bugzilla at redhat.com bugzilla at redhat.com
Wed Nov 21 09:18:12 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1633930

Amar Tumballi <atumball at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|MODIFIED                    |ASSIGNED



--- Comment #20 from Amar Tumballi <atumball at redhat.com> ---
Need Fix:
-----
==24676==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 256 byte(s) in 1 object(s) allocated from:
    #0 0x7fdac7d25848 in __interceptor_malloc (/lib64/libasan.so.5+0xef848)
    #1 0x7fdac79dfbba in mem_get_from_pool
../../../libglusterfs/src/mem-pool.c:817
    #2 0x7fdac79dfd19 in mem_get ../../../libglusterfs/src/mem-pool.c:843
    #3 0x7fdac79df601 in mem_get0 ../../../libglusterfs/src/mem-pool.c:742
    #4 0x7fdac7927755 in get_new_dict_full ../../../libglusterfs/src/dict.c:75
    #5 0x7fdac792798c in dict_new ../../../libglusterfs/src/dict.c:124
    #6 0x7fdab352cbe5 in changelog_rpc_server_init
../../../../../xlators/features/changelog/src/changelog-rpc-common.c:302
    #7 0x7fdab3529a44 in changelog_init_rpc_listener
../../../../../xlators/features/changelog/src/changelog-rpc.c:210
    #8 0x7fdab35190b7 in changelog_init_rpc
../../../../../xlators/features/changelog/src/changelog.c:2657
    #9 0x7fdab3519a36 in init
../../../../../xlators/features/changelog/src/changelog.c:2734
    #10 0x7fdac793feb3 in __xlator_init ../../../libglusterfs/src/xlator.c:718
    #11 0x7fdac7940167 in xlator_init ../../../libglusterfs/src/xlator.c:745
    #12 0x7fdac7a071ca in glusterfs_graph_init
../../../libglusterfs/src/graph.c:359
    #13 0x7fdac7a089b0 in glusterfs_graph_activate
../../../libglusterfs/src/graph.c:722
    #14 0x412a7d in glusterfs_process_volfp
../../../glusterfsd/src/glusterfsd.c:2592
    #15 0x420cff in mgmt_getspec_cbk
../../../glusterfsd/src/glusterfsd-mgmt.c:2085
    #16 0x7fdac788928a in rpc_clnt_handle_reply
../../../../rpc/rpc-lib/src/rpc-clnt.c:755
    #17 0x7fdac7889c79 in rpc_clnt_notify
../../../../rpc/rpc-lib/src/rpc-clnt.c:922
    #18 0x7fdac787faa2 in rpc_transport_notify
../../../../rpc/rpc-lib/src/rpc-transport.c:525
    #19 0x7fdac45aedf2 in socket_event_poll_in
../../../../../rpc/rpc-transport/socket/src/socket.c:2530
    #20 0x7fdac45b13cc in socket_event_handler
../../../../../rpc/rpc-transport/socket/src/socket.c:2931
    #21 0x7fdac7a7f6a3 in event_dispatch_epoll_handler
../../../libglusterfs/src/event-epoll.c:591
    #22 0x7fdac7a7fd60 in event_dispatch_epoll_worker
../../../libglusterfs/src/event-epoll.c:668
    #23 0x7fdac762458d in start_thread (/lib64/libpthread.so.0+0x858d)
---
Direct leak of 256 byte(s) in 1 object(s) allocated from:
    #0 0x7fa044c06848 in __interceptor_malloc (/lib64/libasan.so.5+0xef848)
    #1 0x7fa0448c0bba in mem_get_from_pool
../../../libglusterfs/src/mem-pool.c:817
    #2 0x7fa0448c0d19 in mem_get ../../../libglusterfs/src/mem-pool.c:843
    #3 0x7fa0448c0601 in mem_get0 ../../../libglusterfs/src/mem-pool.c:742
    #4 0x7fa044826c7e in log_buf_new ../../../libglusterfs/src/logging.c:304
    #5 0x7fa04482fc20 in _gf_msg_internal
../../../libglusterfs/src/logging.c:2014
    #6 0x7fa044830606 in _gf_msg ../../../libglusterfs/src/logging.c:2124
    #7 0x7fa0309ec040 in init
../../../../../xlators/mgmt/glusterd/src/glusterd.c:1484
    #8 0x7fa044820eb3 in __xlator_init ../../../libglusterfs/src/xlator.c:718
    #9 0x7fa044821167 in xlator_init ../../../libglusterfs/src/xlator.c:745
    #10 0x7fa0448e81ca in glusterfs_graph_init
../../../libglusterfs/src/graph.c:359
    #11 0x7fa0448e99b0 in glusterfs_graph_activate
../../../libglusterfs/src/graph.c:722
    #12 0x412a7d in glusterfs_process_volfp
../../../glusterfsd/src/glusterfsd.c:2592
    #13 0x412c52 in glusterfs_volumes_init
../../../glusterfsd/src/glusterfsd.c:2645
    #14 0x413553 in main ../../../glusterfsd/src/glusterfsd.c:2798
    #15 0x7fa04407f412 in __libc_start_main (/lib64/libc.so.6+0x24412)

Direct leak of 56 byte(s) in 1 object(s) allocated from:
    #0 0x7fa044c06848 in __interceptor_malloc (/lib64/libasan.so.5+0xef848)
    #1 0x7fa03047eef7  (<unknown module>)
----
Direct leak of 624 byte(s) in 1 object(s) allocated from:
    #0 0x7ff924fc5a50 in __interceptor_calloc (/lib64/libasan.so.5+0xefa50)
    #1 0x7ff924ce2f0f in __gf_calloc ../../../libglusterfs/src/mem-pool.c:111
    #2 0x7ff921b8f6b4 in fuse_thread_proc
../../../../../xlators/mount/fuse/src/fuse-bridge.c:5639
    #3 0x7ff92498a58d in start_thread (/lib64/libpthread.so.0+0x858d)

----

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list