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

Use DDS' `requirePermissionsToResume` API to make sure that when `pause-isolates-on-start` is set, DDS waits for `resume` request from all clients, including DAP. Context here: https://github.com/dart-lang/webdev/issues/2257#issuecomment-1942909830

area-library
dds-dap

There are new test failures on [[dart2wasm] Update constructor and factory names](https://github.com/dart-lang/sdk/commit/29d52e6fa33c1c239ef8341e9ebbc20497c9f37d). The tests ``` pkg/dartdev/test/commands/doc_test Timeout (expected Pass) ``` are failing on configurations ``` unittest-asserts-debug-linux-x64 ```

gardening
area-tools
pkg-dartdev

https://github.com/dart-lang/sdk/blob/main/runtime/vm/ffi_callback_metadata.h#L200 We've ended up replicating this logic in other places (we use this thunk/stub trick in a few more places) and copying those constants. They have little to do with...

area-vm
P4
library-ffi
triaged

Hi, Writing here because I'm not sure the right place and this seems to involve dart:io (though that isn't necessarily the cause of this issue). ### Issue background ~5 times...

area-vm
area-library
library-io
needs-info

`Pointer`s can be converted into external `TypedData` with the `asTypedList`. When sending messages to other isolates: * `Pointer`s are simply an address sent to another isolate. * external `TypedData`s have...

area-vm
type-enhancement
library-ffi

## TLDR As soon as number of (mixin applications + files with `part` directive + `@patch` annotations) exceed \~8000 and number of dart files exceed 16384 gen_snapshot with compressed pointers...

area-vm
needs-info

https://github.com/dart-lang/sdk/blob/ab09f99638af8b50c2b8700cd6bd07b9e89f6337/pkg/vm/lib/transformations/ffi/common.dart#L913-L928 This pattern of checking for whether something is backed by a Pointer, and doing pointer arithmetic if it is a pointer and a typed data view if it is...

area-vm
type-performance
library-ffi
triaged

When running Flutter I came across this error, while looking at a data structure that was large. This happened while I was debugging and had put a breakpoint on as...

area-tools

``` $ out/DebugX64/dart --reload-every=4 tests/ffi/structs_test.dart kernel-service: Error: Unhandled exception: Bad state: No element #0 Iterable.first (dart:core/iterable.dart:643:7) #1 MappedIterable.first (dart:_internal/iterable.dart:382:31) #2 lookupOrBuildNewIncrementalCompiler (file:///usr/local/google/home/dacoharkes/dart-sdk/sdk/pkg/vm/bin/kernel_service.dart:463:45) #3 _processLoadRequest (file:///usr/local/google/home/dacoharkes/dart-sdk/sdk/pkg/vm/bin/kernel_service.dart:872:22) #4 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12) ``` None...

area-vm
type-enhancement
P4
triaged

From iso-stress-linux bot: ``` [/b/s/w/ir/cache/builder/sdk/runtime/tests/concurrency/../../../tests/lib/async/timer_repeat_test.dart] finished [/b/s/w/ir/cache/builder/sdk/runtime/tests/concurrency/../../../tests/lib/async/timer_repeat_test.dart] finished [/b/s/w/ir/cache/builder/sdk/runtime/tests/concurrency/../../../tests/lib/async/timer_repeat_test.dart] finished [/b/s/w/ir/cache/builder/sdk/runtime/tests/concurrency/../../../tests/lib/async/timer_repeat_test.dart] finished ================== WARNING: ThreadSanitizer: data race (pid=542132) Atomic write of size 8 at 0x7f937d7004d8 by thread T19: #0 unsigned...

area-vm
P2
gardening
triaged