So I have a weird behavior with an iOS app I'm working on.
When I build my app in Release mode in Visual Studio, it works fine, deploys and runs OK on my iPhone.
Then I do the same thing using XBuild via command line, create the .ipa, deploy it to the same phone, and I get a crash right after the system splashscreen.
The same command line, executed on another mac, provides an .ipa that does not crash.
And the crash stacktrace provided by XCode does not help much:
Date/Time: 2017-06-19 11:22:01.279 +0200
Launch Time: 2017-06-19 11:21:59.536 +0200
OS Version: iOS 8.3 (12F70)
Report Version: 105
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Thread 0 name: tid_907 Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000195e37270 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000195ed516c pthread_kill + 108
2 libsystem_c.dylib 0x0000000195daeb14 abort + 108
3 MyApp 0x0000000101f9df20 mono_handle_native_crash (mini-exceptions.c:2615)
4 libsystem_platform.dylib 0x0000000195ecc958 _sigtramp + 64
5 libsystem_pthread.dylib 0x0000000195ed516c pthread_kill + 108
6 libsystem_c.dylib 0x0000000195daeb14 abort + 108
7 MyApp 0x00000001020b29c0 mono_log_write_asl (mono-log-darwin.c:40)
8 MyApp 0x00000001020c6188 monoeg_g_log (goutput.c:125)
9 MyApp 0x0000000101f68078 load_aot_module (aot-runtime.c:2060)
10 MyApp 0x0000000101fbd2fc mono_assembly_load_from_full (assembly.c:2099)
11 MyApp 0x0000000101fbce5c mono_assembly_open_a_lot (assembly.c:1779)
12 MyApp 0x00000001020d3168 assembly_preload_hook(_MonoAssemblyName*, char**, void*) (monotouch-main.m:137)
13 MyApp 0x0000000101fbef24 mono_assembly_load_corlib (assembly.c:1478)
14 MyApp 0x0000000101fdf248 mono_init_internal (domain.c:556)
15 MyApp 0x0000000101faa7e8 mini_init (mini-runtime.c:3680)
16 MyApp 0x00000001020d2e84 xamarin_main (monotouch-main.m:420)
17 MyApp 0x0000000101e29b78 main (main.m:245)
18 libdyld.dylib 0x0000000195d1ea04 start + 0
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x0000000195e1cc24 kevent64 + 8
1 libdispatch.dylib 0x0000000195d01e6c _dispatch_mgr_invoke + 272
2 libdispatch.dylib 0x0000000195cf3998 _dispatch_mgr_thread + 48
Thread 2 name: SGen worker
Thread 2:
0 libsystem_kernel.dylib 0x0000000195e37078 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x0000000195ed2f28 _pthread_cond_wait + 620
2 MyApp 0x00000001020a6228 thread_func (mono-os-mutex.h:146)
3 libsystem_pthread.dylib 0x0000000195ed3dc4 _pthread_body + 160
4 libsystem_pthread.dylib 0x0000000195ed3d20 _pthread_start + 156
5 libsystem_pthread.dylib 0x0000000195ed0ef4 thread_start + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000036
x4: 0x000000016fd10c18 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000fa0
x8: 0x0000000008000000 x9: 0x0000000004000000 x10: 0x0000000125d18000 x11: 0x0000000000000fff
x12: 0x0000000000000036 x13: 0x0000000125d14000 x14: 0x0000000000003fff x15: 0x0000000000003fff
x16: 0x0000000000000148 x17: 0x0000000000000010 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000199d10310 x21: 0x0000000102170a64 x22: 0x0000000102170b16 x23: 0x000000016fd11678
x24: 0x0000000000000000 x25: 0x000000012680d080 x26: 0x0000000000000000 x27: 0x00000001023c70b0
x28: 0x00000001023c4c20 fp: 0x000000016fd11610 lr: 0x0000000195ed5170
sp: 0x000000016fd115f0 pc: 0x0000000195e37270 cpsr: 0x00000000
Any ideas, leads, possible origin would be highly appreciated !
Related
After updating the UWP app, I get many crash from the different sections of the app
STOWED_EXCEPTION_Microsoft.Data.Sqlite.SqliteException_80131500***APP-NAME***.dll!Microsoft::Data::Sqlite::SqliteCommand.ExecuteReader
Which did not happend in previous version, I also did not change the database access code section nor updated/reinstalled the EF Sqlite nugget package.
Here are Stacktrace i have received from users:
Thanks
Frame Image Function Offset
0 Microsoft.Data.Sqlite.dll Microsoft::Data::Sqlite::Interop::MarshalEx.ThrowExceptionForRC 0x0000000000000067
1 Microsoft.Data.Sqlite.dll Microsoft::Data::Sqlite::SqliteCommand.ExecuteReader 0x000000000000012F
2 Microsoft.Data.Sqlite.dll Microsoft::Data::Sqlite::SqliteCommand.ExecuteDbDataReader 0x000000000000000B
3 EntityFramework.Relational.dll Microsoft::Data::Entity::Storage::Internal::RelationalCommand::__c__DisplayClass17_0._ExecuteReader_b__0$catch$0 0x0000000000000013
4 SharedLibrary.dll System::Func$1_System::__Canon_.Invoke 0x0000000000000013
5 EntityFramework.Relational.dll Microsoft::Data::Entity::Storage::Internal::RelationalCommand.Execute_System.__Canon_$catch$0 0x00000000000000C1
6 EntityFramework.Relational.dll Microsoft::Data::Entity::Storage::Internal::RelationalCommand.ExecuteReader 0x0000000000000057
7 EntityFramework.Relational.dll Microsoft::Data::Entity::Query::Internal::QueryingEnumerable::Enumerator.MoveNext 0x000000000000008B
8 EntityFramework.Relational.dll Microsoft::Data::Entity::Query::QueryMethodProvider.GetResult_System.Int32_ 0x000000000000003D
9 APPNAME.McgInterop.dll _$ILCT$::$ILT$ReflectionDynamicInvoke$.InvokeRetOI_System.__Canon,System.Int32 0x0000000000000061
10 SharedLibrary.dll System::InvokeUtils.CallIHelperStaticCallWithInstantiation 0x0000000000000023
11 SharedLibrary.dll System::InvokeUtils.CallDynamicInvokeMethod 0x0000000000000119
12 System.Linq.Expressions System::Linq::Expressions::Interpreter::MethodInfoCallInstruction.InvokeWorker$catch$0 0x0000000000000017
13 System.Linq.Expressions System::Linq::Expressions::Interpreter::MethodInfoCallInstruction.Invoke 0x0000000000000009
14 System.Linq.Expressions System::Linq::Expressions::Interpreter::MethodInfoCallInstruction.Run 0x0000000000000065
15 System.Linq.Expressions System::Linq::Expressions::Interpreter::Interpreter.Run 0x0000000000000027
16 System.Linq.Expressions System::Linq::Expressions::Interpreter::LightLambda.Run 0x000000000000009B
17 SharedLibrary.dll System::Runtime::CompilerServices::ConditionalWeakTable$2_System::__Canon,System::__Canon_::CreateValueCallback.InvokeObjectArrayThunk 0x0000000000000037
18 EntityFramework.Core.dll Microsoft::Data::Entity::Query::Internal::QueryCompiler::__c__DisplayClass18_1$1_System::Int32_._CompileQuery_b__1$catch$0 0x0000000000000059
19 SharedLibrary.dll System::Comparison$1_System::__Canon_.Invoke 0x0000000000000013
20 EntityFramework.Core.dll Microsoft::Data::Entity::Query::Internal::QueryCompiler.Execute_System.Int32_ 0x000000000000003D
21 EntityFramework.Core.dll Microsoft::Data::Entity::Query::Internal::EntityQueryProvider.Execute_System.Int32_ 0x0000000000000033
22 System.Linq.Queryable.dll System::Linq::Queryable.Count_System.Int32_ 0x0000000000000121
23 APPNAME*.exe InstagramDownloader::pgHome._imgDownloader_b__15_4 0x0000000000000167
24 APPNAME*.McgInterop.dll Windows::System::Threading::TimerElapsedHandler.Invoke 0x000000000000000F
25 APPNAME*.McgInterop.dll McgInterop::ReverseComSharedStubs.Proc_ 0x0000000000000015
26 SharedLibrary.dll System::Runtime::ExceptionServices::ExceptionDispatchInfo.Throw 0x0000000000000019
27 System.Private.Threading System::Runtime::CompilerServices::TaskAwaiter.ThrowForNonSuccess 0x0000000000000053
28 System.Private.Threading System::Runtime::CompilerServices::TaskAwaiter.HandleNonSuccessAndDebuggerNotification 0x000000000000002D
29 System.Private.Threading System::Runtime::CompilerServices::TaskAwaiter.ValidateEnd 0x000000000000001D
30 System.Private.Threading System::Runtime::CompilerServices::TaskAwaiter.GetResult 0x000000000000000B
31 APPNAME*.exe InstagramDownloader::pgHome::_imgDownloader_d__15.MoveNext 0x00000000000015AF
32 SharedLibrary.dll System::Runtime::ExceptionServices::ExceptionDispatchInfo.Throw 0x0000000000000019
33 System.Private.Threading System::Runtime::CompilerServices::TaskAwaiter.ThrowForNonSuccess 0x0000000000000053
34 System.Private.Threading System::Runtime::CompilerServices::TaskAwaiter.HandleNonSuccessAndDebuggerNotification 0x000000000000002D
35 System.Private.Threading System::Runtime::CompilerServices::TaskAwaiter.ValidateEnd 0x000000000000001D
36 System.Private.Threading System::Runtime::CompilerServices::TaskAwaiter.GetResult 0x000000000000000B
37 APPNAME*.exe InstagramDownloader::pgHome::_btnDownload_Click_d__17.MoveNext 0x000000000000025D
38 APPNAME*.McgInterop.dll McgInterop::McgHelpers.ThrowFailed 0x0000000000000033
39 APPNAME*.McgInterop.dll McgInterop::ComCallHelpers.ComCall__HRESULT 0x00000000000000A9
40 APPNAME*.McgInterop.dll McgInterop::ForwardComSharedStubs.Func_TResult___System.__Canon,_System.__Canon_ 0x000000000000002B
41 APPNAME*.McgInterop.dll Windows::UI::Popups::MessageDialog.ShowAsync 0x0000000000000011
42 APPNAME*.exe InstagramDownloader::pgHome::_btnDownload_Click_d__17.MoveNext$catch$0 0x000000000000002F
43 SharedLibrary.dll System::Runtime::ExceptionServices::ExceptionDispatchInfo.Throw 0x0000000000000019
44 System.Private.Threading System::Runtime::CompilerServices::AsyncMethodBuilderCore::__c._ThrowAsync_b__9_0 0x0000000000000013
45 System.Private.Threading System::Threading::WinRTSynchronizationContext::Invoker.InvokeCore 0x0000000000000033
I suggest updating all SQLite-related packages on NuGet as well as the SQLite extension for Visual Studio (via Tools -> Extensions and Updates...)
Update
As I have learned, you use EntityFrameworkCore, which works only with Windows 10 Fall Creators Update and newer and will not work on older versions of UWP. To get rid of the issues, you will have to set your app to have minimum SDK version 16299 (FCU). If you need to support older versions, you will have to work without Entity Framework for now...
When I go to build and debug my iOS app, the simulator runs but I get an exception thrown and the simulator doesn't open. I'm using Visual Studio for Mac.
The error is:
Objective-C exception thrown.Name: NSInvalidArgumentException Reason:
Could not find a storyboard named 'Main' in bundle NSBundle
</Users/(Username
here)/Library/Developer/CoreSimulator/Devices/23E98CA3-FC40-4AA4-8AAD-
62A9FADE1118/data/Containers/Bundle/Application/715B09C7-FBF2-41E6-
8FCD-A6329DE9E758/(AppName Here).app> (loaded)
Native stack trace:
0 CoreFoundation 0x0000000108f31b0b
__exceptionPreprocess + 171
1 libobjc.A.dylib 0x0000000113b0e141
objc_exception_throw + 48
2 UIKit 0x000000010d005cfb +
[UIStoryboard storyboardWithName:bundle:] + 663
3 UIKit 0x000000010c84590d -
[UIApplication _loadMainStoryboardFileNamed:bundle:] + 72
4 UIKit 0x000000010c845e13 -
[UIApplication _loadMainInterfaceFile] + 260
5 UIKit 0x000000010c8444b6 -
[UIApplication _runWithMainScene:transitionContext:completion:] + 1407
6 UIKit 0x000000010c8417f3 -
[UIApplication workspaceDidEndTransaction:] + 182
7 FrontBoardServices 0x00000001168265f6
__FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 24
8 FrontBoardServices 0x000000011682646d -
[FBSSerialQueue _performNext] + 186
9 FrontBoardServices 0x00000001168267f6 -
[FBSSerialQueue _performNextFromRunLoopSource] + 45
10 CoreFoundation 0x0000000108ed7c01
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
11 CoreFoundation 0x0000000108ebd0cf
__CFRunLoopDoSources0 + 527
12 CoreFoundation 0x0000000108ebc5ff
__CFRunLoopRun + 911
13 CoreFoundation 0x0000000108ebc016
CFRunLoopRunSpecific + 406
14 UIKit 0x000000010c84008f -
[UIApplication _run] + 468
15 UIKit 0x000000010c846134
UIApplicationMain + 159
16 ??? 0x000000012bee336c 0x0 +
5031998316
17 ??? 0x0000000128fc6abd 0x0 +
4982598333
Thanks,
Z
Edit:
Adding picture.
Info.plist
It seems like no main.storyboard can be found in your project.
Check this
if the Main Interface is Main , check if main.storyboard exsits in your project.
Or you can change it to other viewController.
Okay, the weirdest thing fixed it. I installed an older version of Xarmarin iOS that I got from this page: https://bugzilla.xamarin.com/show_bug.cgi?id=38206
Then when I opened Visual Studio it didn't detect it and had me update it. After updating it, my app was able to debug and the simulator worked fine! Very, very weird!
I never had problems with Microsoft Advertising until yesterday...
Yesterday I had lot of crash in my app due to Microsoft Advertising.
The symbol name of the event is:
Microsoft_Advertising!Windows::UI::Xaml::DependencyObject::[Windows::UI::Xaml::IDependencyObject]::SetValue
Someone else have this problem ?
How can I solve this problem?
(my app is a Windows 10 universal app (c# + XAML))
Stack trace:
1 Windows_UI_Xaml DirectUI::DependencyPropertyHandle::GetDP 0x2E380F
2 Windows_UI_Xaml DirectUI::DependencyObject::SetValue 0x27
3 Microsoft_Advertising Windows::UI::Xaml::DependencyObject::[Windows::UI::Xaml::IDependencyObject]::SetValue 0x48
4 Microsoft_Advertising Microsoft::Advertising::WinRT::UI::AdControl::ApplicationId::[Microsoft::Advertising::WinRT::UI::__IAdControlPublicNonVirtuals::ApplicationId]::set 0x6E
5 Microsoft_Advertising Microsoft::Advertising::WinRT::UI::AdControl::[Microsoft::Advertising::WinRT::UI::__IAdControlPublicNonVirtuals]::__abi_Microsoft_Advertising_WinRT_UI___IAdControlPublicNonVirtuals____abi_set_ApplicationId 0x2A
6 App2_7ff97fad0000 $102_McgInterop::ComCallHelpers.ComCall__HRESULT 0x87
7 App2_7ff97fad0000 $102_McgInterop::ForwardComSharedStubs.Proc_string__ 0x6D
8 App2_7ff97fad0000 $97_Microsoft::AdMediator::Universal::MicrosoftAdvertising::MicrosoftAdvertisingAdAdapter.InstantiateControl 0x249
9 App2_7ff97fad0000 $56_Microsoft::AdMediator::Core::BaseAdAdapter::__c__DisplayClass72_0._LoadControl_b__0 0x20
10 App2_7ff97fad0000 $56_Microsoft::AdMediator::Core::BaseAdAdapter::__c__DisplayClass76_0._RunOnDispatcher_b__0 0x22
11 App2_7ff97fad0000 $16_System::Threading::WaitCallback.Invoke 0xF
12 App2_7ff97fad0000
$84_Internal::WinRT::Interop::WinRTCallbacks::__c__DisplayClass14_0._SubmitLongRunningThreadpoolWork_b__0 0x10
13 App2_7ff97fad0000 $102_Windows::UI::Core::DispatchedHandler__Impl::Vtbl.Invoke__STUB 0x2A
14 Windows_UI Windows::UI::Core::CDispatcher::ProcessInvokeItem 0x23C
15 Windows_UI Windows::UI::Core::CDispatcher::ProcessMessage 0x1A4
16 Windows_UI Windows::UI::Core::CDispatcher::WaitAndProcessMessages 0x1A2
17 Windows_UI Windows::UI::Core::CDispatcher::ProcessEvents 0xA8
18 Windows_UI_Xaml CJupiterWindow::RunCoreWindowMessageLoop 0x65
19 Windows_UI_Xaml DirectUI::DXamlCore::RunMessageLoop 0x47
20 twinapi_appcore Windows::ApplicationModel::Core::CoreApplicationView::Run 0x46
21 twinapi_appcore _lambda_d86ebb20270fa8a99766b2537cc9a251_::_helper_func_cdecl_ 0x100
22 SHCore _WrapperThreadProc 0xF0
23 kernel32 BaseThreadInitThunk 0x22
24 ntdll RtlUserThreadStart 0x34
and the failure string name is:
STOWED_EXCEPTION_8000ffff_Microsoft.Advertising.dll!Windows::UI::Xaml::DependencyObject::[Windows::UI::Xaml::IDependencyObject]::SetValue
when I test my app on VisualSudio 2015 I have this error:
Exception thrown at 0x74CD3E28 (KernelBase.dll) in App2.exe: 0x40080201: WinRT originate error (parameters: 0x800F1000, 0x00000053, 0x07A0CE9C).
windows\dxaml\xcp\components\vsm\visualstatemanagerdatasource.cpp(260)\Windows.UI.Xaml.dll!055146AF: (caller: 0522D02D) Exception(1) tid(5168) 800F1000 Aucun composant installé n’a été détecté.
Exception thrown at 0x74CD3E28 in App2.exe: Microsoft C++ exception: wil::ResultException at memory location 0x07A0C448.
Exception thrown at 0x74CD3E28 in App2.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.
windows\dxaml\xcp\components\vsm\cvisualstatemanager2.cpp(131)\Windows.UI.Xaml.dll!05514C93: (caller: 05439146) ReturnHr(1) tid(5168) 800F1000 Aucun composant installé n’a été détecté.
But my app is the same as before...I don't understand (I just updated admediator...)
yes other developers are seeing this issue, too.
Please upvote the problem here.
Realizing that I should be using Line Print mode (as opposed to label mode) for sending CPCL to the Zebra QL 220 belt printer, I'm in the process of refactoring my working code (Why does everything print on the same line, even though I'm adding crlfs?) to this:
serialPort.Write("! 0 200 200 210 1\r\n");
serialPort.Write(string.Format("! U1 setvar {0} {1}", "device.languages", "line_print"));
serialPort.Write("Hallo die Welt\r\n\r\n"); //Bonjour le Monde --- Hola el Mundo --- Hallo die Welt
serialPort.Write("BARCODE-TEXT 7 0 5\r\n");
serialPort.Write(string.Format("BARCODE 128 1 1 50 150 130 {0}\r\n\r\n", barcode));
serialPort.Write("POSTFEED 120\r\n"); // empirical observation shows 120 is about the right amount of extra tape to expel after printing
serialPort.Write("PRINT\r\n");
This prints the barcode and its human-readable number beneath it (the value in "barcode"),but the text "Hallo die Welt" is not printed. Why not? Do I need a call to Print after each line, or...???
UPDATE
It still prints the barcode only (not "Hallo die Welt") with this code:
serialPort.Write("! 0 200 200 210 1\r\n");
serialPort.Write("! U1 SETLP 7 0 24\r\n");
serialPort.Write("Hallo die Welt\r\n\r\n");
serialPort.Write("BARCODE-TEXT 7 0 5\r\n");
serialPort.Write(string.Format("BARCODE 128 1 1 50 150 130 {0}\r\n\r\n", barcode));
serialPort.Write("POSTFEED 120\r\n");
serialPort.Write("PRINT\r\n");
UPDATE 2
This works (label mode):
serialPort.Write("! 0 200 200 210 1\r\n");
serialPort.Write("TEXT 4 0 30 40 Hallo die Welt\r\n\r\n"); //Bonjour le Monde --- Hola el Mundo --- Hallo die Welt
serialPort.Write("BARCODE-TEXT 7 0 5\r\n");
serialPort.Write(string.Format("BARCODE 128 1 1 50 150 130 {0}\r\n\r\n", barcode));
serialPort.Write("POSTFEED 120\r\n");
serialPort.Write("PRINT\r\n");
It prints:
~~~~~~~~~~~~~~~~~~~~~~~
Hallo die Welt
<barcode as a barcode>
<barcode as a number>
~~~~~~~~~~~~~~~~~~~~~~~
...but this doesn't work (line print mode):
serialPort.Write(string.Format("! U1 setvar {0} {1}", "device.languages", "line_print"));
serialPort.Write("! U1 SETLP 7 0 24\r\n");
serialPort.Write("Hallo die Welt\r\n\r\n");
serialPort.Write("! U1 BARCODE-TEXT 7 0 5\r\n");
serialPort.Write(string.Format("! U1 BARCODE 128 1 1 50 150 130 {0}\r\n\r\n", barcode));
serialPort.Write("! U1 SETLP 5 2 46");
serialPort.Write(barcode);
serialPort.Write("! U1 PRINT\r\n");
The problem is, I need to use Line Print mode.
You also need a \r\n after every SGD command (your setvar in this case)
It should be
! U1
setvar "device.languages" "line_print"\r\n
You also need to put the double quotes around the 2 parameters of the SETVAR command.
UPDATE:
oh, btw, just because the printer is in line_print mode, doesn't mean that it doesn't understand CPCL code. So the code above in your example is CPCL code, not just line print. If you put TEXT in front, it should work
I have a simple table and when I try to update row on SQLite, the application close and expose this exception:
Stacktrace:
at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <0xffffffff>
at MonoTouch.UIKit.UIApplication.Main (string[],string,string) <0x000b7>
at RemedioNaHora.Application.Main (string[]) <0x00017>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
0 RemedioNaHora 0x000908ec mono_handle_native_sigsegv + 284
1 RemedioNaHora 0x00005c88 mono_sigsegv_signal_handler + 248
2 libsystem_c.dylib 0x9365c59b _sigtramp + 43
3 ??? 0xffffffff 0x0 + 4294967295
4 UIKit 0x0219355a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 61
5 UIKit 0x02238b76 -[UIControl sendAction:to:forEvent:] + 66
6 UIKit 0x0223903f -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 503
7 UIKit 0x0238aa6c -[_UISwitchInternalView _sendActions] + 121
8 Foundation 0x0173786d __NSFireDelayedPerform + 389
9 CoreFoundation 0x01195966 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22
10 CoreFoundation 0x01195407 __CFRunLoopDoTimer + 551
11 CoreFoundation 0x010f87c0 __CFRunLoopRun + 1888
12 CoreFoundation 0x010f7db4 CFRunLoopRunSpecific + 212
13 CoreFoundation 0x010f7ccb CFRunLoopRunInMode + 123
14 GraphicsServices 0x04789879 GSEventRunModal + 207
15 GraphicsServices 0x0478993e GSEventRun + 114
16 UIKit 0x02190a9b UIApplicationMain + 1175
17 ??? 0x0b5b9784 0x0 + 190551940
18 ??? 0x0b5b89d0 0x0 + 190548432
19 ??? 0x0b5b8878 0x0 + 190548088
20 ??? 0x0b5b8907 0x0 + 190548231
21 RemedioNaHora 0x00009ff2 mono_jit_runtime_invoke + 722
22 RemedioNaHora 0x00169eee mono_runtime_invoke + 126
23 RemedioNaHora 0x0016dfd4 mono_runtime_exec_main + 420
24 RemedioNaHora 0x001733f5 mono_runtime_run_main + 725
25 RemedioNaHora 0x000671f5 mono_jit_exec + 149
26 RemedioNaHora 0x002116c9 main + 2825
27 RemedioNaHora 0x00003045 start + 53
=================================================================
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.
=================================================================
Does somebody know what happened?
It looks like an UISwitch is calling back into managed code. It's likely:
calling into an object that has been garbage collected (it's freed and can't be used anymore). Ensuring you kept a reference to the object being used would solve this; or
it could also be calling an UI element out of the main thread. Ensuring UI elements are only used form the main thread would solve that case.
Hopefully this will help you. If not we'll need to see some source code in order to help you further. You can edit your question to add it.