https://kotlinlang.org logo
#compose
Title
# compose
a

aiidziis

08/19/2021, 6:41 AM
Hey! Maybe someone has encountered Skia crashes in production when running Compose. Stacktrace in thread 👇🏻
Copy code
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> com.app.id <<<

backtrace:
  #00  pc 00000000000832a8  /apex/com.android.runtime/lib64/bionic/libc.so (abort+160)
  #00  pc 0000000000008a14  /system/lib64/liblog.so (__android_log_assert+328)
  #00  pc 000000000030ebb4  /system/lib64/libhwui.so (android::uirenderer::skiapipeline::SkiaOpenGLPipeline::swapBuffers(android::uirenderer::renderthread::Frame const&, bool, SkRect const&, android::uirenderer::FrameInfo*, bool*)+240)
  #00  pc 00000000004043b4  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::draw()+1008)
  #00  pc 000000000040344c  /system/lib64/libhwui.so (_ZNSt3__110__function6__funcIZN7android10uirenderer12renderthread13DrawFrameTask11postAndWaitEvE3$_0NS_9allocatorIS6_EEFvvEEclEv$c303f2d2360db58ed70a2d0ac7ed911b+380)
  #00  pc 000000000040ea20  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+228)
  #00  pc 000000000040e708  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+588)
  #00  pc 0000000000013654  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+328)
  #00  pc 00000000000e6f20  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
  #00  pc 00000000000850c8  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
a

Adam Powell

08/19/2021, 2:45 PM
Please file a bug with a repro case if you can, we'd love to have a closer look
a

aiidziis

08/19/2021, 3:10 PM
Won’t be able to create repro case, because this all we can get from the stacktrace and couldn’t reproduce it on our own devices.
a

Adam Powell

08/19/2021, 4:49 PM
ok, well, if you'd like to file it with just the trace then the graphics team might be able to get to the bottom of it and we may be able to find a workaround for compose
but I don't think we're currently tracking anything like this so far
a

aiidziis

08/19/2021, 6:10 PM
Can I report this under Compose and then it will hopefully get routed to the graphics team?
a

Adam Powell

08/19/2021, 8:06 PM
yeah that's fine
n

Nader Jawad

08/20/2021, 4:40 AM
Yes please file and include as much info as you can especially OS version