Skip to content

Crashes when connected to dev when doing many updates (ListView.builder) #22775

@reaperdtme

Description

@reaperdtme

Steps to Reproduce

  • ListView.builder
  • Slider underneath, onChanged calls setState
  • Slider changes the size of all ListView elements
  • Run in Android Studio / IntelliJ or Flutter run
  • Move slider frequently, app crashes

Issue does not happen when running directly from Xcode, aka detached from flutter debugger

Logs

Flutter run -v

[  +11 ms] Service protocol connection closed.
[        ] Lost connection to device.
[   +1 ms] DevFS: Deleting filesystem on the device (file:///Users/z/Library/Developer/CoreSimulator/Devices/09843BC1-626A-4105-907E-82133EBEDEFE/data/Containers/Data/Application/5694925A-E9DC-4200-B684-5BAB480D46BE/tmp/chatsflutterYrwf4J/chatsflutter/)

Simulator Logs:

Oct  6 23:13:48 zPro Runner[95492]: Runner(95492,0x700009824000) malloc: Incorrect checksum for freed object 0x7fc87bcab600: probably modified after being freed.
	Corrupt value: 0x0
Oct  6 23:13:48 zPro com.apple.CoreSimulator.SimDevice.09843BC1-626A-4105-907E-82133EBEDEFE[82034] (UIKitApplication:com.cosmicinfluence.chats.dev[0xe3ff][82056][95492]): Service exited due to SIGABRT
[✓] Flutter (Channel master, v0.9.6-pre.47, on Mac OS X 10.13.6 17G65, locale en-US)
    • Flutter version 0.9.6-pre.47 at /Users/z/development/flutter
    • Framework revision 85a4591aa3 (5 days ago), 2018-10-01 21:26:32 -0400
    • Engine revision b59c864931
    • Dart version 2.1.0-dev.6.0.flutter-8a919426f0

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/z/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • 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)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.0, Build version 10A255
    • 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.0.2
    • Dart plugin version 181.5616
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] IntelliJ IDEA Ultimate Edition (version 2018.2.4)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 28.0.4
    • Dart plugin version 182.4323.44

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

[✓] Connected device (1 available)
    • iPhone X • 09843BC1-626A-4105-907E-82133EBEDEFE • ios • iOS 12.0 (simulator)

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: crashStack traces logged to the consoledependency: dartDart team may need to help usengineflutter/engine related. See also e: labels.frameworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions