You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be something going wrong with the sin/cos merging optimization.
#0 0x00235d96 in dart::Instruction::InsertAfter(dart::Instruction*) at /Volumes/Sources/dart-all/dart/runtime/vm/intermediate_language.cc:540
#1 0x00194262 in dart::FlowGraph::InsertAfter(dart::Instruction*, dart::Instruction*, dart::Environment*, dart::Definition::UseKind) at /Volumes/Sources/dart-all/dart/runtime/vm/flow_graph.cc:123
#2 0x001e016e in dart::FlowGraphOptimizer::AppendLoadIndexedForMerged(dart::Definition*, long, long) at /Volumes/Sources/dart-all/dart/runtime/vm/flow_graph_optimizer.cc:301
#3 0x001e081e in dart::FlowGraphOptimizer::TryMergeMathUnary(dart::GrowableArray<dart::MathUnaryInstr*>) at /Volumes/Sources/dart-all/dart/runtime/vm/flow_graph_optimizer.cc:415
#4 0x001e0cfe in dart::FlowGraphOptimizer::TryOptimizePatterns() at /Volumes/Sources/dart-all/dart/runtime/vm/flow_graph_optimizer.cc:480
#5 0x0015e9c4 in dart::CompileParsedFunctionHelper(dart::ParsedFunction, bool, long) at /Volumes/Sources/dart-all/dart/runtime/vm/compiler.cc:349
#6 0x0015d619 in dart::CompileFunctionHelper(dart::Function const&, bool, long) at /Volumes/Sources/dart-all/dart/runtime/vm/compiler.cc:766
#7 0x0015dab9 in dart::Compiler::CompileOptimizedFunction(dart::Function const&, long) at /Volumes/Sources/dart-all/dart/runtime/vm/compiler.cc:821
#8 0x00152a74 in dart::NativeArguments::isolate() const [inlined] at /Volumes/Sources/dart-all/dart/runtime/vm/code_generator.cc:1432
#9 0x001528e9 in dart::DRT_OptimizeInvokedFunction(dart::NativeArguments) at /Volumes/Sources/dart-all/dart/runtime/vm/code_generator.cc:1425
Activity
lrhn commentedon Jan 15, 2014
Added Area-VM, Triaged labels.
iposva-google commentedon Jan 15, 2014
There seems to be something going wrong with the sin/cos merging optimization.
#0 0x00235d96 in dart::Instruction::InsertAfter(dart::Instruction*) at /Volumes/Sources/dart-all/dart/runtime/vm/intermediate_language.cc:540
#1 0x00194262 in dart::FlowGraph::InsertAfter(dart::Instruction*, dart::Instruction*, dart::Environment*, dart::Definition::UseKind) at /Volumes/Sources/dart-all/dart/runtime/vm/flow_graph.cc:123
#2 0x001e016e in dart::FlowGraphOptimizer::AppendLoadIndexedForMerged(dart::Definition*, long, long) at /Volumes/Sources/dart-all/dart/runtime/vm/flow_graph_optimizer.cc:301
#3 0x001e081e in dart::FlowGraphOptimizer::TryMergeMathUnary(dart::GrowableArray<dart::MathUnaryInstr*>) at /Volumes/Sources/dart-all/dart/runtime/vm/flow_graph_optimizer.cc:415
#4 0x001e0cfe in dart::FlowGraphOptimizer::TryOptimizePatterns() at /Volumes/Sources/dart-all/dart/runtime/vm/flow_graph_optimizer.cc:480
#5 0x0015e9c4 in dart::CompileParsedFunctionHelper(dart::ParsedFunction, bool, long) at /Volumes/Sources/dart-all/dart/runtime/vm/compiler.cc:349
#6 0x0015d619 in dart::CompileFunctionHelper(dart::Function const&, bool, long) at /Volumes/Sources/dart-all/dart/runtime/vm/compiler.cc:766
#7 0x0015dab9 in dart::Compiler::CompileOptimizedFunction(dart::Function const&, long) at /Volumes/Sources/dart-all/dart/runtime/vm/compiler.cc:821
#8 0x00152a74 in dart::NativeArguments::isolate() const [inlined] at /Volumes/Sources/dart-all/dart/runtime/vm/code_generator.cc:1432
#9 0x001528e9 in dart::DRT_OptimizeInvokedFunction(dart::NativeArguments) at /Volumes/Sources/dart-all/dart/runtime/vm/code_generator.cc:1425
Set owner to @sgmitrovic.
Removed Priority-Unassigned label.
Added Priority-High, Accepted labels.
kasperl commentedon Jan 17, 2014
Should the fix be considered for merging to the 1.1 branch?
DartBot commentedon Jan 17, 2014
This comment was originally written by @a14n
I still see this issue happen on dev channel.
DartBot commentedon Jan 17, 2014
This comment was originally written by @a14n
I used the Dev channel :
$dart --version
Dart VM version: 1.1.0-dev.5.11 (Wed Jan 15 00:41:27 2014) on "linux_x64"
(it seems to be http://gsdview.appspot.com/dart-archive/channels/dev/raw/31818/)
To grab your fix I have downloaded a raw version on http://gsdview.appspot.com/dart-archive/channels/be/raw/latest/
$dart --version
Dart VM version: 1.2.0-edge.31909 (Fri Jan 17 00:23:59 2014) on "linux_x64"
On this version the sample code works.
iposva-google commentedon Feb 6, 2014
Issue #16606 has been merged into this issue.
cc @sgmitrovic.
cc @fsc8000.
cc @a-siva.
kasperl commentedon Feb 10, 2014
The fix for this issue is now live on the stable channel in Dart SDK version 1.1.3.
kasperl commentedon Feb 10, 2014
Issue #16606 has been merged into this issue.