Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash on front-end-linux-release-x64-try during presubmit test run #47314

Closed
aam opened this issue Sep 29, 2021 · 10 comments
Closed

crash on front-end-linux-release-x64-try during presubmit test run #47314

aam opened this issue Sep 29, 2021 · 10 comments
Assignees
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. P2 A bug or feature request we're likely to work on

Comments

@aam
Copy link
Contributor

aam commented Sep 29, 2021

from logs

===== CRASH =====
si_signo=Segmentation fault(11), si_code=1, si_addr=0x7f327820f925
version=2.15.0-edge.c65556cfc021e4a9b67126aba36d692e300351e6 (be) (Tue Sep 28 21:38:03 2021 +0000) on "linux_x64"
pid=32103, thread=32114, isolate_group=main(0x555679ca3000), isolate=runSuite(0x555679e58800)
isolate_instructions=555676d01e20, vm_instructions=555676d01e20
  pc 0x00005556772bece8 fp 0x00007f32df67bef0 dart::FlowGraphCompiler::AllocateRegistersLocally(dart::Instruction*)+0x248
  pc 0x00005556772bfc89 fp 0x00007f32df67c0b0 dart::FlowGraphCompiler::VisitBlocks()+0x999
  pc 0x00005556772c81ef fp 0x00007f32df67c0d0 dart::FlowGraphCompiler::CompileGraph()+0x1f
  pc 0x0000555676ff5073 fp 0x00007f32df67c7b0 dart::CompileParsedFunctionHelper::Compile(dart::CompilationPipeline*)+0x783
  pc 0x0000555676ff59ec fp 0x00007f32df67c9c0 /b/s/w/ir/out/ReleaseX64/dart-sdk/bin/dart+0x208c9ec
  pc 0x0000555676ff558a fp 0x00007f32df67ca50 dart::Compiler::CompileFunction(dart::Thread*, dart::Function const&)+0x11a
  pc 0x0000555676f0ac31 fp 0x00007f32df67ca90 dart::Function::EnsureHasCode() const+0x61
  pc 0x0000555676ff4193 fp 0x00007f32df67cb80 dart::DRT_CompileFunction(dart::NativeArguments)+0x1a3
  pc 0x00007f3316182563 fp 0x00007f32df67cbc8 Unknown symbol
  pc 0x00007f33161825c4 fp 0x00007f32df67cbf8 Unknown symbol
  pc 0x00007f3301d3147a fp 0x00007f32df67cc60 Unknown symbol
  pc 0x00007f3305b5020f fp 0x00007f32df67cd18 Unknown symbol
  pc 0x00007f32e97efd3c fp 0x00007f32df67cd90 Unknown symbol
  pc 0x00007f32e97efbdc fp 0x00007f32df67cdf8 Unknown symbol
  pc 0x00007f3309aae154 fp 0x00007f32df67ce88 Unknown symbol
  pc 0x00007f3309ab25e6 fp 0x00007f32df67cf00 Unknown symbol
  pc 0x00007f3309a9f95f fp 0x00007f32df67cf68 Unknown symbol
  pc 0x00007f331036b14e fp 0x00007f32df67cfb0 Unknown symbol
  pc 0x00007f331036aef5 fp 0x00007f32df67cff0 Unknown symbol
  pc 0x00007f3305b76aa9 fp 0x00007f32df67d090 Unknown symbol
  pc 0x00007f32e97efd3c fp 0x00007f32df67d108 Unknown symbol
  pc 0x00007f32e97efbdc fp 0x00007f32df67d170 Unknown symbol
  pc 0x00007f3309aae154 fp 0x00007f32df67d200 Unknown symbol
  pc 0x00007f3309ab25e6 fp 0x00007f32df67d278 Unknown symbol
  pc 0x00007f3309a9f95f fp 0x00007f32df67d2e0 Unknown symbol
  pc 0x00007f331036b14e fp 0x00007f32df67d328 Unknown symbol
  pc 0x00007f331036aef5 fp 0x00007f32df67d368 Unknown symbol
  pc 0x00007f32eb2dff73 fp 0x00007f32df67d408 Unknown symbol
  pc 0x00007f32e97efd3c fp 0x00007f32df67d480 Unknown symbol
  pc 0x00007f32e97efbdc fp 0x00007f32df67d4e8 Unknown symbol
  pc 0x00007f3309aae154 fp 0x00007f32df67d578 Unknown symbol
  pc 0x00007f3309ab25e6 fp 0x00007f32df67d5f0 Unknown symbol
  pc 0x00007f3309a9f95f fp 0x00007f32df67d658 Unknown symbol
  pc 0x00007f331036b14e fp 0x00007f32df67d6a0 Unknown symbol
  pc 0x00007f331036aef5 fp 0x00007f32df67d6e0 Unknown symbol
  pc 0x00007f32eb2e83a0 fp 0x00007f32df67d780 Unknown symbol
  pc 0x00007f32e97efd3c fp 0x00007f32df67d7f8 Unknown symbol
  pc 0x00007f32e97efbdc fp 0x00007f32df67d860 Unknown symbol
  pc 0x00007f3309aae154 fp 0x00007f32df67d8f0 Unknown symbol
  pc 0x00007f3309ab25e6 fp 0x00007f32df67d968 Unknown symbol
  pc 0x00007f3309a9f95f fp 0x00007f32df67d9d0 Unknown symbol
  pc 0x00007f331036b14e fp 0x00007f32df67da18 Unknown symbol
  pc 0x00007f331036aef5 fp 0x00007f32df67da58 Unknown symbol
  pc 0x00007f3305b78649 fp 0x00007f32df67daf8 Unknown symbol
  pc 0x00007f32e97efd3c fp 0x00007f32df67db70 Unknown symbol
  pc 0x00007f32e97efbdc fp 0x00007f32df67dbd8 Unknown symbol
  pc 0x00007f3309aae154 fp 0x00007f32df67dc68 Unknown symbol
  pc 0x00007f3309ab25e6 fp 0x00007f32df67dce0 Unknown symbol
  pc 0x00007f3309a9f95f fp 0x00007f32df67dd48 Unknown symbol
  pc 0x00007f331036b14e fp 0x00007f32df67dd90 Unknown symbol
  pc 0x00007f331036aef5 fp 0x00007f32df67ddd0 Unknown symbol
  pc 0x00007f3305b79b04 fp 0x00007f32df67de80 Unknown symbol
  pc 0x00007f32e97efd3c fp 0x00007f32df67def8 Unknown symbol
  pc 0x00007f32e97efbdc fp 0x00007f32df67df60 Unknown symbol
  pc 0x00007f3309aae154 fp 0x00007f32df67dff0 Unknown symbol
  pc 0x00007f3309ab25e6 fp 0x00007f32df67e068 Unknown symbol
  pc 0x00007f3309a9f95f fp 0x00007f32df67e0d0 Unknown symbol
  pc 0x00007f331036b14e fp 0x00007f32df67e118 Unknown symbol
  pc 0x00007f331036aef5 fp 0x00007f32df67e158 Unknown symbol
  pc 0x00007f3305b7ad13 fp 0x00007f32df67e210 Unknown symbol
  pc 0x00007f32e97efd3c fp 0x00007f32df67e288 Unknown symbol
  pc 0x00007f32e97efbdc fp 0x00007f32df67e2f0 Unknown symbol
  pc 0x00007f3309aae154 fp 0x00007f32df67e380 Unknown symbol
  pc 0x00007f3309ab25e6 fp 0x00007f32df67e3f8 Unknown symbol
  pc 0x00007f3309a9f95f fp 0x00007f32df67e460 Unknown symbol
  pc 0x00007f331036b14e fp 0x00007f32df67e4a8 Unknown symbol
  pc 0x00007f331037c28d fp 0x00007f32df67e4e8 Unknown symbol
  pc 0x00007f32e97e1424 fp 0x00007f32df67e558 Unknown symbol
  pc 0x00007f32e97dfc59 fp 0x00007f32df67e5b8 Unknown symbol
  pc 0x00007f32e97deda6 fp 0x00007f32df67e648 Unknown symbol
  pc 0x00007f32e97e317f fp 0x00007f32df67e6b8 Unknown symbol
  pc 0x00007f32e97e307d fp 0x00007f32df67e6f8 Unknown symbol
  pc 0x00007f3309adc273 fp 0x00007f32df67e738 Unknown symbol
  pc 0x00007f331037bc9b fp 0x00007f32df67e778 Unknown symbol
  pc 0x00007f331037bbc9 fp 0x00007f32df67e7a0 Unknown symbol
  pc 0x00007f3310357501 fp 0x00007f32df67e7e0 Unknown symbol
  pc 0x00007f3310358bad fp 0x00007f32df67e860 Unknown symbol
  pc 0x00007f33103578b1 fp 0x00007f32df67e898 Unknown symbol
  pc 0x00007f33103575dc fp 0x00007f32df67e8c8 Unknown symbol
  pc 0x00007f3310323a48 fp 0x00007f32df67e930 Unknown symbol
  pc 0x00007f33103232f3 fp 0x00007f32df67e980 Unknown symbol
  pc 0x00007f33161829af fp 0x00007f32df67e9f8 Unknown symbol
  pc 0x0000555676e787c3 fp 0x00007f32df67eaa0 dart::DartEntry::InvokeCode(dart::Code const&, unsigned long, dart::Array const&, dart::Array const&, dart::Thread*)+0x153
  pc 0x0000555676e78615 fp 0x00007f32df67eb00 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long)+0x165
  pc 0x0000555676e7ac5f fp 0x00007f32df67eb50 dart::DartLibraryCalls::HandleMessage(long, dart::Instance const&)+0x16f
  pc 0x0000555676ea1b5c fp 0x00007f32df67ec30 dart::IsolateMessageHandler::HandleMessage(std::__2::unique_ptr<dart::Message, std::__2::default_delete<dart::Message> >)+0x2cc
  pc 0x0000555676eca00c fp 0x00007f32df67eca0 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)+0x14c
  pc 0x0000555676eca72f fp 0x00007f32df67ed00 dart::MessageHandler::TaskCallback()+0x1df
  pc 0x0000555676fe32e8 fp 0x00007f32df67ed80 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)+0x148
  pc 0x0000555676fe371c fp 0x00007f32df67edb0 dart::ThreadPool::Worker::Main(unsigned long)+0x5c
  pc 0x0000555676f60498 fp 0x00007f32df67ee70 /b/s/w/ir/out/ReleaseX64/dart-sdk/bin/dart+0x1ff7498
-- End of DumpStackTrace
  pc 0x0000000000000000 fp 0x00007f32df67cbc8 sp 0x0000000000000000 [Stub] CallToRuntime
  pc 0x00007f33161825c4 fp 0x00007f32df67cbf8 sp 0x00007f32df67cbd8 [Stub] LazyCompile
  pc 0x00007f3301d3147a fp 0x00007f32df67cc60 sp 0x00007f32df67cc08 [Unoptimized] new KernelTarget.
  pc 0x00007f3305b5020f fp 0x00007f32df67cd18 sp 0x00007f32df67cc70 [Unoptimized] Outline.outlineInitialization
  pc 0x00007f32e97efd3c fp 0x00007f32df67cd90 sp 0x00007f32df67cd28 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007f32e97efbdc fp 0x00007f32df67cdf8 sp 0x00007f32df67cda0 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007f3309aae154 fp 0x00007f32df67ce88 sp 0x00007f32df67ce08 [Optimized] _FutureListener@4048458.handleValue
  pc 0x00007f3309ab25e6 fp 0x00007f32df67cf00 sp 0x00007f32df67ce98 [Optimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00007f3309a9f95f fp 0x00007f32df67cf68 sp 0x00007f32df67cf10 [Optimized] _Future@4048458._propagateToListeners@4048458
  pc 0x00007f331036b14e fp 0x00007f32df67cfb0 sp 0x00007f32df67cf78 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x00007f331036aef5 fp 0x00007f32df67cff0 sp 0x00007f32df67cfc0 [Unoptimized] _completeOnAsyncReturn@4048458
  pc 0x00007f3305b76aa9 fp 0x00007f32df67d090 sp 0x00007f32df67d000 [Unoptimized] FastaContext.computeUriTranslator
  pc 0x00007f32e97efd3c fp 0x00007f32df67d108 sp 0x00007f32df67d0a0 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007f32e97efbdc fp 0x00007f32df67d170 sp 0x00007f32df67d118 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007f3309aae154 fp 0x00007f32df67d200 sp 0x00007f32df67d180 [Optimized] _FutureListener@4048458.handleValue
  pc 0x00007f3309ab25e6 fp 0x00007f32df67d278 sp 0x00007f32df67d210 [Optimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00007f3309a9f95f fp 0x00007f32df67d2e0 sp 0x00007f32df67d288 [Optimized] _Future@4048458._propagateToListeners@4048458
  pc 0x00007f331036b14e fp 0x00007f32df67d328 sp 0x00007f32df67d2f0 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x00007f331036aef5 fp 0x00007f32df67d368 sp 0x00007f32df67d338 [Unoptimized] _completeOnAsyncReturn@4048458
  pc 0x00007f32eb2dff73 fp 0x00007f32df67d408 sp 0x00007f32df67d378 [Unoptimized] ProcessedOptions.getUriTranslator
  pc 0x00007f32e97efd3c fp 0x00007f32df67d480 sp 0x00007f32df67d418 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007f32e97efbdc fp 0x00007f32df67d4e8 sp 0x00007f32df67d490 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007f3309aae154 fp 0x00007f32df67d578 sp 0x00007f32df67d4f8 [Optimized] _FutureListener@4048458.handleValue
  pc 0x00007f3309ab25e6 fp 0x00007f32df67d5f0 sp 0x00007f32df67d588 [Optimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00007f3309a9f95f fp 0x00007f32df67d658 sp 0x00007f32df67d600 [Optimized] _Future@4048458._propagateToListeners@4048458
  pc 0x00007f331036b14e fp 0x00007f32df67d6a0 sp 0x00007f32df67d668 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x00007f331036aef5 fp 0x00007f32df67d6e0 sp 0x00007f32df67d6b0 [Unoptimized] _completeOnAsyncReturn@4048458
  pc 0x00007f32eb2e83a0 fp 0x00007f32df67d780 sp 0x00007f32df67d6f0 [Unoptimized] ProcessedOptions._getPackages@63081600
  pc 0x00007f32e97efd3c fp 0x00007f32df67d7f8 sp 0x00007f32df67d790 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007f32e97efbdc fp 0x00007f32df67d860 sp 0x00007f32df67d808 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007f3309aae154 fp 0x00007f32df67d8f0 sp 0x00007f32df67d870 [Optimized] _FutureListener@4048458.handleValue
  pc 0x00007f3309ab25e6 fp 0x00007f32df67d968 sp 0x00007f32df67d900 [Optimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00007f3309a9f95f fp 0x00007f32df67d9d0 sp 0x00007f32df67d978 [Optimized] _Future@4048458._propagateToListeners@4048458
  pc 0x00007f331036b14e fp 0x00007f32df67da18 sp 0x00007f32df67d9e0 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x00007f331036aef5 fp 0x00007f32df67da58 sp 0x00007f32df67da28 [Unoptimized] _completeOnAsyncReturn@4048458
  pc 0x00007f3305b78649 fp 0x00007f32df67daf8 sp 0x00007f32df67da68 [Unoptimized] ProcessedOptions.createPackagesFromFile
  pc 0x00007f32e97efd3c fp 0x00007f32df67db70 sp 0x00007f32df67db08 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007f32e97efbdc fp 0x00007f32df67dbd8 sp 0x00007f32df67db80 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007f3309aae154 fp 0x00007f32df67dc68 sp 0x00007f32df67dbe8 [Optimized] _FutureListener@4048458.handleValue
  pc 0x00007f3309ab25e6 fp 0x00007f32df67dce0 sp 0x00007f32df67dc78 [Optimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00007f3309a9f95f fp 0x00007f32df67dd48 sp 0x00007f32df67dcf0 [Optimized] _Future@4048458._propagateToListeners@4048458
  pc 0x00007f331036b14e fp 0x00007f32df67dd90 sp 0x00007f32df67dd58 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x00007f331036aef5 fp 0x00007f32df67ddd0 sp 0x00007f32df67dda0 [Unoptimized] _completeOnAsyncReturn@4048458
  pc 0x00007f3305b79b04 fp 0x00007f32df67de80 sp 0x00007f32df67dde0 [Unoptimized] ProcessedOptions._createPackagesFromFile@63081600
  pc 0x00007f32e97efd3c fp 0x00007f32df67def8 sp 0x00007f32df67de90 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007f32e97efbdc fp 0x00007f32df67df60 sp 0x00007f32df67df08 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007f3309aae154 fp 0x00007f32df67dff0 sp 0x00007f32df67df70 [Optimized] _FutureListener@4048458.handleValue
  pc 0x00007f3309ab25e6 fp 0x00007f32df67e068 sp 0x00007f32df67e000 [Optimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00007f3309a9f95f fp 0x00007f32df67e0d0 sp 0x00007f32df67e078 [Optimized] _Future@4048458._propagateToListeners@4048458
  pc 0x00007f331036b14e fp 0x00007f32df67e118 sp 0x00007f32df67e0e0 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x00007f331036aef5 fp 0x00007f32df67e158 sp 0x00007f32df67e128 [Unoptimized] _completeOnAsyncReturn@4048458
  pc 0x00007f3305b7ad13 fp 0x00007f32df67e210 sp 0x00007f32df67e168 [Unoptimized] ProcessedOptions._readFile@63081600
  pc 0x00007f32e97efd3c fp 0x00007f32df67e288 sp 0x00007f32df67e220 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007f32e97efbdc fp 0x00007f32df67e2f0 sp 0x00007f32df67e298 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007f3309aae154 fp 0x00007f32df67e380 sp 0x00007f32df67e300 [Optimized] _FutureListener@4048458.handleValue
  pc 0x00007f3309ab25e6 fp 0x00007f32df67e3f8 sp 0x00007f32df67e390 [Optimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00007f3309a9f95f fp 0x00007f32df67e460 sp 0x00007f32df67e408 [Optimized] _Future@4048458._propagateToListeners@4048458
  pc 0x00007f331036b14e fp 0x00007f32df67e4a8 sp 0x00007f32df67e470 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x00007f331037c28d fp 0x00007f32df67e4e8 sp 0x00007f32df67e4b8 [Unoptimized] _Future@4048458._asyncCompleteWithValue@4048458.<anonymous closure>
  pc 0x00007f32e97e1424 fp 0x00007f32df67e558 sp 0x00007f32df67e4f8 [Unoptimized] _rootRun@4048458
  pc 0x00007f32e97dfc59 fp 0x00007f32df67e5b8 sp 0x00007f32df67e568 [Unoptimized] _rootRun@4048458
  pc 0x00007f32e97deda6 fp 0x00007f32df67e648 sp 0x00007f32df67e5c8 [Unoptimized] _CustomZone@4048458.run
  pc 0x00007f32e97e317f fp 0x00007f32df67e6b8 sp 0x00007f32df67e658 [Unoptimized] _CustomZone@4048458.runGuarded
  pc 0x00007f32e97e307d fp 0x00007f32df67e6f8 sp 0x00007f32df67e6c8 [Unoptimized] _CustomZone@4048458.bindCallbackGuarded.<anonymous closure>
  pc 0x00007f3309adc273 fp 0x00007f32df67e738 sp 0x00007f32df67e708 [Optimized] _microtaskLoop@4048458
  pc 0x00007f331037bc9b fp 0x00007f32df67e778 sp 0x00007f32df67e748 [Unoptimized] _startMicrotaskLoop@4048458
  pc 0x00007f331037bbc9 fp 0x00007f32df67e7a0 sp 0x00007f32df67e788 [Unoptimized] _startMicrotaskLoop@4048458
  pc 0x00007f3310357501 fp 0x00007f32df67e7e0 sp 0x00007f32df67e7b0 [Unoptimized] _runPendingImmediateCallback@1026248
  pc 0x00007f3310358bad fp 0x00007f32df67e860 sp 0x00007f32df67e7f0 [Unoptimized] _Timer@1026248._runTimers@1026248
  pc 0x00007f33103578b1 fp 0x00007f32df67e898 sp 0x00007f32df67e870 [Unoptimized] _Timer@1026248._handleMessage@1026248
  pc 0x00007f33103575dc fp 0x00007f32df67e8c8 sp 0x00007f32df67e8a8 [Unoptimized] _Timer@1026248._handleMessage@1026248
  pc 0x00007f3310323a48 fp 0x00007f32df67e930 sp 0x00007f32df67e8d8 [Unoptimized] _Closure@0150898.dyn:call
  pc 0x00007f33103232f3 fp 0x00007f32df67e980 sp 0x00007f32df67e940 [Unoptimized] _RawReceivePortImpl@1026248._handleMessage@1026248
  pc 0x00007f33161829af fp 0x00007f32df67e9f8 sp 0x00007f32df67e990 [Stub] InvokeDartCode
@aam aam added the area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. label Sep 29, 2021
@aam
Copy link
Contributor Author

aam commented Sep 29, 2021

It looks like similar failure happened on front-end-mac-release-x64 ci bot resulting in purple bot

Running suite fasta/weak (2 of 10)

===== CRASH =====
si_signo=Segmentation fault: 11(11), si_code=1, si_addr=0x70000bfb6510
version=2.15.0-edge.8709989040b3a56c5b67eefda3c11f30deb40a49 (be) (Tue Sep 28 23:58:52 2021 +0000) on "macos_x64"
pid=57598, thread=5639, isolate_group=main(0x7fed55008a00), isolate=runSuite(0x7fed558ab400)
isolate_instructions=103e4eb60, vm_instructions=103e4eb60
  pc 0x00000001044522ea fp 0x0000700003b49b80 dart::FlowGraphCompiler::AllocateRegistersLocally(dart::Instruction*)+0x22a
  pc 0x000000010445336f fp 0x0000700003b49d40 dart::FlowGraphCompiler::VisitBlocks()+0xa0f
  pc 0x000000010445be6f fp 0x0000700003b49d60 dart::FlowGraphCompiler::CompileGraph()+0x1f
  pc 0x0000000104148da0 fp 0x0000700003b4a420 dart::CompileParsedFunctionHelper::Compile(dart::CompilationPipeline*)+0x6d0
  pc 0x000000010414959c fp 0x0000700003b4a610 dart::Compiler::CompileFunction(dart::Thread*, dart::Function const&)+0x4dc
  pc 0x00000001041491b8 fp 0x0000700003b4a6a0 dart::Compiler::CompileFunction(dart::Thread*, dart::Function const&)+0xf8
  pc 0x000000010404c777 fp 0x0000700003b4a6e0 dart::Function::EnsureHasCode() const+0x47
  pc 0x0000000104147fa3 fp 0x0000700003b4a7d0 dart::DRT_CompileFunction(dart::NativeArguments)+0x1a3
  pc 0x0000000106582563 fp 0x0000700003b4a818 Unknown symbol
  pc 0x00000001065825c4 fp 0x0000700003b4a848 Unknown symbol
  pc 0x000000010db19dce fp 0x0000700003b4a8c0 Unknown symbol
  pc 0x000000010db19bf1 fp 0x0000700003b4a930 Unknown symbol
  pc 0x000000010db199fd fp 0x0000700003b4aa40 Unknown symbol
  pc 0x000000010db190ae fp 0x0000700003b4aae0 Unknown symbol
  pc 0x000000010db0e072 fp 0x0000700003b4abb8 Unknown symbol
  pc 0x000000014bd9535b fp 0x0000700003b4ac38 Unknown symbol
  pc 0x000000010db0c8b7 fp 0x0000700003b4ad10 Unknown symbol
  pc 0x000000010db17a0e fp 0x0000700003b4ad90 Unknown symbol
  pc 0x0000000114c9179c fp 0x0000700003b4ae28 Unknown symbol
  pc 0x00000001127b8b2c fp 0x0000700003b4aea0 Unknown symbol
  pc 0x00000001127b89cc fp 0x0000700003b4af08 Unknown symbol
  pc 0x00000001139057f4 fp 0x0000700003b4af98 Unknown symbol
  pc 0x000000011390e816 fp 0x0000700003b4b010 Unknown symbol
  pc 0x00000001127f9a5f fp 0x0000700003b4b078 Unknown symbol
  pc 0x000000010bb6d93e fp 0x0000700003b4b0c0 Unknown symbol
  pc 0x000000010bb6d1a5 fp 0x0000700003b4b100 Unknown symbol
  pc 0x000000010def7b69 fp 0x0000700003b4b1a0 Unknown symbol
  pc 0x00000001127b8b2c fp 0x0000700003b4b218 Unknown symbol
  pc 0x00000001127b89cc fp 0x0000700003b4b280 Unknown symbol
  pc 0x00000001139057f4 fp 0x0000700003b4b310 Unknown symbol
  pc 0x000000011390e816 fp 0x0000700003b4b388 Unknown symbol
  pc 0x00000001127f9a5f fp 0x0000700003b4b3f0 Unknown symbol
  pc 0x000000010bb6d93e fp 0x0000700003b4b438 Unknown symbol
  pc 0x000000010bb6d1a5 fp 0x0000700003b4b478 Unknown symbol
  pc 0x00000001127840d3 fp 0x0000700003b4b518 Unknown symbol
  pc 0x00000001127b8b2c fp 0x0000700003b4b590 Unknown symbol
  pc 0x00000001127b89cc fp 0x0000700003b4b5f8 Unknown symbol
  pc 0x00000001139057f4 fp 0x0000700003b4b688 Unknown symbol
  pc 0x000000011390e816 fp 0x0000700003b4b700 Unknown symbol
  pc 0x00000001127f9a5f fp 0x0000700003b4b768 Unknown symbol
  pc 0x000000010bb6d93e fp 0x0000700003b4b7b0 Unknown symbol
  pc 0x000000010bb6d1a5 fp 0x0000700003b4b7f0 Unknown symbol
  pc 0x000000010de835b0 fp 0x0000700003b4b890 Unknown symbol
  pc 0x00000001127b8b2c fp 0x0000700003b4b908 Unknown symbol
  pc 0x00000001127b89cc fp 0x0000700003b4b970 Unknown symbol
  pc 0x00000001139057f4 fp 0x0000700003b4ba00 Unknown symbol
  pc 0x000000011390e816 fp 0x0000700003b4ba78 Unknown symbol
  pc 0x00000001127f9a5f fp 0x0000700003b4bae0 Unknown symbol
  pc 0x000000010bb6d93e fp 0x0000700003b4bb28 Unknown symbol
  pc 0x000000010bb6d1a5 fp 0x0000700003b4bb68 Unknown symbol
  pc 0x000000010defc3a9 fp 0x0000700003b4bc08 Unknown symbol
  pc 0x00000001127b8b2c fp 0x0000700003b4bc80 Unknown symbol
  pc 0x00000001127b89cc fp 0x0000700003b4bce8 Unknown symbol
  pc 0x00000001139057f4 fp 0x0000700003b4bd78 Unknown symbol
  pc 0x000000011390e816 fp 0x0000700003b4bdf0 Unknown symbol
  pc 0x00000001127f9a5f fp 0x0000700003b4be58 Unknown symbol
  pc 0x000000010bb6d93e fp 0x0000700003b4bea0 Unknown symbol
  pc 0x000000010bb6d1a5 fp 0x0000700003b4bee0 Unknown symbol
  pc 0x000000013aefcae4 fp 0x0000700003b4bf90 Unknown symbol
  pc 0x00000001127b8b2c fp 0x0000700003b4c008 Unknown symbol
  pc 0x00000001127b89cc fp 0x0000700003b4c070 Unknown symbol
  pc 0x00000001139057f4 fp 0x0000700003b4c100 Unknown symbol
  pc 0x000000011390e816 fp 0x0000700003b4c178 Unknown symbol
  pc 0x00000001127f9a5f fp 0x0000700003b4c1e0 Unknown symbol
  pc 0x000000010bb6d93e fp 0x0000700003b4c228 Unknown symbol
  pc 0x000000010bb6d1a5 fp 0x0000700003b4c268 Unknown symbol
  pc 0x000000013aef7c73 fp 0x0000700003b4c320 Unknown symbol
  pc 0x00000001127b8b2c fp 0x0000700003b4c398 Unknown symbol
  pc 0x00000001127b89cc fp 0x0000700003b4c400 Unknown symbol
  pc 0x00000001139057f4 fp 0x0000700003b4c490 Unknown symbol
  pc 0x000000011390e816 fp 0x0000700003b4c508 Unknown symbol
  pc 0x00000001127f9a5f fp 0x0000700003b4c570 Unknown symbol
  pc 0x000000010bb6d93e fp 0x0000700003b4c5b8 Unknown symbol
  pc 0x000000010bb7bc3d fp 0x0000700003b4c5f8 Unknown symbol
  pc 0x0000000112789c44 fp 0x0000700003b4c668 Unknown symbol
  pc 0x00000001127899c9 fp 0x0000700003b4c6c8 Unknown symbol
  pc 0x00000001127892d6 fp 0x0000700003b4c758 Unknown symbol
  pc 0x000000011278c4af fp 0x0000700003b4c7c8 Unknown symbol
  pc 0x000000011278c3ad fp 0x0000700003b4c808 Unknown symbol
  pc 0x000000011391ad55 fp 0x0000700003b4c848 Unknown symbol
  pc 0x000000010bb7b64b fp 0x0000700003b4c888 Unknown symbol
  pc 0x000000010bb7b579 fp 0x0000700003b4c8b0 Unknown symbol
  pc 0x000000010bb57501 fp 0x0000700003b4c8f0 Unknown symbol
  pc 0x000000010bb58bad fp 0x0000700003b4c970 Unknown symbol
  pc 0x000000010bb578b1 fp 0x0000700003b4c9a8 Unknown symbol
  pc 0x000000010bb575dc fp 0x0000700003b4c9d8 Unknown symbol
  pc 0x000000010bb23a48 fp 0x0000700003b4ca40 Unknown symbol
  pc 0x000000010bb232f3 fp 0x0000700003b4ca90 Unknown symbol
  pc 0x00000001065829af fp 0x0000700003b4cb08 Unknown symbol
  pc 0x0000000103fb5483 fp 0x0000700003b4cbb0 dart::DartEntry::InvokeCode(dart::Code const&, unsigned long, dart::Array const&, dart::Array const&, dart::Thread*)+0x153
  pc 0x0000000103fb52ce fp 0x0000700003b4cc10 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long)+0x13e
  pc 0x0000000103fb77b5 fp 0x0000700003b4cc60 dart::DartLibraryCalls::HandleMessage(long long, dart::Instance const&)+0x155
  pc 0x0000000103fdf242 fp 0x0000700003b4cd40 dart::IsolateMessageHandler::HandleMessage(std::__2::unique_ptr<dart::Message, std::__2::default_delete<dart::Message> >)+0x2b2
  pc 0x000000010400944c fp 0x0000700003b4cdb0 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)+0x12c
  pc 0x0000000104009b7f fp 0x0000700003b4ce10 dart::MessageHandler::TaskCallback()+0x1df
  pc 0x0000000104136028 fp 0x0000700003b4ce90 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)+0x148
  pc 0x000000010413648d fp 0x0000700003b4cec0 dart::ThreadPool::Worker::Main(unsigned long)+0x5d
  pc 0x00000001040ac11f fp 0x0000700003b4cf10 dart::OSThread::GetMaxStackSize()+0xaf
  pc 0x00007fff6a1a62eb fp 0x0000700003b4cf30 _pthread_body+0x7e
  pc 0x00007fff6a1a9249 fp 0x0000700003b4cf50 _pthread_start+0x42
  pc 0x00007fff6a1a540d fp 0x0000700003b4cf78 thread_start+0xd
-- End of DumpStackTrace
  pc 0x0000000000000000 fp 0x0000700003b4a818 sp 0x0000000000000000 [Stub] CallToRuntime
  pc 0x00000001065825c4 fp 0x0000700003b4a848 sp 0x0000700003b4a828 [Stub] LazyCompile
  pc 0x000000010db19dce fp 0x0000700003b4a8c0 sp 0x0000700003b4a858 [Unoptimized] new TypeParameterScopeBuilder.library
  pc 0x000000010db19bf1 fp 0x0000700003b4a930 sp 0x0000700003b4a8d0 [Unoptimized] new SourceLibraryBuilder.internal
  pc 0x000000010db199fd fp 0x0000700003b4aa40 sp 0x0000700003b4a940 [Unoptimized] new SourceLibraryBuilder.
  pc 0x000000010db190ae fp 0x0000700003b4aae0 sp 0x0000700003b4aa50 [Unoptimized] KernelTarget.createLibraryBuilder
  pc 0x000000010db0e072 fp 0x0000700003b4abb8 sp 0x0000700003b4aaf0 [Unoptimized] Loader.read.<anonymous closure>
  pc 0x000000014bd9535b fp 0x0000700003b4ac38 sp 0x0000700003b4abc8 [Unoptimized] __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin@3220832.putIfAbsent
  pc 0x000000010db0c8b7 fp 0x0000700003b4ad10 sp 0x0000700003b4ac48 [Unoptimized] Loader.read
  pc 0x000000010db17a0e fp 0x0000700003b4ad90 sp 0x0000700003b4ad20 [Unoptimized] KernelTarget.setEntryPoints
  pc 0x0000000114c9179c fp 0x0000700003b4ae28 sp 0x0000700003b4ada0 [Unoptimized] Outline.outlineInitialization
  pc 0x00000001127b8b2c fp 0x0000700003b4aea0 sp 0x0000700003b4ae38 [Unoptimized] _rootRunUnary@4048458
  pc 0x00000001127b89cc fp 0x0000700003b4af08 sp 0x0000700003b4aeb0 [Unoptimized] _rootRunUnary@4048458
  pc 0x00000001139057f4 fp 0x0000700003b4af98 sp 0x0000700003b4af18 [Optimized] _FutureListener@4048458.handleValue
  pc 0x000000011390e816 fp 0x0000700003b4b010 sp 0x0000700003b4afa8 [Optimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00000001127f9a5f fp 0x0000700003b4b078 sp 0x0000700003b4b020 [Optimized] _Future@4048458._propagateToListeners@4048458
  pc 0x000000010bb6d93e fp 0x0000700003b4b0c0 sp 0x0000700003b4b088 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x000000010bb6d1a5 fp 0x0000700003b4b100 sp 0x0000700003b4b0d0 [Unoptimized] _completeOnAsyncReturn@4048458
  pc 0x000000010def7b69 fp 0x0000700003b4b1a0 sp 0x0000700003b4b110 [Unoptimized] FastaContext.computeUriTranslator
  pc 0x00000001127b8b2c fp 0x0000700003b4b218 sp 0x0000700003b4b1b0 [Unoptimized] _rootRunUnary@4048458
  pc 0x00000001127b89cc fp 0x0000700003b4b280 sp 0x0000700003b4b228 [Unoptimized] _rootRunUnary@4048458
  pc 0x00000001139057f4 fp 0x0000700003b4b310 sp 0x0000700003b4b290 [Optimized] _FutureListener@4048458.handleValue
  pc 0x000000011390e816 fp 0x0000700003b4b388 sp 0x0000700003b4b320 [Optimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00000001127f9a5f fp 0x0000700003b4b3f0 sp 0x0000700003b4b398 [Optimized] _Future@4048458._propagateToListeners@4048458
  pc 0x000000010bb6d93e fp 0x0000700003b4b438 sp 0x0000700003b4b400 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x000000010bb6d1a5 fp 0x0000700003b4b478 sp 0x0000700003b4b448 [Unoptimized] _completeOnAsyncReturn@4048458
  pc 0x00000001127840d3 fp 0x0000700003b4b518 sp 0x0000700003b4b488 [Unoptimized] ProcessedOptions.getUriTranslator
  pc 0x00000001127b8b2c fp 0x0000700003b4b590 sp 0x0000700003b4b528 [Unoptimized] _rootRunUnary@4048458
  pc 0x00000001127b89cc fp 0x0000700003b4b5f8 sp 0x0000700003b4b5a0 [Unoptimized] _rootRunUnary@4048458
  pc 0x00000001139057f4 fp 0x0000700003b4b688 sp 0x0000700003b4b608 [Optimized] _FutureListener@4048458.handleValue
  pc 0x000000011390e816 fp 0x0000700003b4b700 sp 0x0000700003b4b698 [Optimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00000001127f9a5f fp 0x0000700003b4b768 sp 0x0000700003b4b710 [Optimized] _Future@4048458._propagateToListeners@4048458
  pc 0x000000010bb6d93e fp 0x0000700003b4b7b0 sp 0x0000700003b4b778 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x000000010bb6d1a5 fp 0x0000700003b4b7f0 sp 0x0000700003b4b7c0 [Unoptimized] _completeOnAsyncReturn@4048458
  pc 0x000000010de835b0 fp 0x0000700003b4b890 sp 0x0000700003b4b800 [Unoptimized] ProcessedOptions._getPackages@63081600
  pc 0x00000001127b8b2c fp 0x0000700003b4b908 sp 0x0000700003b4b8a0 [Unoptimized] _rootRunUnary@4048458
  pc 0x00000001127b89cc fp 0x0000700003b4b970 sp 0x0000700003b4b918 [Unoptimized] _rootRunUnary@4048458
  pc 0x00000001139057f4 fp 0x0000700003b4ba00 sp 0x0000700003b4b980 [Optimized] _FutureListener@4048458.handleValue
  pc 0x000000011390e816 fp 0x0000700003b4ba78 sp 0x0000700003b4ba10 [Optimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00000001127f9a5f fp 0x0000700003b4bae0 sp 0x0000700003b4ba88 [Optimized] _Future@4048458._propagateToListeners@4048458
  pc 0x000000010bb6d93e fp 0x0000700003b4bb28 sp 0x0000700003b4baf0 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x000000010bb6d1a5 fp 0x0000700003b4bb68 sp 0x0000700003b4bb38 [Unoptimized] _completeOnAsyncReturn@4048458
  pc 0x000000010defc3a9 fp 0x0000700003b4bc08 sp 0x0000700003b4bb78 [Unoptimized] ProcessedOptions.createPackagesFromFile
  pc 0x00000001127b8b2c fp 0x0000700003b4bc80 sp 0x0000700003b4bc18 [Unoptimized] _rootRunUnary@4048458
  pc 0x00000001127b89cc fp 0x0000700003b4bce8 sp 0x0000700003b4bc90 [Unoptimized] _rootRunUnary@4048458
  pc 0x00000001139057f4 fp 0x0000700003b4bd78 sp 0x0000700003b4bcf8 [Optimized] _FutureListener@4048458.handleValue
  pc 0x000000011390e816 fp 0x0000700003b4bdf0 sp 0x0000700003b4bd88 [Optimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00000001127f9a5f fp 0x0000700003b4be58 sp 0x0000700003b4be00 [Optimized] _Future@4048458._propagateToListeners@4048458
  pc 0x000000010bb6d93e fp 0x0000700003b4bea0 sp 0x0000700003b4be68 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x000000010bb6d1a5 fp 0x0000700003b4bee0 sp 0x0000700003b4beb0 [Unoptimized] _completeOnAsyncReturn@4048458
  pc 0x000000013aefcae4 fp 0x0000700003b4bf90 sp 0x0000700003b4bef0 [Unoptimized] ProcessedOptions._createPackagesFromFile@63081600
  pc 0x00000001127b8b2c fp 0x0000700003b4c008 sp 0x0000700003b4bfa0 [Unoptimized] _rootRunUnary@4048458
  pc 0x00000001127b89cc fp 0x0000700003b4c070 sp 0x0000700003b4c018 [Unoptimized] _rootRunUnary@4048458
  pc 0x00000001139057f4 fp 0x0000700003b4c100 sp 0x0000700003b4c080 [Optimized] _FutureListener@4048458.handleValue
  pc 0x000000011390e816 fp 0x0000700003b4c178 sp 0x0000700003b4c110 [Optimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00000001127f9a5f fp 0x0000700003b4c1e0 sp 0x0000700003b4c188 [Optimized] _Future@4048458._propagateToListeners@4048458
  pc 0x000000010bb6d93e fp 0x0000700003b4c228 sp 0x0000700003b4c1f0 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x000000010bb6d1a5 fp 0x0000700003b4c268 sp 0x0000700003b4c238 [Unoptimized] _completeOnAsyncReturn@4048458
  pc 0x000000013aef7c73 fp 0x0000700003b4c320 sp 0x0000700003b4c278 [Unoptimized] ProcessedOptions._readFile@63081600
  pc 0x00000001127b8b2c fp 0x0000700003b4c398 sp 0x0000700003b4c330 [Unoptimized] _rootRunUnary@4048458
  pc 0x00000001127b89cc fp 0x0000700003b4c400 sp 0x0000700003b4c3a8 [Unoptimized] _rootRunUnary@4048458
  pc 0x00000001139057f4 fp 0x0000700003b4c490 sp 0x0000700003b4c410 [Optimized] _FutureListener@4048458.handleValue
  pc 0x000000011390e816 fp 0x0000700003b4c508 sp 0x0000700003b4c4a0 [Optimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00000001127f9a5f fp 0x0000700003b4c570 sp 0x0000700003b4c518 [Optimized] _Future@4048458._propagateToListeners@4048458
  pc 0x000000010bb6d93e fp 0x0000700003b4c5b8 sp 0x0000700003b4c580 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x000000010bb7bc3d fp 0x0000700003b4c5f8 sp 0x0000700003b4c5c8 [Unoptimized] _Future@4048458._asyncCompleteWithValue@4048458.<anonymous closure>
  pc 0x0000000112789c44 fp 0x0000700003b4c668 sp 0x0000700003b4c608 [Unoptimized] _rootRun@4048458
  pc 0x00000001127899c9 fp 0x0000700003b4c6c8 sp 0x0000700003b4c678 [Unoptimized] _rootRun@4048458
  pc 0x00000001127892d6 fp 0x0000700003b4c758 sp 0x0000700003b4c6d8 [Unoptimized] _CustomZone@4048458.run
  pc 0x000000011278c4af fp 0x0000700003b4c7c8 sp 0x0000700003b4c768 [Unoptimized] _CustomZone@4048458.runGuarded
  pc 0x000000011278c3ad fp 0x0000700003b4c808 sp 0x0000700003b4c7d8 [Unoptimized] _CustomZone@4048458.bindCallbackGuarded.<anonymous closure>
  pc 0x000000011391ad55 fp 0x0000700003b4c848 sp 0x0000700003b4c818 [Optimized] _microtaskLoop@4048458
  pc 0x000000010bb7b64b fp 0x0000700003b4c888 sp 0x0000700003b4c858 [Unoptimized] _startMicrotaskLoop@4048458
  pc 0x000000010bb7b579 fp 0x0000700003b4c8b0 sp 0x0000700003b4c898 [Unoptimized] _startMicrotaskLoop@4048458
  pc 0x000000010bb57501 fp 0x0000700003b4c8f0 sp 0x0000700003b4c8c0 [Unoptimized] _runPendingImmediateCallback@1026248
  pc 0x000000010bb58bad fp 0x0000700003b4c970 sp 0x0000700003b4c900 [Unoptimized] _Timer@1026248._runTimers@1026248
  pc 0x000000010bb578b1 fp 0x0000700003b4c9a8 sp 0x0000700003b4c980 [Unoptimized] _Timer@1026248._handleMessage@1026248
  pc 0x000000010bb575dc fp 0x0000700003b4c9d8 sp 0x0000700003b4c9b8 [Unoptimized] _Timer@1026248._handleMessage@1026248
  pc 0x000000010bb23a48 fp 0x0000700003b4ca40 sp 0x0000700003b4c9e8 [Unoptimized] _Closure@0150898.dyn:call
  pc 0x000000010bb232f3 fp 0x0000700003b4ca90 sp 0x0000700003b4ca50 [Unoptimized] _RawReceivePortImpl@1026248._handleMessage@1026248
  pc 0x00000001065829af fp 0x0000700003b4cb08 sp 0x0000700003b4caa0 [Stub] InvokeDartCode

@a-siva
Copy link
Contributor

a-siva commented Sep 29, 2021

/cc @alexmarkov

@alexmarkov alexmarkov self-assigned this Sep 29, 2021
@alexmarkov
Copy link
Contributor

Tried running release, debug, TSAN and ASAN versions multiple times. Also tried running under rr. So far, I wasn't able to reproduce the crash.

@alexmarkov
Copy link
Contributor

The crash happens in the following code

  for (intptr_t i = 0; i < locs->temp_count(); i++) {
    Location loc = locs->temp(i);
    if (loc.IsRegister()) {
      // Check that a register is not specified twice in the summary.
      ASSERT(!blocked_registers[loc.reg()]);
      blocked_registers[loc.reg()] = true;
    } else if (loc.IsFpuRegister()) {
      // Check that a register is not specified twice in the summary.
      ASSERT(!blocked_fpu_registers[loc.fpu_reg()]);
      blocked_fpu_registers[loc.fpu_reg()] = true;  // <===== !!!!!
    }
  }

when writing true to blocked_fpu_registers. The address of invalid access is pretty far from printed FP addresses, so it looks like instr->locs()->temps(i)->fpu_reg() is garbage for some i < locs->temp_count(), while loc.IsFpuRegister() is true.

@alexmarkov
Copy link
Contributor

Happened once again on front-end-linux-release-x64-try bot:

Running suite dartdoctest
Running suite fasta/outline (2 of 2)
Running suite fasta/text_serialization (2 of 10)
Running suite fasta/text_serialization (5 of 10)
Running suite fasta/text_serialization (8 of 10)
Running suite fasta/strong (1 of 2)
Running suite incremental (1 of 2)

===== CRASH =====
si_signo=Segmentation fault(11), si_code=1, si_addr=0x7f4e5ccb4ff5
version=2.15.0-edge.8db6adad538e4583136645c4096106bd2fcc394e (be) (Thu Sep 30 02:19:01 2021 +0000) on "linux_x64"
pid=20391, thread=20403, isolate_group=main(0x55c2ee1e3000), isolate=runSuite(0x55c2ee399800)
isolate_instructions=55c2ec23baa0, vm_instructions=55c2ec23baa0
  pc 0x000055c2ec7f88d0 fp 0x00007f4debffbcd0 dart::FlowGraphCompiler::AllocateRegistersLocally(dart::Instruction*)+0x270
  pc 0x000055c2ec7f9849 fp 0x00007f4debffbe90 dart::FlowGraphCompiler::VisitBlocks()+0x999
  pc 0x000055c2ec801daf fp 0x00007f4debffbeb0 dart::FlowGraphCompiler::CompileGraph()+0x1f
  pc 0x000055c2ec52ec33 fp 0x00007f4debffc590 dart::CompileParsedFunctionHelper::Compile(dart::CompilationPipeline*)+0x783
  pc 0x000055c2ec52f5ac fp 0x00007f4debffc7a0 /b/s/w/ir/out/ReleaseX64/dart-sdk/bin/dart+0x208c5ac
  pc 0x000055c2ec52f14a fp 0x00007f4debffc830 dart::Compiler::CompileFunction(dart::Thread*, dart::Function const&)+0x11a
  pc 0x000055c2ec4447f1 fp 0x00007f4debffc870 dart::Function::EnsureHasCode() const+0x61
  pc 0x000055c2ec52dd53 fp 0x00007f4debffc960 dart::DRT_CompileFunction(dart::NativeArguments)+0x1a3
  pc 0x00007f4e19582563 fp 0x00007f4debffc9a0 Unknown symbol
  pc 0x00007f4e195825c4 fp 0x00007f4debffc9d0 Unknown symbol
  pc 0x00007f4e04bc2982 fp 0x00007f4debffcb28 Unknown symbol
  pc 0x00007f4e04bc101e fp 0x00007f4debffcbf8 Unknown symbol
  pc 0x00007f4e04bbb64a fp 0x00007f4debffcc88 Unknown symbol
  pc 0x00007f4e04bb1898 fp 0x00007f4debffcd50 Unknown symbol
  pc 0x00007f4e04bae87b fp 0x00007f4debffce60 Unknown symbol
  pc 0x00007f4e04ba5449 fp 0x00007f4debffcec0 Unknown symbol
  pc 0x00007f4e04ba3bdc fp 0x00007f4debffcf28 Unknown symbol
  pc 0x00007f4e04b8c424 fp 0x00007f4debffcfc8 Unknown symbol
  pc 0x00007f4e121341bc fp 0x00007f4debffd040 Unknown symbol
  pc 0x00007f4e1213405c fp 0x00007f4debffd0a8 Unknown symbol
  pc 0x00007f4e0a5020e4 fp 0x00007f4debffd138 Unknown symbol
  pc 0x00007f4e0a519e06 fp 0x00007f4debffd1b0 Unknown symbol
  pc 0x00007f4e0c4daf7f fp 0x00007f4debffd218 Unknown symbol
  pc 0x00007f4e13772b2e fp 0x00007f4debffd260 Unknown symbol
  pc 0x00007f4e137723f5 fp 0x00007f4debffd2a0 Unknown symbol
  pc 0x00007f4e04b8eebf fp 0x00007f4debffd370 Unknown symbol
  pc 0x00007f4e121341bc fp 0x00007f4debffd3e8 Unknown symbol
  pc 0x00007f4e1213405c fp 0x00007f4debffd450 Unknown symbol
  pc 0x00007f4e0a5020e4 fp 0x00007f4debffd4e0 Unknown symbol
  pc 0x00007f4e0a519e06 fp 0x00007f4debffd558 Unknown symbol
  pc 0x00007f4e0c4daf7f fp 0x00007f4debffd5c0 Unknown symbol
  pc 0x00007f4e13772b2e fp 0x00007f4debffd608 Unknown symbol
  pc 0x00007f4e1377ac2d fp 0x00007f4debffd648 Unknown symbol
  pc 0x00007f4e1212e1f4 fp 0x00007f4debffd6b8 Unknown symbol
  pc 0x00007f4e1212df79 fp 0x00007f4debffd718 Unknown symbol
  pc 0x00007f4e1212d886 fp 0x00007f4debffd7a8 Unknown symbol
  pc 0x00007f4e121309ef fp 0x00007f4debffd818 Unknown symbol
  pc 0x00007f4e121308ed fp 0x00007f4debffd858 Unknown symbol
  pc 0x00007f4e0a5440d3 fp 0x00007f4debffd898 Unknown symbol
  pc 0x00007f4e1377a63b fp 0x00007f4debffd8d8 Unknown symbol
  pc 0x00007f4e1377a569 fp 0x00007f4debffd900 Unknown symbol
  pc 0x00007f4e137574c1 fp 0x00007f4debffd940 Unknown symbol
  pc 0x00007f4e13723228 fp 0x00007f4debffd980 Unknown symbol
  pc 0x00007f4e195829af fp 0x00007f4debffd9f8 Unknown symbol
  pc 0x000055c2ec3b2383 fp 0x00007f4debffdaa0 dart::DartEntry::InvokeCode(dart::Code const&, unsigned long, dart::Array const&, dart::Array const&, dart::Thread*)+0x153
  pc 0x000055c2ec3b21d5 fp 0x00007f4debffdb00 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long)+0x165
  pc 0x000055c2ec3b481f fp 0x00007f4debffdb50 dart::DartLibraryCalls::HandleMessage(long, dart::Instance const&)+0x16f
  pc 0x000055c2ec3db71c fp 0x00007f4debffdc30 dart::IsolateMessageHandler::HandleMessage(std::__2::unique_ptr<dart::Message, std::__2::default_delete<dart::Message> >)+0x2cc
  pc 0x000055c2ec403bcc fp 0x00007f4debffdca0 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)+0x14c
  pc 0x000055c2ec4042ef fp 0x00007f4debffdd00 dart::MessageHandler::TaskCallback()+0x1df
  pc 0x000055c2ec51cea8 fp 0x00007f4debffdd80 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)+0x148
  pc 0x000055c2ec51d2dc fp 0x00007f4debffddb0 dart::ThreadPool::Worker::Main(unsigned long)+0x5c
  pc 0x000055c2ec49a058 fp 0x00007f4debffde70 /b/s/w/ir/out/ReleaseX64/dart-sdk/bin/dart+0x1ff7058
-- End of DumpStackTrace
  pc 0x0000000000000000 fp 0x00007f4debffc9a0 sp 0x0000000000000000 [Stub] CallToRuntime
  pc 0x00007f4e195825c4 fp 0x00007f4debffc9d0 sp 0x00007f4debffc9b0 [Stub] LazyCompile
  pc 0x00007f4e04bc2982 fp 0x00007f4debffcb28 sp 0x00007f4debffc9e0 [Unoptimized] SourceLibraryBuilder.addField
  pc 0x00007f4e04bc101e fp 0x00007f4debffcbf8 sp 0x00007f4debffcb38 [Unoptimized] SourceLibraryBuilder.addFields
  pc 0x00007f4e04bbb64a fp 0x00007f4debffcc88 sp 0x00007f4debffcc08 [Unoptimized] OutlineBuilder.endTopLevelFields
  pc 0x00007f4e04bb1898 fp 0x00007f4debffcd50 sp 0x00007f4debffcc98 [Unoptimized] Parser.parseFields
  pc 0x00007f4e04bae87b fp 0x00007f4debffce60 sp 0x00007f4debffcd60 [Unoptimized] Parser.parseTopLevelMemberImpl
  pc 0x00007f4e04ba5449 fp 0x00007f4debffcec0 sp 0x00007f4debffce70 [Unoptimized] Parser.parseTopLevelDeclarationImpl
  pc 0x00007f4e04ba3bdc fp 0x00007f4debffcf28 sp 0x00007f4debffced0 [Unoptimized] Parser.parseUnit
  pc 0x00007f4e04b8c424 fp 0x00007f4debffcfc8 sp 0x00007f4debffcf38 [Unoptimized] SourceLoader.buildOutline
  pc 0x00007f4e121341bc fp 0x00007f4debffd040 sp 0x00007f4debffcfd8 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007f4e1213405c fp 0x00007f4debffd0a8 sp 0x00007f4debffd050 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007f4e0a5020e4 fp 0x00007f4debffd138 sp 0x00007f4debffd0b8 [Optimized] _FutureListener@4048458.handleValue
  pc 0x00007f4e0a519e06 fp 0x00007f4debffd1b0 sp 0x00007f4debffd148 [Optimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00007f4e0c4daf7f fp 0x00007f4debffd218 sp 0x00007f4debffd1c0 [Optimized] _Future@4048458._propagateToListeners@4048458
  pc 0x00007f4e13772b2e fp 0x00007f4debffd260 sp 0x00007f4debffd228 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x00007f4e137723f5 fp 0x00007f4debffd2a0 sp 0x00007f4debffd270 [Unoptimized] _completeOnAsyncReturn@4048458
  pc 0x00007f4e04b8eebf fp 0x00007f4debffd370 sp 0x00007f4debffd2b0 [Unoptimized] SourceLoader.tokenize
  pc 0x00007f4e121341bc fp 0x00007f4debffd3e8 sp 0x00007f4debffd380 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007f4e1213405c fp 0x00007f4debffd450 sp 0x00007f4debffd3f8 [Unoptimized] _rootRunUnary@4048458
  pc 0x00007f4e0a5020e4 fp 0x00007f4debffd4e0 sp 0x00007f4debffd460 [Optimized] _FutureListener@4048458.handleValue
  pc 0x00007f4e0a519e06 fp 0x00007f4debffd558 sp 0x00007f4debffd4f0 [Optimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x00007f4e0c4daf7f fp 0x00007f4debffd5c0 sp 0x00007f4debffd568 [Optimized] _Future@4048458._propagateToListeners@4048458
  pc 0x00007f4e13772b2e fp 0x00007f4debffd608 sp 0x00007f4debffd5d0 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x00007f4e1377ac2d fp 0x00007f4debffd648 sp 0x00007f4debffd618 [Unoptimized] _Future@4048458._asyncCompleteWithValue@4048458.<anonymous closure>
  pc 0x00007f4e1212e1f4 fp 0x00007f4debffd6b8 sp 0x00007f4debffd658 [Unoptimized] _rootRun@4048458
  pc 0x00007f4e1212df79 fp 0x00007f4debffd718 sp 0x00007f4debffd6c8 [Unoptimized] _rootRun@4048458
  pc 0x00007f4e1212d886 fp 0x00007f4debffd7a8 sp 0x00007f4debffd728 [Unoptimized] _CustomZone@4048458.run
  pc 0x00007f4e121309ef fp 0x00007f4debffd818 sp 0x00007f4debffd7b8 [Unoptimized] _CustomZone@4048458.runGuarded
  pc 0x00007f4e121308ed fp 0x00007f4debffd858 sp 0x00007f4debffd828 [Unoptimized] _CustomZone@4048458.bindCallbackGuarded.<anonymous closure>
  pc 0x00007f4e0a5440d3 fp 0x00007f4debffd898 sp 0x00007f4debffd868 [Optimized] _microtaskLoop@4048458
  pc 0x00007f4e1377a63b fp 0x00007f4debffd8d8 sp 0x00007f4debffd8a8 [Unoptimized] _startMicrotaskLoop@4048458
  pc 0x00007f4e1377a569 fp 0x00007f4debffd900 sp 0x00007f4debffd8e8 [Unoptimized] _startMicrotaskLoop@4048458
  pc 0x00007f4e137574c1 fp 0x00007f4debffd940 sp 0x00007f4debffd910 [Unoptimized] _runPendingImmediateCallback@1026248
  pc 0x00007f4e13723228 fp 0x00007f4debffd980 sp 0x00007f4debffd950 [Unoptimized] _RawReceivePortImpl@1026248._handleMessage@1026248
  pc 0x00007f4e195829af fp 0x00007f4debffd9f8 sp 0x00007f4debffd990 [Stub] InvokeDartCode

https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8834682403897507825/+/u/unit_tests_suites__no_git__shard_1/task_stdout_stderr:_unit_tests_suites__no_git__shard_1

copybara-service bot pushed a commit that referenced this issue Oct 1, 2021
This change adds debug prints for flaky crash in compiler which
only appears on bots.

TEST=ci

Issue: #47314
Change-Id: I6653df11612d24e8a8e67e3e177484a70e308dcc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/215152
Auto-Submit: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Siva Annamalai <asiva@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
@mkustermann
Copy link
Member

Here's the analysis of such a crash:

It crashes during unoptimized compilation of _Utf8Decoder.

  _Utf8Decoder(this.allowMalformed) : _state = initial;

This unoptimized IL will have a StoreInstanceField("_state", Value(LoadLocal(...)), Value(Constant(0))) instruction. Looking at the code generation backend it looks like this:

LocationSummary* StoreInstanceFieldInstr::MakeLocationSummary(...) {
  const intptr_t kNumInputs = 2;
  const intptr_t kNumTemps = ... (IsPotentialUnboxedDartFieldStore() ? 3 : 0);

  LocationSummary* summary = new (zone) LocationSummary(
      zone, kNumInputs, kNumTemps,
       (... || IsPotentialUnboxedDartFieldStore())
            ? LocationSummary::kCallOnSlowPath
            : LocationSummary::kNoCall);

  ...
  if (...) {
  } else if (IsPotentialUnboxedDartFieldStore()) {
    summary->set_in(kValuePos, ShouldEmitStoreBarrier()
                                   ? Location::WritableRegister()
                                   : Location::RequiresRegister());
    summary->set_temp(0, Location::RequiresRegister());
    summary->set_temp(1, Location::RequiresRegister());
    summary->set_temp(2, opt ? Location::RequiresFpuRegister()
                             : Location::FpuRegisterLocation(XMM1));
  }
  ...
  return summary;
}

In the crash, the created LocationSummary has 3 temps allocated, but uses a LocationSummary::kNoCall and the temps didn't get initialized. So I suspect that IsPotentialUnboxedDartFieldStore() returns a different answer the second/third time it gets called.

Looking at IsPotentialUnboxedDartFieldStore():

bool StoreInstanceFieldInstr::IsPotentialUnboxedDartFieldStore() const {
  return slot().representation() == kTagged && slot().IsDartField() &&
         FlowGraphCompiler::IsPotentialUnboxedField(slot().field());
}

and then

bool FlowGraphCompiler::IsPotentialUnboxedField(const Field& field) {
  if (FLAG_precompiled_mode) {
    // kernel_loader.cc:ReadInferredType sets the guarded cid for fields based
    // on inferred types from TFA (if available). The guarded cid is therefore
    // proven to be correct.
    return IsUnboxedField(field);
  }
  return field.is_unboxing_candidate() &&
         (FlowGraphCompiler::IsUnboxedField(field) ||
          (field.guarded_cid() == kIllegalCid));
}

makes me believe the field is in kIllegalCid state first, which makes it return true, then another thread updates it to be kSmiCid and it will return false afterwards.

This happens because we don't clone Field objects for unoptimized compilations - which for the generated code might be ok, because it is conservative, but for the compiler this can lead to such bugs where consistency is required.

@aam Since you worked on the field guard support with --enable-isolate-groups, maybe you want to fix it?

@aam
Copy link
Contributor Author

aam commented Oct 5, 2021

@mkustermann cool analysis! How did you end up reproducing the failure?

This happens because we don't clone Field objects for unoptimized compilations - which for the generated code might be ok, because it is conservative, but for the compiler this can lead to such bugs where consistency is required.

Do you mean we could clone Field objects for unoptimized compilation and then reject compilation starting again?

@mkustermann
Copy link
Member

@mkustermann cool analysis! How did you end up reproducing the failure?

I've picked the commit where it happened last, run it the same way as the bot over night and it produced 3 core files in those 12 hours, one I looked at.

@alexmarkov alexmarkov removed their assignment Oct 5, 2021
copybara-service bot pushed a commit that referenced this issue Oct 7, 2021
This change replaces debug prints introduced in
https://dart-review.googlesource.com/c/sdk/+/215152
with assertions. We no longer need the printed information because
root cause of the flaky crashes is found.

TEST=ci

Issue: #47314
Change-Id: I2c37fa640bc64cf5295f8acd0fbfb2b63ec7cddf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/215883
Auto-Submit: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Siva Annamalai <asiva@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
@aam aam self-assigned this Oct 8, 2021
@a-siva a-siva added the P2 A bug or feature request we're likely to work on label Oct 12, 2021
@alexmarkov
Copy link
Contributor

The crash also appears on one of the flaky tests (this could be easier to reproduce):

/===================================================================================================\
| dartk-strong-mac-release-x64:standalone/io/http_basic_test/0 broke (Pass -> Crash, expected Pass) |
\===================================================================================================/

--- Command "vm" (took 06.000769s):
DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart --enable-isolate-groups --sound-null-safety --ignore-unrecognized-flags --packages=/opt/s/w/ir/.packages /opt/s/w/ir/tests/standalone/io/http_basic_test.dart

exit code:
-6

stderr:
===== CRASH =====
si_signo=Segmentation fault: 11(11), si_code=1, si_addr=0x7000141d3ebc
version=2.15.0-edge.b70a134933d7678dbc91513d6e4691750961e111 (be) (Fri Oct 15 03:40:28 2021 +0000) on "macos_x64"
pid=43198, thread=7427, isolate_group=main(0x7f9255010200), isolate=startTestServer(0x7f9257800000)
isolate_instructions=10399cd20, vm_instructions=10399cd20
  pc 0x0000000103f9699a fp 0x000070000be9f510 dart::FlowGraphCompiler::AllocateRegistersLocally(dart::Instruction*)+0x22a
  pc 0x0000000103f97a27 fp 0x000070000be9f6d0 dart::FlowGraphCompiler::VisitBlocks()+0xa17
  pc 0x0000000103fa04bf fp 0x000070000be9f6f0 dart::FlowGraphCompiler::CompileGraph()+0x1f
  pc 0x0000000103c92440 fp 0x000070000be9fdb0 dart::CompileParsedFunctionHelper::Compile(dart::CompilationPipeline*)+0x6d0
  pc 0x0000000103c92c41 fp 0x000070000be9ffa0 dart::CompileFunctionHelper(dart::CompilationPipeline*, dart::Function const&, bool, long)+0x3c1
  pc 0x0000000103c92858 fp 0x000070000bea0030 dart::Compiler::CompileFunction(dart::Thread*, dart::Function const&)+0xf8
  pc 0x0000000103b987e7 fp 0x000070000bea0070 dart::Function::EnsureHasCode() const+0x47
  pc 0x0000000103c91654 fp 0x000070000bea0130 dart::DRT_CompileFunction(dart::NativeArguments)+0x194
  pc 0x0000000106602563 fp 0x000070000bea0178 Unknown symbol
  pc 0x00000001066025c4 fp 0x000070000bea01a8 Unknown symbol
  pc 0x000000010704be1f fp 0x000070000bea01f0 Unknown symbol
  pc 0x0000000107035aaf fp 0x000070000bea0248 Unknown symbol
  pc 0x000000010703578e fp 0x000070000bea0298 Unknown symbol
  pc 0x00000001070354ae fp 0x000070000bea02f8 Unknown symbol
  pc 0x0000000107034781 fp 0x000070000bea0378 Unknown symbol
  pc 0x0000000107035e5b fp 0x000070000bea03c0 Unknown symbol
  pc 0x0000000107035c70 fp 0x000070000bea0400 Unknown symbol
  pc 0x000000010703f0e1 fp 0x000070000bea04a8 Unknown symbol
  pc 0x0000000107035aaf fp 0x000070000bea0500 Unknown symbol
  pc 0x000000010703578e fp 0x000070000bea0550 Unknown symbol
  pc 0x00000001070354ae fp 0x000070000bea05b0 Unknown symbol
  pc 0x0000000107034781 fp 0x000070000bea0630 Unknown symbol
  pc 0x0000000107035e5b fp 0x000070000bea0678 Unknown symbol
  pc 0x0000000107035c70 fp 0x000070000bea06b8 Unknown symbol
  pc 0x000000010703fea0 fp 0x000070000bea0750 Unknown symbol
  pc 0x0000000107035aaf fp 0x000070000bea07a8 Unknown symbol
  pc 0x000000010703578e fp 0x000070000bea07f8 Unknown symbol
  pc 0x00000001070354ae fp 0x000070000bea0858 Unknown symbol
  pc 0x0000000107034781 fp 0x000070000bea08d8 Unknown symbol
  pc 0x0000000107035e5b fp 0x000070000bea0920 Unknown symbol
  pc 0x000000010703c9ad fp 0x000070000bea0960 Unknown symbol
  pc 0x000000010703c5d3 fp 0x000070000bea09a8 Unknown symbol
  pc 0x000000010703bd5b fp 0x000070000bea09e8 Unknown symbol
  pc 0x000000010703bbd9 fp 0x000070000bea0a10 Unknown symbol
  pc 0x0000000107031431 fp 0x000070000bea0a50 Unknown symbol
  pc 0x0000000107021e88 fp 0x000070000bea0a90 Unknown symbol
  pc 0x00000001066029af fp 0x000070000bea0b08 Unknown symbol
  pc 0x0000000103b029c3 fp 0x000070000bea0bb0 dart::DartEntry::InvokeCode(dart::Code const&, unsigned long, dart::Array const&, dart::Array const&, dart::Thread*)+0x153
  pc 0x0000000103b027f8 fp 0x000070000bea0c10 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long)+0x128
  pc 0x0000000103b04c35 fp 0x000070000bea0c60 dart::DartLibraryCalls::HandleMessage(long long, dart::Instance const&)+0x155
  pc 0x0000000103b2c42a fp 0x000070000bea0d40 dart::IsolateMessageHandler::HandleMessage(std::__2::unique_ptr<dart::Message, std::__2::default_delete<dart::Message> >)+0x35a
  pc 0x0000000103b55f1c fp 0x000070000bea0db0 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)+0x12c
  pc 0x0000000103b5662f fp 0x000070000bea0e00 dart::MessageHandler::TaskCallback()+0x1df
  pc 0x0000000103c7ff78 fp 0x000070000bea0e90 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)+0x138
  pc 0x0000000103c8040d fp 0x000070000bea0ec0 dart::ThreadPool::Worker::Main(unsigned long)+0x5d
  pc 0x0000000103bf575f fp 0x000070000bea0f10 dart::ThreadStart(void*)+0x9f
  pc 0x00007fff6ea8e2eb fp 0x000070000bea0f30 _pthread_body+0x7e
  pc 0x00007fff6ea91249 fp 0x000070000bea0f50 _pthread_start+0x42
  pc 0x00007fff6ea8d40d fp 0x000070000bea0f78 thread_start+0xd
-- End of DumpStackTrace
  pc 0x0000000000000000 fp 0x000070000bea0178 sp 0x0000000000000000 [Stub] CallToRuntime
  pc 0x00000001066025c4 fp 0x000070000bea01a8 sp 0x000070000bea0188 [Stub] LazyCompile
  pc 0x000000010704be1f fp 0x000070000bea01f0 sp 0x000070000bea01b8 [Unoptimized] _RawServerSocket@14069316.bind.<anonymous closure>
  pc 0x0000000107035aaf fp 0x000070000bea0248 sp 0x000070000bea0200 [Unoptimized] _RootZone@4048458.runUnary
  pc 0x000000010703578e fp 0x000070000bea0298 sp 0x000070000bea0258 [Unoptimized] _FutureListener@4048458.handleValue
  pc 0x00000001070354ae fp 0x000070000bea02f8 sp 0x000070000bea02a8 [Unoptimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x0000000107034781 fp 0x000070000bea0378 sp 0x000070000bea0308 [Unoptimized] _Future@4048458._propagateToListeners@4048458
  pc 0x0000000107035e5b fp 0x000070000bea03c0 sp 0x000070000bea0388 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x0000000107035c70 fp 0x000070000bea0400 sp 0x000070000bea03d0 [Unoptimized] _completeOnAsyncReturn@4048458
  pc 0x000000010703f0e1 fp 0x000070000bea04a8 sp 0x000070000bea0410 [Unoptimized] _NativeSocket@14069316.bind
  pc 0x0000000107035aaf fp 0x000070000bea0500 sp 0x000070000bea04b8 [Unoptimized] _RootZone@4048458.runUnary
  pc 0x000000010703578e fp 0x000070000bea0550 sp 0x000070000bea0510 [Unoptimized] _FutureListener@4048458.handleValue
  pc 0x00000001070354ae fp 0x000070000bea05b0 sp 0x000070000bea0560 [Unoptimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x0000000107034781 fp 0x000070000bea0630 sp 0x000070000bea05c0 [Unoptimized] _Future@4048458._propagateToListeners@4048458
  pc 0x0000000107035e5b fp 0x000070000bea0678 sp 0x000070000bea0640 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x0000000107035c70 fp 0x000070000bea06b8 sp 0x000070000bea0688 [Unoptimized] _completeOnAsyncReturn@4048458
  pc 0x000000010703fea0 fp 0x000070000bea0750 sp 0x000070000bea06c8 [Unoptimized] _NativeSocket@14069316._resolveHost@14069316
  pc 0x0000000107035aaf fp 0x000070000bea07a8 sp 0x000070000bea0760 [Unoptimized] _RootZone@4048458.runUnary
  pc 0x000000010703578e fp 0x000070000bea07f8 sp 0x000070000bea07b8 [Unoptimized] _FutureListener@4048458.handleValue
  pc 0x00000001070354ae fp 0x000070000bea0858 sp 0x000070000bea0808 [Unoptimized] _Future@4048458._propagateToListeners@4048458.handleValueCallback
  pc 0x0000000107034781 fp 0x000070000bea08d8 sp 0x000070000bea0868 [Unoptimized] _Future@4048458._propagateToListeners@4048458
  pc 0x0000000107035e5b fp 0x000070000bea0920 sp 0x000070000bea08e8 [Unoptimized] _Future@4048458._completeWithValue@4048458
  pc 0x000000010703c9ad fp 0x000070000bea0960 sp 0x000070000bea0930 [Unoptimized] _Future@4048458._asyncCompleteWithValue@4048458.<anonymous closure>
  pc 0x000000010703c5d3 fp 0x000070000bea09a8 sp 0x000070000bea0970 [Unoptimized] _microtaskLoop@4048458
  pc 0x000000010703bd5b fp 0x000070000bea09e8 sp 0x000070000bea09b8 [Unoptimized] _startMicrotaskLoop@4048458
  pc 0x000000010703bbd9 fp 0x000070000bea0a10 sp 0x000070000bea09f8 [Unoptimized] _startMicrotaskLoop@4048458
  pc 0x0000000107031431 fp 0x000070000bea0a50 sp 0x000070000bea0a20 [Unoptimized] _runPendingImmediateCallback@1026248
  pc 0x0000000107021e88 fp 0x000070000bea0a90 sp 0x000070000bea0a60 [Unoptimized] _RawReceivePortImpl@1026248._handleMessage@1026248
  pc 0x00000001066029af fp 0x000070000bea0b08 sp 0x000070000bea0aa0 [Stub] InvokeDartCode

--- Re-run this test:
python3 tools/test.py -n dartk-strong-mac-release-x64 standalone/io/http_basic_test/0

@a-siva
Copy link
Contributor

a-siva commented Nov 1, 2021

Fix in progress, will not make it for this milestone, moving it to next milestone.

copybara-service bot pushed a commit that referenced this issue Nov 30, 2021
…guard information that is kept on a slot."

This reverts commit fd31242 as the
issue that caused revert should be fixed by removal of boxing heuristic
removed in 8159c38.

Fixes #47314
TEST=ci,g3

Change-Id: I42f3f0c6d25639fb326e74d96a51c4c6c0f88f78
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/221601
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. P2 A bug or feature request we're likely to work on
Projects
None yet
Development

No branches or pull requests

4 participants