昨天我们的应用程序的最新版本成为了应用程序商店。从那时起,一些用户在尝试打开应用程序时立即被迫离开应用程序。我们的一位测试人员能够在她的某个设备上重新创建。在象征她的日志之后,这里是结果(抱歉讨厌的堆栈):
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000
Triggered by Thread: 0
Last Exception Backtrace:
System_Data_DataRow_EndEdit (DataRow.cs:843)
System_Data_SqlTypes_SqlMoney_op_LessThan_System_Data_SqlTypes_SqlMoney_System_Data_SqlTypes_SqlMoney (SQLMoney.cs:446)
Mobile_iOS_Views_TodaysListings_TodaysListingsTableViewController__CreateViewControllerAsyncc__AnonStorey2__CreateViewControllerAsyncc__AnonStorey0__m__1 (TodaysListingsTableViewController.cs:142)
System_Data_DataSet_InternalEnforceConstraints (DataSet.cs:209)
System_Collections_Generic_Dictionary_2_long_Mono_Data_Sqlite_SqliteFunction_AggregateData_Insert_long_Mono_Data_Sqlite_SqliteFunction_AggregateData (dictionary.cs:357)
System_Collections_Generic_Dictionary_2_long_Mono_Data_Sqlite_SqliteFunction_AggregateData_Insert_long_Mono_Data_Sqlite_SqliteFunction_AggregateData (dictionary.cs:352)
Mobile_iOS_Controls_Favorites_FavoritesActionSheet_HandleSheetDismissed_object_UIKit_UIButtonEventArgs (FavoritesActionSheet.cs:184)
System_Text_RegularExpressions_RegexInterpreter_Go (RegexInterpreter.cs:929)
Mobile_iOS_Controls_Property_PropertyToolbarItem_FromBarButtonItem_UIKit_UIBarButtonItem (PropertyToolbarItem.cs:104)
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
Views_Search_SearchListViewController_get_RowSelectedDelegate (SearchListViewController.xib.cs:62)
ApplicationDelegate_WaitForNetwork_System_Action (ApplicationDelegate.cs:879)
System_Array_qsort_intptr_intptr___int_int_System_Collections_Generic_IComparer_1_intptr (Array.cs:2445)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
ApplicationDelegate_GetBundleVersion (ApplicationDelegate.cs:1115)
ApplicationDelegate_WaitForNetwork_System_Action (ApplicationDelegate.cs:879)
System_Array_qsort_intptr_intptr___int_int_System_Collections_Generic_IComparer_1_intptr (Array.cs:2445)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
wrapper_managed_to_native_System_Net_Sockets_Socket_Shutdown_internal_intptr_System_Net_Sockets_SocketShutdown_int_ (Socket_2_1.cs:1402)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
System_Text_RegularExpressions_RegexInterpreter_Go (RegexInterpreter.cs:929)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
xamarin_fpret_double_trampoline (.monotouch-trampoline-writeback.inc:59)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
Controls_Property_PropertyToolbarItem_FromBarButtonItem_UIKit_UIBarButtonItem (PropertyToolbarItem.cs:104)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
ApplicationDelegate_CreateSession_Configuration_HostDefinition_int (ApplicationDelegate.cs:1000)
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
SearchCriteriaTableViewSource_NumberOfSections_UIKit_UITableView (SearchCriteriaTableViewSource.cs:183)
ApplicationDelegate_HandleLoginNotification_Foundation_NSNotification (ApplicationDelegate.cs:580)
Thread 2:
Views_Search_SearchListViewController__Disposem__2 (SearchListViewController.xib.cs:216)
Thread 3:
Views_Search_SearchListViewController__Disposem__2 (SearchListViewController.xib.cs:216)
Thread 4:
GeocoderResult_SetAccuracy (Geocoder.cs:187)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
GeocoderResult_SetAccuracy (Geocoder.cs:187)
ApplicationDelegate_HandleLoginNotification_Foundation_NSNotification (ApplicationDelegate.cs:590)
ApplicationDelegate_HandleLoginNotification_Foundation_NSNotification (ApplicationDelegate.cs:582)
Thread 5:
Views_Search_SearchListViewController__Disposem__2 (SearchListViewController.xib.cs:216)
Thread 6:
Views_Search_SearchListViewController__Disposem__2 (SearchListViewController.xib.cs:216)
Thread 7:
Views_Search_SearchListViewController__Disposem__2 (SearchListViewController.xib.cs:216)
Thread 8 name: com.apple.NSURLConnectionLoader
Thread 8:
System_Net_FtpWebRequest_OperationCompleted (FtpWebRequest.cs:906)
System_Net_DigestHeaderParser__ctor (DefaultCertificatePolicy.cs:52)
Views_Search_SearchMapSettingsViewController_Handle_applyButton_TouchDown_object_System_EventArgs (SearchMapSettingsViewController.xib.cs:55)
Views_Search_SearchMapSettingsViewController__ctor_Foundation_NSCoder (SearchMapSettingsViewController.xib.cs:27)
plt_REModel_Forms_Renderer_3_System_IOWriter_REModel_Forms_HtmlRenderer_FormItemHtmlRenderer_get_Depth + 8
System_Net_HttpWebResponse_System_Runtime_Serialization_ISerializable_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext (HttpWebResponse.cs:275)
ApplicationDelegate_HandleLoginNotification_Foundation_NSNotification (ApplicationDelegate.cs:590)
ApplicationDelegate_HandleLoginNotification_Foundation_NSNotification (ApplicationDelegate.cs:582)
所以我知道这可能与此EXC_BAD_ACCESS signal received以及与“KERN_INVALID_ADDRESS”相关的其他问题非常相似,但是,我无法在自己的设备或模拟器上重新创建此问题。这种情况仅发生在刚刚下载了我们最新版本的用户身上。因此,我无法使用NSZombieEnabled
来查找原点。
请注意,此最新版本包含Xamarin Unified Api所需的升级。
我不是iOS或Xamarin的专业人士。堆栈中的任何内容看起来都可能是原因吗?看看发生了什么的其他任何技巧?