# FIXME (bug 691): our regexp matcher reads a single byte past the end # of what it is supposed to read. This is probably harmless, but not # completely understood. { regex_compile-reads-past-input-Bug-691 Memcheck:Addr1 fun:regex_compile fun:re_compile_pattern fun:lookup_regexp } ##----------------------------------------------------------------------## # getprotobyname() under glibc-2.3.1 apparently triggers several # leaks. These are harmless, since they are only triggered during # initialization. { adns-getprotobyname-dl-reloc-leak Memcheck:Cond fun:elf_dynamic_do_rela.8 fun:_dl_relocate_object_internal fun:dl_open_worker fun:_dl_catch_error_internal fun:__GI__dl_open fun:do_dlopen fun:_dl_catch_error_internal fun:dlerror_run fun:__libc_dlopen fun:__nss_lookup_function fun:__nss_lookup fun:__GI___nss_protocols_lookup fun:getprotobyname_r@@GLIBC_2.1.2 fun:getprotobyname fun:init_finish fun:adns_init } { adns-getprotobyname-dl-leak Memcheck:Leak fun:malloc fun:_dl_map_object_deps_internal fun:dl_open_worker fun:_dl_catch_error_internal fun:__GI__dl_open fun:do_dlopen fun:_dl_catch_error_internal fun:dlerror_run fun:__libc_dlopen fun:__nss_lookup_function fun:__nss_lookup fun:__GI___nss_protocols_lookup fun:getprotobyname_r@@GLIBC_2.1.2 fun:getprotobyname fun:init_finish fun:adns_init } { adns-getprotobyname-nss-lookup-leak Memcheck:Leak fun:malloc fun:__nss_lookup_function fun:__nss_lookup fun:__GI___nss_protocols_lookup fun:getprotobyname_r@@GLIBC_2.1.2 fun:getprotobyname fun:init_finish fun:adns_init } { adns-getprotobyname-nss-tsearch-leak Memcheck:Leak fun:malloc fun:__tsearch fun:__nss_lookup_function fun:__nss_lookup fun:__GI___nss_protocols_lookup fun:getprotobyname_r@@GLIBC_2.1.2 fun:getprotobyname fun:init_finish fun:adns_init } { adns-getprotobyname-nss-dl-leak Memcheck:Leak fun:malloc fun:_dl_new_object fun:_dl_map_object_from_fd fun:_dl_map_object_internal fun:dl_open_worker fun:_dl_catch_error_internal fun:__GI__dl_open fun:do_dlopen fun:_dl_catch_error_internal fun:dlerror_run fun:__libc_dlopen fun:__nss_lookup_function fun:__nss_lookup fun:__GI___nss_protocols_lookup fun:getprotobyname_r@@GLIBC_2.1.2 fun:getprotobyname fun:init_finish fun:adns_init } { adns-getprotobyname-nss-dl-leak-2 Memcheck:Leak fun:malloc fun:_dl_map_object_internal fun:dl_open_worker fun:_dl_catch_error_internal fun:__GI__dl_open fun:do_dlopen fun:_dl_catch_error_internal fun:dlerror_run fun:__libc_dlopen fun:__nss_lookup_function fun:__nss_lookup fun:__GI___nss_protocols_lookup fun:getprotobyname_r@@GLIBC_2.1.2 fun:getprotobyname fun:init_finish } { adns-getprotobyname-nss-parse-leak Memcheck:Leak fun:malloc fun:nss_parse_service_list fun:__GI___nss_database_lookup fun:__GI___nss_protocols_lookup fun:getprotobyname_r@@GLIBC_2.1.2 fun:getprotobyname fun:init_finish fun:adns_init } { adns-getprotobyname-nss-dl-versions-leak Memcheck:Leak fun:calloc fun:_dl_check_map_versions_internal fun:dl_open_worker fun:_dl_catch_error_internal fun:__GI__dl_open fun:do_dlopen fun:_dl_catch_error_internal fun:dlerror_run fun:__libc_dlopen fun:__nss_lookup_function fun:__nss_lookup fun:__GI___nss_protocols_lookup fun:getprotobyname_r@@GLIBC_2.1.2 fun:getprotobyname fun:init_finish fun:adns_init } { adns-getprotobyname-nss-dl-fromfd-leak Memcheck:Leak fun:calloc fun:_dl_new_object fun:_dl_map_object_from_fd fun:_dl_map_object_internal fun:dl_open_worker fun:_dl_catch_error_internal fun:__GI__dl_open fun:do_dlopen fun:_dl_catch_error_internal fun:dlerror_run fun:__libc_dlopen fun:__nss_lookup_function fun:__nss_lookup fun:__GI___nss_protocols_lookup fun:getprotobyname_r@@GLIBC_2.1.2 fun:getprotobyname fun:init_finish fun:adns_init } ##----------------------------------------------------------------------## # flex-2.5.4a seems to not delete the current buffer once it is done. # This only leaks a single block, however. { aid_lexer Memcheck:Leak fun:malloc fun:yy_flex_alloc fun:yy_create_buffer fun:aid_lex fun:aid_parse fun:parse_aux_item_definitions fun:initialize_aux_items fun:initialize } { aid_lexer_2 Memcheck:Leak fun:malloc fun:yy_create_buffer fun:aid_lex fun:aid_parse fun:parse_aux_item_definitions fun:initialize_aux_items fun:initialize fun:main } # When compiling with optimizaion on, the initialize_aux_items # function seems to be missing from the backtrace that valgrind # reports. (Using gcc 3.3.6 and flex 2.5.4 on Gentoo Linux). { aid_lexer_opt Memcheck:Leak fun:malloc fun:yy_flex_alloc fun:yy_create_buffer fun:aid_lex fun:aid_parse fun:parse_aux_item_definitions fun:initialize } { aid_lexer_2_opt Memcheck:Leak fun:malloc fun:yy_create_buffer fun:aid_lex fun:aid_parse fun:parse_aux_item_definitions fun:initialize fun:main } ##----------------------------------------------------------------------## # There is a memory leak in the regex parser when a broken regexp # is supplied. FIXME (bug 689): more info is present in Bugzilla. { regex-Bug-689 Memcheck:Leak fun:malloc fun:regex_compile fun:re_compile_pattern fun:lookup_regexp fun:re_z_lookup fun:call_function fun:parse_unparsed }