-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#22041Labels
P0Critical issues such as a build break or regressionCritical issues such as a build break or regressiona: null-safetySupport for Dart's null safety featureSupport for Dart's null safety featurec: contributor-productivityTeam-specific productivity, code health, technical debt.Team-specific productivity, code health, technical debt.c: crashStack traces logged to the consoleStack traces logged to the consoleengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-fuchsiaFuchsia code specificallyFuchsia code specificallywaiting for PR to land (fixed)A fix is in flightA fix is in flight
Description
Following changes to isolate initialization in the engine, the native bindings for dart:zircon and dart:fuchsia no longer appear to be set up correctly.
The native bindings for dart:fuchsia and dart:zircon are initialized by the callback assigned to settings.root_isolate_create_callback here: https://github.com/flutter/engine/blob/49c35b6177b0dd7ebeda275587dd5a5631c8b688/shell/platform/fuchsia/flutter/engine.cc#L254
Tentatively assigning to @chinmaygarde to inspect the Fuchsia runner startup sequence for agreement with the engine changes.
/cc @chaselatta @arbreng @jason-simmons @dnfield
Marking P0 because this is blocking rolls, and nnbd work.
[00441.580515][klog]../../third_party/dart/runtime/vm/native_entry.cc: 246: error: Failed to resolve native function 'System_ChannelFromFile' in 'System.channelFromFile'
[00441.580536][klog]version=2.11.0-240.0.dev (dev) (Tue Oct 20 16:27:23 2020 -0700) on "fuchsia_x64"
[00441.580543][klog]pid=3, thread=4386333764384, isolate_group=_for_testing.cmx(0xacd29b3c50), isolate=_for_testing.cmx(0xad92896030)
[00441.580548][klog]isolate_instructions=21901351000, vm_instructions=21901349000
[00441.580557][klog] pc 0x000003b1af37c643 fp 0x0000040a5b6aa080 Dart_DumpNativeStackTrace+0x13
[00441.580566][klog] pc 0x000003b1af22b5c1 fp 0x0000040a5b6aa3d0 dart::NativeEntry::BootstrapNativeCallWrapper+0x171
[00441.580564][klog] pc 0x000003b1af22c167 fp 0x0000040a5b6aa350 dart::NativeEntry::LinkNativeCall+0xaf7
[00441.580560][klog] pc 0x000003b1aed3fc70 fp 0x0000040a5b6aa160 dart::Assert::Fail+0x80
[00441.580572][klog] pc 0x0000021901779ec8 fp 0x0000040a5b6aa430 Unknown symbol
[00441.580570][klog] pc 0x000002190134ab83 fp 0x0000040a5b6aa408 Unknown symbol
[00441.580573][klog] pc 0x000002190177ae8a fp 0x0000040a5b6aa458 Unknown symbol
[00441.580575][klog] pc 0x0000021901b7bbd6 fp 0x0000040a5b6aa508 Unknown symbol
[00441.580576][klog] pc 0x0000021901b7e4e6 fp 0x0000040a5b6aa530 Unknown symbol
[00441.580578][klog] pc 0x0000021901b7c648 fp 0x0000040a5b6aa558 Unknown symbol
[00441.580579][klog] pc 0x0000021901b7f44d fp 0x0000040a5b6aa578 Unknown symbol
[00441.580581][klog] pc 0x00000219028a9c34 fp 0x0000040a5b6aa648 Unknown symbol
[00441.580585][klog] pc 0x00000219028bdbcf fp 0x0000040a5b6aa6d0 Unknown symbol
[00441.580583][klog] pc 0x000002190287b26f fp 0x0000040a5b6aa690 Unknown symbol
[00441.580582][klog] pc 0x000002190137dd84 fp 0x0000040a5b6aa660 Unknown symbol
[00441.580587][klog] pc 0x00000219028da5b9 fp 0x0000040a5b6aa708 Unknown symbol
[00441.580586][klog] pc 0x00000219028bdc40 fp 0x0000040a5b6aa6e8 Unknown symbol
[00441.580596][klog] pc 0x00000219013713ff fp 0x0000040a5b6aa968 Unknown symbol
[00441.580593][klog] pc 0x00000219021603ab fp 0x0000040a5b6aa860 Unknown symbol
[00441.580595][klog] pc 0x000002190136c431 fp 0x0000040a5b6aa890 Unknown symbol
[00441.580590][klog] pc 0x000002190136e78d fp 0x0000040a5b6aa7b0 Unknown symbol
[00441.580589][klog] pc 0x00000219028c0c0d fp 0x0000040a5b6aa738 Unknown symbol
[00441.580592][klog] pc 0x000002190136e9dd fp 0x0000040a5b6aa810 Unknown symbol
[00441.580598][klog] pc 0x00000219028c0caf fp 0x0000040a5b6aa9a0 Unknown symbol
[00441.580603][klog] pc 0x00000219013c1e2d fp 0x0000040a5b6aaa20 Unknown symbol
[00441.580602][klog] pc 0x00000219028da5b9 fp 0x0000040a5b6aaa00 Unknown symbol
[00441.580599][klog] pc 0x00000219028da68a fp 0x0000040a5b6aa9b8 Unknown symbol
[00441.580600][klog] pc 0x00000219028be660 fp 0x0000040a5b6aa9e0 Unknown symbol
[00441.580620][klog] pc 0x000003b1aed7826a fp 0x0000040a5b6aaf00 void std::__2::__function::__policy_invoker<void +0x10e
[00441.580616][klog] pc 0x000003b1af35df7e fp 0x0000040a5b6aaea0 Dart_HandleMessage+0x35e
[00441.580605][klog] pc 0x000002190134a92f fp 0x0000040a5b6aaa98 Unknown symbol
[00441.580608][klog] pc 0x000003b1af2020f6 fp 0x0000040a5b6aab40 dart::DartEntry::InvokeFunction+0x206
[00441.580613][klog] pc 0x000003b1af22a64c fp 0x0000040a5b6aade0 dart::MessageHandler::HandleMessages+0x17c
[00441.580611][klog] pc 0x000003b1af21974f fp 0x0000040a5b6aad60 dart::IsolateMessageHandler::HandleMessage+0xf8f
[00441.580669][klog]-- End of DumpStackTrace
[00441.580685][klog][bare-dart : sp(0x40a5b6aa418) fp(0x40a5b6aa430) pc(0x21901779ec8) *dart:zircon_System_channelFromFile ]
[00441.580628][klog] pc 0x000003b1aed76161 fp 0x0000040a5b6aafc0 async_loop_run+0x249
[00441.580674][klog][exit : sp(0) fp(0x40a5b6aa408) pc(0)]
[00441.580650][klog] pc 0x0000421311608266 fp 0x0000040a5b6aafd0 libc.so+0x5e266
[00441.580623][klog] pc 0x000003b1aed52b1c fp 0x0000040a5b6aaf20 async::internal::RetainedTask::Handler+0x24
[00441.580626][klog] pc 0x000003b1aed75782 fp 0x0000040a5b6aaf50 async_loop_dispatch_task+0x32
[00441.580664][klog] pc 0x000042131165043e fp 0x0000040a5b6aaff0 libc.so+0xa643e
[00441.580726][klog][bare-dart : sp(0x40a5b6aa468) fp(0x40a5b6aa508) pc(0x21901b7bbd6) *package:fuchsia_services/src/internal/_startup_context_impl.dart_StartupContextImpl_StartupContextImpl.fromStartupInfo ]
[00441.580697][klog][bare-dart : sp(0x40a5b6aa440) fp(0x40a5b6aa458) pc(0x2190177ae8a) *package:zircon/zircon.dart_Channel_Channel.fromFile ]
[00441.580736][klog][bare-dart : sp(0x40a5b6aa518) fp(0x40a5b6aa530) pc(0x21901b7e4e6) *package:fuchsia_logger/src/internal/_fuchsia_log_writer.dart_FuchsiaLogWriter__connectToSysLogger@6630062345 ]
[00441.580752][klog][bare-dart : sp(0x40a5b6aa568) fp(0x40a5b6aa578) pc(0x21901b7f44d) *package:fuchsia_logger/src/logger/logger.dart_::_setupLogger ]
[00441.580744][klog][bare-dart : sp(0x40a5b6aa540) fp(0x40a5b6aa558) pc(0x21901b7c648) *package:fuchsia_logger/src/logger/logger.dart_::__connectToLogWriterIfNeeded@6629175469 ]
[00441.580782][klog][bare-dart : sp(0x40a5b6aa588) fp(0x40a5b6aa648) pc(0x219028a9c34) *package:....platform.fuchsia.deployment/fuchsia_host.dart_::_start__async_op ]
[00441.580798][klog][bare-dart : sp(0x40a5b6aa658) fp(0x40a5b6aa660) pc(0x2190137dd84) *dart:async__AsyncAwaitCompleter@4048458_start ]
[00441.580807][klog][bare-dart : sp(0x40a5b6aa670) fp(0x40a5b6aa690) pc(0x2190287b26f) *package:....platform.fuchsia.deployment/fuchsia_host.dart_::_start ]
[00441.580820][klog][bare-dart : sp(0x40a5b6aa6a0) fp(0x40a5b6aa6d0) pc(0x219028bdbcf) *package:....platform.fuchsia.deployment.testing/fuchsia_host_with_flutter_driver.dart_::_main ]
[00441.580836][klog][bare-dart : sp(0x40a5b6aa6f8) fp(0x40a5b6aa708) pc(0x219028da5b9) *dart:core__Closure@0150898_dyn_call ]
[00441.580874][klog][bare-dart : sp(0x40a5b6aa820) fp(0x40a5b6aa860) pc(0x219021603ab) *dart:async__CustomZone@4048458_run ]
[00441.580866][klog][bare-dart : sp(0x40a5b6aa7c0) fp(0x40a5b6aa810) pc(0x2190136e9dd) *dart:async_::__rootRun@4048458__rootRun@4048458 ]
[00441.580850][klog][bare-dart : sp(0x40a5b6aa718) fp(0x40a5b6aa738) pc(0x219028c0c0d) *dart:ui_::__runMainZoned@19065589_<anonymous closure>_<anonymous closure> ]
[00441.580858][klog][bare-dart : sp(0x40a5b6aa748) fp(0x40a5b6aa7b0) pc(0x2190136e78d) *dart:async_::__rootRun@4048458 ]
[00441.580828][klog][bare-dart : sp(0x40a5b6aa6e0) fp(0x40a5b6aa6e8) pc(0x219028bdc40) *package:....platform.fuchsia.deployment.testing/fuchsia_host_with_flutter_driver.dart_::_main_main ]
[00441.580881][klog][bare-dart : sp(0x40a5b6aa870) fp(0x40a5b6aa890) pc(0x2190136c431) *dart:async_::__runZoned@4048458 ]
[00441.580888][klog][bare-dart : sp(0x40a5b6aa8a0) fp(0x40a5b6aa968) pc(0x219013713ff) *dart:async_::_runZonedGuarded ]
[00441.580912][klog][bare-dart : sp(0x40a5b6aa9c8) fp(0x40a5b6aa9e0) pc(0x219028be660) *dart:isolate_::__startIsolate@1026248_<anonymous closure> ]
[00441.580904][klog][bare-dart : sp(0x40a5b6aa9b0) fp(0x40a5b6aa9b8) pc(0x219028da68a) *dart:core__Closure@0150898_dyn_call ]
[00441.580896][klog][bare-dart : sp(0x40a5b6aa978) fp(0x40a5b6aa9a0) pc(0x219028c0caf) *dart:ui_::__runMainZoned@19065589_<anonymous closure> ]
Metadata
Metadata
Assignees
Labels
P0Critical issues such as a build break or regressionCritical issues such as a build break or regressiona: null-safetySupport for Dart's null safety featureSupport for Dart's null safety featurec: contributor-productivityTeam-specific productivity, code health, technical debt.Team-specific productivity, code health, technical debt.c: crashStack traces logged to the consoleStack traces logged to the consoleengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-fuchsiaFuchsia code specificallyFuchsia code specificallywaiting for PR to land (fixed)A fix is in flightA fix is in flight