【问题标题】:Xamarin IOS SIGSEGV when debuggingXamarin IOS SIGSEGV 调试时
【发布时间】:2015-03-04 06:38:02
【问题描述】:

我在调试并将鼠标悬停在变量上以获取其值时出现错误,然后我收到此错误弹出窗口http://gyazo.com/1a3cfe39d135e5807d41d2acf3b54b90 然后调试器崩溃并出现 SIGSEGV 错误。

这里是堆栈跟踪:

2015-03-04 14:31:00.568 AppName[839:11564] critical: Stacktrace:

2015-03-04 14:31:00.568 AppName[839:11564] critical:   at <unknown> <0xffffffff>
2015-03-04 14:31:00.568 AppName[839:11564] critical:   at Core.DataLayer.DataConnection.GetDatabasePath () [0x00063] in /Users/me/Projects/AppName/Core/DataLayer/DataAccess.cs:24
2015-03-04 14:31:00.568 AppName[839:11564] critical:   at Core.DataLayer.DataConnection.SetupDatabaseIfNeeded () [0x00002] in /Users/me/Projects/AppName/Core/DataLayer/DataAccess.cs:88
2015-03-04 14:31:00.569 AppName[839:11564] critical:   at IOS.AppDelegate.FinishedLaunching (UIKit.UIApplication,Foundation.NSDictionary) [0x0000b] in /Users/me/Projects/AppName/IOS/AppDelegate.cs:66
2015-03-04 14:31:00.569 AppName[839:11564] critical:   at (wrapper runtime-invoke) <Module>.runtime_invoke_bool__this___object_object (object,intptr,intptr,intptr) <IL 0x00066, 0xffffffff>
2015-03-04 14:31:00.569 AppName[839:11564] critical:   at <unknown> <0xffffffff>
2015-03-04 14:31:00.569 AppName[839:11564] critical:   at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <IL 0x000a6, 0xffffffff>
2015-03-04 14:31:00.570 AppName[839:11564] critical:   at UIKit.UIApplication.Main (string[],intptr,intptr) [0x00005] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:62
2015-03-04 14:31:00.570 AppName[839:11564] critical:   at UIKit.UIApplication.Main (string[],string,string) [0x00038] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:46
2015-03-04 14:31:00.570 AppName[839:11564] critical:   at IOS.Application.Main (string[]) [0x00008] in /Users/me/Projects/AppName/IOS/Main.cs:17
2015-03-04 14:31:00.570 AppName[839:11564] critical:   at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <IL 0x00050, 0xffffffff>
2015-03-04 14:31:00.570 AppName[839:11564] critical: 
Native stacktrace:

2015-03-04 14:31:00.571 AppName[839:11564] critical: 
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================


Application Terminated

【问题讨论】:

    标签: ios debugging xamarin segmentation-fault


    【解决方案1】:

    遇到同样的错误。 Watch 窗口中有其他项目的变量。清除所有变量有帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-09-13
      • 1970-01-01
      • 2020-12-02
      • 2016-11-15
      • 2019-11-03
      • 1970-01-01
      相关资源
      最近更新 更多