[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate image leak in test. #150337

Closed
wants to merge 3 commits into from
Closed

Conversation

polina-c
Copy link
Contributor
@polina-c polina-c commented Jun 17, 2024

flutter test --dart-define LEAK_TRACKING=true --update-goldens test/painting/decoration_image_lerp_test.dart --plain-name='ImageDecoration.lerp'

                Image:
                  test: ImageDecoration.lerp
                  identityHashCode: 125335711
                  context:
                    start: >
                      #6_______dispatchFlutterEventToLeakTracker_(package:leak_tracker_flutter_testing/src/testing.dart:74:23)
                      #7______FlutterMemoryAllocations.dispatchObjectEvent_(package:flutter/src/foundation/memory_allocations.dart:249:23)
                      #8______FlutterMemoryAllocations._imageOnCreate_(package:flutter/src/foundation/memory_allocations.dart:323:5)
                      #9______new_Image.__(dart:ui/painting.dart:1704:15)
                      #10_____Image.clone_(dart:ui/painting.dart:1911:18)
                      #11_____MultiFrameImageStreamCompleter._decodeNextFrameAndSchedule_(package:flutter/src/painting/image_stream.dart:1077:34)
                      <asynchronous_suspension>
                ImageInfo:
                  test: ImageDecoration.lerp
                  identityHashCode: 361778494
                  context:
                    start: >
                      #6_______dispatchFlutterEventToLeakTracker_(package:leak_tracker_flutter_testing/src/testing.dart:74:23)
                      #7______FlutterMemoryAllocations.dispatchObjectEvent_(package:flutter/src/foundation/memory_allocations.dart:249:23)
                      #8______FlutterMemoryAllocations.dispatchObjectCreated_(package:flutter/src/foundation/memory_allocations.dart:283:5)
                      #9______new_ImageInfo_(package:flutter/src/painting/image_stream.dart:43:34)
                      #10_____MultiFrameImageStreamCompleter._decodeNextFrameAndSchedule_(package:flutter/src/painting/image_stream.dart:1076:18)
                      <asynchronous_suspension>
                Image:
                  test: ImageDecoration.lerp
                  identityHashCode: 814837919
                  context:
                    start: >
                      #6_______dispatchFlutterEventToLeakTracker_(package:leak_tracker_flutter_testing/src/testing.dart:74:23)
                      #7______FlutterMemoryAllocations.dispatchObjectEvent_(package:flutter/src/foundation/memory_allocations.dart:249:23)
                      #8______FlutterMemoryAllocations._imageOnCreate_(package:flutter/src/foundation/memory_allocations.dart:323:5)
                      #9______new_Image.__(dart:ui/painting.dart:1704:15)
                      #10_____Image.clone_(dart:ui/painting.dart:1911:18)
                      #11_____MultiFrameImageStreamCompleter._decodeNextFrameAndSchedule_(package:flutter/src/painting/image_stream.dart:1077:34)
                      <asynchronous_suspension>
                ImageInfo:
                  test: ImageDecoration.lerp
                  identityHashCode: 658479562
                  context:
                    start: >
                      #6_______dispatchFlutterEventToLeakTracker_(package:leak_tracker_flutter_testing/src/testing.dart:74:23)
                      #7______FlutterMemoryAllocations.dispatchObjectEvent_(package:flutter/src/foundation/memory_allocations.dart:249:23)
                      #8______FlutterMemoryAllocations.dispatchObjectCreated_(package:flutter/src/foundation/memory_allocations.dart:283:5)
                      #9______new_ImageInfo_(package:flutter/src/painting/image_stream.dart:43:34)
                      #10_____MultiFrameImageStreamCompleter._decodeNextFrameAndSchedule_(package:flutter/src/painting/image_stream.dart:1076:18)
                      <asynchronous_suspension>

@github-actions github-actions bot added the framework flutter/packages/flutter repository. See also f: labels. label Jun 17, 2024
@polina-c polina-c changed the title Clean leaks2 Investigate image leak in test. Jun 17, 2024
@polina-c polina-c added the a: leak tracking Issues and PRs related to memory leaks detected by leak_tracker label Jun 17, 2024
@polina-c polina-c closed this Jul 22, 2024
@polina-c polina-c deleted the clean-leaks2 branch July 22, 2024 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: leak tracking Issues and PRs related to memory leaks detected by leak_tracker framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant