Skip to content

Dart VM optimizing reg. allocator crash "./vm/growable_array.h:55: error: expected: 0 <= index" #5416

Closed
@ghost

Description

/sources/dartall/dart/xcodebuild/DebugIA32/dart --optimization_counter_threshold=5 /sources/dartall/dart/xcodebuild/DebugIA32/generated_tests/language/cast_test_none.dart

­3 0x00002aa1 in dart::DynamicAssertionHelper::Fail (this=0xbfffe2b4, format=0x2138a0 "expected: %s") at /sources/dartall/dart/runtime/platform/assert.cc:40

­4 0x000e0e49 in dart::BaseGrowableArray<dart::LiveRange*, dart::ValueObject>::operator[](this=0xbfffe670, index=-1) at growable_array.h:55

­5 0x000da099 in dart::FlowGraphAllocator::GetLiveRange (this=0xbfffe610, vreg=-1) at /sources/dartall/dart/runtime/vm/flow_graph_allocator.cc:394

­6 0x000dccbf in dart::FlowGraphAllocator::ProcessOneInstruction (this=0xbfffe610, block=0x9115f0, current=0x953170) at /sources/dartall/dart/runtime/vm/flow_graph_allocator.cc:788

­7 0x000df354 in dart::FlowGraphAllocator::BuildLiveRanges (this=0xbfffe610) at /sources/dartall/dart/runtime/vm/flow_graph_allocator.cc:516

­8 0x000e039a in dart::FlowGraphAllocator::AllocateRegisters (this=0xbfffe610) at /sources/dartall/dart/runtime/vm/flow_graph_allocator.cc:2150

­9 0x000bbebb in dart::CompileParsedFunctionHelper (parsed_function=@0xbfffea4c, optimized=true) at /sources/dartall/dart/runtime/vm/compiler.cc:232

Metadata

Metadata

Assignees

Labels

P1A high priority bug; for example, a single project is unusable or has many test failuresarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions