sdk icon indicating copy to clipboard operation
sdk copied to clipboard

The Dart SDK, including the VM, dart2js, core libraries, and more.

Results 764 sdk issues
Sort by recently updated
recently updated
newest added

We should check that the FFI does not swallow [isolate shutdown](https://api.flutter.dev/flutter/dart-isolate/Isolate/kill.html) requests. It should probably return the error value to C, let C unwind its stack, and continue unwinding the...

area-vm
library-ffi

From yesterday in e.g. [this log](https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8738956153912080561/+/u/test_results/ignored_flaky_test_failure_logs): ``` /============================================================\ | ffi/address_of_test/0 broke (Pass -> Crash, expected Pass) | \============================================================/ --- Command "vm_compile_to_kernel" (took 01.000433s): DART_CONFIGURATION=ReleaseXRISCV64 /b/s/w/ir/cache/builder/sdk/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseXRISCV64/vm_platform_strong.dill -o /b/s/w/ir/cache/builder/sdk/out/ReleaseXRISCV64/generated_compilations/vm-aot-linux-release-riscv64-qemu/tests_ffi_address_of_test/out.dill /b/s/w/ir/cache/builder/sdk/tests/ffi/address_of_test.dart...

area-vm
gardening

### Commit(s) to merge https://dart-review.googlesource.com/c/sdk/+/380861 ### Target stable ### Prepared changelist for beta/stable https://dart-review.googlesource.com/c/sdk/+/381389 ### Issue Description Fixes a regression where `ZLibDecoder` would attempt to read data past the compressed...

area-vm
type-bug
cherry-pick-review
cherry-pick-approved
triaged

Scanning a local network using UDP packets and the RawDatagramSocket, the socket resources are never released when the socket is seeing a SocketException. Reproduced using a slightly modified example from...

area-vm
library-io
type-bug
triaged

from https://ci.chromium.org/ui/p/flutter/builders/prod/Mac%20Production%20Engine%20Drone/422092/overview [logs](https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8739681458534452625/+/u/build_ci_ios_debug_flutter_lib_snapshot:generate_snapshot_bins_flutter_shell_platform_darwin_ios:flutter_framework/stdout) ``` [1641/6217] ACTION //flutter/third_party/dart/runtime/observatory:build_observatory(//build/toolchain/mac:ios_clang_arm) FAILED: gen/flutter/third_party/dart/runtime/observatory/observatory/web/main.dart.js vpython3 ../../../flutter/third_party/dart/build/gn_run_binary.py compiled_action ../../../flutter/third_party/dart/tools/sdks/dart-sdk/bin/dart --dfe=../../../flutter/third_party/dart/tools/sdks/dart-sdk/bin/snapshots/kernel-service.dart.snapshot compile js -o gen/flutter/third_party/dart/runtime/observatory/observatory/web/main.dart.js --packages=../../../flutter/third_party/dart/.dart_tool/package_config.json ../../../flutter/third_party/dart/runtime/observatory/web/main.dart --minify Command failed: /Volumes/Work/s/w/ir/cache/builder/src/flutter/third_party/dart/tools/sdks/dart-sdk/bin/dart --dfe=../../../flutter/third_party/dart/tools/sdks/dart-sdk/bin/snapshots/kernel-service.dart.snapshot compile js -o gen/flutter/third_party/dart/runtime/observatory/observatory/web/main.dart.js --packages=../../../flutter/third_party/dart/.dart_tool/package_config.json...

area-vm
P2
type-bug
crash
triaged

```dart // Tell the compiler which branches are going to be taken most of the time. if (unlikely(n == 0)) { // This branch is known to be taken rarely....

area-vm
P3
type-performance
type-enhancement
triaged

The `assemble` method is a hotspot for `List` generation, and a fixed-length list is faster to generate. --- - [✅] I’ve reviewed the contributor guide and applied the relevant portions...

Currently the `dart:js_interop` provides a `jsify()` method that is described as this: ```dart extension NullableObjectUtilExtension on Object? { /// Converts a Dart object to the JavaScript equivalent if possible. ///...

web-js-interop
area-web

People used to writing JavaScript sometimes end up writing Dart code like: ```dart someFuture.then(... onError: (e, s) => { logError(e, s) }) ``` The issue is using a `=> {...

area-analyzer
analyzer-warning
P2
type-enhancement

Per the glob package documentation, glob patterns should start with leading slashes, otherwise root files won't be found by a glob pattern. https://pub.dev/packages/glob#:~:text=If%20**%20appears,by%20it%20either. Starting with a leading slash does not...

area-analyzer
P3
analyzer-warning
type-enhancement
analyzer-analysis-options