Skip to content

[Android] Crash when user return to an already opened app with google_mobile_ads #103870

Closed
flutter-team-archive/engine
#33655

Description

@Paitomax

Internal bug: b/233388563

I upgraded to Flutter 3.0.0 to solve performance issue related on #95343, but now causes crash with specific steps when user returns to an already opened app that contains ads. The problem occurs on production, only on Android 11 and in most cases on Motorola devices.

The problem is not producible using Flutter 2.10.5.
The problem does not occur when I hide the ad.

Steps to Reproduce

  1. Execute flutter run with google_mobile_ads: 1.2.0 and Flutter 3.0.0
  2. Go to android home
  3. Open camera app
  4. Go to android home
  5. Go to already opened example app
  6. Then crash
Code sample
import 'dart:io';

import 'package:flutter/material.dart';
import 'package:google_mobile_ads/google_mobile_ads.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(home: ExamplePage());
  }
}

class ExamplePage extends StatelessWidget {
  const ExamplePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Example page'),
      ),
      body: Column(
        children: const [
          SizedBox(
            height: 150,
            child: Placeholder(
              color: Colors.red,
            ),
          ),
          SizedBox(
            height: 150,
            child: Placeholder(
              color: Colors.green,
            ),
          ),
          CustomBannerAd()
        ],
      ),
    );
  }
}

class CustomBannerAd extends StatefulWidget {
  const CustomBannerAd({Key? key}) : super(key: key);

  @override
  CustomBannerAdState createState() => CustomBannerAdState();
}

class CustomBannerAdState extends State<CustomBannerAd> {
  BannerAd? _anchoredAdaptiveAd;
  var _isLoaded = false;
  late Orientation _currentOrientation;

  @override
  void didChangeDependencies() {
    super.didChangeDependencies();

    _currentOrientation = MediaQuery.of(context).orientation;
    _loadAd();
  }

  @override
  void dispose() {
    super.dispose();

    _anchoredAdaptiveAd?.dispose();
  }

  Future<void> _loadAd() async {
    final mediaQuery = MediaQuery.of(context);

    await _anchoredAdaptiveAd?.dispose();

    if (mounted) {
      setState(() {
        _anchoredAdaptiveAd = null;
        _isLoaded = false;
      });
    }

    final AnchoredAdaptiveBannerAdSize? size =
        await AdSize.getCurrentOrientationAnchoredAdaptiveBannerAdSize(
            mediaQuery.size.width.truncate());

    if (size == null) {
      debugPrint('Unable to get height of anchored banner.');
      return;
    }

    _anchoredAdaptiveAd = BannerAd(
      adUnitId: Platform.isAndroid
          ? 'ca-app-pub-3940256099942544/6300978111'
          : 'ca-app-pub-3940256099942544/2934735716',
      size: size,
      request: const AdRequest(
        nonPersonalizedAds: false,
      ),
      listener: BannerAdListener(
        onAdLoaded: (Ad ad) {
          debugPrint("Ad loaded");
          if (mounted) {
            setState(() {
              _anchoredAdaptiveAd = ad as BannerAd;
              _isLoaded = true;
            });
          }
        },
        onAdFailedToLoad: (Ad ad, LoadAdError error) {
          debugPrint('$BannerAd failedToLoad: $error');
          ad.dispose();
        },
        onAdOpened: (Ad ad) => debugPrint('$BannerAd onAdOpened.'),
        onAdClosed: (Ad ad) => debugPrint('$BannerAd onAdClosed.'),
      ),
    );

    return _anchoredAdaptiveAd?.load();
  }

  @override
  Widget build(BuildContext context) {
    return OrientationBuilder(builder: (context, orientation) {
      if (_currentOrientation == orientation &&
          _anchoredAdaptiveAd != null &&
          _isLoaded) {
        return Container(
          color: Colors.transparent,
          width: _anchoredAdaptiveAd!.size.width.toDouble(),
          height: _anchoredAdaptiveAd?.size.height.toDouble(),
          child: AdWidget(ad: _anchoredAdaptiveAd!),
        );
      }

      // Reload the ad if the orientation changes.
      if (_currentOrientation != orientation) {
        _currentOrientation = orientation;
        _loadAd();
      }
      return const SizedBox.shrink();
    });
  }
}
Google Play Console Infos

Devices with error
Devices1

Devices2

image

Error occurs after I release app with Flutter 3.0.0
image

Failure title: signal 6 (SIGABRT), code -1 (SI_QUEUE)

Backtrace

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> br.com.minitick.punch_in <<<

backtrace:
  #00  pc 000000000004e1b8  /apex/com.android.runtime/lib64/bionic/libc.so (abort+168)
  #00  pc 0000000000553990  /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+2260)
  #00  pc 0000000000013990  /system/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+76)
  #00  pc 0000000000006e58  /system/lib64/liblog.so (__android_log_assert+336)
  #00  pc 0000000000214790  /system/lib64/libhwui.so (android::uirenderer::skiapipeline::SkiaOpenGLPipeline::getFrame()+52)
  #00  pc 000000000021d4ec  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::draw()+188)
  #00  pc 000000000021fb1c  /system/lib64/libhwui.so (_ZNSt3__110__function6__funcIZN7android10uirenderer12renderthread13DrawFrameTask11postAndWaitEvE3$_0NS_9allocatorIS6_EEFvvEEclEv$c303f2d2360db58ed70a2d0ac7ed911b+480)
  #00  pc 000000000020e514  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+220)
  #00  pc 000000000022f42c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+88)
  #00  pc 0000000000015414  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+260)
  #00  pc 0000000000014cd8  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
  #00  pc 00000000000af86c  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
  #00  pc 0000000000050110  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
Logs

It didn't fit all the log in the issue, so I put the full log here

...
[+11267 ms] W/libEGL  ( 7934): EGLNativeWindowType 0x76e124e950 disconnect failed
[  +23 ms] W/libEGL  ( 7934): EGLNativeWindowType 0x76e1246110 disconnect failed
[+3018 ms] E/BufferQueueProducer( 7934): [SurfaceTexture-0-7934-0](id:1efe00000000,api:0,p:-1,c:7934) disconnect: not connected (req=1)
[        ] W/libEGL  ( 7934): EGLNativeWindowType 0x76e12fd270 disconnect failed
[+6352 ms] F/OpenGLRenderer( 7934): drawRenderNode called on a context with no surface!
[ +498 ms] F/e.crash_exampl( 7934): runtime.cc:686] Runtime aborting...
[        ] F/e.crash_exampl( 7934): runtime.cc:686] Dumping all threads without mutator lock held
[        ] F/e.crash_exampl( 7934): runtime.cc:686] All threads:
[        ] F/e.crash_exampl( 7934): runtime.cc:686] DALVIK THREADS (93):
[        ] F/e.crash_exampl( 7934): runtime.cc:686] "RenderThread" prio=10 tid=22 Runnable
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | group="" sCount=0 dsCount=0 flags=0 obj=0x147808d8 self=0x76d121a330
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | sysTid=7965 nice=-10 cgrp=default sched=0/0 handle=0x74f19becc0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | state=R schedstat=( 266964605 56441966 722 ) utm=16 stm=9 core=5 HZ=100
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | stack=0x74f18c7000-0x74f18c9000 stackSize=995KB
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | held mutexes= "abort lock" "mutator lock"(shared held)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #00 pc 00000000004a07d0  /apex/com.android.art/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+140)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #01 pc 00000000005ada14  /apex/com.android.art/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*, bool) const+376)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #02 pc 00000000005cab4c  /apex/com.android.art/lib64/libart.so (art::DumpCheckpoint::Run(art::Thread*)+924)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #03 pc 00000000005c4a8c  /apex/com.android.art/lib64/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)+528)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #04 pc 00000000005c3c58  /apex/com.android.art/lib64/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool)+1920)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #05 pc 000000000055e858  /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+1864)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #06 pc 0000000000013978  /system/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+76)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #07 pc 0000000000006e18  /system/lib64/liblog.so (__android_log_assert+336)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #08 pc 0000000000215014  /system/lib64/libhwui.so (android::uirenderer::skiapipeline::SkiaOpenGLPipeline::getFrame()+52)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #09 pc 000000000021df14  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::draw()+188)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #10 pc 000000000022059c  /system/lib64/libhwui.so (_ZNSt3__110__function6__funcIZN7android10uirenderer12renderthread13DrawFrameTask11postAndWaitEvE3$_0NS_9allocatorIS6_EEFvvEEclEv$c303f2d2360db58ed70a2d0ac7ed911b+480)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #11 pc 000000000020ed94  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+220)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #12 pc 0000000000230024  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+88)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #13 pc 00000000000154d0  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+260)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #14 pc 0000000000014d94  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #15 pc 00000000000af868  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #16 pc 000000000004fe48  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   (no managed stack frames)
[        ] F/e.crash_exampl( 7934): runtime.cc:686] 
[        ] F/e.crash_exampl( 7934): runtime.cc:686] "main" prio=10 tid=1 Native
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | group="" sCount=1 dsCount=0 flags=1 obj=0x725ef3a8 self=0x76d11eebe0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | sysTid=7934 nice=-10 cgrp=default sched=0/0 handle=0x77f7ac84f8
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | state=S schedstat=( 2644706482 372101911 2175 ) utm=220 stm=43 core=6 HZ=100
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | stack=0x7fc6f75000-0x7fc6f77000 stackSize=8192KB
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | held mutexes=
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #00 pc 000000000004af0c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #01 pc 000000000004eaf4  /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #02 pc 00000000000aec50  /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_wait+60)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #03 pc 000000000021ff00  /system/lib64/libhwui.so (android::uirenderer::renderthread::DrawFrameTask::postAndWait()+252)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #04 pc 0000000000203c5c  /system/lib64/libhwui.so (android::android_view_ThreadedRenderer_syncAndDrawFrame(_JNIEnv*, _jobject*, long, _jlongArray*, int)+84)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at android.graphics.HardwareRenderer.nSyncAndDrawFrame(Native method)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at android.graphics.HardwareRenderer.syncAndDrawFrame(HardwareRenderer.java:433)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:658)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at android.view.ViewRootImpl.draw(ViewRootImpl.java:4247)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:3974)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3245)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2066)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8416)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at android.view.Choreographer$CallbackRecord.run(Choreographer.java:972)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at android.view.Choreographer.doCallbacks(Choreographer.java:796)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at android.view.Choreographer.doFrame(Choreographer.java:731)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:957)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at android.os.Handler.handleCallback(Handler.java:938)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at android.os.Handler.dispatchMessage(Handler.java:99)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at android.os.Looper.loop(Looper.java:250)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at android.app.ActivityThread.main(ActivityThread.java:7806)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.reflect.Method.invoke(Native method)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958)
[        ] F/e.crash_exampl( 7934): runtime.cc:686] 
[        ] F/e.crash_exampl( 7934): runtime.cc:686] "Signal Catcher" prio=10 tid=6 WaitingInMainSignalCatcherLoop
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | group="" sCount=1 dsCount=0 flags=1 obj=0x14780240 self=0x76d11f07b0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | sysTid=7944 nice=-20 cgrp=default sched=0/0 handle=0x7552bf5cc0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | state=S schedstat=( 492923 0 1 ) utm=0 stm=0 core=7 HZ=100
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | stack=0x7552afe000-0x7552b00000 stackSize=995KB
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | held mutexes=
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #00 pc 000000000009b448  /apex/com.android.runtime/lib64/bionic/libc.so (__rt_sigtimedwait+8)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #01 pc 000000000005c838  /apex/com.android.runtime/lib64/bionic/libc.so (sigwait+68)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #02 pc 00000000005849d4  /apex/com.android.art/lib64/libart.so (art::SignalCatcher::WaitForSignal(art::Thread*, art::SignalSet&)+428)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #03 pc 0000000000583544  /apex/com.android.art/lib64/libart.so (art::SignalCatcher::Run(void*)+272)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #04 pc 00000000000af868  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #05 pc 000000000004fe48  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   (no managed stack frames)
[        ] F/e.crash_exampl( 7934): runtime.cc:686] 
[        ] F/e.crash_exampl( 7934): runtime.cc:686] "perfetto_hprof_listener" prio=10 tid=7 Native (still starting up)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | group="" sCount=1 dsCount=0 flags=1 obj=0x0 self=0x76d11f3f50
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | sysTid=7945 nice=-20 cgrp=default sched=0/0 handle=0x754e9f4cc0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | state=S schedstat=( 349155 21154 9 ) utm=0 stm=0 core=5 HZ=100
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | stack=0x754e8fd000-0x754e8ff000 stackSize=995KB
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | held mutexes=
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #00 pc 000000000009a7c4  /apex/com.android.runtime/lib64/bionic/libc.so (read+4)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #01 pc 00000000000180bc  /apex/com.android.art/lib64/libperfetto_hprof.so (void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ArtPlugin_Initialize::$_29> >(void*)+280)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #02 pc 00000000000af868  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #03 pc 000000000004fe48  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   (no managed stack frames)
[        ] F/e.crash_exampl( 7934): runtime.cc:686] 
[        ] F/e.crash_exampl( 7934): runtime.cc:686] "ADB-JDWP Connection Control Thread" prio=10 tid=8 WaitingInMainDebuggerLoop
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | group="" sCount=1 dsCount=0 flags=1 obj=0x147802b8 self=0x76d11f5b20
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | sysTid=7946 nice=-20 cgrp=default sched=0/0 handle=0x754e8f6cc0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | state=S schedstat=( 3345041 49345 14 ) utm=0 stm=0 core=6 HZ=100
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | stack=0x754e7ff000-0x754e801000 stackSize=995KB
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | held mutexes=
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #00 pc 000000000009bb08  /apex/com.android.runtime/lib64/bionic/libc.so (__ppoll+8)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #01 pc 0000000000059e00  /apex/com.android.runtime/lib64/bionic/libc.so (poll+92)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #02 pc 0000000000009efc  /apex/com.android.art/lib64/libadbconnection.so (adbconnection::AdbConnectionState::RunPollLoop(art::Thread*)+828)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #03 pc 0000000000008578  /apex/com.android.art/lib64/libadbconnection.so (adbconnection::CallbackFunction(void*)+1508)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #04 pc 00000000000af868  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #05 pc 000000000004fe48  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   (no managed stack frames)
[        ] F/e.crash_exampl( 7934): runtime.cc:686] 
[        ] F/e.crash_exampl( 7934): runtime.cc:686] "Jit thread pool worker thread 0" prio=5 tid=9 Native
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | group="" sCount=1 dsCount=0 flags=1 obj=0x14780330 self=0x76d12039a0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | sysTid=7947 nice=0 cgrp=default sched=0/0 handle=0x754e7fcd00
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | state=S schedstat=( 741350002 195359459 873 ) utm=57 stm=16 core=5 HZ=100
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | stack=0x754e6fe000-0x754e700000 stackSize=1023KB
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | held mutexes=
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #00 pc 000000000004af0c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #01 pc 00000000001af92c  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #02 pc 00000000005cc874  /apex/com.android.art/lib64/libart.so (art::ThreadPool::GetTask(art::Thread*)+120)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #03 pc 00000000005cbb18  /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Run()+144)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #04 pc 00000000005cb5e8  /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Callback(void*)+192)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #05 pc 00000000000af868  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #06 pc 000000000004fe48  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   (no managed stack frames)
[        ] F/e.crash_exampl( 7934): runtime.cc:686] 
[        ] F/e.crash_exampl( 7934): runtime.cc:686] "HeapTaskDaemon" prio=5 tid=10 WaitingForTaskProcessor
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | group="" sCount=1 dsCount=0 flags=1 obj=0x14785548 self=0x76d1205570
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | sysTid=7948 nice=4 cgrp=default sched=0/0 handle=0x754e6accc0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | state=S schedstat=( 182718191 143989652 232 ) utm=13 stm=4 core=3 HZ=100
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | stack=0x754e5a9000-0x754e5ab000 stackSize=1043KB
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | held mutexes=
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #00 pc 000000000004af10  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #01 pc 00000000001afcfc  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long, int)+172)
[   +6 ms] F/e.crash_exampl( 7934): runtime.cc:686]   native: #02 pc 00000000002e544c  /apex/com.android.art/lib64/libart.so (art::gc::TaskProcessor::GetTask(art::Thread*)+512)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #03 pc 00000000002e5d94  /apex/com.android.art/lib64/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*)+92)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at dalvik.system.VMRuntime.runHeapTasks(Native method)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Daemons$HeapTaskDaemon.runInternal(Daemons.java:531)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Daemons$Daemon.run(Daemons.java:139)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Thread.run(Thread.java:923)
[        ] F/e.crash_exampl( 7934): runtime.cc:686] 
[        ] F/e.crash_exampl( 7934): runtime.cc:686] "ReferenceQueueDaemon" prio=5 tid=11 Waiting
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | group="" sCount=1 dsCount=0 flags=1 obj=0x147803a8 self=0x76d1201dd0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | sysTid=7949 nice=4 cgrp=default sched=0/0 handle=0x754e5a2cc0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | state=S schedstat=( 18501152 15171310 29 ) utm=1 stm=0 core=3 HZ=100
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | stack=0x754e49f000-0x754e4a1000 stackSize=1043KB
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | held mutexes=
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #00 pc 000000000004af0c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #01 pc 00000000001af92c  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #02 pc 000000000049b7b4  /apex/com.android.art/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+1168)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #03 pc 000000000049d220  /apex/com.android.art/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::ObjPtr<art::mirror::Object>, long, int, bool, art::ThreadState)+280)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Object.wait(Native method)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   - waiting on <0x0deb6d5a> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Object.wait(Object.java:442)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Object.wait(Object.java:568)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Daemons$ReferenceQueueDaemon.runInternal(Daemons.java:217)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   - locked <0x0deb6d5a> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Daemons$Daemon.run(Daemons.java:139)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Thread.run(Thread.java:923)
[        ] F/e.crash_exampl( 7934): runtime.cc:686] 
[        ] F/e.crash_exampl( 7934): runtime.cc:686] "FinalizerDaemon" prio=5 tid=12 Waiting
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | group="" sCount=1 dsCount=0 flags=1 obj=0x14780420 self=0x76d1207140
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | sysTid=7950 nice=4 cgrp=default sched=0/0 handle=0x754e498cc0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | state=S schedstat=( 22324423 3206461 22 ) utm=1 stm=0 core=0 HZ=100
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | stack=0x754e395000-0x754e397000 stackSize=1043KB
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | held mutexes=
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #00 pc 000000000004af0c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #01 pc 00000000001af92c  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #02 pc 000000000049b7b4  /apex/com.android.art/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+1168)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #03 pc 000000000049d220  /apex/com.android.art/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::ObjPtr<art::mirror::Object>, long, int, bool, art::ThreadState)+280)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Object.wait(Native method)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   - waiting on <0x062b2b8b> (a java.lang.Object)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Object.wait(Object.java:442)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:190)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   - locked <0x062b2b8b> (a java.lang.Object)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:211)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:273)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Daemons$Daemon.run(Daemons.java:139)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Thread.run(Thread.java:923)
[        ] F/e.crash_exampl( 7934): runtime.cc:686] 
[        ] F/e.crash_exampl( 7934): runtime.cc:686] "FinalizerWatchdogDaemon" prio=5 tid=13 Sleeping
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | group="" sCount=1 dsCount=0 flags=1 obj=0x14780498 self=0x76d1208d10
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | sysTid=7951 nice=4 cgrp=default sched=0/0 handle=0x754e38ecc0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | state=S schedstat=( 758884 1172191 13 ) utm=0 stm=0 core=1 HZ=100
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | stack=0x754e28b000-0x754e28d000 stackSize=1043KB
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | held mutexes=
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #00 pc 000000000004af10  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #01 pc 00000000001afcfc  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long, int)+172)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #02 pc 000000000049b7c8  /apex/com.android.art/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+1188)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #03 pc 000000000049d220  /apex/com.android.art/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::ObjPtr<art::mirror::Object>, long, int, bool, art::ThreadState)+280)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Thread.sleep(Native method)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   - sleeping on <0x00281468> (a java.lang.Object)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Thread.sleep(Thread.java:442)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   - locked <0x00281468> (a java.lang.Object)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Thread.sleep(Thread.java:358)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Daemons$FinalizerWatchdogDaemon.sleepForNanos(Daemons.java:390)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization(Daemons.java:419)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal(Daemons.java:325)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Daemons$Daemon.run(Daemons.java:139)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Thread.run(Thread.java:923)
[        ] F/e.crash_exampl( 7934): runtime.cc:686] 
[        ] F/e.crash_exampl( 7934): runtime.cc:686] "Binder:7934_1" prio=5 tid=14 Native
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | group="" sCount=1 dsCount=0 flags=1 obj=0x14780510 self=0x76d120c4b0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | sysTid=7952 nice=0 cgrp=default sched=0/0 handle=0x754e186cc0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | state=S schedstat=( 8204844 2570385 30 ) utm=0 stm=0 core=2 HZ=100
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | stack=0x754e08f000-0x754e091000 stackSize=995KB
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | held mutexes=
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #00 pc 000000000009aa44  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #01 pc 0000000000057820  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+156)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #02 pc 00000000000519e4  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+296)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #03 pc 0000000000051bd4  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+24)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #04 pc 00000000000524a0  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+60)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #05 pc 00000000000785d0  /system/lib64/libbinder.so (android::PoolThread::threadLoop()+44)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #06 pc 00000000000154d0  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+260)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #07 pc 00000000000a1ec8  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+144)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #08 pc 0000000000014d94  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #09 pc 00000000000af868  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #10 pc 000000000004fe48  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   (no managed stack frames)
[        ] F/e.crash_exampl( 7934): runtime.cc:686] 
[        ] F/e.crash_exampl( 7934): runtime.cc:686] "Binder:7934_2" prio=5 tid=15 Native
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | group="" sCount=1 dsCount=0 flags=1 obj=0x14780588 self=0x76d120e080
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | sysTid=7953 nice=0 cgrp=default sched=0/0 handle=0x754e088cc0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | state=S schedstat=( 13765769 2521116 16 ) utm=1 stm=0 core=4 HZ=100
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | stack=0x754df91000-0x754df93000 stackSize=995KB
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | held mutexes=
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #00 pc 000000000009aa44  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #01 pc 0000000000057820  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+156)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #02 pc 00000000000519e4  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+296)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #03 pc 0000000000051bd4  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+24)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #04 pc 00000000000524a0  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+60)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #05 pc 00000000000785d0  /system/lib64/libbinder.so (android::PoolThread::threadLoop()+44)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #06 pc 00000000000154d0  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+260)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #07 pc 00000000000a1ec8  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+144)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #08 pc 0000000000014d94  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #09 pc 00000000000af868  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #10 pc 000000000004fe48  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   (no managed stack frames)
[        ] F/e.crash_exampl( 7934): runtime.cc:686] 
...
*** I removed most part of the logs to fit the issue, maximum is 65536 characters. ***
*** Full log here https://gist.github.com/Paitomax/d255ac72a3df337e4f304e3ecf4f4642 ***
...
[        ] F/e.crash_exampl( 7934): runtime.cc:686] "OkHttp ConnectionPool" prio=5 tid=98 TimedWaiting
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | group="" sCount=1 dsCount=0 flags=1 obj=0x14785050 self=0x76d12e3d70
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | sysTid=8186 nice=0 cgrp=default sched=0/0 handle=0x74352a3cc0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | state=S schedstat=( 721270 0 3 ) utm=0 stm=0 core=1 HZ=100
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | stack=0x74351a0000-0x74351a2000 stackSize=1043KB
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | held mutexes=
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #00 pc 000000000004af10  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #01 pc 00000000001afcfc  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long, int)+172)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #02 pc 000000000049b7c8  /apex/com.android.art/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+1188)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #03 pc 000000000049d220  /apex/com.android.art/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::ObjPtr<art::mirror::Object>, long, int, bool, art::ThreadState)+280)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Object.wait(Native method)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   - waiting on <0x059e0f14> (a com.android.okhttp.ConnectionPool)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at com.android.okhttp.ConnectionPool$1.run(ConnectionPool.java:106)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   - locked <0x059e0f14> (a com.android.okhttp.ConnectionPool)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Thread.run(Thread.java:923)
[        ] F/e.crash_exampl( 7934): runtime.cc:686] 
[        ] F/e.crash_exampl( 7934): runtime.cc:686] "Okio Watchdog" prio=5 tid=99 TimedWaiting
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | group="" sCount=1 dsCount=0 flags=1 obj=0x14785178 self=0x76d12e5940
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | sysTid=8187 nice=0 cgrp=default sched=0/0 handle=0x7434199cc0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | state=S schedstat=( 976002 82654 18 ) utm=0 stm=0 core=1 HZ=100
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | stack=0x7434096000-0x7434098000 stackSize=1043KB
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | held mutexes=
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #00 pc 000000000004af10  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #01 pc 00000000001afcfc  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long, int)+172)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #02 pc 000000000049b7c8  /apex/com.android.art/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+1188)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #03 pc 000000000049d220  /apex/com.android.art/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::ObjPtr<art::mirror::Object>, long, int, bool, art::ThreadState)+280)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Object.wait(Native method)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   - waiting on <0x0a5cb3bd> (a java.lang.Class<com.android.okhttp.okio.AsyncTimeout>)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at com.android.okhttp.okio.AsyncTimeout.awaitTimeout(AsyncTimeout.java:325)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   - locked <0x0a5cb3bd> (a java.lang.Class<com.android.okhttp.okio.AsyncTimeout>)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at com.android.okhttp.okio.AsyncTimeout.access$000(AsyncTimeout.java:42)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at com.android.okhttp.okio.AsyncTimeout$Watchdog.run(AsyncTimeout.java:288)
[        ] F/e.crash_exampl( 7934): runtime.cc:686] 
[        ] F/e.crash_exampl( 7934): runtime.cc:686] "AdWorker(Activeview) #1" prio=5 tid=100 TimedWaiting
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | group="" sCount=1 dsCount=0 flags=1 obj=0x14785220 self=0x76d12f1bf0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | sysTid=8194 nice=0 cgrp=default sched=0/0 handle=0x74317facc0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | state=S schedstat=( 101706264 31886041 105 ) utm=7 stm=3 core=3 HZ=100
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | stack=0x74316f7000-0x74316f9000 stackSize=1043KB
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | held mutexes=
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #00 pc 000000000004af10  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #01 pc 00000000005a4370  /apex/com.android.art/lib64/libart.so (art::Thread::Park(bool, long)+1396)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #02 pc 00000000004dd3a8  /apex/com.android.art/lib64/libart.so (art::Unsafe_park(_JNIEnv*, _jobject*, unsigned char, long)+660)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at sun.misc.Unsafe.park(Native method)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   - waiting on an unknown object
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2109)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1091)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Thread.run(Thread.java:923)
[        ] F/e.crash_exampl( 7934): runtime.cc:686] 
[        ] F/e.crash_exampl( 7934): runtime.cc:686] "MemoryInfra" prio=5 tid=19 Native
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | group="" sCount=1 dsCount=0 flags=1 obj=0x14785390 self=0x76d1285f90
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | sysTid=8121 nice=0 cgrp=default sched=0/0 handle=0x74572cdcc0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | state=S schedstat=( 14644192 186884 12 ) utm=0 stm=0 core=7 HZ=100
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | stack=0x74571d6000-0x74571d8000 stackSize=995KB
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | held mutexes=
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #00 pc 000000000004af10  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #01 pc 000000000004eaf4  /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #02 pc 00000000000aecf4  /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_timedwait+120)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #03 pc 00000000035f4380  /data/app/~~IqmjFohIe9a8htUi6uQ0wg==/com.google.android.webview-KuNGTerQwVFKiSPvZ5b_sg==/base.apk!libmonochrome.so (offset 45e000) (???)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   (no managed stack frames)
[        ] F/e.crash_exampl( 7934): runtime.cc:686] 
[        ] F/e.crash_exampl( 7934): runtime.cc:686] "AdWorker(Default) #13" prio=5 tid=37 TimedWaiting
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | group="" sCount=1 dsCount=0 flags=1 obj=0x14785408 self=0x76d11f2380
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | sysTid=8280 nice=0 cgrp=default sched=0/0 handle=0x754f1e7cc0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | state=S schedstat=( 8736614 1387577 12 ) utm=0 stm=0 core=7 HZ=100
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | stack=0x754f0e4000-0x754f0e6000 stackSize=1043KB
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | held mutexes=
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #00 pc 000000000004af10  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #01 pc 00000000005a4370  /apex/com.android.art/lib64/libart.so (art::Thread::Park(bool, long)+1396)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #02 pc 00000000004dd3a8  /apex/com.android.art/lib64/libart.so (art::Unsafe_park(_JNIEnv*, _jobject*, unsigned char, long)+660)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at sun.misc.Unsafe.park(Native method)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   - waiting on an unknown object
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:461)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:937)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1091)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   at java.lang.Thread.run(Thread.java:923)
[        ] F/e.crash_exampl( 7934): runtime.cc:686] 
[        ] F/e.crash_exampl( 7934): runtime.cc:686] "Binder:7934_6" prio=5 tid=38 Native
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | group="" sCount=1 dsCount=0 flags=1 obj=0x147854d0 self=0x76d127d480
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | sysTid=8282 nice=0 cgrp=default sched=0/0 handle=0x754f0a5cc0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | state=S schedstat=( 12740462 19298076 29 ) utm=0 stm=0 core=2 HZ=100
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | stack=0x754efae000-0x754efb0000 stackSize=995KB
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | held mutexes=
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #00 pc 000000000009aa44  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #01 pc 0000000000057820  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+156)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #02 pc 00000000000519e4  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+296)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #03 pc 0000000000051bd4  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+24)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #04 pc 00000000000524a0  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+60)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #05 pc 00000000000785d0  /system/lib64/libbinder.so (android::PoolThread::threadLoop()+44)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #06 pc 00000000000154d0  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+260)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #07 pc 00000000000a1ec8  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+144)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #08 pc 0000000000014d94  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #09 pc 00000000000af868  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #10 pc 000000000004fe48  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   (no managed stack frames)
[        ] F/e.crash_exampl( 7934): runtime.cc:686] 
[        ] F/e.crash_exampl( 7934): runtime.cc:686] Aborting thread:
[        ] F/e.crash_exampl( 7934): runtime.cc:686] "RenderThread" prio=10 tid=22 Native
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | group="" sCount=0 dsCount=0 flags=0 obj=0x147808d8 self=0x76d121a330
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | sysTid=7965 nice=-10 cgrp=default sched=0/0 handle=0x74f19becc0
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | state=R schedstat=( 467181687 93376882 1041 ) utm=29 stm=17 core=6 HZ=100
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | stack=0x74f18c7000-0x74f18c9000 stackSize=995KB
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   | held mutexes= "abort lock"
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #00 pc 00000000004a07d0  /apex/com.android.art/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+140)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #01 pc 00000000005ada14  /apex/com.android.art/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*, bool) const+376)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #02 pc 00000000005730bc  /apex/com.android.art/lib64/libart.so (art::AbortState::DumpThread(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, art::Thread*) const+60)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #03 pc 000000000055ea94  /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+2436)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #04 pc 0000000000013978  /system/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+76)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #05 pc 0000000000006e18  /system/lib64/liblog.so (__android_log_assert+336)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #06 pc 0000000000215014  /system/lib64/libhwui.so (android::uirenderer::skiapipeline::SkiaOpenGLPipeline::getFrame()+52)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #07 pc 000000000021df14  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::draw()+188)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #08 pc 000000000022059c  /system/lib64/libhwui.so (_ZNSt3__110__function6__funcIZN7android10uirenderer12renderthread13DrawFrameTask11postAndWaitEvE3$_0NS_9allocatorIS6_EEFvvEEclEv$c303f2d2360db58ed70a2d0ac7ed911b+480)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #09 pc 000000000020ed94  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+220)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #10 pc 0000000000230024  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+88)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #11 pc 00000000000154d0  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+260)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #12 pc 0000000000014d94  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #13 pc 00000000000af868  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   native: #14 pc 000000000004fe48  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
[        ] F/e.crash_exampl( 7934): runtime.cc:686]   (no managed stack frames)
[        ] F/e.crash_exampl( 7934): runtime.cc:686] 
[+1073 ms] F/libc    ( 7934): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 7965 (RenderThread), pid 7934 (e.crash_example)
[ +130 ms] *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
[        ] Build fingerprint: 'motorola/kane/kane_sprout:11/RSAS31.Q1-48-36-21/2d6d87:user/release-keys'
[        ] Revision: 'PVT'
[        ] ABI: 'arm64'
[        ] Timestamp: 2022-05-15 21:50:39-0300
[        ] pid: 7934, tid: 7965, name: RenderThread  >>> com.example.crash_example <<<
[        ] uid: 10265
[        ] signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
[        ] Abort message: 'drawRenderNode called on a context with no surface!'
[        ]     x0  0000000000000000  x1  0000000000001f1d  x2  0000000000000006  x3  00000074f19be230
[        ]     x4  00000077f79d3000  x5  00000077f79d3000  x6  00000077f79d3000  x7  00000000008f20a2
[        ]     x8  00000000000000f0  x9  79162c2ab69fe894  x10 0000000000000000  x11 ffffffc0fffffbdf
[        ]     x12 0000000000000001  x13 0000000000000336  x14 00000077f231cd22  x15 00000000000001de
[        ]     x16 00000077f2319c80  x17 00000077f22fb340  x18 00000074f0974000  x19 0000000000001efe
[        ]     x20 0000000000001f1d  x21 00000000ffffffff  x22 0000007560bba6bb  x23 0000000000000019
[        ]     x24 0000007560b9a367  x25 0000000000000001  x26 0000007560bb13dc  x27 00000075611b8000
[        ]     x28 0000007581209870  x29 00000074f19be2b0
[        ]     lr  00000077f22aee60  sp  00000074f19be210  pc  00000077f22aee8c  pst 0000000000000000
[  +38 ms] backtrace:
[        ]       #00 pc 000000000004de8c  /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: deb0435cd0597318eb088725e2dfaf49)
[        ]       #01 pc 000000000055ea14  /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+2308) (BuildId: 7264c82832ec2a1b315a35d3103ae9fb)
[        ]       #02 pc 0000000000013978  /system/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+76) (BuildId: 7f81cc97d60164bfae3b52a2cd822f20)
[        ]       #03 pc 0000000000006e18  /system/lib64/liblog.so (__android_log_assert+336) (BuildId: 53286795d97fe56c1e70dca740895c84)
[        ]       #04 pc 0000000000215014  /system/lib64/libhwui.so (android::uirenderer::skiapipeline::SkiaOpenGLPipeline::getFrame()+52) (BuildId: 482eb17a4653001b53079d35f149cf47)
[        ]       #05 pc 000000000021df14  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::draw()+188) (BuildId: 482eb17a4653001b53079d35f149cf47)
[        ]       #06 pc 000000000022059c  /system/lib64/libhwui.so (_ZNSt3__110__function6__funcIZN7android10uirenderer12renderthread13DrawFrameTask11postAndWaitEvE3$_0NS_9allocatorIS6_EEFvvEEclEv$c303f2d2360db58ed70a2d0ac7ed911b+480) (BuildId: 482eb17a4653001b53079d35f149cf47)
[        ]       #07 pc 000000000020ed94  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+220) (BuildId: 482eb17a4653001b53079d35f149cf47)
[        ]       #08 pc 0000000000230024  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+88) (BuildId: 482eb17a4653001b53079d35f149cf47)
[        ]       #09 pc 00000000000154d0  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+260) (BuildId: d1aa3b02347f658128fc75fb371856b9)
[        ]       #10 pc 0000000000014d94  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412) (BuildId: d1aa3b02347f658128fc75fb371856b9)
[        ]       #11 pc 00000000000af868  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: deb0435cd0597318eb088725e2dfaf49)
[        ]       #12 pc 000000000004fe48  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: deb0435cd0597318eb088725e2dfaf49)
[+1146 ms] Service protocol connection closed.
[        ] Lost connection to device.
[   +1 ms] DevFS: Deleting filesystem on the device (file:///data/user/0/com.example.crash_example/code_cache/crash_examplePATOTH/crash_example/)
[   +5 ms] executing: /home/minitick/Android/Sdk/platform-tools/adb -s 0056720490 shell am force-stop com.example.crash_example
Analyzing crash_example...                                              
No issues found! (ran in 1.1s)
[✓] Flutter (Channel stable, 3.0.0, on Slackware 15.0 x86_64 (post 15.0 -current) 5.17.7, locale pt_BR.UTF-8)
    • Flutter version 3.0.0 at /opt/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ee4e09cce0 (6 days ago), 2022-05-09 16:45:18 -0700
    • Engine revision d1b9a6938a
    • Dart version 2.17.0
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc5)
    • Android SDK at /home/minitick/Android/Sdk
    • Platform android-31, build-tools 31.0.0-rc5
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Android Studio (version 2021.2)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 67.1.2
    • Dart plugin version 212.5744
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] Connected device (1 available)
    • motorola one vision (mobile) • 0056720490 • android-arm64 • Android 11 (API 30)

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Example running on a Motorola One Vision - Android 11

crash.mp4

Activity

  1. maheshj01 commented on May 16, 2022

    @maheshj01
    Member

    Hi @Paitomax, Thanks for filing the issue. I tried running your code sample But I am not able to reproduce the issue. The app continues to work when resumed from background verified on Xiaomi k20 pro (Android 11)

    Screen.Recording.2022-05-16.at.5.01.29.PM.mov
    flutter doctor -v (mac)
    [✓] Flutter (Channel stable, 3.0.0, on macOS 12.3 21E230 darwin-arm, locale en-IN)
        • Flutter version 3.0.0 at /Users/mahesh/Documents/flutter
        • Upstream repository https://github.com/flutter/flutter.git
        • Framework revision ee4e09cce0 (6 days ago), 2022-05-09 16:45:18 -0700
        • Engine revision d1b9a6938a
        • Dart version 2.17.0
        • DevTools version 2.12.2
    
    [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
        • Android SDK at /Users/mahesh/Library/Android/sdk
        • Platform android-32, build-tools 31.0.0
        • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
        • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
        • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
        • All Android licenses accepted.
    
    [!] Xcode - develop for iOS and macOS (Xcode 13.2.1)
        • Xcode at /Applications/Xcode.app/Contents/Developer
        ! CocoaPods 1.10.2 out of date (1.11.0 is recommended).
            CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your
            plugin usage on the Dart side.
            Without CocoaPods, plugins will not work on iOS or macOS.
            For more info, see https://flutter.dev/platform-plugins
          To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
    
    [✓] Chrome - develop for the web
        • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
    
    [✓] Android Studio (version 2021.1)
        • 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.11+0-b60-7772763)
    
    [✓] IntelliJ IDEA Community Edition (version 2021.2.1)
        • IntelliJ at /Applications/IntelliJ IDEA CE.app
        • Flutter plugin version 61.2.4
        • Dart plugin version 212.5080.8
    
    [✓] VS Code (version 1.66.2)
        • VS Code at /Applications/Visual Studio Code.app/Contents
        • Flutter extension version 3.40.0
    
    [✓] Connected device (2 available)
        • macOS (desktop) • macos  • darwin-arm64   • macOS 12.3 21E230 darwin-arm
        • Chrome (web)    • chrome • web-javascript • Google Chrome 101.0.4951.64
    
    [✓] HTTP Host Availability
        • All required HTTP hosts are available
    
    ! Doctor found issues in 1 category.
    
    logs
    Launching lib/main.dart on Redmi K20 Pro in debug mode...
    Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
    Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
    Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
    Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
    ✓  Built build/app/outputs/flutter-apk/app-debug.apk.
    W/FlutterActivityAndFragmentDelegate(18519): A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-migration for migration steps.
    Connecting to VM Service at ws://127.0.0.1:62807/9KaiVC3ixTI=/ws
    I/DynamiteModule(18519): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:221310604
    I/DynamiteModule(18519): Selected remote version of com.google.android.gms.ads.dynamite, version >= 221310604
    D/DynamitePackage(18519): Instantiated singleton DynamitePackage.
    D/DynamitePackage(18519): Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
    I/Ads     (18519): Updating ad debug logging enablement.
    I/Ads     (18519): Use RequestConfiguration.Builder().setTestDeviceIds(Arrays.asList("7533D24B76F3D928E20EB84A8C420B39")) to get test ads on this device.
    W/ConnectionStatusConfig(18519): Dynamic lookup for intent failed for action: com.google.android.gms.leibniz.events.service.START
    W/GmsClient(18519): unable to connect to service: com.google.android.gms.leibniz.events.service.START on com.google.android.gms
    I/DynamiteModule(18519): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:221310604
    I/DynamiteModule(18519): Selected remote version of com.google.android.gms.ads.dynamite, version >= 221310604
    I/WebViewFactory(18519): Loading com.google.android.webview version 101.0.4951.41 (code 495104133)
    W/ple.ads_exampl(18519): Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (greylist, reflection, allowed)
    W/ple.ads_exampl(18519): Accessing hidden method Landroid/os/Trace;->traceBegin(JLjava/lang/String;)V (greylist, reflection, allowed)
    W/ple.ads_exampl(18519): Accessing hidden method Landroid/os/Trace;->traceEnd(J)V (greylist, reflection, allowed)
    W/ple.ads_exampl(18519): Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (greylist, reflection, allowed)
    W/ple.ads_exampl(18519): Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (greylist, reflection, allowed)
    I/cr_WVCFactoryProvider(18519): Loaded version=101.0.4951.41 minSdkVersion=29 isBundle=true multiprocess=true packageId=2
    I/cr_LibraryLoader(18519): Successfully loaded native library
    I/cr_CachingUmaRecorder(18519): Flushed 8 samples from 8 histograms.
    I/DynamiteModule(18519): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:221310604
    I/DynamiteModule(18519): Selected remote version of com.google.android.gms.ads.dynamite, version >= 221310604
    E/libc    (18519): Access denied finding property "ro.vendor.df.effect.conflict"
    E/libc    (18519): Access denied finding property "ro.vendor.knock.type"
    W/AdWorker(Defaul(18519): type=1400 audit(0.0:50048): avc: denied { read } for name="u:object_r:vendor_displayfeature_prop:s0" dev="tmpfs" ino=28845 scontext=u:r:untrusted_app:s0:c60,c257,c512,c768 tcontext=u:object_r:vendor_displayfeature_prop:s0 tclass=file permissive=0 app=com.example.ads_example
    W/ple.ads_exampl(18519): ClassLoaderContext classpath element mismatch. expected=/data/app/~~39eTk6XSUsqSBQsO7LY4hQ==/com.example.ads_example-4Rlj-8hIjVoCNQKKX0Kk7A==/base.apk, found=/data/app/~~mnW5s5wduNuC0GmOqRuesw==/com.example.ads_example-P5dMoHTL1ih1T6NPFrzJlQ==/base.apk (PCL[];PCL[/data/app/~~39eTk6XSUsqSBQsO7LY4hQ==/com.example.ads_example-4Rlj-8hIjVoCNQKKX0Kk7A==/base.apk*1868457614:/data/app/~~39eTk6XSUsqSBQsO7LY4hQ==/com.example.ads_example-4Rlj-8hIjVoCNQKKX0Kk7A==/base.apk!classes2.dex*4051189012] | PCL[];PCL[/data/app/~~mnW5s5wduNuC0GmOqRuesw==/com.example.ads_example-P5dMoHTL1ih1T6NPFrzJlQ==/base.apk*131020711:/data/app/~~mnW5s5wduNuC0GmOqRuesw==/com.example.ads_example-P5dMoHTL1ih1T6NPFrzJlQ==/base.apk!classes2.dex*1229271166])
    W/ple.ads_exampl(18519): ClassLoaderContext classpath element mismatch. expected=/data/app/~~39eTk6XSUsqSBQsO7LY4hQ==/com.example.ads_example-4Rlj-8hIjVoCNQKKX0Kk7A==/base.apk, found=/data/app/~~mnW5s5wduNuC0GmOqRuesw==/com.example.ads_example-P5dMoHTL1ih1T6NPFrzJlQ==/base.apk (PCL[];PCL[/data/app/~~39eTk6XSUsqSBQsO7LY4hQ==/com.example.ads_example-4Rlj-8hIjVoCNQKKX0Kk7A==/base.apk*1868457614:/data/app/~~39eTk6XSUsqSBQsO7LY4hQ==/com.example.ads_example-4Rlj-8hIjVoCNQKKX0Kk7A==/base.apk!classes2.dex*4051189012] | PCL[];PCL[])
    I/AudioManager(18519): In isSpeakerphoneOn(), calling application: com.example.ads_example
    W/Ads     (18519): Update ad debug logging enablement as false
    I/ple.ads_exampl(18519): ProcessProfilingInfo new_methods=1911 is saved saved_to_disk=1 resolve_classes_delay=8000
    W/AdWorker(Defaul(18519): type=1400 audit(0.0:50049): avc: granted { execute } for path="/data/data/com.example.ads_example/app_pccache/5/3ADD07A77E5BC23D41D5235C3F0C964B75D847A9/pcam.jar" dev="sda31" ino=3969745 scontext=u:r:untrusted_app:s0:c60,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c60,c257,c512,c768 tclass=file app=com.example.ads_example
    W/AdColonyMediationAdapter(18519): Unexpected SDK version format: . Returning 0.0.0 for SDK version.
    D/EgretLoader(18519): EgretLoader(Context context)
    D/EgretLoader(18519): The context is not activity
    W/ple.ads_exampl(18519): Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (greylist, reflection, allowed)
    W/cr_media(18519): Requires BLUETOOTH permission
    I/AdColony [INFO](18519): Configuring AdColony
    W/Looper  (18519): PerfMonitor doFrame : time=2ms vsyncFrame=248903 latency=350ms procState=2 historyMsgCount=1 (msgIndex=1 wall=339ms seq=54 running=184ms runnable=23ms io=110ms binder=27ms late=1ms h=com.google.android.gms.ads.internal.util.f c=com.google.android.gms.ads.nonagon.initialization.g)
    D/EgretLoader(18519): EgretLoader(Context context)
    D/EgretLoader(18519): The context is not activity
    D/EgretLoader(18519): EgretLoader(Context context)
    D/EgretLoader(18519): The context is not activity
    I/DynamiteModule(18519): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:221310604
    I/DynamiteModule(18519): Selected remote version of com.google.android.gms.ads.dynamite, version >= 221310604
    I/flutter (18519): Ad loaded
    E/FrameEvents(18519): updateAcquireFence: Did not find frame.
    W/ContentCatcher(18519): Failed to notify a WebView
    E/FrameEvents(18519): updateAcquireFence: Did not find frame.
    I/chatty  (18519): uid=10316(com.example.ads_example) RenderThread identical 2 lines
    E/FrameEvents(18519): updateAcquireFence: Did not find frame.
    E/FrameEvents(18519): updateAcquireFence: Did not find frame.
    I/chatty  (18519): uid=10316(com.example.ads_example) RenderThread identical 16 lines
    E/FrameEvents(18519): updateAcquireFence: Did not find frame.
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    I/chatty  (18519): uid=10316(com.example.ads_example) RenderThread identical 3 lines
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    I/chatty  (18519): uid=10316(com.example.ads_example) RenderThread identical 7 lines
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/MirrorManager(18519): this model don't Support
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    I/chatty  (18519): uid=10316(com.example.ads_example) RenderThread identical 4 lines
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    I/chatty  (18519): uid=10316(com.example.ads_example) RenderThread identical 10 lines
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    I/chatty  (18519): uid=10316(com.example.ads_example) RenderThread identical 8 lines
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    I/chatty  (18519): uid=10316(com.example.ads_example) RenderThread identical 4 lines
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    I/chatty  (18519): uid=10316(com.example.ads_example) RenderThread identical 15 lines
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    I/Ads     (18519): Use RequestConfiguration.Builder().setTestDeviceIds(Arrays.asList("7533D24B76F3D928E20EB84A8C420B39")) to get test ads on this device.
    I/DynamiteModule(18519): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:221310604
    I/DynamiteModule(18519): Selected remote version of com.google.android.gms.ads.dynamite, version >= 221310604
    I/DynamiteModule(18519): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:221310604
    I/DynamiteModule(18519): Selected remote version of com.google.android.gms.ads.dynamite, version >= 221310604
    I/AudioManager(18519): In isSpeakerphoneOn(), calling application: com.example.ads_example
    D/EgretLoader(18519): EgretLoader(Context context)
    D/EgretLoader(18519): The context is not activity
    I/DynamiteModule(18519): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:221310604
    I/DynamiteModule(18519): Selected remote version of com.google.android.gms.ads.dynamite, version >= 221310604
    W/ContentCatcher(18519): Failed to notify a WebView
    W/ContentCatcher(18519): Failed to notify a WebView
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/Ads     (18519): #004 The webview is destroyed. Ignoring action.
    I/chatty  (18519): uid=10316(com.example.ads_example) identical 1 line
    W/Ads     (18519): #004 The webview is destroyed. Ignoring action.
    I/flutter (18519): Ad loaded
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    I/chatty  (18519): uid=10316(com.example.ads_example) RenderThread identical 7 lines
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/Choreographer(18519): Frame time is 0.097529 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    I/chatty  (18519): uid=10316(com.example.ads_example) RenderThread identical 5 lines
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    W/OpenGLRenderer(18519): The surface had destroyed before draw
    Exited
    
    
  2. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on May 16, 2022
  3. Paitomax commented on May 16, 2022

    @Paitomax
    Author

    Thanks for testing, @maheshmnj! The error is really hard to reproduce, I've already tested it on a Galaxy S9+ and Galaxy S22 and the problem doesn't happen, apparently it doesn't happen on any device, "only" on Motorola devices.

    Can you (or somebody) test using any of the devices listed in the issue?

  4. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on May 16, 2022
  5. maheshj01 commented on May 16, 2022

    @maheshj01
    Member

    Thanks for the info @Paitomax, Unfortunately, none of my teammates have a Motorola device.
    Can you please try running the app using flutter run -v and reproduce the crash and share the complete logs in a text file?
    Complete logs can be found here https://gist.github.com/Paitomax/d255ac72a3df337e4f304e3ecf4f4642

    Labeling this issue for further investigation from the team.

  6. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    c: crashStack traces logged to the console
    platform-androidAndroid applications specifically
    a: platform-viewsEmbedding Android/iOS views in Flutter apps
    a: productionIssues experienced in live production apps
    and removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    in triagePresently being triaged by the triage team
    on May 16, 2022
  7. jongkb commented on May 17, 2022

    @jongkb

    I'm also seeing a similar crash on Xiaomi Mi A2 (Android 10) after resuming my app from background.

    [√] Flutter (Channel stable, 3.0.0, on Microsoft Windows [Version 10.0.19043.1706], locale en-MY)
        • Flutter version 3.0.0 at C:\src\flutter
        • Upstream repository https://github.com/flutter/flutter.git
        • Framework revision ee4e09cce0 (8 days ago), 2022-05-09 16:45:18 -0700
        • Engine revision d1b9a6938a
        • Dart version 2.17.0
        • DevTools version 2.12.2
    
    [√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
        • Android SDK at C:\Users\Jason\AppData\Local\Android\sdk
        • Platform android-31, build-tools 32.0.0
        • ANDROID_SDK_ROOT = C:\Users\Jason\AppData\Local\Android\sdk
        • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
        • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
        • All Android licenses accepted.
    
    [√] Chrome - develop for the web
        • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
    
    [!] Visual Studio - develop for Windows (Visual Studio Community 2019 16.2.3)
        • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
        • Visual Studio Community 2019 version 16.2.29215.179
        • Windows 10 SDK version 10.0.17763.0
        X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++"
          workload, and include these components:
            MSVC v142 - VS 2019 C++ x64/x86 build tools
             - If there are multiple build tool versions available, install the latest
            C++ CMake tools for Windows
            Windows 10 SDK
    
    [√] Android Studio (version 2021.2)
        • Android Studio at C:\Program Files\Android\Android Studio
        • 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.12+7-b1504.28-7817840)
    
    [√] VS Code, 64-bit edition (version 1.67.1)
        • VS Code at C:\Program Files\Microsoft VS Code
        • Flutter extension version 3.40.0
    
    [√] Connected device (4 available)
        • Mi A2 (mobile)    • 2adfa93 • android-arm64  • Android 10 (API 29)
        • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19043.1706]
        • Chrome (web)      • chrome  • web-javascript • Google Chrome 101.0.4951.54
        • Edge (web)        • edge    • web-javascript • Microsoft Edge 101.0.1210.47
    
    [√] HTTP Host Availability
        • All required HTTP hosts are available
    
    ! Doctor found issues in 1 category.
    
    F/OpenGLRenderer(20227): drawRenderNode called on a context with no surface!
    F/libc    (20227): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 20268 (RenderThread), pid 20227 (***redacted***)
    *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    Build fingerprint: 'xiaomi/jasmine/jasmine_sprout:10/QKQ1.190910.002/V11.0.28.0.QDIMIXM:user/release-keys'
    Revision: '0'
    ABI: 'arm64'
    Timestamp: 2022-05-17 19:16:26+0800
    pid: 20227, tid: 20268, name: RenderThread  >>> ***redacted*** <<<
    uid: 12130
    signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
    Abort message: 'drawRenderNode called on a context with no surface!'
        x0  0000000000000000  x1  0000000000004f2c  x2  0000000000000006  x3  0000007c556ab400
        x4  feff71647164636d  x5  feff71647164636d  x6  feff71647164636d  x7  7f7f7f7f7f7f7f7f
        x8  00000000000000f0  x9  7d65d7fb15f72a2e  x10 0000000000000001  x11 0000000000000000
        x12 fffffff0fffffbdf  x13 ffffffffffffffff  x14 0000000000000004  x15 ffffffffffffffff
        x16 0000007d4515f8c0  x17 0000007d4513b900  x18 0000007c54c5a000  x19 0000000000004f03
        x20 0000000000004f2c  x21 00000000ffffffff  x22 0000007c556ac020  x23 0000007d45438028
        x24 0000000000000001  x25 0000007af5262c20  x26 0000000000000001  x27 0000007d47717020
        x28 0000000000000000  x29 0000007c556ab4a0
        sp  0000007c556ab3e0  lr  0000007d450ed0c4  pc  0000007d450ed0f0
    backtrace:
          #00 pc 00000000000830f0  /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: cf739dbc84bcc78f7a1500721bfb3758)
          #01 pc 0000000000008a14  /system/lib64/liblog.so (__android_log_assert+328) (BuildId: 66a894606965a3aa1a539d8700f47f93)
          #02 pc 00000000002c6ca8  /system/lib64/libhwui.so (android::uirenderer::skiapipeline::SkiaOpenGLPipeline::getFrame()+48) (BuildId: 2c1cd040bbce06169a567c284876d9bd)
          #03 pc 00000000002d38d8  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::draw()+236) (BuildId: 2c1cd040bbce06169a567c284876d9bd)
          #04 pc 00000000002d2b98  /system/lib64/libhwui.so (_ZNSt3__110__function6__funcIZN7android10uirenderer12renderthread13DrawFrameTask11postAndWaitEvE3$_0NS_9allocatorIS6_EEFvvEEclEv$c303f2d2360db58ed70a2d0ac7ed911b+380) (BuildId: 2c1cd040bbce06169a567c284876d9bd)
          #05 pc 00000000002de0fc  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+228) (BuildId: 2c1cd040bbce06169a567c284876d9bd)
          #06 pc 00000000002ddde4  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+584) (BuildId: 2c1cd040bbce06169a567c284876d9bd)
          #07 pc 0000000000013654  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+328) (BuildId: c73197c2e6df66de0fa88d2e68c6ee09)
          #08 pc 00000000000e6890  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: cf739dbc84bcc78f7a1500721bfb3758)
          #09 pc 0000000000084b6c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: cf739dbc84bcc78f7a1500721bfb3758)
    Lost connection to device.
    Exited (sigterm)
    
  8. 18 remaining items

  9. 0xZOne commented on Jun 2, 2022

    @0xZOne
    Member

    The low memory notification can be simulated by the following command:

    adb shell am send-trim-memory <your_package_name_here> COMPLETE

  10. GabrielBB commented on Jun 12, 2022

    @GabrielBB

    This issue also happens with Google Maps after you resume the app and is reproducible with any emulator using Android 11

  11. added
    r: fixedIssue is closed as already fixed in a newer version
    on Jun 21, 2022
  12. chirag9560 commented on Jun 28, 2022

    @chirag9560

    F/libc ( 7778): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 7888 (RenderThread), pid 7778 (na.informer_app)


    Build fingerprint: 'Xiaomi/laurel_sprout/laurel_sprout:11/RKQ1.200903.002/V12.0.22.0.RFQMIXM:user/release-keys'
    Revision: '0'
    ABI: 'arm64'
    Timestamp: 2022-06-28 12:25:42+0530
    pid: 7778, tid: 7888, name: RenderThread >>> com.avedna.informer_app <<<
    uid: 11264
    signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
    Abort message: 'drawRenderNode called on a context with no surface!'
    x0 0000000000000000 x1 0000000000001ed0 x2 0000000000000006 x3 000000754c71f230
    x4 fefefefefefefeff x5 fefefefefefefeff x6 fefefefefefefeff x7 7f7f7f7f7f7f7f7f
    x8 00000000000000f0 x9 4f5e7f3f876ff4f7 x10 0000000000000000 x11 ffffffc0fffffbdf
    x12 0000000000000001 x13 000000000000042a x14 ff00000000000000 x15 ffffffffffffffff
    x16 00000078ab9bac80 x17 00000078ab99cb70 x18 000000754c48e000 x19 0000000000001e62
    x20 0000000000001ed0 x21 00000000ffffffff x22 00000075ba90225f x23 000000000000000b
    x24 00000075ba8e20b7 x25 0000000000000001 x26 00000075ba8f900c x27 00000075baefe000
    x28 b4000075daf29690 x29 000000754c71f2b0
    lr 00000078ab9503e0 sp 000000754c71f210 pc 00000078ab95040c pst 0000000000000000
    backtrace:
    #00 pc 000000000004e40c /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: 8d77279a411c99f8bc6edb79c76340fb)
    #1 pc 000000000055d080 /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+2308) (BuildId: c58eb791dd4db5a5fc1ef4a3404cd082)
    #2 pc 0000000000013978 /system/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+76) (BuildId: 7f81cc97d60164bfae3b52a2cd822f20)
    #3 pc 0000000000006e18 /system/lib64/liblog.so (__android_log_assert+336) (BuildId: 53286795d97fe56c1e70dca740895c84)
    #4 pc 0000000000215014 /system/lib64/libhwui.so (android::uirenderer::skiapipeline::SkiaOpenGLPipeline::getFrame()+52) (BuildId: 1b2aba899671d4e2f52b72f6978eb8ba)
    #5 pc 000000000021df14 /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::draw()+188) (BuildId: 1b2aba899671d4e2f52b72f6978eb8ba)
    #6 pc 00000000002205ec /system/lib64/libhwui.so (_ZNSt3__110__function6__funcIZN7android10uirenderer12renderthread13DrawFrameTask11postAndWaitEvE3$_0NS_9allocatorIS6_EEFvvEEclEv$c303f2d2360db58ed70a2d0ac7ed911b+480) (BuildId: 1b2aba899671d4e2f52b72f6978eb8ba)
    #7 pc 000000000020ed94 /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+220) (BuildId: 1b2aba899671d4e2f52b72f6978eb8ba)
    #8 pc 000000000023006c /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+88) (BuildId: 1b2aba899671d4e2f52b72f6978eb8ba)
    #9 pc 00000000000154cc /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+260) (BuildId: 4e69b93bf70ed592f0029dbd1097529e)
    #10 pc 0000000000014d90 /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412) (BuildId: 4e69b93bf70ed592f0029dbd1097529e)
    #11 pc 00000000000b0048 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: 8d77279a411c99f8bc6edb79c76340fb)
    #12 pc 00000000000503c8 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 8d77279a411c99f8bc6edb79c76340fb)
    Lost connection to device.

    flutter doctor

    [✓] Flutter (Channel stable, 3.0.0, on Ubuntu 18.04.6 LTS 5.4.0-117-generic, locale en_GB.UTF-8)
        • Flutter version 3.0.0 at /home/oitpl8/snap/flutter/common/flutter
        • Upstream repository https://github.com/flutter/flutter.git
        • Framework revision ee4e09cce0 (4 weeks ago), 2022-05-09 16:45:18 -0700
        • Engine revision d1b9a6938a
        • Dart version 2.17.0
        • DevTools version 2.12.2
    
    [✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
        • Android SDK at /home/oitpl8/Android/Sdk
        • Platform android-32, build-tools 32.1.0-rc1
        • Java binary at: /snap/android-studio/current/android-studio/jre/bin/java
        • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
        • All Android licenses accepted.
    
    [✓] Chrome - develop for the web
        • Chrome at google-chrome
    
    [✓] Linux toolchain - develop for Linux desktop
        • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
        • cmake version 3.10.2
        • ninja version 1.8.2
        • pkg-config version 0.29.1
    
    [✓] Android Studio (version 2021.1)
        • Android Studio at /snap/android-studio/119/android-studio
        • 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.11+0-b60-7590822)
    
    [✓] Android Studio
        • Android Studio at /snap/android-studio/current/android-studio/
        • 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
        • android-studio-dir = /snap/android-studio/current/android-studio/
        • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    
    [✓] VS Code
        • VS Code at /snap/code/current
        • Flutter extension version 3.42.0
    
    [✓] Connected device (3 available)
        • Mi A3 (mobile)  • 2a4db0c8a7a7 • android-arm64  • Android 11 (API 30)
        • Linux (desktop) • linux        • linux-x64      • Ubuntu 18.04.6 LTS 5.4.0-117-generic
        • Chrome (web)    • chrome       • web-javascript • Google Chrome 101.0.4951.41
    
    [✓] HTTP Host Availability
        • All required HTTP hosts are available
    
    • No issues found!
    

    My device : Mi A3 [ android 11 ]

  13. AKB0N commented on Jun 28, 2022

    @AKB0N
  14. github-actions commented on Jul 25, 2022

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  15. locked as resolved and limited conversation to collaborators on Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: platform-viewsEmbedding Android/iOS views in Flutter appsa: productionIssues experienced in live production appsc: crashStack traces logged to the consolee: device-specificOnly manifests on certain devicesplatform-androidAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions