我正在使用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。