-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
Description
Allocation during exception throwing can lead to divergence when out of memory:
#0 dart::Exceptions::Throw (thread=0x55555812d800, exception=...) at ../../runtime/vm/exceptions.cc:1016
#1 0x0000555557104f6e in dart::Object::Allocate (cls_id=79, size=80, space=<optimized out>) at ../../runtime/vm/object.cc:2655
#2 0x00005555571061b2 in dart::Array::New (class_id=79, len=6, space=<optimized out>) at ../../runtime/vm/object.cc:23291
#3 dart::Array::New (len=6, space=(dart::Heap::kCode | unknown: 240)) at ../../runtime/vm/object.cc:23263
#4 0x00005555570b32fd in dart::ExceptionHandlerFinder::ExecuteCatchEntryMoves (this=0x7ffff69fd3b0, moves=...) at ../../runtime/vm/exceptions.cc:255
#5 0x00005555570b2fa1 in dart::ExceptionHandlerFinder::PrepareFrameForCatchEntry (this=0x7ffff69fd3b0) at ../../runtime/vm/exceptions.cc:249
#6 0x00005555570b205d in dart::ThrowExceptionHelper (thread=0x55555812d800, incoming_exception=..., existing_stacktrace=..., is_rethrow=<optimized out>) at ../../runtime/vm/exceptions.cc:876
#7 0x00005555570b1824 in dart::Exceptions::Throw (thread=0x55555812d800, exception=...) at ../../runtime/vm/exceptions.cc:1016
#8 0x0000555557104f6e in dart::Object::Allocate (cls_id=56, size=32, space=<optimized out>) at ../../runtime/vm/object.cc:2655
#9 0x000055555713e8ca in dart::GrowableObjectArray::New (array=..., space=(dart::Heap::kCode | unknown: 240)) at ../../runtime/vm/object.cc:23528
#10 0x000055555702e621 in dart::DN_HelperGrowableList_allocate (isolate=<optimized out>, thread=<optimized out>, zone=0x555558614d00, arguments=<optimized out>) at ../../runtime/lib/growable_array.cc:25
#11 dart::BootstrapNatives::DN_GrowableList_allocate (thread=<optimized out>, zone=0x555558614d00, arguments=<optimized out>) at ../../runtime/lib/growable_array.cc:14
#12 0x00005555570fd3b0 in dart::NativeEntry::BootstrapNativeCallWrapper (args=0x7ffff69fd610, func=0x55555702e590 <dart::BootstrapNatives::DN_GrowableList_allocate(dart::Thread*, dart::Zone*, dart::NativeArguments*)>) at ../../runtime/vm/native_entry.cc:140
Metadata
Metadata
Assignees
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.