Skip to content

dfuzzer should probably keep going on receiving "Error: Unable to get interface ... data" #151

Description

@evverx

With NetworkManager dfuzzer fails with

...
  PASS [M] Delete                                                                                                                                             
 Interface: org.freedesktop.NetworkManager.Device.Loopback
Error: Unable to get interface 'org.freedesktop.NetworkManager.Device.Loopback' data.
Exit status: 1

because those things disappear when the Delete method is called. The Delete method should be marked destructive probably. It would hide the memory leak though:

==183==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 96 byte(s) in 1 object(s) allocated from:
    #0 0x0000004a72b8 in malloc (/usr/bin/NetworkManager+0x4a72b8) (BuildId: 37deb8e6cdf7eb9d4b54d73319b76006a3f595e1)
    #1 0x7fa47b58eba9 in g_malloc /usr/src/debug/glib2-2.86.0-2.fc43.x86_64/redhat-linux-build/../glib/gmem.c:100:13
    #2 0x7fa47b5a8ab4 in g_slice_alloc /usr/src/debug/glib2-2.86.0-2.fc43.x86_64/redhat-linux-build/../glib/gslice.c:193:9
    #3 0x7fa47b56e88a in g_hash_table_new_full /usr/src/debug/glib2-2.86.0-2.fc43.x86_64/redhat-linux-build/../glib/ghash.c:1024:16
    #4 0x000000590100 in nm_config_device_state_load_all /root/NetworkManager/build/../src/core/nm-config.c:2573:14
    #5 0x0000005918c1 in _device_state_get_all /root/NetworkManager/build/../src/core/nm-config.c:2799:31
    #6 0x000000591b65 in nm_config_device_state_get /root/NetworkManager/build/../src/core/nm-config.c:2827:32
    #7 0x0000005d330d in platform_query_devices /root/NetworkManager/build/../src/core/nm-manager.c:4459:21
    #8 0x0000005d330d in nm_manager_start /root/NetworkManager/build/../src/core/nm-manager.c:8121:5
    #9 0x0000004e2571 in main /root/NetworkManager/build/../src/core/main.c:491:10
    #10 0x7fa47a91b5b4 in __libc_start_call_main (/lib64/libc.so.6+0x35b4) (BuildId: b1556adba4fb835078af59a0c8bb38367dc860ed)
    #11 0x7fa47a91b667 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3667) (BuildId: b1556adba4fb835078af59a0c8bb38367dc860ed)
    #12 0x000000403c64 in _start (/usr/bin/NetworkManager+0x403c64) (BuildId: 37deb8e6cdf7eb9d4b54d73319b76006a3f595e1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions