Skip to content

The Linux kernel's binder driver does not correctly distinguish between PID namespaces #901

@yunyangkejicn

Description

@yunyangkejicn

Describe the bug
请详细描述问题(ZH_CN)
经常报"Transaction failed because process frozen."和ActivityManager: Unable to freeze binder for 49091: java.lang.RuntimeException: Unable to freeze/unfreeze binder的错误,排查发现应该是内核的binder驱动不支持pid namespace导致BINDER_FREEZE操作匹配到了错误的pid,虽然机率不大,但是在多容器的情况下时有发生,我通过禁用AOSP的BINDER_FREEZE暂时解决了,不知道你们有没有遇到这个问题
make sure the required kernel modules present
确保必须的内核功能已开启(ZH_CN)

  • grep binder /proc/filesystems
  • grep ashmem /proc/misc (optional)

Collect debug logs
收集调试日志(ZH_CN)
curl -fsSL https://raw.githubusercontent.com/remote-android/redroid-doc/master/debug.sh | sudo bash -s -- [CONTAINER]
omit CONTAINER if not exist any more.
如容器已退出,可忽略CONTAINER参数(ZH_CN)

Screenshots
截图(ZH_CN)
If applicable, add screenshots to help explain your problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions