gh-121096: Ignore dlopen() leaks in Valgrind suppression file (#121097) · python/cpython@6e63d84

GitHub

GitHub CopilotWrite better code with AI | MCP RegistryIntegrate external tools | ActionsAutomate any workflow | CodespacesInstant dev environments | IssuesPlan and track work | Code ReviewManage code changes | Code QualityEnforce quality at merge | Why GitHub | Marketplace | View all features | Enterprises | Small and medium teams | Startups | View all use cases | View all industries | View all solutions | AI | Software Development | DevOps | Security | View all topics | Customer stories | Events & webinars | Ebooks & reports | Business insights | Trust center | Partners | View all resources

Original file line numberDiff line numberDiff line change@@ -95,6 +95,49 @@

9595 fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING

9696}

979798+#

99+# Leaks: dlopen() called without dlclose()

100+#

101+102+{

103+ dlopen() called without dlclose()

104+ Memcheck:Leak

105+ fun:malloc

106+ fun:malloc

107+ fun:strdup

108+ fun:_dl_load_cache_lookup

109+}

110+{

111+ dlopen() called without dlclose()

112+ Memcheck:Leak

113+ fun:malloc

114+ fun:malloc

115+ fun:strdup

116+ fun:_dl_map_object

117+}

118+{

119+ dlopen() called without dlclose()

120+ Memcheck:Leak

121+ fun:malloc

122+ fun:*

123+ fun:_dl_new_object

124+}

125+{

126+ dlopen() called without dlclose()

127+ Memcheck:Leak

128+ fun:calloc

129+ fun:*

130+ fun:_dl_new_object

131+}

132+{

133+ dlopen() called without dlclose()

134+ Memcheck:Leak

135+ fun:calloc

136+ fun:*

137+ fun:_dl_check_map_versions

138+}

139+140+98141#

99142# Non-python specific leaks

100143#