Repository navigation
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: crashStack traces logged to the consoleStack traces logged to the consolehas reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Description
Steps to reproduce
- create new flutter project from template
- throw an exception
void _incrementCounter() {
try {
throw UnimplementedError("foobar");
} catch (e, st) {
print(st);
}
- build apk
flutter build apk --release --obfuscate --split-debug-info=debuginfo/ - run app, push button and save stacktrace to file
- try to read the obfuscated stack trace
flutter symbolize --debug-info .\debuginfo\app.android-arm64.symbols -i .\stacktrace.txt
output:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 19525, tid: 481576415304, name 1.ui
os: android arch: arm64 comp: yes sim: no
build_id: '2aa851a29a105476471797efc7514aeb'
isolate_dso_base: 6c3a62c000, vm_dso_base: 0
isolate_instructions: 6c3a6dc000, vm_instructions: 0
Oops; flutter has exited unexpectedly: "Bad state: Future already completed".
A crash report has been written to E:\flutter\tmp\flutter_application_5\flutter_03.log
flutter_03.log
Flutter crash report.
Please report a bug at https://github.com/flutter/flutter/issues.
command
flutter symbolize --debug-info .\debuginfo\app.android-arm64.symbols -i .\stacktrace.txt
exception
StateError: Bad state: Future already completed
#0 _AsyncCompleter.complete (dart:async/future_impl.dart:97:31)
#1 _rootRun (dart:async/zone_root.dart:27:47)
#2 _CustomZone.run (dart:async/zone.dart:810:35)
#3 _CustomZone.runGuarded (dart:async/zone.dart:702:7)
#4 _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:434:13)
#5 _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:444:7)
#6 _BufferingStreamSubscription._close (dart:async/stream_impl.dart:333:7)
#7 _SinkTransformerStreamSubscription._close (dart:async/stream_transformers.dart:91:11)
#8 _EventSinkWrapper.close (dart:async/stream_transformers.dart:21:11)
#9 _HandlerEventSink.close (dart:async/stream_transformers.dart:258:12)
#10 _SinkTransformerStreamSubscription._handleDone (dart:async/stream_transformers.dart:136:24)
#11 _rootRun (dart:async/zone_root.dart:27:47)
#12 _CustomZone.run (dart:async/zone.dart:810:35)
#13 _CustomZone.runGuarded (dart:async/zone.dart:702:7)
#14 _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:434:13)
#15 _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:444:7)
#16 _BufferingStreamSubscription._close (dart:async/stream_impl.dart:333:7)
#17 _SyncStreamControllerDispatch._sendDone (dart:async/stream_controller.dart:806:19)
#18 _StreamController._closeUnchecked (dart:async/stream_controller.dart:652:7)
#19 _StreamController.close (dart:async/stream_controller.dart:645:5)
#20 _AsyncStarStreamController.close (dart:async-patch/async_patch.dart:139:16)
<asynchronous suspension>
flutter doctor
�[32m[✓]�[39m Flutter (Channel stable, 3.47.0, on Microsoft Windows [Version 10.0.26200.9168], locale de-DE) [316ms]
�[32m•�[39m Flutter version 3.47.0 on channel stable at H:\SDK\Flutter
�[32m•�[39m Upstream repository https://github.com/flutter/flutter.git
�[32m•�[39m Framework revision 4cf2416426 (6 days ago), 2026-08-11 11:53:49 -0700
�[32m•�[39m Engine revision 5f77625673
�[32m•�[39m Dart version 3.13.0
�[32m•�[39m DevTools version 2.60.0
�[32m•�[39m Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, enable-record-use, enable-swift-package-manager,
omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration
�[32m[✓]�[39m Windows Version (11 Pro 64-bit, 25H2, 2009) [1.882ms]
�[32m[✓]�[39m Android toolchain - develop for Android devices (Android SDK version 36.0.0) [2,8s]
�[32m•�[39m Android SDK at H:\SDK\Android\Sdk
�[32m•�[39m Emulator version 37.1.11.0 (build_id 15917651) (CL:N/A)
�[32m•�[39m Platform android-37.0, build-tools 36.0.0
�[32m•�[39m ANDROID_HOME = H:\SDK\Android\Sdk
�[32m•�[39m Java binary at: H:/SDK/jdk-17.0.12\bin\java
This JDK is specified in your Flutter configuration.
To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`.
�[32m•�[39m Java version Java(TM) SE Runtime Environment (build 17.0.12+8-LTS-286)
�[32m•�[39m All Android licenses accepted.
�[32m[✓]�[39m Chrome - develop for the web [79ms]
�[32m•�[39m Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
�[32m[✓]�[39m Visual Studio - develop Windows apps (Visual Studio Community 2022 17.12.3) [78ms]
�[32m•�[39m Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
�[32m•�[39m Visual Studio Community 2022 version 17.12.35527.113
�[32m•�[39m Windows 10 SDK version 10.0.22621.0
�[32m[✓]�[39m Connected device (4 available) [1.555ms]
�[32m•�[39m Pixel 9 (mobile) • 54140DLAQ000W7 • android-arm64 • Android 17 (API 37)
�[32m•�[39m Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.26200.9168]
�[32m•�[39m Chrome (web) • chrome • web-javascript • Google Chrome 151.0.7922.138
�[32m•�[39m Edge (web) • edge • web-javascript • Microsoft Edge 151.0.4129.86
�[32m[✓]�[39m Network resources [1.498ms]
�[32m•�[39m All expected network resources are available.
�[32m•�[39m No issues found!
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: crashStack traces logged to the consoleStack traces logged to the consolehas reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Activity
mbcorona commentedon Aug 17, 2026
Hi @moodstubos , thanks for the report, routing to the tool team.
moodstubos commentedon Aug 18, 2026
@bkonyi, thanks for the first fix.
After your fix #191273 next error comes up:
Oops; flutter has exited unexpectedly: "Cannot locate isolate instructions section in snapshot".it seems symbols file format is not compatible anymore with use of
flutter symbolizebkonyi commentedon Aug 18, 2026
No problem!
Could you try using the unstripped binary instead to see if that fixes your issue?
moodstubos commentedon Aug 18, 2026
sure:
same error message:
Oops; flutter has exited unexpectedly: "Cannot locate isolate instructions section in snapshot".[flutter_tools] Fix crash in symbolize command on stream error (flutt…
[stable] [flutter_tools] Fix crash in symbolize command on stream err…
github-actions commentedon Sep 3, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.