Results 4 issues of LuDong

两三个项目碰到了这个问题,Unity版本含2017和2019 堆栈如下图(来自sin,thx) ![QQ图片20191220215822](https://user-images.githubusercontent.com/364050/71259923-8a330780-2374-11ea-89b6-fb31c57cb0a3.png) ![QQ图片20191220220332](https://user-images.githubusercontent.com/364050/71259936-915a1580-2374-11ea-9003-9b7009e3a32f.jpg) 有几个怀疑的点: 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的反馈,暂时没有崩溃;另外还有加载场景卡死的问题,无日志,原因不明,未深入。 求测。

最近项目支持中遇到的, 日志 ``` il2cpp : [f1431494]shadow apk in fopen: /data/app/com.xxx.xxx-Ky_RNzCxgS6S8Frk2_85IA==/base.apk, fd:0x000000ca, file*: 0xed504108 il2cpp : [f1431494]fseek -> 0xed504108 at 0x00000000 with type 2 il2cpp : [f1431494]ftell -> 0xed504108 at 0x107fc46f...

堆栈: ![6$1Y22POES 5@4M4Y7P`AFP](https://user-images.githubusercontent.com/364050/63224954-03232680-c1fe-11e9-9075-6d0c27163c7a.png) 涉及机型: ![S_O11LK_DN9C{BE SJV ~71](https://user-images.githubusercontent.com/364050/63224968-349bf200-c1fe-11e9-99ee-96c5c1587bdb.png) 如果有朋友能有相关机型测试,或能重现,还望告知, 谢谢!

![N4FD}U(B@6I1FW1 (%L78PE](https://user-images.githubusercontent.com/364050/63224918-bb040400-c1fd-11e9-9368-e22aa5f63ae3.png) unitytest目录加了个测试用例,确实能看到日志是错乱的 先全部用mutex fix