Skip to content

[iOS] TextField input emoji crashes #128031

@qiuyueL

Description

@qiuyueL

Is there an existing issue for this?

Steps to reproduce

  1. Switch the iOS keyboard to emoji, and then tap to enter into TextField
  2. Switch the keyboard to Simplified Chinese, and the APP crashes
  3. If use the Korean, tap to enter into TextField, app is normal, and then switch the keyboard to emoji, the APP crashes.
  4. If use the Japanese, same as Chinese.

Expected results

APP does not flash back

Actual results

App crashes

Code sample

Code sample
class commentInputTextField extends StatelessWidget {
  final TextEditingController controller;
  final String? hintText;

  const commentInputTextField(
      {Key? key, required this.controller, this.hintText})
      : super(key: key);

  @override
  Widget build(BuildContext context) {
    return TextField(
      controller: controller,
      autofocus: true,
      maxLength: 600,
      maxLines: null,
      minLines: 1,
      keyboardType: TextInputType.multiline,
      strutStyle: const StrutStyle(),
      style: Theme.of(context).textTheme.bodyMedium,
      inputFormatters: [
        RegexFormatter(regex: sRegexFirstNotNull),
      ],
      decoration: InputDecoration(
          fillColor: Theme.of(context).colorScheme.background,
          isDense: true,
          hintText: hintText ?? randomHintText,
          hintStyle: Theme.of(context)
              .textTheme
              .bodyMedium
              ?.copyWith(color: Theme.of(context).hintColor),
          isCollapsed: true,
          contentPadding:
              const EdgeInsets.symmetric(horizontal: 14, vertical: 8),
          counter: SizedBox.shrink(),
          border: OutlineInputBorder(
              borderRadius: BorderRadius.circular(5),
              borderSide: BorderSide.none)),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
186_1685609701.mp4

Logs

Logs
[        ] * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
[        ]     frame #0: 0x00000001c69de158 libsystem_kernel.dylib`__pthread_kill + 8
[        ] libsystem_kernel.dylib`:
[        ] ->  0x1c69de158 <+8>:  b.lo   0x1c69de174               ; <+36>
[        ]     0x1c69de15c <+12>: stp    x29, x30, [sp, #-0x10]!
[        ]     0x1c69de160 <+16>: mov    x29, sp
[        ]     0x1c69de164 <+20>: bl     0x1c69d9b30               ; cerror_nocancel
[        ] Target 0: (Runner) stopped.
[        ] thread backtrace all
[        ] Debugger state set to detached.
[        ] process detach
[  +69 ms] * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
[        ]   * frame #0: 0x00000001c69de158 libsystem_kernel.dylib`__pthread_kill + 8
[        ]     frame #1: 0x00000001d5e245f8 libsystem_pthread.dylib`pthread_kill + 208
[        ]     frame #2: 0x0000000192fd84b8 libsystem_c.dylib`abort + 124
[        ]     frame #3: 0x00000001d5d5df54 libc++abi.dylib`abort_message + 128
[        ]     frame #4: 0x00000001d5d4ea4c libc++abi.dylib`demangling_terminate_handler() + 300
[        ]     frame #5: 0x000000018547e014 libobjc.A.dylib`_objc_terminate() + 124
[        ]     frame #6: 0x00000001d5d5d424 libc++abi.dylib`std::__terminate(void (*)()) + 12
[        ]     frame #7: 0x00000001d5d5ff90 libc++abi.dylib`__cxa_rethrow + 144
[        ]     frame #8: 0x000000018547a674 libobjc.A.dylib`objc_exception_rethrow + 40
[        ]     frame #9: 0x000000018c1e9f54 CoreFoundation`CFRunLoopRunSpecific + 780
[        ]     frame #10: 0x00000001c3301998 GraphicsServices`GSEventRunModal + 160
[        ]     frame #11: 0x000000018e47abb8 UIKitCore`-[UIApplication _run] + 868
[        ]     frame #12: 0x000000018e47a830 UIKitCore`UIApplicationMain + 312
[        ]     frame #13: 0x000000010292ea08 Runner`main at AppDelegate.swift:5:13
[        ]     frame #14: 0x00000001a98ef344 dyld`start + 1860
[        ]   thread #7, name = 'com.apple.uikit.eventfetch-thread'
[        ]     frame #0: 0x00000001c69d7ff0 libsystem_kernel.dylib`mach_msg2_trap + 8
[        ]     frame #1: 0x00000001c69e9ad8 libsystem_kernel.dylib`mach_msg2_internal + 76
[        ]     frame #2: 0x00000001c69e9d78 libsystem_kernel.dylib`mach_msg_overwrite + 484
[        ]     frame #3: 0x00000001c69d84e4 libsystem_kernel.dylib`mach_msg + 20
[        ]     frame #4: 0x000000018c1e42b8 CoreFoundation`__CFRunLoopServiceMachPort + 156
[        ]     frame #5: 0x000000018c1e5450 CoreFoundation`__CFRunLoopRun + 1208
[        ]     frame #6: 0x000000018c1e9e90 CoreFoundation`CFRunLoopRunSpecific + 584
[        ]     frame #7: 0x000000018655a218 Foundation`-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 208
[        ]     frame #8: 0x000000018655a114 Foundation`-[NSRunLoop(NSRunLoop) runUntilDate:] + 60
[        ]     frame #9: 0x000000018e59cd44 UIKitCore`-[UIEventFetcher threadMain] + 404
[        ]     frame #10: 0x0000000186571d7c Foundation`__NSThread__start__ + 704
[        ]     frame #11: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #11
[        ]     frame #0: 0x00000001d5e18718 libsystem_pthread.dylib`start_wqthread
[        ]   thread #12, name = 'io.flutter.1.ui'
[        ]     frame #0: 0x00000001c69d7ff0 libsystem_kernel.dylib`mach_msg2_trap + 8
[        ]     frame #1: 0x00000001c69e9ad8 libsystem_kernel.dylib`mach_msg2_internal + 76
[        ]     frame #2: 0x00000001c69e9d78 libsystem_kernel.dylib`mach_msg_overwrite + 484
[        ]     frame #3: 0x00000001c69d84e4 libsystem_kernel.dylib`mach_msg + 20
[        ]     frame #4: 0x000000018c1e42b8 CoreFoundation`__CFRunLoopServiceMachPort + 156
[        ]     frame #5: 0x000000018c1e5450 CoreFoundation`__CFRunLoopRun + 1208
[        ]     frame #6: 0x000000018c1e9e90 CoreFoundation`CFRunLoopRunSpecific + 584
[        ]     frame #7: 0x00000001064bf09c Flutter`fml::MessageLoopDarwin::Run() + 88
[        ]     frame #8: 0x00000001064be0bc Flutter`void*
std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__threa
d_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void
(fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 208
[        ]     frame #9: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #13, name = 'io.flutter.1.raster'
[        ]     frame #0: 0x00000001c69d7ff0 libsystem_kernel.dylib`mach_msg2_trap + 8
[        ]     frame #1: 0x00000001c69e9ad8 libsystem_kernel.dylib`mach_msg2_internal + 76
[        ]     frame #2: 0x00000001c69e9d78 libsystem_kernel.dylib`mach_msg_overwrite + 484
[        ]     frame #3: 0x00000001c69d84e4 libsystem_kernel.dylib`mach_msg + 20
[        ]     frame #4: 0x000000018d63a530 QuartzCore`CA::Context::commit_transaction(CA::Transaction*, double, double*) + 8972
[        ]     frame #5: 0x000000018d66574c QuartzCore`CA::Transaction::commit() + 644
[        ]     frame #6: 0x000000018d650788 QuartzCore`CA::Transaction::flush_as_runloop_observer(bool) + 84
[        ]     frame #7: 0x000000018c1f9a58 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
[        ]     frame #8: 0x000000018c18968c CoreFoundation`__CFRunLoopDoObservers + 552
[        ]     frame #9: 0x000000018c1e5384 CoreFoundation`__CFRunLoopRun + 1004
[        ]     frame #10: 0x000000018c1e9e90 CoreFoundation`CFRunLoopRunSpecific + 584
[        ]     frame #11: 0x00000001064bf09c Flutter`fml::MessageLoopDarwin::Run() + 88
[        ]     frame #12: 0x00000001064be0bc Flutter`void*
std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__threa
d_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void
(fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 208
[        ]     frame #13: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #14, name = 'io.flutter.1.io'
[        ]     frame #0: 0x00000001c69d7ff0 libsystem_kernel.dylib`mach_msg2_trap + 8
[        ]     frame #1: 0x00000001c69e9ad8 libsystem_kernel.dylib`mach_msg2_internal + 76
[        ]     frame #2: 0x00000001c69e9d78 libsystem_kernel.dylib`mach_msg_overwrite + 484
[        ]     frame #3: 0x00000001c69d84e4 libsystem_kernel.dylib`mach_msg + 20
[        ]     frame #4: 0x000000018c1e42b8 CoreFoundation`__CFRunLoopServiceMachPort + 156
[        ]     frame #5: 0x000000018c1e5450 CoreFoundation`__CFRunLoopRun + 1208
[        ]     frame #6: 0x000000018c1e9e90 CoreFoundation`CFRunLoopRunSpecific + 584
[        ]     frame #7: 0x00000001064bf09c Flutter`fml::MessageLoopDarwin::Run() + 88
[        ]     frame #8: 0x00000001064be0bc Flutter`void*
std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__threa
d_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void
(fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 208
[        ]     frame #9: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #15, name = 'io.flutter.1.profiler'
[        ]     frame #0: 0x00000001c69d7ff0 libsystem_kernel.dylib`mach_msg2_trap + 8
[        ]     frame #1: 0x00000001c69e9ad8 libsystem_kernel.dylib`mach_msg2_internal + 76
[        ]     frame #2: 0x00000001c69e9d78 libsystem_kernel.dylib`mach_msg_overwrite + 484
[        ]     frame #3: 0x00000001c69d84e4 libsystem_kernel.dylib`mach_msg + 20
[        ]     frame #4: 0x000000018c1e42b8 CoreFoundation`__CFRunLoopServiceMachPort + 156
[        ]     frame #5: 0x000000018c1e5450 CoreFoundation`__CFRunLoopRun + 1208
[        ]     frame #6: 0x000000018c1e9e90 CoreFoundation`CFRunLoopRunSpecific + 584
[        ]     frame #7: 0x00000001064bf09c Flutter`fml::MessageLoopDarwin::Run() + 88
[        ]     frame #8: 0x00000001064be0bc Flutter`void*
std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__threa
d_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void
(fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 208
[        ]     frame #9: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #16, name = 'io.worker.1'
[        ]     frame #0: 0x00000001c69d883c libsystem_kernel.dylib`__psynch_cvwait + 8
[        ]     frame #1: 0x00000001d5e1960c libsystem_pthread.dylib`_pthread_cond_wait$VARIANT$armv81 + 1220
[        ]     frame #2: 0x0000000106236ad8
Flutter`std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 20
[        ]     frame #3: 0x00000001064b816c Flutter`void*
std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__threa
d_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned
long)::$_0> >(void*) + 352
[        ]     frame #4: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #17, name = 'io.worker.2'
[        ]     frame #0: 0x00000001c69d883c libsystem_kernel.dylib`__psynch_cvwait + 8
[        ]     frame #1: 0x00000001d5e1960c libsystem_pthread.dylib`_pthread_cond_wait$VARIANT$armv81 + 1220
[        ]     frame #2: 0x0000000106236ad8
Flutter`std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 20
[        ]     frame #3: 0x00000001064b816c Flutter`void*
std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__threa
d_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned
long)::$_0> >(void*) + 352
[        ]     frame #4: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #18, name = 'io.worker.3'
[        ]     frame #0: 0x00000001c69d883c libsystem_kernel.dylib`__psynch_cvwait + 8
[        ]     frame #1: 0x00000001d5e1960c libsystem_pthread.dylib`_pthread_cond_wait$VARIANT$armv81 + 1220
[        ]     frame #2: 0x0000000106236ad8
Flutter`std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 20
[        ]     frame #3: 0x00000001064b816c Flutter`void*
std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__threa
d_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned
long)::$_0> >(void*) + 352
[        ]     frame #4: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #19, name = 'io.worker.4'
[        ]     frame #0: 0x00000001c69d883c libsystem_kernel.dylib`__psynch_cvwait + 8
[        ]     frame #1: 0x00000001d5e1960c libsystem_pthread.dylib`_pthread_cond_wait$VARIANT$armv81 + 1220
[        ]     frame #2: 0x0000000106236ad8
Flutter`std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 20
[        ]     frame #3: 0x00000001064b816c Flutter`void*
std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__threa
d_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned
long)::$_0> >(void*) + 352
[        ]     frame #4: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #20, name = 'io.worker.5'
[        ]     frame #0: 0x00000001c69d883c libsystem_kernel.dylib`__psynch_cvwait + 8
[        ]     frame #1: 0x00000001d5e1960c libsystem_pthread.dylib`_pthread_cond_wait$VARIANT$armv81 + 1220
[        ]     frame #2: 0x0000000106236ad8
Flutter`std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 20
[        ]     frame #3: 0x00000001064b816c Flutter`void*
std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__threa
d_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned
long)::$_0> >(void*) + 352
[        ]     frame #4: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #21, name = 'io.worker.6'
[        ]     frame #0: 0x00000001c69d883c libsystem_kernel.dylib`__psynch_cvwait + 8
[        ]     frame #1: 0x00000001d5e1960c libsystem_pthread.dylib`_pthread_cond_wait$VARIANT$armv81 + 1220
[        ]     frame #2: 0x0000000106236ad8
Flutter`std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 20
[        ]     frame #3: 0x00000001064b816c Flutter`void*
std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__threa
d_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned
long)::$_0> >(void*) + 352
[        ]     frame #4: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #22, name = 'dart:io EventHandler'
[        ]     frame #0: 0x00000001c69d97c0 libsystem_kernel.dylib`kevent + 8
[        ]     frame #1: 0x00000001066ae14c Flutter`dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long) + 416
[        ]     frame #2: 0x00000001066dc988 Flutter`dart::bin::ThreadStart(void*) + 88
[        ]     frame #3: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #23, name = 'Dart Profiler ThreadInterrupter'
[        ]     frame #0: 0x00000001c69d883c libsystem_kernel.dylib`__psynch_cvwait + 8
[        ]     frame #1: 0x00000001d5e19638 libsystem_pthread.dylib`_pthread_cond_wait$VARIANT$armv81 + 1264
[        ]     frame #2: 0x000000010690d9f4 Flutter`dart::Monitor::WaitMicros(long long) + 128
[        ]     frame #3: 0x000000010699c73c Flutter`dart::ThreadInterrupter::ThreadMain(unsigned long) + 440
[        ]     frame #4: 0x000000010690d3b4 Flutter`dart::ThreadStart(void*) + 312
[        ]     frame #5: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #24, name = 'Dart Profiler SampleBlockProcessor'
[        ]     frame #0: 0x00000001c69d883c libsystem_kernel.dylib`__psynch_cvwait + 8
[        ]     frame #1: 0x00000001d5e19638 libsystem_pthread.dylib`_pthread_cond_wait$VARIANT$armv81 + 1264
[        ]     frame #2: 0x0000000106910ec0 Flutter`dart::SampleBlockProcessor::ThreadMain(unsigned long) + 256
[        ]     frame #3: 0x000000010690d3b4 Flutter`dart::ThreadStart(void*) + 312
[        ]     frame #4: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #25, name = 'DartWorker'
[        ]     frame #0: 0x00000001c69d883c libsystem_kernel.dylib`__psynch_cvwait + 8
[        ]     frame #1: 0x00000001d5e19638 libsystem_pthread.dylib`_pthread_cond_wait$VARIANT$armv81 + 1264
[        ]     frame #2: 0x000000010690d9f4 Flutter`dart::Monitor::WaitMicros(long long) + 128
[        ]     frame #3: 0x000000010699d704 Flutter`dart::ThreadPool::Worker::Main(unsigned long) + 668
[        ]     frame #4: 0x000000010690d3b4 Flutter`dart::ThreadStart(void*) + 312
[        ]     frame #5: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #26, name = 'DartWorker'
[        ]     frame #0: 0x00000001c69d883c libsystem_kernel.dylib`__psynch_cvwait + 8
[        ]     frame #1: 0x00000001d5e19638 libsystem_pthread.dylib`_pthread_cond_wait$VARIANT$armv81 + 1264
[        ]     frame #2: 0x000000010690d9f4 Flutter`dart::Monitor::WaitMicros(long long) + 128
[        ]     frame #3: 0x000000010699d704 Flutter`dart::ThreadPool::Worker::Main(unsigned long) + 668
[        ]     frame #4: 0x000000010690d3b4 Flutter`dart::ThreadStart(void*) + 312
[        ]     frame #5: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #27, name = 'DartWorker'
[        ]     frame #0: 0x0000000106ab8528 Flutter`dart::LoadOptimizer::OptimizeGraph(dart::FlowGraph*) + 1756
[        ]     frame #1: 0x0000000106ae14a0 Flutter`dart::CompilerPass_CSE::DoBody(dart::CompilerPassState*) const + 56
[        ]     frame #2: 0x0000000106ae7854 Flutter`dart::CompilerPass::Run(dart::CompilerPassState*) const + 308
[        ]     frame #3: 0x00000001069b52d4 Flutter`dart::CompileParsedFunctionHelper::Compile(dart::CompilationPipeline*) + 3396
[        ]     frame #4: 0x00000001069b7460 Flutter`dart::CompileFunctionHelper(dart::CompilationPipeline*, dart::Function const&, bool, long) + 1760
[        ]     frame #5: 0x00000001069b7dd0 Flutter`dart::Compiler::CompileOptimizedFunction(dart::Thread*, dart::Function const&, long) + 564
[        ]     frame #6: 0x00000001069b8e70 Flutter`dart::BackgroundCompilerTask::Run() + 416
[        ]     frame #7: 0x000000010699d5f4 Flutter`dart::ThreadPool::Worker::Main(unsigned long) + 396
[        ]     frame #8: 0x000000010690d3b4 Flutter`dart::ThreadStart(void*) + 312
[        ]     frame #9: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #28, name = 'DartWorker'
[        ]     frame #0: 0x00000001c69d883c libsystem_kernel.dylib`__psynch_cvwait + 8
[        ]     frame #1: 0x00000001d5e19638 libsystem_pthread.dylib`_pthread_cond_wait$VARIANT$armv81 + 1264
[        ]     frame #2: 0x000000010690d9f4 Flutter`dart::Monitor::WaitMicros(long long) + 128
[        ]     frame #3: 0x0000000106838420 Flutter`dart::MutatorThreadPool::OnEnterIdleLocked(dart::MonitorLocker*) + 480
[        ]     frame #4: 0x000000010699d738 Flutter`dart::ThreadPool::Worker::Main(unsigned long) + 720
[        ]     frame #5: 0x000000010690d3b4 Flutter`dart::ThreadStart(void*) + 312
[        ]     frame #6: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #31
[        ]     frame #0: 0x00000001d5e18718 libsystem_pthread.dylib`start_wqthread
[        ]   thread #33
[        ]     frame #0: 0x00000001c69d84b0 libsystem_kernel.dylib`__workq_kernreturn + 8
[        ]   thread #34, name = 'com.apple.NSURLConnectionLoader'
[        ]     frame #0: 0x00000001c69d7ff0 libsystem_kernel.dylib`mach_msg2_trap + 8
[        ]     frame #1: 0x00000001c69e9ad8 libsystem_kernel.dylib`mach_msg2_internal + 76
[        ]     frame #2: 0x00000001c69e9d78 libsystem_kernel.dylib`mach_msg_overwrite + 484
[        ]     frame #3: 0x00000001c69d84e4 libsystem_kernel.dylib`mach_msg + 20
[        ]     frame #4: 0x000000018c1e42b8 CoreFoundation`__CFRunLoopServiceMachPort + 156
[        ]     frame #5: 0x000000018c1e5450 CoreFoundation`__CFRunLoopRun + 1208
[        ]     frame #6: 0x000000018c1e9e90 CoreFoundation`CFRunLoopRunSpecific + 584
[        ]     frame #7: 0x000000018d36860c CFNetwork`___lldb_unnamed_symbol14140 + 344
[        ]     frame #8: 0x0000000186571d7c Foundation`__NSThread__start__ + 704
[        ]     frame #9: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #35, name = 'DartWorker'
[        ]     frame #0: 0x00000001c69d883c libsystem_kernel.dylib`__psynch_cvwait + 8
[        ]     frame #1: 0x00000001d5e19638 libsystem_pthread.dylib`_pthread_cond_wait$VARIANT$armv81 + 1264
[        ]     frame #2: 0x000000010690d9f4 Flutter`dart::Monitor::WaitMicros(long long) + 128
[        ]     frame #3: 0x000000010699d704 Flutter`dart::ThreadPool::Worker::Main(unsigned long) + 668
[        ]     frame #4: 0x000000010690d3b4 Flutter`dart::ThreadStart(void*) + 312
[        ]     frame #5: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #36, name = 'DartWorker'
[        ]     frame #0: 0x00000001c69d883c libsystem_kernel.dylib`__psynch_cvwait + 8
[        ]     frame #1: 0x00000001d5e19638 libsystem_pthread.dylib`_pthread_cond_wait$VARIANT$armv81 + 1264
[        ]     frame #2: 0x000000010690d9f4 Flutter`dart::Monitor::WaitMicros(long long) + 128
[        ]     frame #3: 0x000000010699d704 Flutter`dart::ThreadPool::Worker::Main(unsigned long) + 668
[        ]     frame #4: 0x000000010690d3b4 Flutter`dart::ThreadStart(void*) + 312
[        ]     frame #5: 0x00000001d5e1a0ec libsystem_pthread.dylib`_pthread_start + 116
[        ]   thread #37
[        ]     frame #0: 0x00000001c69d84b0 libsystem_kernel.dylib`__workq_kernreturn + 8
[        ]   thread #38
[        ]     frame #0: 0x00000001c69d84b0 libsystem_kernel.dylib`__workq_kernreturn + 8
[   +2 ms] (lldb) Process 5311 detached
[   +1 ms] (lldb) 
[        ] ios-deploy exited with code 0
[  +48 ms] Service protocol connection closed.
[        ] Lost connection to device.
[   +1 ms] DevFS: Deleting filesystem on the device
(file:///private/var/mobile/Containers/Data/Application/6E7279EF-7FB0-4920-AE3B-73A165701F02/tmp/sentence_flutter78Kt0J/sentence_flutter/)
[ +252 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed

[   +2 ms] "flutter run" took 139,524ms.
[ +240 ms] ensureAnalyticsSent: 234ms
[        ] Running 1 shutdown hook
[   +9 ms] Shutdown hooks complete
[        ] exiting with code 0

Flutter Doctor output

Doctor output
[✓] Flutter (Channel master, 3.11.0-16.0.pre.50, on macOS 13.1 22C65 darwin-x64, locale zh-Hans-CN)
    • Flutter version 3.11.0-16.0.pre.50 on channel master at /Users/yueyue/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 1889aa2246 (14 minutes ago), 2023-06-01 03:01:57 -0400
    • Engine revision a9ed2dec45
    • Dart version 3.1.0 (build 3.1.0-159.0.dev)
    • DevTools version 2.24.0
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/yueyue/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/yueyue/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.78.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.64.0

[✓] Connected device (3 available)
    • moon的iPhone (mobile) • 40d7ea8d3051a0b89f4b8f047d9eee77696ef987 • ios            • iOS 16.4.1 20E252
    • macOS (desktop)      • macos                                    • darwin-x64     • macOS 13.1 22C65 darwin-x64
    • Chrome (web)         • chrome                                   • web-javascript • Google Chrome 113.0.5672.126

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority issues at the top of the work lista: internationalizationSupporting other languages or locales. (aka i18n)a: text inputEntering text in a text field or keyboard related problemsc: fatal crashCrashes that terminate the processengineflutter/engine related. See also e: labels.found in release: 3.11Found to occur in 3.11has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-iosiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versionwaiting for PR to land (fixed)A fix is in flight

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions