Comments (6)
From the tool, the exception is being thrown from https://github.com/flutter/flutter/blob/beta/packages/flutter_tools/lib/src/commands/analyze_once.dart#L100
Earlier, we spawn the analysis server here: https://github.com/flutter/flutter/blob/beta/packages/flutter_tools/lib/src/dart/analysis.dart#L57
final String snapshot = _fileSystem.path.join(
sdkPath,
'bin',
'snapshots',
'analysis_server.dart.snapshot',
);
final List<String> command = <String>[
_fileSystem.path.join(sdkPath, 'bin', 'dart'),
'--disable-dart-dev',
snapshot,
'--disable-server-feature-completion',
'--disable-server-feature-search',
'--sdk',
sdkPath,
if (suppressAnalytics) '--suppress-analytics',
if (_protocolTrafficLog != null)
'--protocol-traffic-log=$_protocolTrafficLog',
];
from flutter.
Did this just start with beta/3.19.0-0.4.pre
?
from flutter.
It's not much help, but the only explicit invocations of exit
that I can find that could have a value of -2 are during the "training" used while building the snapshot in order to improve performance. They shouldn't occur while using the snapshot.
from flutter.
It's not much help, but the only explicit invocations of
exit
that I can find that could have a value of -2 are during the "training" used while building the snapshot in order to improve performance. They shouldn't occur while using the snapshot.
I wonder if -2 means killed by an operating system signal?
from flutter.
It might. As far as I can tell there's no standard for what even a subset of exit codes mean, other than 0
appears to always mean "success" (though I did find one resource that claimed that non-zero doesn't always mean failure).
In any case, an integer encoding is a pretty poor way for any system to communicate with humans. 😦
from flutter.
In any case, an integer encoding is a pretty poor way for any system to communicate with humans. 😦
You don't need to convince me, but such is my life...
from flutter.
Related Issues (20)
- [ios]Support secure paste for iPad hardware keyboard shortcut (CMD+V) HOT 5
- 12K OPEN issues, going back to 2015, move to other platform people !!! HOT 1
- [tool_crash] StateError: Bad state: Future already completed HOT 1
- [Impeller] Documentation on why advanced blends are slow is out of date. HOT 1
- Should add dialog `barrierColor` into ThemeData HOT 2
- Incompatible modules in windows HOT 2
- Integration tests failing due to PathNotFoundException when debugging HOT 3
- Flutter test is stuck on splash screen when using `LiveTestWidgetsFlutterBindingFramePolicy.benchmark` HOT 1
- [web] Trying to use the project I built with flutter in an html css file HOT 1
- [packages] Mention depending on platform packages in READMEs
- flutter doctor output nothing HOT 2
- [Web][CanvasKit] Web App crashes if using ImageFiltered. HOT 2
- DropdownMenu not showing updated list after state update on bloc HOT 5
- [tool_crash] ProcessException: Failed to find "py" in the search path. Command: py, OS error code: 0 HOT 1
- Run devicelab tests on iOS 17 exclusively
- Upgrade Phase 4 for iOS 17
- Use the DEPS file for web_ui dependencies
- websocket is not connecting HOT 2
- win-17 is dead. HOT 1
- mac-24 lost external connection phone device. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.