我正在使用 Xamarin 和 UrhoSharp 开发 Android 应用程序。当我关闭包含 UrhoSharp 表面的 Activity 时,我的应用程序崩溃,SIGSEGV 为:
[Mono] Searching for 'RefCounted_ReleaseRef'.
[Mono] Probing 'RefCounted_ReleaseRef'.
[Mono] Found as 'RefCounted_ReleaseRef'.
[mono-rt] Stacktrace:
[mono-rt]
[mono-rt] at <unknown> <0xffffffff>
[mono-rt] at (wrapper managed-to-native) object.__icall_wrapper_mono_object_new_fast (intptr) <IL 0x00025, 0xffffffff>
[mono-rt] at (wrapper dynamic-method) object.lambda_method (System.Runtime.CompilerServices.Closure) <IL 0x00000, 0x00023>
[mono-rt]
[mono-rt] Attempting native Android stacktrace:
[mono-rt]
[mono-rt] at mono_object_new_fast+0 [0x5e446dd4]
[mono-rt] at ???+15172 [0x5ab12b44]
[mono-rt]
[mono-rt] =================================================================
[mono-rt] Got a SIGSEGV while executing native code. This usually indicates
[mono-rt] a fatal error in the mono runtime or one of the native libraries
[mono-rt] used by your application.
[mono-rt] =================================================================
[mono-rt]
[libc] Fatal signal 11 (SIGSEGV) at 0x71d30000 (code=1), thread 17476 (SDLThread)
有人建议使用 tombstone 文件和 ndk-stack 来获取详细的错误消息。但是我对为 ndk-stack 的“-sym”部分提供什么感到困惑。
ndk-stack中的“符号根目录的完整路径”是什么意思?
我正在使用 UrhoSharp 版本 1.1.121 和 Xamarin 版本 4.0.3.214。