You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
freakboy3742 opened this issue
Sep 15, 2024
· 0 comments
Labels
androidThe issue relates to Android mobile support.bugA crash or error in behavior.linuxThe issue relates Linux support.windowsThe issue relates to Microsoft Windows support.
Some widgets are known to cause memory leaks when used on some platforms. In most cases, this is likely due to the inadvertent introduction of circular references between native libraries and the CPython runtime.
Steps to reproduce
#2088 added testbed tests for memory cleanup of widgets (the factory-generated test_cleanup on each widget).
Any test_cleanup that is has an xfail_platforms argument indicates the platforms where a leak is known to exist.
Expected behavior
No widgets should need the xfail_platforms argument in the testbed tests.
Screenshots
No response
Environment
Operating System: iOS and Android have the most problems; some problems on Linux and Windows.
Python version: All
Software versions:
Briefcase: 0.3.19+
Toga: 0.4.6+
...
Logs
Additional context
Invoking gc.get_referents() and gc.get_referrers() before asserting ref() is None in the cleanup test method is one way to identify the reference cycles that exist.
The text was updated successfully, but these errors were encountered:
freakboy3742
added
bug
A crash or error in behavior.
android
The issue relates to Android mobile support.
iOS
The issue relates to Apple iOS mobile support.
linux
The issue relates Linux support.
windows
The issue relates to Microsoft Windows support.
labels
Sep 15, 2024
androidThe issue relates to Android mobile support.bugA crash or error in behavior.linuxThe issue relates Linux support.windowsThe issue relates to Microsoft Windows support.
Describe the bug
Some widgets are known to cause memory leaks when used on some platforms. In most cases, this is likely due to the inadvertent introduction of circular references between native libraries and the CPython runtime.
Steps to reproduce
#2088 added testbed tests for memory cleanup of widgets (the factory-generated
test_cleanup
on each widget).Any
test_cleanup
that is has anxfail_platforms
argument indicates the platforms where a leak is known to exist.Expected behavior
No widgets should need the
xfail_platforms
argument in the testbed tests.Screenshots
No response
Environment
Logs
Additional context
Invoking
gc.get_referents()
andgc.get_referrers()
before assertingref() is None
in the cleanup test method is one way to identify the reference cycles that exist.The text was updated successfully, but these errors were encountered: