Bug 22765 - A runtime bug report from ios device
Summary: A runtime bug report from ios device
Status: VERIFIED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime ()
Version: master
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-09-08 23:25 UTC by Mize
Modified: 2015-01-20 05:19 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
iOS Exception Report (33.92 KB, text/plain)
2014-09-08 23:25 UTC, Mize
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Mize 2014-09-08 23:25:17 UTC
Created attachment 7967 [details]
iOS Exception Report

I recieved a bug report from my iPad air
But I don't know what the error message is.
Comment 1 Mize 2014-09-08 23:44:44 UTC
This is Console Message

Sep  9 11:43:37 Test backboardd[5524] <Error>: HID: The 'Rate Controlled' connection 'YuzhiAPP' access to protected services is denied.
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: YuzhiAPP(7773,0x3d0b518c) malloc: *** error for object 0x3d07b1f0: Non-aligned pointer being freed (2)
	*** set a breakpoint in malloc_error_break to debug
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: Stacktrace:
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at <unknown> <0xffffffff>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at (wrapper managed-to-native) Mono.Data.Sqlite.UnsafeNativeMethods.sqlite3_step (intptr) <0xffffffff>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at Mono.Data.Sqlite.SQLite3.Step (Mono.Data.Sqlite.SqliteStatement) <0x00043>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at Mono.Data.Sqlite.SqliteDataReader.NextResult () <0x001c7>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at Mono.Data.Sqlite.SqliteDataReader..ctor (Mono.Data.Sqlite.SqliteCommand,System.Data.CommandBehavior) <0x00083>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at Mono.Data.Sqlite.SqliteCommand.ExecuteReader (System.Data.CommandBehavior) <0x00043>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at Mono.Data.Sqlite.SqliteCommand.ExecuteReader () <0x0001f>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at DBClass.ExecuteDataTable (string) <0x000f3>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at YuzhiAPP.Equipment_Check.GetCheckLogView () <0x00113>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at YuzhiAPP.Equipment_Check.ViewWillAppear (bool) <0x01fff>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at <unknown> <0xffffffff>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at (wrapper managed-to-native) MonoTouch.ObjCRuntime.Messaging.void_objc_msgSend_IntPtr_bool (intptr,intptr,intptr,bool) <0xffffffff>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at MonoTouch.UIKit.UINavigationController.PushViewController (MonoTouch.UIKit.UIViewController,bool) <0x00053>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at YuzhiAPP.Equipment_FormSelect.EquipmentListRowSelected (object,System.EventArgs) <0x000cf>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at (wrapper delegate-invoke) <Module>.invoke_void__this___object_EventArgs (object,System.EventArgs) <0xffffffff>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at TableViewSourceTwoCell.RowSelected (MonoTouch.UIKit.UITableView,MonoTouch.Foundation.NSIndexPath) <0x0008f>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at <unknown> <0xffffffff>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <0xffffffff>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at MonoTouch.UIKit.UIApplication.Main (string[],string,string) <0x0012b>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at YuzhiAPP.Application.Main (string[]) <0x00043>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>:   at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff>
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 
	Native stacktrace:
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	0   YuzhiAPP                            0x008d2919 YuzhiAPP + 8497433
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	1   YuzhiAPP                            0x008d76ff YuzhiAPP + 8517375
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	2   libsystem_platform.dylib            0x3b42b723 _sigtramp + 42
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	3   libsystem_pthread.dylib             0x3b4307b7 pthread_kill + 58
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	4   libsystem_c.dylib                   0x3b378ff9 abort + 76
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	5   libsystem_malloc.dylib              0x3b3f6731 <redacted> + 0
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	6   libsystem_malloc.dylib              0x3b3ef1e7 <redacted> + 578
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	7   libsqlite3.dylib                    0x3b0ee5af sqlite3_get_table + 9050
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	8   libsqlite3.dylib                    0x3b0e56e3 sqlite3_step + 30626
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	9   libsqlite3.dylib                    0x3b0de0d9 sqlite3_step + 408
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	10  YuzhiAPP                            0x007ef220 YuzhiAPP + 7565856
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	11  YuzhiAPP                            0x007bcfd8 YuzhiAPP + 7360472
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	12  YuzhiAPP                            0x007d68a8 YuzhiAPP + 7465128
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	13  YuzhiAPP                            0x007d365c YuzhiAPP + 7452252
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	14  YuzhiAPP                            0x007c1dd0 YuzhiAPP + 7380432
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	15  YuzhiAPP                            0x007c1e38 YuzhiAPP + 7380536
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	16  YuzhiAPP                            0x000c5c00 YuzhiAPP + 56320
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	17  YuzhiAPP                            0x000faf18 YuzhiAPP + 274200
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	18  YuzhiAPP                            0x000f7c88 YuzhiAPP + 261256
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	19  YuzhiAPP                            0x003403e4 YuzhiAPP + 2655204
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	20  YuzhiAPP                            0x008ddcf1 YuzhiAPP + 8543473
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	21  YuzhiAPP                            0x0091cf49 YuzhiAPP + 8802121
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	22  YuzhiAPP                            0x008a313b YuzhiAPP + 8302907
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	23  YuzhiAPP                            0x008ab80d YuzhiAPP + 8337421
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	24  UIKit                               0x32a85cc3 <redacted> + 374
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	25  UIKit                               0x32b199db <redacted> + 586
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	26  UIKit                               0x32b19509 <redacted> + 572
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	27  UIKit                               0x32af7b25 <redacted> + 1332
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	28  UIKit                               0x32af75df <redacted> + 294
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	29  YuzhiAPP                            0x001aa420 YuzhiAPP + 992288
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	30  YuzhiAPP                            0x00177dbc YuzhiAPP + 785852
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	31  YuzhiAPP                            0x000f5a5c YuzhiAPP + 252508
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	32  YuzhiAPP                            0x003466b8 YuzhiAPP + 2680504
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	33  YuzhiAPP                            0x000c82b4 YuzhiAPP + 66228
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	34  YuzhiAPP                            0x003403e4 YuzhiAPP + 2655204
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	35  YuzhiAPP                            0x008ddcf1 YuzhiAPP + 8543473
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	36  YuzhiAPP                            0x0091cf49 YuzhiAPP + 8802121
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	37  YuzhiAPP                            0x008a32a1 YuzhiAPP + 8303265
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	38  YuzhiAPP                            0x008a6aa5 YuzhiAPP + 8317605
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	39  UIKit                               0x32b897d3 <redacted> + 1078
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	40  UIKit                               0x32c3bc93 <redacted> + 214
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	41  UIKit                               0x32aeade9 <redacted> + 316
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	42  UIKit                               0x32a63b37 <redacted> + 430
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	43  CoreFoundation                      0x30204ff9 <redacted> + 20
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	44  CoreFoundation                      0x30202987 <redacted> + 286
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	45  CoreFoundation                      0x30202cd3 <redacted> + 738
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	46  CoreFoundation                      0x3016d729 CFRunLoopRunSpecific + 524
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	47  CoreFoundation                      0x3016d50b CFRunLoopRunInMode + 106
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	48  GraphicsServices                    0x350a66d3 GSEventRunModal + 138
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	49  UIKit                               0x32ace871 UIApplicationMain + 1136
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	50  YuzhiAPP                            0x001af694 YuzhiAPP + 1013396
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	51  YuzhiAPP                            0x0017265c YuzhiAPP + 763484
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	52  YuzhiAPP                            0x000bd074 YuzhiAPP + 20596
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	53  YuzhiAPP                            0x003403e4 YuzhiAPP + 2655204
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	54  YuzhiAPP                            0x008ddcf1 YuzhiAPP + 8543473
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	55  YuzhiAPP                            0x0091cf49 YuzhiAPP + 8802121
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	56  YuzhiAPP                            0x00920bff YuzhiAPP + 8817663
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	57  YuzhiAPP                            0x00920a47 YuzhiAPP + 8817223
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	58  YuzhiAPP                            0x008cbe3d YuzhiAPP + 8470077
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	59  YuzhiAPP                            0x00953910 monotouch_IntPtr_objc_msgSend_IntPtr + 3304
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 	60  libdyld.dylib                       0x3b311ab7 <redacted> + 2
Sep  9 11:43:47 Test YuzhiAPP[7773] <Error>: 
	=================================================================
	Got a SIGABRT while executing native code. This usually indicates
	a fatal error in the mono runtime or one of the native libraries 
	used by your application.
	=================================================================
Comment 2 Rolf Bjarne Kvinge [MSFT] 2014-09-09 04:48:28 UTC
This looks like a crash inside Sqlite.

Did you configure Sqlite to be thread-safe like this?

    SqliteConnection.SetConfig (SQLiteConfig.Serialized);
Comment 3 Mize 2014-09-09 05:06:58 UTC
Thank you ! My problem has been solved.

but I still want to know why this solution can solve my problem
because "SqliteConnection" looks like a static member
is this a global setting of sqlite ? 
if I reopen the connection, should I need to do it again?

thanks again!!!
Comment 4 Rolf Bjarne Kvinge [MSFT] 2014-09-09 05:10:26 UTC
It's a global setting that you need to set as soon as possible in your app (inside your FinishedLaunching for instance). You only need to do it once.
Comment 5 Rolf Bjarne Kvinge [MSFT] 2014-09-09 05:11:06 UTC
And closing the bug report as well, since the problem has been solved on your end.
Comment 6 Shruti 2015-01-20 05:19:57 UTC
As per comment 3,4 and 5th closing this issue.