-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The develop test run crashes in terminal #2469
Comments
Same here with all the latest packages at this date. The issue happens usually just after an action with native automator (e.g |
I am experiencing the same issue and have to restart constantly. Is there a solution? |
+1 |
Appears related to flutter/flutter#156692 |
Got quite similar problem but for Android that was related to outdated androidx.test:orchestrator version . Updating patrol requires changing the file manually |
I'm experiencing the same every second build |
Steps to reproduce
when i run develop test from terminal using
$ patrol develop --target=integration_test/app_test.dart
on simulator "iPhone 16 Pro"
Actual results
it always crashes after about 6 min and i have to restart it a lot the run doesn't stand longer than 400 second and gives me
Oops; flutter has exited unexpectedly: "Bad state: Stream has already been listened to.".
A crash report has been written to /Users/ibrahim/Documents/almalek_exchange/flutter_28.log
Logs
Logs
#0 _StreamController._subscribe (dart:async/stream_controller.dart:686:7)
#1 _ControllerStream._createSubscription (dart:async/stream_controller.dart:837:19)
#2 _StreamImpl.listen (dart:async/stream_impl.dart:497:9)
#3 new _ForwardingStreamSubscription (dart:async/stream_pipe.dart:114:10)
#4 _ForwardingStream._createSubscription (dart:async/stream_pipe.dart:86:16)
#5 _ForwardingStream.listen (dart:async/stream_pipe.dart:81:12)
#6 FlutterDevice.connect (package:flutter_tools/src/resident_runner.dart:267:35)
#7 ResidentRunner.connectToServiceProtocol (package:flutter_tools/src/resident_runner.dart:1404:21)
#8 HotRunner.attach (package:flutter_tools/src/run_hot.dart:236:13)
#9 AttachCommand._attachToDevice (package:flutter_tools/src/commands/attach.dart:403:31)
#10 AttachCommand.runCommand (package:flutter_tools/src/commands/attach.dart:265:5)
#11 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1408:27)
#12 AppContext.run. (package:flutter_tools/src/base/context.dart:153:19)
#13 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
#14 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:420:9)
#15 AppContext.run. (package:flutter_tools/src/base/context.dart:153:19)
#16 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:5)
#17 run.. (package:flutter_tools/runner.dart:130:9)
#18 AppContext.run. (package:flutter_tools/src/base/context.dart:153:19)
#19 main (package:flutter_tools/executable.dart:93:3)
[✓] Flutter (Channel stable, 3.24.5, on macOS 15.0.1 24A348 darwin-arm64, locale en-EG)
• Flutter version 3.24.5 on channel stable at /Users/ibrahim/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision dec2ee5c1f (6 weeks ago), 2024-11-13 11:13:06 -0800
• Engine revision a18df97ca5
• Dart version 3.5.4
• DevTools version 2.37.3
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at /Users/ibrahim/Library/Android/sdk
• Platform android-35, build-tools 35.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16B40
• CocoaPods version 1.16.2
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 2024.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)
[✓] IntelliJ IDEA Community Edition (version 2024.3)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin version 243.22562.3
[✓] VS Code (version 1.95.3)
• VS Code at /Users/ibrahim/Downloads/Visual Studio Code.app/Contents
• Flutter extension version 3.102.0
[✓] Connected device (3 available)
• iPhone 16 Pro (mobile) • F93CD49E-7549-48E9-B0DF-0799A5A37941 • ios • com.apple.CoreSimulator.SimRuntime.iOS-18-1 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 15.0.1 24A348 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.0.1 24A348 darwin-arm64
! Error: Browsing on the local area network for FARES. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
Patrol version
patrol: ^3.13.2
Patrol Doctor output
Patrol Doctor output
Flutter Doctor output
Flutter Doctor output
The text was updated successfully, but these errors were encountered: