Skip to content

Crash report on iOS at OpenGLES #14178

Closed
Closed

Description

@najeira

Steps to Reproduce

Crashed on user's iOS device.
iOS versions are 9.*, 10.*, 11.*

Crashlytics says "OpenGL rendering while app in background state".

Logs

Crashed: gpu_thread
0  libGPUSupportMercury.dylib     0x19f530ee8 gpus_ReturnNotPermittedKillClient + 12
1  AGXGLDriver                    0x1a374d228 gldUpdateDispatch + 7296
2  libGPUSupportMercury.dylib     0x19f531ecc gpusSubmitDataBuffers + 176
3  AGXGLDriver                    0x1a374e724 gldUpdateDispatch + 12668
4  GLEngine                       0x1a47bc01c gliPresentViewES_Exec + 188
5  OpenGLES                       0x187055a8c -[EAGLContext presentRenderbuffer:] + 80
6  Flutter                        0x1011c3860 shell::IOSSurfaceGL::GLContextPresent() + 168
7  Flutter                        0x1011f409c std::__1::__function::__func<shell::GPUSurfaceGL::AcquireFrame(SkISize const&)::$_0, std::__1::allocator<shell::GPUSurfaceGL::AcquireFrame(SkISize const&)::$_0>, bool (shell::SurfaceFrame const&, SkCanvas*)>::operator()(shell::SurfaceFrame const&, SkCanvas*&&) + 148
8  Flutter                        0x1011f1bd4 shell::SurfaceFrame::Submit() + 104
9  Flutter                        0x1011f3518 shell::GPURasterizer::DrawToSurface(flow::LayerTree&) + 276
10 Flutter                        0x1011f2e74 shell::GPURasterizer::DoDraw(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >) + 128
11 Flutter                        0x1011f33c8 std::__1::__function::__func<std::__1::__bind<void (shell::GPURasterizer::*)(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >), shell::GPURasterizer*, std::__1::placeholders::__ph<1> const&>, std::__1::allocator<std::__1::__bind<void (shell::GPURasterizer::*)(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >), shell::GPURasterizer*, std::__1::placeholders::__ph<1> const&> >, void (std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >)>::operator()(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >&&) + 60
12 Flutter                        0x1011f2cb8 shell::GPURasterizer::Draw(fxl::RefPtr<flutter::Pipeline<flow::LayerTree> >) + 516
13 Flutter                        0x1011e9b04 std::__1::__function::__func<shell::Animator::Render(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >)::$_0, std::__1::allocator<shell::Animator::Render(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >)::$_0>, void ()>::operator()() + 136
14 Flutter                        0x1011cdff4 fml::MessageLoopImpl::RunExpiredTasks() + 2436
15 Flutter                        0x1011cee50 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 32
16 CoreFoundation                 0x184136fc0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
17 CoreFoundation                 0x184136ce4 __CFRunLoopDoTimer + 864
18 CoreFoundation                 0x1841364e4 __CFRunLoopDoTimers + 248
19 CoreFoundation                 0x1841340cc __CFRunLoopRun + 1928
20 CoreFoundation                 0x184053e58 CFRunLoopRunSpecific + 436
21 Flutter                        0x1011cecdc fml::MessageLoopDarwin::Run() + 88
22 Flutter                        0x1011ce6dc std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0> >(void*, void*) + 280
23 libsystem_pthread.dylib        0x183db42b4 _pthread_body + 308
24 libsystem_pthread.dylib        0x183db4180 _pthread_body + 310
25 libsystem_pthread.dylib        0x183db2b74 thread_start + 4

Flutter Doctor

alpha 0.0.20

[✓] Flutter (on Mac OS X 10.12.6 16G1036, locale ja-JP, channel alpha)
    • Flutter at /Applications/flutter
    • Framework revision 8f65fec5f5 (5 weeks ago), 2017-12-12 09:50:14 -0800
    • Engine revision edaecdc8b8
    • Tools Dart version 1.25.0-dev.11.0
    • Engine Dart version 2.0.0-edge.d8ae797298c3a6cf8dc9f4558707bd2672224d3e

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/najeira/Library/Android/sdk
    • Android NDK at /Users/najeira/Library/Android/sdk/ndk-bundle
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = /Users/najeira/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.2, Build version 9C40b
    • ios-deploy 1.9.2
    • CocoaPods version 1.2.1

[✓] Android Studio (version 3.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] IntelliJ IDEA Ultimate Edition (version 2017.3.1)
    • Flutter plugin version 20.0.3
    • Dart plugin version 173.3942.31

Activity

  1. najeira commented on Jan 19, 2018

    @najeira
    ContributorAuthor

    similar

    Crashed: gpu_thread
    0  libGPUSupportMercury.dylib     0x1a08a9f90 gpus_ReturnNotPermittedKillClient + 12
    1  AGXGLDriver                    0x1a52e61bc (null) + 7136
    2  libGPUSupportMercury.dylib     0x1a08aaf40 gpusSubmitDataBuffers + 176
    3  AGXGLDriver                    0x1a52e777c (null) + 12704
    4  GLEngine                       0x1a5b2bf9c gliPresentViewES_Exec + 192
    5  GLEngine                       0x1a5b2be98 gliPresentViewES + 112
    6  OpenGLES                       0x193600c08 -[EAGLContext presentRenderbuffer:] + 80
    7  Flutter                        0x100c93860 shell::IOSSurfaceGL::GLContextPresent() + 168
    8  Flutter                        0x100cc409c std::__1::__function::__func<shell::GPUSurfaceGL::AcquireFrame(SkISize const&)::$_0, std::__1::allocator<shell::GPUSurfaceGL::AcquireFrame(SkISize const&)::$_0>, bool (shell::SurfaceFrame const&, SkCanvas*)>::operator()(shell::SurfaceFrame const&, SkCanvas*&&) + 148
    9  Flutter                        0x100cc1bd4 shell::SurfaceFrame::Submit() + 104
    10 Flutter                        0x100cc3518 shell::GPURasterizer::DrawToSurface(flow::LayerTree&) + 276
    11 Flutter                        0x100cc2e74 shell::GPURasterizer::DoDraw(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >) + 128
    12 Flutter                        0x100cc33c8 std::__1::__function::__func<std::__1::__bind<void (shell::GPURasterizer::*)(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >), shell::GPURasterizer*, std::__1::placeholders::__ph<1> const&>, std::__1::allocator<std::__1::__bind<void (shell::GPURasterizer::*)(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >), shell::GPURasterizer*, std::__1::placeholders::__ph<1> const&> >, void (std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >)>::operator()(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >&&) + 60
    13 Flutter                        0x100cc2cb8 shell::GPURasterizer::Draw(fxl::RefPtr<flutter::Pipeline<flow::LayerTree> >) + 516
    14 Flutter                        0x100cb9b04 std::__1::__function::__func<shell::Animator::Render(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >)::$_0, std::__1::allocator<shell::Animator::Render(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >)::$_0>, void ()>::operator()() + 136
    15 Flutter                        0x100c9dff4 fml::MessageLoopImpl::RunExpiredTasks() + 2436
    16 Flutter                        0x100c9ee50 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 32
    17 CoreFoundation                 0x190f908f4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
    18 CoreFoundation                 0x190f90608 __CFRunLoopDoTimer + 872
    19 CoreFoundation                 0x190f8fec4 __CFRunLoopDoTimers + 244
    20 CoreFoundation                 0x190f8dac0 __CFRunLoopRun + 1572
    21 CoreFoundation                 0x190ebc048 CFRunLoopRunSpecific + 444
    22 Flutter                        0x100c9ecdc fml::MessageLoopDarwin::Run() + 88
    23 Flutter                        0x100c9e6dc std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0> >(void*, void*) + 280
    24 libsystem_pthread.dylib        0x190078850 _pthread_body + 240
    25 libsystem_pthread.dylib        0x190078760 _pthread_body + 282
    26 libsystem_pthread.dylib        0x190075dac thread_start + 4
    
    Crashed: gpu_thread
    0  libGPUSupportMercury.dylib     0x18feadf08 gpus_ReturnNotPermittedKillClient + 12
    1  libGPUSupportMercury.dylib     0x18feaeec4 gpusSubmitDataBuffers + 172
    2  GLEngine                       0x188d0b1e4 gliPresentViewES_Exec + 176
    3  GLEngine                       0x188d0b0fc gliPresentViewES + 84
    4  OpenGLES                       0x188d17cbc -[EAGLContext presentRenderbuffer:] + 72
    5  Flutter                        0x100c73860 shell::IOSSurfaceGL::GLContextPresent() + 168
    6  Flutter                        0x100ca409c std::__1::__function::__func<shell::GPUSurfaceGL::AcquireFrame(SkISize const&)::$_0, std::__1::allocator<shell::GPUSurfaceGL::AcquireFrame(SkISize const&)::$_0>, bool (shell::SurfaceFrame const&, SkCanvas*)>::operator()(shell::SurfaceFrame const&, SkCanvas*&&) + 148
    7  Flutter                        0x100ca1bd4 shell::SurfaceFrame::Submit() + 104
    8  Flutter                        0x100ca3518 shell::GPURasterizer::DrawToSurface(flow::LayerTree&) + 276
    9  Flutter                        0x100ca2e74 shell::GPURasterizer::DoDraw(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >) + 128
    10 Flutter                        0x100ca33c8 std::__1::__function::__func<std::__1::__bind<void (shell::GPURasterizer::*)(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >), shell::GPURasterizer*, std::__1::placeholders::__ph<1> const&>, std::__1::allocator<std::__1::__bind<void (shell::GPURasterizer::*)(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >), shell::GPURasterizer*, std::__1::placeholders::__ph<1> const&> >, void (std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >)>::operator()(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >&&) + 60
    11 Flutter                        0x100ca2cb8 shell::GPURasterizer::Draw(fxl::RefPtr<flutter::Pipeline<flow::LayerTree> >) + 516
    12 Flutter                        0x100c99b04 std::__1::__function::__func<shell::Animator::Render(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >)::$_0, std::__1::allocator<shell::Animator::Render(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >)::$_0>, void ()>::operator()() + 136
    13 Flutter                        0x100c7dff4 fml::MessageLoopImpl::RunExpiredTasks() + 2436
    14 Flutter                        0x100c7ee50 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 32
    15 CoreFoundation                 0x1857a8c9c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
    16 CoreFoundation                 0x1857a8940 __CFRunLoopDoTimer + 884
    17 CoreFoundation                 0x1857a6054 __CFRunLoopRun + 1520
    18 CoreFoundation                 0x1856d4dc0 CFRunLoopRunSpecific + 384
    19 Flutter                        0x100c7ecdc fml::MessageLoopDarwin::Run() + 88
    20 Flutter                        0x100c7e6dc std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0> >(void*, void*) + 280
    21 libsystem_pthread.dylib        0x19ad07b3c _pthread_body + 156
    22 libsystem_pthread.dylib        0x19ad07aa0 _pthread_body + 154
    23 libsystem_pthread.dylib        0x19ad05030 thread_start + 4
    
    Crashed: gpu_thread
    0  libsystem_kernel.dylib         0x180b042e8 __pthread_kill + 8
    1  libsystem_pthread.dylib        0x180c192f8 pthread_kill$VARIANT$mp + 396
    2  libsystem_c.dylib              0x180a72fbc abort + 140
    3  AppleMetalGLRenderer           0x1a07320f4 GLDContextRec::flushContextInternal() + 740
    4  GLEngine                       0x1a154001c gliPresentViewES_Exec + 188
    5  OpenGLES                       0x183eb9a8c -[EAGLContext presentRenderbuffer:] + 80
    6  Flutter                        0x105b03860 shell::IOSSurfaceGL::GLContextPresent() + 168
    7  Flutter                        0x105b3409c std::__1::__function::__func<shell::GPUSurfaceGL::AcquireFrame(SkISize const&)::$_0, std::__1::allocator<shell::GPUSurfaceGL::AcquireFrame(SkISize const&)::$_0>, bool (shell::SurfaceFrame const&, SkCanvas*)>::operator()(shell::SurfaceFrame const&, SkCanvas*&&) + 148
    8  Flutter                        0x105b31bd4 shell::SurfaceFrame::Submit() + 104
    9  Flutter                        0x105b33518 shell::GPURasterizer::DrawToSurface(flow::LayerTree&) + 276
    10 Flutter                        0x105b32e74 shell::GPURasterizer::DoDraw(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >) + 128
    11 Flutter                        0x105b333c8 std::__1::__function::__func<std::__1::__bind<void (shell::GPURasterizer::*)(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >), shell::GPURasterizer*, std::__1::placeholders::__ph<1> const&>, std::__1::allocator<std::__1::__bind<void (shell::GPURasterizer::*)(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >), shell::GPURasterizer*, std::__1::placeholders::__ph<1> const&> >, void (std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >)>::operator()(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >&&) + 60
    12 Flutter                        0x105b32cb8 shell::GPURasterizer::Draw(fxl::RefPtr<flutter::Pipeline<flow::LayerTree> >) + 516
    13 Flutter                        0x105b29b04 std::__1::__function::__func<shell::Animator::Render(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >)::$_0, std::__1::allocator<shell::Animator::Render(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >)::$_0>, void ()>::operator()() + 136
    14 Flutter                        0x105b0dff4 fml::MessageLoopImpl::RunExpiredTasks() + 2436
    15 Flutter                        0x105b0ee50 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 32
    16 CoreFoundation                 0x180f9afc0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
    17 CoreFoundation                 0x180f9ace4 __CFRunLoopDoTimer + 864
    18 CoreFoundation                 0x180f9a4e4 __CFRunLoopDoTimers + 248
    19 CoreFoundation                 0x180f980cc __CFRunLoopRun + 1928
    20 CoreFoundation                 0x180eb7e58 CFRunLoopRunSpecific + 436
    21 Flutter                        0x105b0ecdc fml::MessageLoopDarwin::Run() + 88
    22 Flutter                        0x105b0e6dc std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0> >(void*, void*) + 280
    23 libsystem_pthread.dylib        0x180c182b4 _pthread_body + 308
    24 libsystem_pthread.dylib        0x180c18180 _pthread_body + 310
    25 libsystem_pthread.dylib        0x180c16b74 thread_start + 4
    
    Crashed: gpu_thread
    0  libGPUSupportMercury.dylib     0x191a8efac gpus_ReturnNotPermittedKillClient + 12
    1  AGXGLDriver                    0x19654ee00 gldUpdateDispatch + 7156
    2  libGPUSupportMercury.dylib     0x191a8ff88 gpusSubmitDataBuffers + 176
    3  AGXGLDriver                    0x19655030c gldUpdateDispatch + 12544
    4  GLEngine                       0x196d93084 gliPresentViewES_Exec + 188
    5  GLEngine                       0x196d92f84 gliPresentViewES + 112
    6  OpenGLES                       0x1840a3b60 -[EAGLContext presentRenderbuffer:] + 80
    7  Flutter                        0x100db25b8 shell::IOSSurfaceGL::GLContextPresent() + 168
    8  Flutter                        0x100de2b70 std::__1::__function::__func<shell::GPUSurfaceGL::AcquireFrame(SkISize const&)::$_0, std::__1::allocator<shell::GPUSurfaceGL::AcquireFrame(SkISize const&)::$_0>, bool (shell::SurfaceFrame const&, SkCanvas*)>::operator()(shell::SurfaceFrame const&, SkCanvas*&&) + 148
    9  Flutter                        0x100de06a8 shell::SurfaceFrame::Submit() + 104
    10 Flutter                        0x100de1fec shell::GPURasterizer::DrawToSurface(flow::LayerTree&) + 276
    11 Flutter                        0x100de1948 shell::GPURasterizer::DoDraw(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >) + 128
    12 Flutter                        0x100de1e9c std::__1::__function::__func<std::__1::__bind<void (shell::GPURasterizer::*)(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >), shell::GPURasterizer*, std::__1::placeholders::__ph<1> const&>, std::__1::allocator<std::__1::__bind<void (shell::GPURasterizer::*)(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >), shell::GPURasterizer*, std::__1::placeholders::__ph<1> const&> >, void (std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >)>::operator()(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >&&) + 60
    13 Flutter                        0x100de178c shell::GPURasterizer::Draw(fxl::RefPtr<flutter::Pipeline<flow::LayerTree> >) + 516
    14 Flutter                        0x100dd86bc std::__1::__function::__func<shell::Animator::Render(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >)::$_0, std::__1::allocator<shell::Animator::Render(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >)::$_0>, void ()>::operator()() + 136
    15 Flutter                        0x100dbcfb4 fml::MessageLoopImpl::RunExpiredTasks() + 2436
    16 Flutter                        0x100dbde10 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 32
    17 CoreFoundation                 0x181a29aa4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
    18 CoreFoundation                 0x181a297a8 __CFRunLoopDoTimer + 856
    19 CoreFoundation                 0x181a29068 __CFRunLoopDoTimers + 244
    20 CoreFoundation                 0x181a26c8c __CFRunLoopRun + 1484
    21 CoreFoundation                 0x181956da4 CFRunLoopRunSpecific + 424
    22 Flutter                        0x100dbdc9c fml::MessageLoopDarwin::Run() + 88
    23 Flutter                        0x100dbd69c std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0> >(void*, void*) + 280
    24 libsystem_pthread.dylib        0x180b3d68c _pthread_body + 240
    25 libsystem_pthread.dylib        0x180b3d59c _pthread_body + 282
    26 libsystem_pthread.dylib        0x180b3acb4 thread_start + 4
    
  2. najeira commented on Feb 7, 2018

    @najeira
    ContributorAuthor

    The following image is part of the crash recorded in 30 days:

    2018-02-07 11 16 50

  3. najeira commented on Feb 7, 2018

    @najeira
    ContributorAuthor

    Is there any other necessary information to investigate the cause?

  4. Hixie commented on Feb 8, 2018

    @Hixie
    Contributor
  5. najeira commented on Mar 28, 2018

    @najeira
    ContributorAuthor

    v0.2.1 has this too.

  6. added
    c: crashStack traces logged to the console
    platform-iosiOS applications specifically
    engineflutter/engine related. See also e: labels.
    on Apr 17, 2018
  7. jerrywell commented on Jul 17, 2018

    @jerrywell

    +1

  8. jerrywell commented on Aug 2, 2018

    @jerrywell

    more information update:

    looks like it only happened for iPhone 6 and older.

    screen shot 2018-08-02 at 11 40 14 am

    for iPad
    screen shot 2018-08-02 at 11 42 43 am

  9. eseidelGoogle commented on Sep 25, 2018

    @eseidelGoogle
    Contributor

    @chinmaygarde, @xster: I recall we fixed several of these? But "customer: quire" (long-time Flutter user) is still reporting hitting these.

  10. mit-mit commented on Oct 10, 2018

    @mit-mit
    Member

    "customer: windy" is also hitting these when the application is in the background

  11. najeira commented on Oct 11, 2018

    @najeira
    ContributorAuthor

    log with v0.8.2:

    Crashed: io.flutter.1.gpu
    0  libGPUSupportMercury.dylib     0x18f7c5f08 gpus_ReturnNotPermittedKillClient + 12
    1  libGPUSupportMercury.dylib     0x18f7c6ec4 gpusSubmitDataBuffers + 172
    2  GLEngine                       0x193bc31e4 gliPresentViewES_Exec + 176
    3  GLEngine                       0x193bc30fc gliPresentViewES + 84
    4  OpenGLES                       0x18334bc44 -[EAGLContext presentRenderbuffer:] + 72
    5  Flutter                        0x100c666ec shell::IOSSurfaceGL::GLContextPresent() + 172
    6  Flutter                        0x100c68fac std::__1::__function::__func<shell::GPUSurfaceGL::AcquireFrame(SkISize const&)::$_0, std::__1::allocator<shell::GPUSurfaceGL::AcquireFrame(SkISize const&)::$_0>, bool (shell::SurfaceFrame const&, SkCanvas*)>::operator()(shell::SurfaceFrame const&, SkCanvas*&&) + 388
    7  Flutter                        0x100c9eea4 shell::Rasterizer::DrawToSurface(flow::LayerTree&) + 408
    8  Flutter                        0x100c9f440 shell::Rasterizer::DoDraw(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >) + 44
    9  Flutter                        0x100c9f7a0 std::__1::__function::__func<std::__1::__bind<void (shell::Rasterizer::*)(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >), shell::Rasterizer*, std::__1::placeholders::__ph<1> const&>, std::__1::allocator<std::__1::__bind<void (shell::Rasterizer::*)(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >), shell::Rasterizer*, std::__1::placeholders::__ph<1> const&> >, void (std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >)>::operator()(std::__1::unique_ptr<flow::LayerTree, std::__1::default_delete<flow::LayerTree> >&&) + 60
    10 Flutter                        0x100c9f238 shell::Rasterizer::Draw(fml::RefPtr<flutter::Pipeline<flow::LayerTree> >) + 504
    11 Flutter                        0x100ca3088 std::__1::__function::__func<shell::Shell::OnAnimatorDraw(fml::RefPtr<flutter::Pipeline<flow::LayerTree> >)::$_23, std::__1::allocator<shell::Shell::OnAnimatorDraw(fml::RefPtr<flutter::Pipeline<flow::LayerTree> >)::$_23>, void ()>::operator()() + 76
    12 Flutter                        0x100c7301c fml::MessageLoopImpl::RunExpiredTasks() + 1872
    13 Flutter                        0x100c74328 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 32
    14 CoreFoundation                 0x1811a5794 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
    15 CoreFoundation                 0x1811a5438 __CFRunLoopDoTimer + 884
    16 CoreFoundation                 0x1811a2b4c __CFRunLoopRun + 1520
    17 CoreFoundation                 0x1810ccc50 CFRunLoopRunSpecific + 384
    18 Flutter                        0x100c741b4 fml::MessageLoopDarwin::Run() + 88
    19 Flutter                        0x100c73b00 std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0> >(void*, void*) + 272
    20 libsystem_pthread.dylib        0x180e53b28 _pthread_body + 156
    21 libsystem_pthread.dylib        0x180e53a8c _pthread_body + 154
    22 libsystem_pthread.dylib        0x180e51028 thread_start + 4
    

    iPhone: 6, 6s, SE, 5, 6 Plus, 6s Plus
    iOS: 9, 11

    It seems to be occurring only with old devices.

  12. 14 remaining items

  13. Hixie commented on Dec 12, 2018

    @Hixie
    Contributor

    @cbracken says he has a fix, but isn't sure if it actually fixes it since he can't reproduce the crash. We will try landing the fix and then see if anyone is happier.

  14. cbracken commented on Jan 15, 2019

    @cbracken
    Member

    Quick update: despite our best efforts we've been unable to reproduce this. However, it's clear that according to Apple's docs, we were disabling pumping frames too late. The net effect on animation behaviour when changing from active to inactive state should be nil, but with any luck it resolves these issues.

    The fix rolled to master branch in #26514. If you're still seeing this on master, please update with stack traces and ideally repro instructions.

  15. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    and removed on Jan 15, 2019
  16. cbracken commented on Feb 4, 2019

    @cbracken
    Member

    As we've had no further reports of this crash since #26514 landed, I'm closing. Please update if you're still seeing this on master or dev channels and we'll re-open.

  17. wonderful89 commented on May 14, 2019

    @wonderful89

    I encounter this crash recently.

    1. my flutter version

    ➜  flutterDemos git:(master) flutter --version
    Flutter 1.4.7 • channel unknown • unknown source
    Framework • revision 1bfa2f2311 (6 weeks ago) • 2019-03-29 10:05:18 -0700
    Engine • revision c4d14a0071
    Tools • Dart 2.2.1 (build 2.2.1-dev.2.0 None)
    

    2. reproduct steps

    • compile and build project in iPad mini(A1490)in release.
    • open this project in Xcode and run in release mode.
    • wait for Please click and enter background: log in the console. Then click the home key and enter background.
    • wait for a moment(in 10 seconds) and it will crash.

    2.1 crash

    image

    2.2 demo project

    demo

    2.3 key code

    open background running task

    - (void)applicationDidEnterBackground:(UIApplication *)application {
        NSLog(@"applicationDidEnterBackground =============");
        self.backIden = [[UIApplication sharedApplication] beginBackgroundTaskWithExpirationHandler:^{
            NSLog(@"in ExpirationHandler=============");
            [self endBack]; 
        }];
        
        return [super applicationDidEnterBackground:application];
    }
    // 
    

    render image:

    Widget child2 = Container(
            height: 52.0,
            decoration: BoxDecoration(
              image: DecorationImage(
                image: AssetImage('assets/slide_wave_login_background.png'),
                fit: BoxFit.cover,
              ),
            ),
          );

    @Hixie , @cbracken , Please help me.
    Thank you.

  18. WoodyGuo commented on Jun 11, 2019

    @WoodyGuo

    Still seeing this crash with Flutter v1.7.0

  19. eseidelGoogle commented on Jun 11, 2019

    @eseidelGoogle
    Contributor

    @WoodyGuo would you be willing to open a new issue with the crash stack you're seeing? Thank you!

  20. cbracken commented on Sep 30, 2019

    @cbracken
    Member

    I've transferred the repro instructions to #26366.

  21. github-actions commented on Aug 27, 2021

    @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.

  22. locked as resolved and limited conversation to collaborators on Aug 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

c: crashStack traces logged to the consoleengineflutter/engine related. See also e: labels.platform-iosiOS applications specificallywaiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions