Skip to content

[Image Picker 0.4.10] Quickly select 2 photos, iOS will crash #23362

@BytesZero

Description

@BytesZero

Steps to Reproduce

  1. Quickly select 2 photos, iOS will crash

Logs

com.tengyue360.student_issue_69_crash_aff2b3375ee34082b8dca79e1d9a285d_DNE_3_v2.txt

#0. Crashed: com.apple.main-thread
0  UIFoundation                   0x18d106d2c -[NSMutableAttributedString(NSMutableAttributedStringKitAdditions) fixFontAttributeInRange:] + 2016
1  UIFoundation                   0x18d106274 -[NSMutableAttributedString(NSMutableAttributedStringKitAdditions) fixAttributesInRange:] + 116
2  UIKit                          0x18c08ae88 -[UILabel _contentInsetsFromFonts] + 280
3  UIKit                          0x18c08acf0 -[_UILabelLayer updateContentInsets] + 84
4  UIKit                          0x18c08aadc -[_UILabelLayer updateContentLayerSize] + 72
5  UIKit                          0x18c08aa68 -[_UILabelLayer layoutSublayers] + 32
6  QuartzCore                     0x1865da17c CA::Layer::layout_if_needed(CA::Transaction*) + 324
7  UIKit                          0x18c077bf4 -[UIView(Hierarchy) layoutBelowIfNeeded] + 548
8  UIKit                          0x18c07578c -[UINavigationController _positionNavigationBarHidden:edge:initialOffset:] + 696
9  UIKit                          0x18c075434 -[UINavigationController _positionNavigationBarHidden:edge:] + 396
10 UIKit                          0x18c1136e8 -[UINavigationController __viewWillLayoutSubviews] + 232
11 UIKit                          0x18c1073a8 -[UILayoutContainerView layoutSubviews] + 188
12 UIKit                          0x18c05f6f4 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1420
13 QuartzCore                     0x1865d5fec -[CALayer layoutSublayers] + 184
14 QuartzCore                     0x1865da17c CA::Layer::layout_if_needed(CA::Transaction*) + 324
15 QuartzCore                     0x186546830 CA::Context::commit_transaction(CA::Transaction*) + 320
16 QuartzCore                     0x18656e364 CA::Transaction::commit() + 580
17 UIKit                          0x18c31d598 _afterCACommitHandler + 256
18 CoreFoundation                 0x1823f6910 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
19 CoreFoundation                 0x1823f4238 __CFRunLoopDoObservers + 412
20 CoreFoundation                 0x1823f4884 __CFRunLoopRun + 1436
21 CoreFoundation                 0x182314da8 CFRunLoopRunSpecific + 552
22 GraphicsServices               0x1842f9020 GSEventRunModal + 100
23 UIKit                          0x18c331758 UIApplicationMain + 236
24 Runner                         0x102fa8fc8 main (main.m:7)
25 libdyld.dylib                  0x181da5fc0 start + 4

--

#0. Crashed: com.apple.main-thread
0  UIFoundation                   0x18d106d2c -[NSMutableAttributedString(NSMutableAttributedStringKitAdditions) fixFontAttributeInRange:] + 2016
1  UIFoundation                   0x18d106274 -[NSMutableAttributedString(NSMutableAttributedStringKitAdditions) fixAttributesInRange:] + 116
2  UIKit                          0x18c08ae88 -[UILabel _contentInsetsFromFonts] + 280
3  UIKit                          0x18c08acf0 -[_UILabelLayer updateContentInsets] + 84
4  UIKit                          0x18c08aadc -[_UILabelLayer updateContentLayerSize] + 72
5  UIKit                          0x18c08aa68 -[_UILabelLayer layoutSublayers] + 32
6  QuartzCore                     0x1865da17c CA::Layer::layout_if_needed(CA::Transaction*) + 324
7  UIKit                          0x18c077bf4 -[UIView(Hierarchy) layoutBelowIfNeeded] + 548
8  UIKit                          0x18c07578c -[UINavigationController _positionNavigationBarHidden:edge:initialOffset:] + 696
9  UIKit                          0x18c075434 -[UINavigationController _positionNavigationBarHidden:edge:] + 396
10 UIKit                          0x18c1136e8 -[UINavigationController __viewWillLayoutSubviews] + 232
11 UIKit                          0x18c1073a8 -[UILayoutContainerView layoutSubviews] + 188
12 UIKit                          0x18c05f6f4 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1420
13 QuartzCore                     0x1865d5fec -[CALayer layoutSublayers] + 184
14 QuartzCore                     0x1865da17c CA::Layer::layout_if_needed(CA::Transaction*) + 324
15 QuartzCore                     0x186546830 CA::Context::commit_transaction(CA::Transaction*) + 320
16 QuartzCore                     0x18656e364 CA::Transaction::commit() + 580
17 UIKit                          0x18c31d598 _afterCACommitHandler + 256
18 CoreFoundation                 0x1823f6910 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
19 CoreFoundation                 0x1823f4238 __CFRunLoopDoObservers + 412
20 CoreFoundation                 0x1823f4884 __CFRunLoopRun + 1436
21 CoreFoundation                 0x182314da8 CFRunLoopRunSpecific + 552
22 GraphicsServices               0x1842f9020 GSEventRunModal + 100
23 UIKit                          0x18c331758 UIApplicationMain + 236
24 Runner                         0x102fa8fc8 main (main.m:7)
25 libdyld.dylib                  0x181da5fc0 start + 4
  • Flutter Doctor
[✓] Flutter (Channel dev, v0.10.1, on Mac OS X 10.14 18A391, locale zh-Hans-CN)
    • Flutter version 0.10.1 at /Users/zhengsl/sdk/flutter
    • Framework revision 6a3ff018b1 (3 days ago), 2018-10-18 18:38:26 -0400
    • Engine revision 3860a43379
    • Dart version 2.1.0-dev.7.1.flutter-b99bcfd309

[!] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/zhengsl/sdk/android/android-sdk-macosx
    • Android NDK at /Users/zhengsl/sdk/android/android-sdk-macosx/ndk-bundle
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/zhengsl/sdk/android/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-1136-b06)
    ✗ Android license status unknown.

[!] iOS toolchain - develop for iOS devices (Xcode 10.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.0, Build version 10A255
    ✗ Verify that all connected devices have been paired with this computer in Xcode.
      If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.
      To update, run:
        brew uninstall --ignore-dependencies libimobiledevice
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    • ios-deploy 2.0.0
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 29.1.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions