-
Notifications
You must be signed in to change notification settings - Fork 29.1k
Closed
Labels
c: crashStack traces logged to the consoleStack traces logged to the consolef: scrollingViewports, list views, slivers, etc.Viewports, list views, slivers, etc.found in release: 1.26Found to occur in 1.26Found to occur in 1.26frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work on
Description
Steps to Reproduce
- Run
flutter create bug
. - Update the files as follows:
Code & pubspec.yaml
main.dart
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) => BlocProvider(
create: (_) => SomeBloc(),
child: MaterialApp(
title: 'Bug',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: SomeWidget(),
),
);
}
class SomeWidget extends StatelessWidget {
@override
Widget build(BuildContext context) => Scaffold(
body: NestedScrollView(
headerSliverBuilder: (context, innerBoxScrolled) => [
SliverAppBar(
title: Text('bug'),
pinned: true,
actions: <Widget>[
IconButton(
icon: Icon(Icons.add),
onPressed: () =>
BlocProvider.of<SomeBloc>(context).add(SomeEvent()),
)
],
)
],
body: CustomScrollView(
slivers: <Widget>[
BlocBuilder<SomeBloc, SomeBaseBlocState>(
builder: (context, state) {
if (state is InitState) {
return const SliverToBoxAdapter(
child: Center(
child: CircularProgressIndicator(),
),
);
} else if (state is SomeOtherState) {
return const SliverPadding(
padding: EdgeInsets.all(20),
sliver: SliverToBoxAdapter(
child: Center(
child: Text('It breaks before rendering this'),
),
),
);
}
throw Exception('Should never get here');
},
),
],
),
),
);
}
abstract class SomeBaseBlocState extends Equatable {
const SomeBaseBlocState();
@override
List<Object> get props => [];
}
class InitState extends SomeBaseBlocState {
const InitState();
}
class SomeOtherState extends SomeBaseBlocState {
const SomeOtherState();
}
class SomeEvent extends Equatable {
const SomeEvent();
@override
List<Object> get props => [];
}
class SomeBloc extends Bloc<SomeEvent, SomeBaseBlocState> {
SomeBloc();
@override
SomeBaseBlocState get initialState => const InitState();
@override
Stream<SomeBaseBlocState> mapEventToState(SomeEvent event) async* {
if (event is SomeEvent) {
yield SomeOtherState();
}
}
}
pubspec.yaml
name: bug
description: A new Flutter project.
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1
environment:
sdk: ">=2.1.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
equatable: 1.1.0
bloc: ^3.0.0
flutter_bloc: ^3.2.0
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.2
dev_dependencies:
flutter_test:
sdk: flutter
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true
# To add assets to your application, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/assets-and-images/#from-packages
# To add custom fonts to your application, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages
- Run the app and after it loads press the "+" button
Expected results: The "Hello world" should be rendered
Actual results: The app breaks
Logs
[ +23 ms] executing: [/home/andres/lib/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +30 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] f139b11009aeb8ed2a3a3aa8b0066e482709dde3
[ ] executing: [/home/andres/lib/flutter/] git describe --match v*.*.* --first-parent --long --tags
[ +6 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v1.12.13+hotfix.9-0-gf139b1100
[ +6 ms] executing: [/home/andres/lib/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/stable
[ ] executing: [/home/andres/lib/flutter/] git ls-remote --get-url origin
[ +5 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +44 ms] executing: [/home/andres/lib/flutter/] git rev-parse --abbrev-ref HEAD
[ +8 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] stable
[ +84 ms] executing: /home/andres/Android/Sdk/platform-tools/adb devices -l
[ +11 ms] Exit code 0 from: /home/andres/Android/Sdk/platform-tools/adb devices -l
[ ] List of devices attached
emulator-5554 device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:1
[ +35 ms] /home/andres/Android/Sdk/platform-tools/adb -s emulator-5554 shell getprop
[ +51 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ +4 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +183 ms] Generating /home/andres/dev/bug/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +26 ms] ro.hardware = ranchu
[ +72 ms] Launching lib/main.dart on Android SDK built for x86 in debug mode...
[ +6 ms] executing: /home/andres/Android/Sdk/build-tools/29.0.2/aapt dump xmltree /home/andres/dev/bug/build/app/outputs/apk/app.apk AndroidManifest.xml
[ +7 ms] Exit code 0 from: /home/andres/Android/Sdk/build-tools/29.0.2/aapt dump xmltree /home/andres/dev/bug/build/app/outputs/apk/app.apk AndroidManifest.xml
[ ] N: android=http://schemas.android.com/apk/res/android
E: manifest (line=2)
A: android:versionCode(0x0101021b)=(type 0x10)0x1
A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
A: package="com.example.bug" (Raw: "com.example.bug")
A: platformBuildVersionCode=(type 0x10)0x1c
A: platformBuildVersionName=(type 0x10)0x9
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: application (line=22)
A: android:label(0x01010001)="bug" (Raw: "bug")
A: android:icon(0x01010002)=@0x7f080000
A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
E: activity (line=28)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="com.example.bug.MainActivity" (Raw: "com.example.bug.MainActivity")
A: android:launchMode(0x0101001d)=(type 0x10)0x1
A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
E: intent-filter (line=35)
E: action (line=36)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=38)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=45)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
[ +6 ms] executing: /home/andres/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[ +22 ms] Exit code 0 from: /home/andres/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[ ] --------- beginning of main
04-19 18:20:29.390 E/GnssHAL_GnssInterface( 1759): gnssSvStatusCb: b: input svInfo.flags is 8
[ +9 ms] executing: /home/andres/Android/Sdk/platform-tools/adb version
[ +1 ms] executing: /home/andres/Android/Sdk/platform-tools/adb -s emulator-5554 logcat -v time -T 04-19 18:20:29.390
[ +21 ms] Android Debug Bridge version 1.0.41
Version 29.0.6-6198805
Installed as /home/andres/Android/Sdk/platform-tools/adb
[ +3 ms] executing: /home/andres/Android/Sdk/platform-tools/adb start-server
[ +20 ms] Building APK
Running Gradle task 'assembleDebug'...
[ +21 ms] gradle.properties already sets `android.enableR8`
[ +3 ms] Using gradle from /home/andres/dev/bug/android/gradlew.
[ +13 ms] executing: /home/andres/bin/android-studio/jre/bin/java -version
[ +89 ms] Exit code 0 from: /home/andres/bin/android-studio/jre/bin/java -version
[ ] openjdk version "1.8.0_202-release"
OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
OpenJDK 64-Bit Server VM (build 25.202-b49-5587405, mixed mode)
[ +6 ms] executing: [/home/andres/dev/bug/android/] /home/andres/dev/bug/android/gradlew -q -Ptarget=/home/andres/dev/bug/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root -Ptarget-platform=android-x86 assembleDebug
[+11241 ms] calculateSha: LocalDirectory: '/home/andres/dev/bug/build/app/outputs/apk'/app.apk
[ +54 ms] calculateSha: reading file took 53us
[ +443 ms] calculateSha: computing sha took 443us
[ +3 ms] ✓ Built build/app/outputs/apk/debug/app-debug.apk.
[ +3 ms] executing: /home/andres/Android/Sdk/build-tools/29.0.2/aapt dump xmltree /home/andres/dev/bug/build/app/outputs/apk/app.apk AndroidManifest.xml
[ +10 ms] Exit code 0 from: /home/andres/Android/Sdk/build-tools/29.0.2/aapt dump xmltree /home/andres/dev/bug/build/app/outputs/apk/app.apk AndroidManifest.xml
[ ] N: android=http://schemas.android.com/apk/res/android
E: manifest (line=2)
A: android:versionCode(0x0101021b)=(type 0x10)0x1
A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
A: package="com.example.bug" (Raw: "com.example.bug")
A: platformBuildVersionCode=(type 0x10)0x1c
A: platformBuildVersionName=(type 0x10)0x9
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: application (line=22)
A: android:label(0x01010001)="bug" (Raw: "bug")
A: android:icon(0x01010002)=@0x7f080000
A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
E: activity (line=28)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="com.example.bug.MainActivity" (Raw: "com.example.bug.MainActivity")
A: android:launchMode(0x0101001d)=(type 0x10)0x1
A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
E: intent-filter (line=35)
E: action (line=36)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=38)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=45)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
[ +1 ms] Stopping app 'app.apk' on Android SDK built for x86.
[ ] executing: /home/andres/Android/Sdk/platform-tools/adb -s emulator-5554 shell am force-stop com.example.bug
[ +123 ms] executing: /home/andres/Android/Sdk/platform-tools/adb -s emulator-5554 shell pm list packages com.example.bug
[ +257 ms] package:com.example.bug
[ +4 ms] executing: /home/andres/Android/Sdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.example.bug.sha1
[ +51 ms] 5055ca90d6ed89db5598509e4fe74d9f13cf7652
[ ] Installing APK.
[ +1 ms] executing: /home/andres/Android/Sdk/platform-tools/adb version
[ +17 ms] Android Debug Bridge version 1.0.41
Version 29.0.6-6198805
Installed as /home/andres/Android/Sdk/platform-tools/adb
[ +1 ms] executing: /home/andres/Android/Sdk/platform-tools/adb start-server
Installing build/app/outputs/apk/app.apk...
[ +19 ms] executing: /home/andres/Android/Sdk/platform-tools/adb -s emulator-5554 install -t -r /home/andres/dev/bug/build/app/outputs/apk/app.apk
[+1094 ms] Performing Streamed Install
Success
[ +2 ms] executing: /home/andres/Android/Sdk/platform-tools/adb -s emulator-5554 shell echo -n 4f74e697acc785d7b92994e6481fb53ce06f7426 > /data/local/tmp/sky.com.example.bug.sha1
[ +57 ms] Android SDK built for x86 startApp
[ +3 ms] executing: /home/andres/Android/Sdk/platform-tools/adb -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true --ez start-paused true com.example.bug/com.example.bug.MainActivity
[ +427 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.bug/.MainActivity (has extras) }
[ ] Waiting for observatory port to be available...
[ +349 ms] D/FlutterActivity( 4818): Using the launch theme as normal theme.
[ +2 ms] D/FlutterActivityAndFragmentDelegate( 4818): Setting up FlutterEngine.
[ ] D/FlutterActivityAndFragmentDelegate( 4818): No preferred FlutterEngine was provided. Creating a new FlutterEngine for this FlutterFragment.
[ +756 ms] D/FlutterActivityAndFragmentDelegate( 4818): Attaching FlutterEngine to the Activity that owns this Fragment.
[ +27 ms] D/FlutterView( 4818): Attaching to a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@5c7e42c
[ +18 ms] D/FlutterActivityAndFragmentDelegate( 4818): Executing Dart entrypoint: main, and sending initial route: /
[ +277 ms] Observatory URL on device: http://127.0.0.1:44951/8jbidXBZDbs=/
[ +2 ms] executing: /home/andres/Android/Sdk/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:44951
[ +21 ms] 35431
[ ] Forwarded host port 35431 to device port 44951 for Observatory
[ +12 ms] Connecting to service protocol: http://127.0.0.1:35431/8jbidXBZDbs=/
[ +292 ms] Successfully connected to service protocol: http://127.0.0.1:35431/8jbidXBZDbs=/
[ +2 ms] Sending to VM service: getVM({})
[ +48 ms] Result: {type: VM, name: vm, architectureBits: 32, hostCPU: Android virtual processor, operatingSystem: android, targetCPU: ia32, version: 2.7.2 (Mon Mar 23 22:11:27 2020 +0100) on "android_ia32", _profilerMode: VM, _nativeZoneMemoryUsage: 0, pid: 4818, s...
[ +3 ms] Sending to VM service: getIsolate({isolateId: isolates/4388325196780623})
[ +4 ms] Sending to VM service: _flutter.listViews({})
[ +82 ms] Result: {type: Isolate, id: isolates/4388325196780623, name: main, number: 4388325196780623, _originNumber: 4388325196780623, startTime: 1587331244660, _heaps: {new: {type: HeapSpace, name: new, vmName: Scavenger, collections: 2, avgCollectionPeriodMillis...
[ +11 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0xe8932210, isolate: {type: @Isolate, fixedId: true, id: isolates/4388325196780623, name: main.dart$main-4388325196780623, number: 4388325196780623}}]}
[ +5 ms] DevFS: Creating new filesystem on the device (null)
[ +1 ms] Sending to VM service: _createDevFS({fsName: bug})
[ +28 ms] Result: {type: FileSystem, name: bug, uri: file:///data/user/0/com.example.bug/code_cache/bugPZHTLW/bug/}
[ ] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.bug/code_cache/bugPZHTLW/bug/)
[ +1 ms] Updating assets
Debug service listening on ws://127.0.0.1:35431/8jbidXBZDbs=/ws
Syncing files to device Android SDK built for x86...
[ +93 ms] Scanning asset files
[ +2 ms] <- reset
[ ] Compiling dart to kernel with 0 updated files
[ +10 ms] /home/andres/lib/flutter/bin/cache/dart-sdk/bin/dart /home/andres/lib/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/andres/lib/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter -Ddart.developer.causal_async_stacks=true --output-dill /tmp/flutter_tool.PAVRYI/app.dill --packages /home/andres/dev/bug/.packages -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation
[ +15 ms] <- compile package:bug/main.dart
[+6017 ms] Updating files
[ +110 ms] DevFS: Sync finished
[ +1 ms] Synced 0.9MB.
[ +1 ms] Sending to VM service: _flutter.listViews({})
[ +3 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0xe8932210, isolate: {type: @Isolate, fixedId: true, id: isolates/4388325196780623, name: main.dart$main-4388325196780623, number: 4388325196780623}}]}
[ +2 ms] <- accept
[ ] Connected to _flutterView/0xe8932210.
[ +900 ms] D/EGL_emulation( 4818): eglMakeCurrent: 0xd571a3c0: ver 2 0 (tinfo 0xd210e6e0)
[ +4 ms] D/eglCodecCommon( 4818): setVertexArrayObject: set vao to 0 (0) 1 0
[+2650 ms] Sending to VM service: ext.flutter.platformOverride({isolateId: isolates/4388325196780623})
[ +6 ms] Sending to VM service: ext.flutter.timeDilation({isolateId: isolates/4388325196780623})
[ +2 ms] Sending to VM service: ext.flutter.debugPaint({isolateId: isolates/4388325196780623})
[ ] Sending to VM service: ext.flutter.debugPaintBaselinesEnabled({isolateId: isolates/4388325196780623})
[ ] Sending to VM service: ext.flutter.repaintRainbow({isolateId: isolates/4388325196780623})
[ ] Sending to VM service: ext.flutter.showPerformanceOverlay({isolateId: isolates/4388325196780623})
[ ] Sending to VM service: ext.flutter.debugAllowBanner({isolateId: isolates/4388325196780623})
[ +2 ms] Sending to VM service: ext.flutter.inspector.structuredErrors({isolateId: isolates/4388325196780623})
[ ] Sending to VM service: ext.flutter.inspector.show({isolateId: isolates/4388325196780623})
[ ] Sending to VM service: ext.flutter.inspector.structuredErrors({enabled: true, isolateId: isolates/4388325196780623})
[ ] Sending to VM service: ext.flutter.inspector.trackRebuildDirtyWidgets({enabled: false, isolateId: isolates/4388325196780623})
[ ] Sending to VM service: ext.flutter.inspector.trackRebuildDirtyWidgets({isolateId: isolates/4388325196780623})
[ +4 ms] Sending to VM service: ext.flutter.inspector.trackRepaintWidgets({enabled: false, isolateId: isolates/4388325196780623})
[ ] Sending to VM service: ext.flutter.inspector.trackRepaintWidgets({isolateId: isolates/4388325196780623})
[ +7 ms] Result: {value: android, type: _extensionType, method: ext.flutter.platformOverride}
[ +9 ms] Result: {timeDilation: 1.0, type: _extensionType, method: ext.flutter.timeDilation}
[ ] Result: {enabled: false, type: _extensionType, method: ext.flutter.debugPaint}
[ +43 ms] Result: {enabled: false, type: _extensionType, method: ext.flutter.debugPaintBaselinesEnabled}
[ ] Result: {enabled: false, type: _extensionType, method: ext.flutter.repaintRainbow}
[ ] Result: {enabled: false, type: _extensionType, method: ext.flutter.showPerformanceOverlay}
[ ] Result: {enabled: true, type: _extensionType, method: ext.flutter.debugAllowBanner}
[ ] Result: {enabled: false, type: _extensionType, method: ext.flutter.inspector.structuredErrors}
[ ] Result: {enabled: false, type: _extensionType, method: ext.flutter.inspector.show}
[ ] Result: {enabled: true, type: _extensionType, method: ext.flutter.inspector.structuredErrors}
[ ] Result: {enabled: false, type: _extensionType, method: ext.flutter.inspector.trackRebuildDirtyWidgets}
[ ] Result: {enabled: false, type: _extensionType, method: ext.flutter.inspector.trackRebuildDirtyWidgets}
[ ] Result: {enabled: false, type: _extensionType, method: ext.flutter.inspector.trackRepaintWidgets}
[ ] Result: {enabled: false, type: _extensionType, method: ext.flutter.inspector.trackRepaintWidgets}
════════ Exception caught by scheduler library ═════════════════════════════════════════════════════
The following assertion was thrown during a scheduler callback:
'package:flutter/src/rendering/viewport.dart': Failed assertion: line 1491 pos 12: 'center.parent == this': is not true.
Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=BUG.md
When the exception was thrown, this was the stack:
#2 RenderViewport.indexOfFirstChild (package:flutter/src/rendering/viewport.dart:1491:12)
#3 RenderViewportBase.debugDescribeChildren (package:flutter/src/rendering/viewport.dart:794:17)
#4 DiagnosticableTreeNode.getChildren (package:flutter/src/foundation/diagnostics.dart:2946:20)
#5 DiagnosticsNode.toJsonMap (package:flutter/src/foundation/diagnostics.dart:1543:30)
#6 DiagnosticsNode.toJsonList.<anonymous closure> (package:flutter/src/foundation/diagnostics.dart:1605:19)
...
════════════════════════════════════════════════════════════════════════════════════════════════════
════════ Exception caught by scheduler library ═════════════════════════════════════════════════════
The following assertion was thrown during a scheduler callback:
'package:flutter/src/rendering/box.dart': Failed assertion: line 1698 pos 18: 'debugDoingThisResize || debugDoingThisLayout ||
(RenderObject.debugActiveLayout == parent && _size._canBeUsedByParent)': is not true.
Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=BUG.md
When the exception was thrown, this was the stack:
#2 RenderBox.size.<anonymous closure> (package:flutter/src/rendering/box.dart:1698:18)
#3 RenderBox.size (package:flutter/src/rendering/box.dart:1704:6)
#4 RenderBox.paintBounds (package:flutter/src/rendering/box.dart:2281:41)
#5 PaintingContext._repaintCompositedChild (package:flutter/src/rendering/object.dart:134:58)
#6 PaintingContext.repaintCompositedChild (package:flutter/src/rendering/object.dart:95:5)
...
════════════════════════════════════════════════════════════════════════════════════════════════════
Analyzing bug...
No issues found! (ran in 2.4s)
[✓] Flutter (Channel stable, v1.12.13+hotfix.9, on Linux, locale en_US.UTF-8)
• Flutter version 1.12.13+hotfix.9 at /home/andres/lib/flutter
• Framework revision f139b11009 (3 weeks ago), 2020-03-30 13:57:30 -0700
• Engine revision af51afceb8
• Dart version 2.7.2
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /home/andres/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /home/andres/bin/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
✗ Android license status unknown.
Try re-installing or updating your Android SDK Manager.
See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions.
[!] Android Studio (version 3.5)
• Android Studio at /home/andres/bin/android-studio
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.3)
• IntelliJ at /home/andres/bin/idea-IU-193.6015.39
• Flutter plugin version 45.1.2
• Dart plugin version 193.6911.31
[✓] Connected device (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)
! Doctor found issues in 2 categories.
ariefwijaya, PiN73, AdmiralPavel, hadukin, absar and 10 more
Metadata
Metadata
Assignees
Labels
c: crashStack traces logged to the consoleStack traces logged to the consolef: scrollingViewports, list views, slivers, etc.Viewports, list views, slivers, etc.found in release: 1.26Found to occur in 1.26Found to occur in 1.26frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work on