dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.23k stars 1.57k forks source link

Memory leaks in isolate spawning #28351

Closed rmacnak-google closed 7 years ago

rmacnak-google commented 7 years ago

isolate/function_send1_test isolate/issue_21398_parent_isolate_test

=================================================================
==2074==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 3520 byte(s) in 22 object(s) allocated from:
    #0 0x60a72b in operator new(unsigned long) (/usr/local/google/home/rmacnak/dart3/sdk/out/ReleaseX64/dart+0x60a72b)
    #1 0x15d7610 in dart::BootstrapNatives::DN_Isolate_spawnUri(_Dart_NativeArguments*) (/usr/local/google/home/rmacnak/dart3/sdk/out/\
ReleaseX64/dart+0x15d7610)
rmacnak-google commented 7 years ago

@a-siva