Skip to content

Memory Leak Introduced in 1.7.2 #455

@BenRKarl

Description

@BenRKarl

Bug discovered via google-ads-python, original Issue here.

Environment details

  • OS: Ubuntu 18.04 and also my gLinux desktop.
  • Python version: 3.7.0
  • pip version: 10.0.1
  • google-auth version: 1.7.2+

Steps to reproduce

Not exactly sure since this is exposed in google-ads-python via requests that require user credentials, however the code in this change appears to be the cause. Specifically closing threads in the __del__ method of AuthMetadataPlugin may be causing problems because there are no guarantees around when it's called, and in our case it seems like it may not be called at all.

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions