focus-creative-games / hybridclr

HybridCLR是一个特性完整、零成本、高性能、低内存的Unity全平台原生c#热更新解决方案。 HybridCLR is a fully featured, zero-cost, high-performance, low-memory solution for Unity's all-platform native c# hotupdate.
https://code-philosophy.com/
MIT License
6.6k stars 670 forks source link

特定情况下调用特定属性的特定字段崩溃 #125

Closed dzj0821 closed 8 months ago

dzj0821 commented 8 months ago

Describe the bug | 描述问题

特定情况下调用特定属性的特定字段崩溃

Enviroment | 环境

To Reproduce | 复制步骤

有稳定复现项目,通过技术客服反馈

Expected behavior | 期望的结果

正常运行

Screenshots | 截图或者日志

2024/03/01 19:16:23.658 30359 30377 Error CRASH *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2024/03/01 19:16:23.658 30359 30377 Error CRASH Version '2021.3.8f1 (b30333d56e81)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'armeabi-v7a'
2024/03/01 19:16:23.658 30359 30377 Error CRASH Build fingerprint: 'Android/graceltexx/gracelte:9/PQ3A.190705.11211812/G9700FXXU1APFO:user/release-keys'
2024/03/01 19:16:23.658 30359 30377 Error CRASH Revision: '0'
2024/03/01 19:16:23.658 30359 30377 Error CRASH ABI: 'arm'
2024/03/01 19:16:23.658 30359 30377 Error CRASH Timestamp: 2024-03-01 19:16:23+0800
2024/03/01 19:16:23.658 30359 30377 Error CRASH pid: 30359, tid: 30377, name: UnityMain  >>> com.Dev.HybridCLRTrial <<<
2024/03/01 19:16:23.659 30359 30377 Error CRASH uid: 10054
2024/03/01 19:16:23.659 30359 30377 Error CRASH signal 11 (SIGSEGV), code 0 (SI_USER), fault addr --------
2024/03/01 19:16:23.659 30359 30377 Error CRASH     r0  cd1f3b40  r1  c405af00  r2  00000000  r3  00000000
2024/03/01 19:16:23.659 30359 30377 Error CRASH     r4  00000000  r5  00000000  r6  c045af30  r7  c0c0aab8
2024/03/01 19:16:23.659 30359 30377 Error CRASH     r8  00000006  r9  c041a6b0  r10 c3a00218  r11 c3a001f0
2024/03/01 19:16:23.659 30359 30377 Error CRASH     ip  cd1f3b40  sp  d5558fb8  lr  076de278  pc  00000000
2024/03/01 19:16:23.945 30359 30377 Error CRASH Tombstone written to: /storage/emulated/0/Android/data/com.Dev.HybridCLRTrial/files/tombstone_00
0001/01/01 00:00:00.000 -1 -1 Info  --------- beginning of crash
2024/03/01 19:16:23.947 30359 30377 Error AndroidRuntime FATAL EXCEPTION: UnityMain
2024/03/01 19:16:23.947 30359 30377 Error AndroidRuntime Process: com.Dev.HybridCLRTrial, PID: 30359
2024/03/01 19:16:23.947 30359 30377 Error AndroidRuntime java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2024/03/01 19:16:23.947 30359 30377 Error AndroidRuntime Version '2021.3.8f1 (b30333d56e81)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'armeabi-v7a'
2024/03/01 19:16:23.947 30359 30377 Error AndroidRuntime Build fingerprint: 'Android/graceltexx/gracelte:9/PQ3A.190705.11211812/G9700FXXU1APFO:user/release-keys'
2024/03/01 19:16:23.947 30359 30377 Error AndroidRuntime Revision: '0'
2024/03/01 19:16:23.947 30359 30377 Error AndroidRuntime ABI: 'arm'
2024/03/01 19:16:23.947 30359 30377 Error AndroidRuntime Timestamp: 2024-03-01 19:16:23+0800
2024/03/01 19:16:23.947 30359 30377 Error AndroidRuntime pid: 30359, tid: 30377, name: UnityMain  >>> com.Dev.HybridCLRTrial <<<
2024/03/01 19:16:23.947 30359 30377 Error AndroidRuntime uid: 10054
2024/03/01 19:16:23.947 30359 30377 Error AndroidRuntime signal 11 (SIGSEGV), code 0 (SI_USER), fault addr --------
2024/03/01 19:16:23.947 30359 30377 Error AndroidRuntime     r0  cd1f3b40  r1  c405af00  r2  00000000  r3  00000000
2024/03/01 19:16:23.947 30359 30377 Error AndroidRuntime     r4  00000000  r5  00000000  r6  c045af30  r7  c0c0aab8
2024/03/01 19:16:23.947 30359 30377 Error AndroidRuntime     r8  00000006  r9  c041a6b0  r10 c3a00218  r11 c3a001f0
2024/03/01 19:16:23.947 30359 30377 Error AndroidRuntime     ip  cd1f3b40  sp  d5558fb8  lr  076de278  pc  00000000
2024/03/01 19:16:23.947 30359 30377 Error AndroidRuntime 

Additional context | 补充信息

pirunxi commented 8 months ago
  1. 能否先在v5.1.0版本上测试,看是否能复现这个问题
  2. 按照bug反馈模板要求提供一个可复现工程,我们会尽快解决的
dzj0821 commented 8 months ago
  1. 能否先在v5.1.0版本上测试,看是否能复现这个问题
  2. 按照bug反馈模板要求提供一个可复现工程,我们会尽快解决的

5.1版本怎么安装可以指导下吗 QQ问了walon和两个技术支持好像都不在 我可以私发可复现工程给你

pirunxi commented 8 months ago

你直接将复现工程发新手群吧,我们看到后会联系你的

pirunxi commented 8 months ago

已解决,将在下个版本包含这个修复。