Skip to content

crash at Rb_tree_rebalance_for_erase in libbootstrap #12

Description

@noodle1983

两三个项目碰到了这个问题,Unity版本含2017和2019
堆栈如下图(来自sin,thx)
QQ图片20191220215822
QQ图片20191220220332

有几个怀疑的点:

  1. 多线程锁的问题,日志中发现在signal处理函数中,std::mutex会失效,全改成了pthread,看起来没问题
  2. std::map 和 static link的问题, 把map换成了c版的,hash函数直接cache size取余。

新增了个分支, 做了些改动: https://github.com/noodle1983/UnityAndroidIl2cppPatchDemo-libboostrap/tree/crash_in_map_test

来自sin的反馈,暂时没有崩溃;另外还有加载场景卡死的问题,无日志,原因不明,未深入。
求测。

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions