Skip to content

[image_picker] sample crashes on ios after 3-4 camera shots. Probably memory leak #30556

@boskokg

Description

@boskokg

Steps to Reproduce

  1. Start example on ios
  2. Take camera shots 3 times
    App crashes.
    Note: I also examined the example from the xcode, and found that memory is increased each time camera shot is taken.

Logs

flutter run --verbose.pdf

Analyzing example...                                                    
No issues found! (ran in 6.7s)
[✓] Flutter (Channel dev, v1.4.8, on Mac OS X 10.14.4 18E226, locale en-RS)
    • Flutter version 1.4.8 at /Users/boskopopovic/Desktop/work/Flutter/flutter
    • Framework revision fbefd6b816 (4 days ago), 2019-04-01 10:58:30 -0700
    • Engine revision a850016454
    • Dart version 2.2.1 (build 2.2.1-dev.2.1 None)

 
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/boskopopovic/Library/Developer/Xamarin/android-sdk-macosx
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/boskopopovic/Library/Developer/Xamarin/android-sdk-macosx
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2, Build version 10E125
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 34.0.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] VS Code (version 1.32.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.22.1

[✓] Connected device (1 available)
    • Bosko's iPhone • 38e73f2676723efb3bc8a7094dd3fd5494c345e8 • ios • iOS 9.3.5

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: crashStack traces logged to the consolep: cameraThe camera pluginplatform-iosiOS applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions