Description of problem: dlopen/dlclose causes memory leak in _dl_map_object_from_fd Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. run test progam on valgrind Actual results: leak detected ==26199== 4 bytes in 1 blocks are definitely lost in loss record 1 of 1 ==26199== at 0x40053C0: malloc (vg_replace_malloc.c:149) ==26199== by 0x8B3E27: _dl_map_object_from_fd (in /lib/ld-2.5.so) ==26199== by 0x8B5333: _dl_map_object (in /lib/ld-2.5.so) ==26199== by 0x8B90D5: openaux (in /lib/ld-2.5.so) ==26199== by 0x8BAB45: _dl_catch_error (in /lib/ld-2.5.so) ==26199== by 0x8B9699: _dl_map_object_deps (in /lib/ld-2.5.so) ==26199== by 0x8BE614: dl_open_worker (in /lib/ld-2.5.so) ==26199== by 0x8BAB45: _dl_catch_error (in /lib/ld-2.5.so) ==26199== by 0x8BE0D1: _dl_open (in /lib/ld-2.5.so) ==26199== by 0xA32C2C: dlopen_doit (in /lib/libdl-2.5.so) ==26199== by 0x8BAB45: _dl_catch_error (in /lib/ld-2.5.so) ==26199== by 0xA332AB: _dlerror_run (in /lib/libdl-2.5.so) Expected results: don't leak memory Additional info:
Created attachment 312537 [details] sample program written by C
Contact your Red Hat account manager to raise the bug.