material-components / material-components/material-components-android
[MaterialContainerTransform] Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x20 in tid 6227 (RenderThread)
@hunterstich is already working on this.
Since Jan 16, 2025.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
https://issuetracker.google.com/issues/388685478
**Description:**
This is happening from when user goes from list to detail and then click back.
The list screen is simple android views like recycler view and card.
However, detail view contain some native android views followed by web view and ads component (mostly web as well).
Also, during trasition we have transition via MaterialContainerTransform.
**Android API version:** Mostly All
**Material Library version:** 1.12.0
**Device:** Mostly All
Stack Trace:
```
01-09 13:33:30.491 11587 11321 11321 F DEBUG : pid: 6018, tid: 6227, name: RenderThread >>> com.dummypackagenamehere <<<
01-09 13:33:30.491 11587 11321 11321 F DEBUG : uid: 11587
01-09 13:33:30.491 11587 11321 11321 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000020
01-09 13:33:30.491 11587 11321 11321 F DEBUG : Cause: null pointer dereference
01-09 13:33:30.491 11587 11321 11321 F DEBUG : x0 0000000000000000 x1 0000000000000002 x2 0000000000000000 x3 0000000000000001
01-09 13:33:30.491 11587 11321 11321 F DEBUG : x4 0000000000000001 x5 0000000000000000 x6 0000000000000001 x7 0000000000000001
01-09 13:33:30.491 11587 11321 11321 F DEBUG : x8 19104d080693c318 x9 19104d080693c318 x10 0000006fa9b4d718 x11 000000000000006d
01-09 13:33:30.491 11587 11321 11321 F DEBUG : x12 0000000000000004 x13 0000000000000001 x14 0000000000000000 x15 0000000000000000
01-09 13:33:30.491 11587 11321 11321 F DEBUG : x16 0000006ef55d0690 x17 b400006e1aacaa80 x18 0000006e1a0b6000 x19 0000000000000000
01-09 13:33:30.491 11587 11321 11321 F DEBUG : x20 0000000000000000 x21 0000006e1b8f8240 x22 0000000000000000 x23 0000000000000000
01-09 13:33:30.491 11587 11321 11321 F DEBUG : x24 0000000000000000 x25 0000000000000000 x26 0000000000000000 x27 0000000000000000
01-09 13:33:30.491 11587 11321 11321 F DEBUG : x28 0000000000000000 x29 0000006e1b8f8140
01-09 13:33:30.491 11587 11321 11321 F DEBUG : lr 0000006fa9879d14 sp 0000006e1b8f8140 pc 0000006fa9a13a80 pst 0000000060001000
01-09 13:33:30.491 11587 11321 11321 F DEBUG : backtrace:
01-09 13:33:30.491 11587 11321 11321 F DEBUG : #00 pc 0000000000413a80 /system/lib64/libhwui.so (SkSurface::getCanvas()+16) (BuildId: 06248f1e9d61afac9be0a44167687c27)
01-09 13:33:30.491 11587 11321 11321 F DEBUG : #01 pc 0000000000279d10 /system/lib64/libhwui.so (android::uirenderer::skiapipeline::GLFunctorDrawable::onDraw(SkCanvas*)+832) (BuildId: 06248f1e9d61afac9be0a44167687c27)
01-09 13:33:30.491 11587 11321 11321 F DEBUG : #02 pc 0000000000310ec4 /system/lib64/libhwui.so (SkDrawable::draw(SkCanvas*, SkMatrix const*)+116) (BuildId: 06248f1e9d61afac9be0a44167687c27)
01-09 13:33:30.491 11587 11321 11321 F DEBUG : #03 pc 0000000000682b78 /system/lib64/libhwui.so (skgpu::v1::Device::drawDrawable(SkCanvas*, SkDrawable*, SkMatrix const*)+344) (BuildId: 06248f1e9d61afac9be0a44167687c27)
01-09 13:33:30.491 11587 11321 11321 F DEBUG : #04 pc 00000000002571c8 /system/lib64/libhwui.so (android::uirenderer::$_37::__invoke(void const*, SkCanvas*, SkMatrix const&)+136) (BuildId: 06248f1e9d61afac9be0a44167687c27)
01-09 13:33:30.491 11587 11321 11321 F DEBUG : #05 pc 0000000000254280 /system/lib64/libhwui.so (android::uirenderer::DisplayListData::draw(SkCanvas*) const+128) (BuildId: 06248f1e9d61afac9be0a44167687c27)
01-09 13:33:30.492 11587 11321 11321 F DEBUG : #06 pc 000000000023cd24 /system/lib64/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::drawContent(SkCanvas*) const+1748) (BuildId: 06248f1e9d61afac9be0a44167687c27)
01-09 13:33:30.492 11587 11321 11321 F DEBUG : #07 pc 000000000023d44c /system/lib64/libhwui.so (android::uirenderer::skiapipeline::RenderNodeDrawable::forceDraw(SkCanvas*) const+284) (BuildId: 06248f1e9d61afac9be0a44167687c27)
01-09 13:33:30.492 11587 11321 11321 F DEBUG : #08 pc 000000000027f460 /system/lib64/libhwui.so (android::uirenderer::skiapipeline::SkiaPipeline::renderLayersImpl(android::uirenderer::LayerUpdateQueue const&, bool)+496) (BuildId: 06248f1e9d61afac9be0a44167687c27)
01-09 13:33:30.492 11587 11321 11321 F DEBUG : #09 pc 0000000000280710 /system/lib64/libhwui.so (android::uirenderer::skiapipeline::SkiaPipeline::renderFrame(android::uirenderer::LayerUpdateQueue const&, SkRect const&, std::__1::vector, std::__1::allocator > > const&, bool, android::uirenderer::Rect const&, sk_sp, SkMatrix const&)+608) (BuildId: 06248f1e9d61afac9be0a44167687c27)
01-09 13:33:30.492 11587 11321 11321 F DEBUG : #10 pc 000000000027e554 /system/lib64/libhwui.so (android::uirenderer::skiapipeline::SkiaOpenGLPipeline::draw(android::uirenderer::renderthread::Frame const&, SkRect const&, SkRect const&, android::uirenderer::LightGeometry const&, android::uirenderer::LayerUpdateQueue*, android::uirenderer::Rect const&, bool, android::uirenderer::LightInfo const&, std::__1::vector, std::__1::allocator > > const&, android::uirenderer::FrameInfoVisualizer*)+484) (BuildId: 06248f1e9d61afac9be0a44167687c27)
01-09 13:33:30.492 11587 11321 11321 F DEBUG : #11 pc 000000000028595c /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::draw()+1100) (BuildId: 06248f1e9d61afac9be0a44167687c27)
01-09 13:33:30.492 11587 11321 11321 F DEBUG : #12 pc 00000000002885e4 /system/lib64/libhwui.so (std::__1::__function::__func, void ()>::operator()() (.c1671e787f244890c877724752face20)+900) (BuildId: 06248f1e9d61afac9be0a44167687c27)
01-09 13:33:30.492 11587 11321 11321 F DEBUG : #13 pc 0000000000278124 /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+580) (BuildId: 06248f1e9d61afac9be0a44167687c27)
01-09 13:33:30.492 11587 11321 11321 F DEBUG : #14 pc 000000000029929c /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+412) (BuildId: 06248f1e9d61afac9be0a44167687c27)
01-09 13:33:30.492 11587 11321 11321 F DEBUG : #15 pc 0000000000013480 /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+416) (BuildId: 263dd89cc6d0dd79143c59615c4821ef)
01-09 13:33:30.492 11587 11321 11321 F DEBUG : #16 pc 00000000000fba4c /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: 3908c7c57fa04c64df24425cf16523cf)
01-09 13:33:30.492 11587 11321 11321 F DEBUG : #17 pc 000000000008e5f0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 3908c7c57fa04c64df24425cf16523cf)
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.