ios google analytic 3.03 out of memory - google-analytics

google analytics out of memory in ios?
My project was to apply the google Analytic 3.03 version.
id<GAITracker> tracker = [[GAI sharedInstance] defaultTracker];
// This screen name value will remain set on the tracker and sent with
// hits until it is set to a new value or to nil.
// page is string param
[tracker set:kGAIScreenName value:page];
[tracker send:[[GAIDictionaryBuilder createAppView] build]];
this is image...
http://i41.tinypic.com/25rnuh4.jpg
because of last line method
[tracker send:[[GAIDictionaryBuilder createAppView] build]];
this log message :
malloc: * mmap(size=1291476992) failed (error code=12)
WARNING: GoogleAnalytics 3.03 void GAIUncaughtExceptionHandler(NSException *) (GAIUncaughtExceptionHandler.m:49): Uncaught exception: Out of memory. We suggest restarting the application. If you have an unsaved document, create a backup copy in Finder, then try to save.
VERBOSE: GoogleAnalytics 3.03 -[GAIRequestBuilder requestGetUrl:payload:] (GAIRequestBuilder.m:177): building URLRequest for https://ssl.google-analytics.com/collect
VERBOSE: GoogleAnalytics 3.03 -[GAIBatchingDispatcher dispatch] (GAIBatchingDispatcher.m:503): Sending hit(s)
INFO: GoogleAnalytics 3.03 -[GAIBatchingDispatcher didSendHits:response:data:error:] (GAIBatchingDispatcher.m:157): Hit(s) dispatched: HTTP status 200
INFO: GoogleAnalytics 3.03 -[GAIBatchingDispatcher deleteHits:] (GAIBatchingDispatcher.m:430): hit(s) Successfully dispatched
INFO: GoogleAnalytics 3.03 -[GAIBatchingDispatcher didSendHits:] (GAIBatchingDispatcher.m:167): 1 hit(s) sent
* Terminating app due to uncaught exception 'NSMallocException', reason: 'Out of memory. We suggest restarting the application. If you have an unsaved document, create a backup copy in Finder, then try to save.'
* First throw call stack:
(
0 CoreFoundation 0x044585e4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x039b18b6 objc_exception_throw + 44
2 Foundation 0x0368a4a1 _NSOutOfMemoryErrorHandler + 72
3 CoreFoundation 0x043d9488 __CFStringChangeSizeMultiple + 1704
4 CoreFoundation 0x043dc4ae CFStringAppend + 318
5 CoreFoundation 0x043d6e03 __CFStringAppendFormatCore + 8611
6 CoreFoundation 0x0447a1d5 _CFStringAppendFormatAndArgumentsAux + 69
7 CoreFoundation 0x0447a179 -[__NSCFString appendFormat:] + 89
8 MyApp 0x000d1a4a -[NSDictionary(Description) descriptionWithLocale:indent:] + 762
9 libobjc.A.dylib 0x039c3874 -[NSObject performSelector:withObject:withObject:] + 77
10 MyApp 0x0000be1d -[NSObject(Description) descriptionForObject:locale:indent:] + 397
11 MyApp 0x000d1a0b -[NSDictionary(Description) descriptionWithLocale:indent:] + 699
12 CoreFoundation 0x04453ce0 -[NSDictionary descriptionWithLocale:] + 48
13 Foundation 0x035ce785 _NSDescriptionWithLocaleFunc + 93
14 CoreFoundation 0x043d6dc6 __CFStringAppendFormatCore + 8550
15 CoreFoundation 0x04417944 _CFStringCreateWithFormatAndArgumentsAux + 116
16 Foundation 0x035cd690 -[NSPlaceholderString initWithFormat:locale:arguments:] + 143
17 Foundation 0x035ce70d +[NSString stringWithFormat:] + 88
18 Myapp 0x00295b64 -[GAIBatchingDispatcher persist:] + 342
19 MyApp 0x00296f9a -[GAIBatchingDispatcher queueDispatch:] + 538
20 MyApp 0x00296d68 -[GAIBatchingDispatcher queueModel:] + 146
21 libobjc.A.dylib 0x039c381f -[NSObject performSelector:withObject:] + 70
22 Foundation 0x036069d8 __NSThreadPerformPerform + 285
23 CoreFoundation 0x043e183f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
24 CoreFoundation 0x043e11cb __CFRunLoopDoSources0 + 235
25 CoreFoundation 0x043fe29e __CFRunLoopRun + 910
26 CoreFoundation 0x043fdac3 CFRunLoopRunSpecific + 467
27 CoreFoundation 0x043fd8db CFRunLoopRunInMode + 123
28 Foundation 0x0360e9c5 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 284
29 Foundation 0x035aa8d1 -[NSRunLoop(NSRunLoop) run] + 82
30 MyApp 0x00287164 +[GAI threadMain:] + 70
31 Foundation 0x03609597 -[NSThread main] + 76
32 Foundation 0x036094f6 __NSThread__main__ + 1275
33 libsystem_c.dylib 0x040015b7 _pthread_start + 344
34 libsystem_c.dylib 0x03febdce thread_start + 34
)
What's the problem?

Related

Flutter Firestore Query Error Occurred While Parsing Query Arguments

I have an existing iOS and Android app which I have added Flutter to. Everything is working as intended. I am able to initialize Firebase and log in anonymously using Firebase Authentication. However, when I try to query the Firestore Database I get the following error:
An error occurred while parsing query arguments, this is most likely an error with this SDK. (
0 CoreFoundation 0x00007fff20406d44 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff201a4a65 objc_exception_throw + 48
2 myApp Dev 0x000000010aa64196 _ZN8firebase9firestore4util16ObjcThrowHandlerENS1_13ExceptionTypeEPKcS4_iRKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE + 106
3 myApp Dev 0x000000010aa63d0c _ZN8firebase9firestore4util5ThrowENS1_13ExceptionTypeEPKcS4_iRKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE + 10
4 myApp Dev 0x000000010aa8b269 _ZN8firebase9firestore4util17ThrowIllegalStateIJEEEvPKcDpRKT_ + 47
5 myApp Dev 0x000000010aa737d9 _ZN8firebase9firestore3api9Firestore12set_settingsERKNS1_8SettingsE + 175
6 myApp Dev 0x000000010aa8bbb1 -[FIRFirestore setSettings:] + 132
7 myApp Dev 0x000000010aca0bb5 -[FLTFirebaseFirestoreReader FIRFirestore] + 597
8 myApp Dev 0x000000010ac9e9d9 -[FLTFirebaseFirestoreReader readValueOfType:] + 1449
9 Flutter 0x000000010f0b8a0f -[FlutterStandardReader readValueOfType:] + 680
10 myApp Dev 0x000000010ac9eae7 -[FLTFirebaseFirestoreReader readValueOfType:] + 1719
11 myApp Dev 0x000000010ac9f0f9 -[FLTFirebaseFirestoreReader FIRQuery] + 73
12 myApp Dev 0x000000010ac9e9fb -[FLTFirebaseFirestoreReader readValueOfType:] + 1483
13 Flutter 0x000000010f0b8a0f -[FlutterStandardReader readValueOfType:] + 680
14 myApp Dev 0x000000010ac9eae7 -[FLTFirebaseFirestoreReader readValueOfType:] + 1719
15 Flutter 0x000000010f0b726b -[FlutterStandardMethodCodec decodeMethodCall:] + 76
16 Flutter 0x000000010f0b576e __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 37
17 Flutter 0x000000010eaef0f2 ___ZN7flutter25PlatformMessageHandlerIos21HandlePlatformMessageENSt3__110unique_ptrINS_15PlatformMessageENS1_14default_deleteIS3_EEEE_block_invoke + 86
18 libdispatch.dylib 0x000000010c4d5816 _dispatch_call_block_and_release + 12
19 libdispatch.dylib 0x000000010c4d6a5b _dispatch_client_callout + 8
20 libdispatch.dylib 0x000000010c4e5325 _dispatch_main_queue_drain + 1169
21 libdispatch.dylib 0x000000010c4e4e86 _dispatch_main_queue_callback_4CF + 31
22 CoreFoundation 0x00007fff20373261 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
23 CoreFoundation 0x00007fff2036da56 __CFRunLoopRun + 2761
24 CoreFoundation 0x00007fff2036ca90 CFRunLoopRunSpecific + 562
25 GraphicsServices 0x00007fff2cb72c8e GSEventRunModal + 139
26 UIKitCore 0x00007fff2508e90e -[UIApplication _run] + 928
27 UIKitCore 0x00007fff25093569 UIApplicationMain + 101
28 myApp Dev 0x000000010a8d1638 main + 56
29 dyld 0x000000010baddf21 start_sim + 10
30 ??? 0x000000011abc451e 0x0 + 4743513374
)
2022-04-22 19:31:13.053635-0600 myApp Dev[4022:3041493] *** Assertion failure in -[FlutterStandardMethodCodec decodeMethodCall:], FlutterStandardCodec.mm:120
2022-04-22 19:31:13.061828-0600 myApp Dev[4022:3041493] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Corrupted standard method call'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff20406d44 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff201a4a65 objc_exception_throw + 48
2 Foundation 0x00007fff2075e634 _userInfoForFileAndLine + 0
3 Flutter 0x000000010f0b730b -[FlutterStandardMethodCodec decodeMethodCall:] + 236
4 Flutter 0x000000010f0b576e __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 37
5 Flutter 0x000000010eaef0f2 ___ZN7flutter25PlatformMessageHandlerIos21HandlePlatformMessageENSt3__110unique_ptrINS_15PlatformMessageENS1_14default_deleteIS3_EEEE_block_invoke + 86
6 libdispatch.dylib 0x000000010c4d5816 _dispatch_call_block_and_release + 12
7 libdispatch.dylib 0x000000010c4d6a5b _dispatch_client_callout + 8
8 libdispatch.dylib 0x000000010c4e5325 _dispatch_main_queue_drain + 1169
9 libdispatch.dylib 0x000000010c4e4e86 _dispatch_main_queue_callback_4CF + 31
10 CoreFoundation 0x00007fff20373261 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
11 CoreFoundation 0x00007fff2036da56 __CFRunLoopRun + 2761
12 CoreFoundation 0x00007fff2036ca90 CFRunLoopRunSpecific + 562
13 GraphicsServices 0x00007fff2cb72c8e GSEventRunModal + 139
14 UIKitCore 0x00007fff2508e90e -[UIApplication _run] + 928
15 UIKitCore 0x00007fff25093569 UIApplicationMain + 101
16 myApp Dev 0x000000010a8d1638 main + 56
17 dyld 0x000000010baddf21 start_sim + 10
18 ??? 0x000000011abc451e 0x0 + 4743513374
)
libc++abi: terminating with uncaught exception of type NSException
dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/username/Library/Developer/Xcode/DerivedData/myApp-efvmuyofdpilzaamxqttwccqckxt/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib DYLD_FRAMEWORK_PATH=/Users/username/Library/Developer/Xcode/DerivedData/myApp-efvmuyofdpilzaamxqttwccqckxt/Build/Products/Debug-iphonesimulator
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Corrupted standard method call'
terminating with uncaught exception of type NSException
CoreSimulator 802.6 - Device: iPhone 13 Pro (33D54B65-82B4-414D-9D65-AE129A62EB94) - Runtime: iOS 15.4 (19E240) - DeviceType: iPhone 13 Pro
My code is as follows:
try {
var snapshot =
await FirebaseFirestore.instance.collection('users').get();
inspect(snapshot);
// List<dynamic> result =
// (snapshot as QuerySnapshot).docs.map((doc) => doc.data()).toList();
// debugPrint(result.toString());
// inspect(result);
} catch (error) {
debugPrint(error.toString());
}
I have searched around for a solutions but nothing has worked.

WatchOS 6 TTS bug ? AXSpeechManager isSpeaking crash

Here is the bug report. I think it's a bug of watchOS 6 something related to apple Text to Speech service.
When i not use tts, it's go away.
Incident Identifier: 3C86B3F2-0565-464C-921C-A0ECB63237EB
CrashReporter Key: 9de6d125d2514512fa87c39b4cc898e09cf8d8cc
Hardware Model: Watch4,4
Process: LeanWatchApp Extension [367]
Path: /private/var/containers/Bundle/Application/D8EC0163-C8EA-4375-B556-3C751744EEE3/LeanWatchApp.app/PlugIns/LeanWatchApp Extension.appex/LeanWatchApp Extension
Identifier: hltek.Lean.watchkitapp.watchkitextension
Version: 4 (1.15)
Code Type: ARM (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: hltek.Lean.watchkitapp.watchkitextension [473]
Date/Time: 2019-10-08 08:45:38.1157 +0800
Launch Time: 2019-10-08 08:42:38.0000 +0800
OS Version: Watch OS 6.0.1 (17R605)
Release Type: User
Baseband Version:
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000195eb0c0
VM Region Info: 0x195eb0c0 is not in any region. Bytes after previous region: 553153 Bytes before following region: 104714048
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
Stack 194dc000-19564000 [ 544K] rw-/rwx SM=COW thread 5
---> GAP OF 0x6464000 BYTES
unused shlib __TEXT 1f9c8000-1f9ee000 [ 152K] r-x/r-x SM=COW ... this process
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [367]
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_pthread.dylib 0x1fd6a670 pthread_get_qos_class_np + 8
1 Foundation 0x20adf988 -[NSThread qualityOfService] + 80
2 Foundation 0x20aa24e8 -[NSObject+ 271592 (NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 272
3 Foundation 0x20aa43f4 -[NSObject+ 279540 (NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:] + 116
4 libAXSpeechManager.dylib 0x437a88f0 -[AXSpeechManager isSpeaking] + 112
5 libAXSpeechManager.dylib 0x437a3c38 -[AXSpeechManager _didBeginInterruption] + 52
6 libAXSpeechManager.dylib 0x437a3fec -[AXSpeechManager _handleAudioInterruption:] + 500
7 CoreFoundation 0x200bb1d0 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
8 CoreFoundation 0x200bb218 ___CFXRegistrationPost1_block_invoke + 64
9 CoreFoundation 0x200ba580 _CFXRegistrationPost1 + 368
10 CoreFoundation 0x200ba24c ___CFXNotificationPost_block_invoke + 104
11 CoreFoundation 0x20037fec -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1392
12 CoreFoundation 0x200b9bc8 _CFXNotificationPost + 1188
13 Foundation 0x20a694c0 -[NSNotificationCenter postNotificationName:object:userInfo:] + 60
14 AVFAudio 0x2ac2048c -[AVAudioSession privateInterruptionWithInfo:] + 992
15 AVFAudio 0x2ac22c30 (anonymous namespace)::HandlePropertyListenerCallback+ 597040 (unsigned int, objc_selector*, NSObject*) + 72
16 libdispatch.dylib 0x1fb333a0 _dispatch_call_block_and_release + 24
17 libdispatch.dylib 0x1fb34730 _dispatch_client_callout + 16
18 libdispatch.dylib 0x1fb405a8 _dispatch_main_queue_callback_4CF + 992
19 CoreFoundation 0x200dbe6c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
20 CoreFoundation 0x200d6a10 __CFRunLoopRun + 740
21 CoreFoundation 0x200d6420 CFRunLoopRunSpecific + 464
22 GraphicsServices 0x236462ec GSEventRunModal + 100
23 UIKitCore 0x3ca1f784 UIApplicationMain + 1760
24 libxpc.dylib 0x1fdc4aa4 _xpc_objc_main.cold.3 + 208
25 libxpc.dylib 0x1fdb0a90 _xpc_objc_main + 212
26 libxpc.dylib 0x1fdb33e4 xpc_main + 152
27 Foundation 0x20aa663c +[NSXPCListener serviceListener] + 0
28 PlugInKit 0x298462f8 0x2982d000 + 103160
29 WatchKit 0x325c4f94 WKExtensionMain + 60
30 WatchKit 0x325c4fb8 main + 12
31 libdyld.dylib 0x1fb70a38 start + 4
It's very similar to this:
App is getting crashed on app launch in iOS 13 beta version
When make wrist down , the watch screen off ,It always crash. but my app is Workout app, it can work in background before watchOS 6.

Got error when creating instance of SBNotificationHub

I'm trying to implement push notification in my Xamarin app on iOS. Using example from docs, I have:
if (_hub == null)
{
string connectionString = "Endpoint=<whatever>";
string hubName = "<hub name>";
_hub = new SBNotificationHub(connectionString, hubName);
}
For some reason I got an exception: "Foundation.MonoTouchException: Objective-C exception thrown. Name: NSInvalidArgumentException Reason: *** -[__NSDictionaryM setObject:forKey:]: key cannot be nil Native stack trace:"
Any ideas or direction where to look are appreciated. More about error:
1 libobjc.A.dylib 0x00000001988ea9f8 objc_exception_throw + 56
2 CoreFoundation 0x0000000199688f8c _CFArgv + 0
3 CoreFoundation 0x00000001995fe2b4 <redacted> + 904
4 TennisUmpireXamariniOS 0x0000000102355038 -[SBLocalStorage readContent] + 508
5 TennisUmpireXamariniOS 0x000000010235472c -[SBLocalStorage initWithNotificationHubPath:] + 296
6 TennisUmpireXamariniOS 0x000000010234dbe4 -[SBNotificationHub initWithConnectionString:notificationHubPath:] + 420
7 TennisUmpireXamariniOS 0x0000000104530a7c wrapper_managed_to_native_ApiDefinition_Messaging_IntPtr_objc_msgSend_IntPtr_IntPtr_intptr_intptr_intptr_intptr + 236
8 TennisUmpireXamariniOS 0x0000000104521038 WindowsAzure_Messaging_SBNotificationHub__ctor_string_string + 792
9 TennisUmpireXamariniOS 0x0000000102418a00 TennisUmpireXamarin_iOS_AppDelegate_RegisteredForRemoteNotifications_UIKit_UIApplication_Foundation_NSData + 480
10 TennisUmpireXamariniOS 0x000000010271d998 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 248
11 TennisUmpireXamariniOS 0x0000000104d30e80 mono_jit_runtime_invoke + 948
12 TennisUmpireXamariniOS 0x0000000104db54e8 mono_runtime_invoke_checked + 144
13 TennisUmpireXamariniOS 0x0000000104db8d90 mono_runtime_invoke + 80
14 TennisUmpireXamariniOS 0x00000001023ccf3c _ZL31native_to_managed_trampoline_23P11objc_objectP13objc_selectorPP11_MonoMethodP13UIApplicationP6NSDataj + 680
15 TennisUmpireXamariniOS 0x00000001023ccc88 -[AppDelegate application:didRegisterForRemoteNotificationsWithDeviceToken:] + 64
16 libdispatch.dylib 0x000000019914fa38 <redacted> + 24
17 libdispatch.dylib 0x00000001991507d4 <redacted> + 16
18 libdispatch.dylib 0x00000001990fe004 <redacted> + 1068
19 CoreFoundation 0x00000001996a0ec0 <redacted> + 12
20 CoreFoundation 0x000000019969bdf8 <redacted> + 1924
21 CoreFoundation 0x000000019969b354 CFRunLoopRunSpecific + 436
22 GraphicsServices 0x000000019b89b79c GSEventRunModal + 104
23 UIKitCore 0x00000001c5897b68 UIApplicationMain + 212
24 TennisUmpireXamariniOS 0x00000001031962c8 wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr + 328
25 TennisUmpireXamariniOS 0x00000001030f723c UIKit_UIApplication_Main_string___intptr_intptr + 44
26 TennisUmpireXamariniOS 0x00000001030f71fc UIKit_UIApplication_Main_string___string_string + 172
27 TennisUmpireXamariniOS 0x00000001024178c0 TennisUmpireXamarin_iOS_Application_Main_string__ + 128
28 TennisUmpireXamariniOS 0x000000010271d998 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 248
29 TennisUmpireXamariniOS 0x0000000104d30e80 mono_jit_runtime_invoke + 948
30 TennisUmpireXamariniOS 0x0000000104db54e8 mono_runtime_invoke_checked + 144
31 TennisUmpireXamariniOS 0x0000000104dbb320 mono_runtime_exec_main_checked + 120
32 TennisUmpireXamariniOS 0x0000000104d1141c mono_jit_exec + 268
33 TennisUmpireXamariniOS 0x0000000104ea94d4 xamarin_main + 2184
34 TennisUmpireXamariniOS 0x00000001024177b8 main + 96
35 libdyld.dylib 0x00000001991618e0 <redacted> + 4
Nobody seems to encounter this problem, but I think I figured out what was happening and want to put it in writing.
SBNotificationHub component preserves the state in the storage. When constructor is called, this state is restored. And my parameters to constructor were just fine, the first call went without any errors.
However, when I tried to call RegisterTemplate method, I passed invalid parameters, which resulted in 400 error from the notification hub. The problem is that even with this invalid parameters, the state was updated.
The next call to SBNotificationHub constructor tried to restore this inconsistent state and threw the error I posted in my question.
Now I would be stuck until app removed. This is with version https://www.nuget.org/packages/Xamarin.Azure.NotificationHubs.iOS/ (1.2.5.2). The problem is that I used package https://www.nuget.org/packages/Xamarin.Azure.NotificationHubs.iOS-updated/, which is forked version that stores state in KeyChain. As we know, even if app is uninstalled, the values in KeyChain remain, so even after I re-installed my app, I got stuck, until I actually wiped out device.
So, I switched to version 1.2.5.2 to at least be able to have clean start after uninstalling the app, and then troubleshooted what was wrong with my RegisterTemplate call.
The proper behavior, I think, would be to not update state if RegisterTemplate call wasn't successful. In addition to that, it would be nice to be able to clear the state in storage (Keychain or not) if it's corrupted. Or, why constructor even need to restore the state?

Realm Browser crash when I click on a table

I'm using the free version of Realm Object Server (Ubuntu). I've tried to check my database but the Realm Browser (1.7) keep crashing. Every time I click on a specific table.
I have noticed if I change the structure of an entity, it will update the database automatically. Maybe the Realm Browser crashed because I haven't used the migration? Any idea?
List of my tables
Card is empty should be 25
If I click on User --> Crash
Incident Identifier: 69BAA01D-ADA3-4E03-9DDF-6F0DB181C801
CrashReporter Key: DDC68D85-8351-5EA0-B0F7-3C26841B8B96
Hardware Model: MacBookPro11,3
Process: Realm Browser [46119]
Path:
Identifier: io.realm.realmbrowser
Version: 2.1.7 (91)
Code Type: X86-64
Parent Process: launchd [1]
Date/Time: 2017-04-19T16:04:57Z
Launch Time: 2017-04-18T16:07:07Z
OS Version: Mac OS X 10.11.5 (15F34)
Report Version: 104
Exception Type: SIGSEGV
Exception Codes: SEGV_MAPERR at 0x178
Crashed Thread: 0
Application Specific Information:
Selector name found in current argument registers: index
Thread 0 Crashed:
0 Realm 0x0000000100a131fc 0x1009cd000 + 287228
1 Realm 0x0000000100a94bab 0x1009cd000 + 818091
2 Realm 0x0000000100a94ce6 0x1009cd000 + 818406
3 Realm Browser 0x00000001007dff5d 0x1007d8000 + 32605
4 Realm Browser 0x00000001007f64b2 0x1007d8000 + 124082
5 Realm Browser 0x00000001007df1a6 0x1007d8000 + 29094
6 Realm Browser 0x00000001007f2a1b 0x1007d8000 + 109083
7 Realm Browser 0x00000001007e8dff 0x1007d8000 + 69119
8 Realm Browser 0x0000000100800cee 0x1007d8000 + 167150
9 Realm Browser 0x0000000100800b88 0x1007d8000 + 166792
10 CoreFoundation 0x00007fff93079bbc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
11 CoreFoundation 0x00007fff93079b4f ___CFXRegistrationPost_block_invoke + 63
12 CoreFoundation 0x00007fff93079ac7 _CFXRegistrationPost + 407
13 CoreFoundation 0x00007fff93079832 ___CFXNotificationPost_block_invoke + 50
14 CoreFoundation 0x00007fff930365e2 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1922
15 CoreFoundation 0x00007fff93035835 _CFXNotificationPost + 693
16 Foundation 0x00007fff9739217a -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
17 AppKit 0x00007fff9dcbff9c -[NSTableView _sendSelectionChangedNotificationForRows:columns:] + 175
18 AppKit 0x00007fff9dc1cfe3 -[NSTableView _enableSelectionPostingAndPost] + 424
19 AppKit 0x00007fff9de04679 -[NSTableView mouseDown:] + 5358
20 AppKit 0x00007fff9de02f52 -[NSOutlineView mouseDown:] + 74
21 AppKit 0x00007fff9e2d83c9 -[NSWindow _handleMouseDownEvent:isDelayedEvent:] + 6322
22 AppKit 0x00007fff9e2d93ad -[NSWindow _reallySendEvent:isDelayedEvent:] + 212
23 AppKit 0x00007fff9dd18539 -[NSWindow sendEvent:] + 517
24 AppKit 0x00007fff9dc98a38 -[NSApplication sendEvent:] + 2540
25 HockeySDK 0x000000010088a54e 0x10087a000 + 66894
26 AppKit 0x00007fff9daffdf2 -[NSApplication run] + 796
27 AppKit 0x00007fff9dac9368 NSApplicationMain + 1176
28 libdyld.dylib 0x00007fff9bf2d5ad start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fff8ee2befa kevent_qos + 10
1 libdispatch.dylib 0x00007fff97bdadcd _dispatch_autorelease_pool_pop + 0
Cheers
Alain

Application stops while loading data

Hi Guys
I am getting the build time error as: Misconfigured Property. Command /Developer/usr/bin/momc failed with exit code 6
:EDIT:
Done with MOMC error.
Application build & run successful; however stops while loading data:
2011-05-02 21:47:40.779 ReportViewer[3448:5d03] *** copyDb2TargetDir is successful ***
2011-05-02 21:47:41.000 ReportViewer[3448:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSMutableArray insertObject:atIndex:]: attempt to insert nil object at 0'
*** Call stack at first throw:
(
0 CoreFoundation 0x016575a9 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x017ab313 objc_exception_throw + 44
2 CoreFoundation 0x016511b1 -[__NSArrayM insertObject:atIndex:] + 225
3 CoreFoundation 0x0164c604 -[__NSArrayM addObject:] + 68
4 CoreData 0x00da9b0e +[NSManagedObjectModel mergedModelFromBundles:] + 350
5 ReportViewer 0x0000796f -[ReportStorage managedObjectModel] + 115
6 ReportViewer 0x00007ad9 -[ReportStorage persistentStoreCoordinator] + 307
7 ReportViewer 0x0000785d -[ReportStorage managedObjectContext] + 85
8 ReportViewer 0x0000351d -[ReportStorage init] + 85
9 ReportViewer 0x00002da4 -[ReportDataManager init] + 137
10 ReportViewer 0x00002c18 +[ReportDataManager sharedManager] + 88
11 ReportViewer 0x00009c8c -[FlipViewController viewDidLoad] + 327
12 UIKit 0x003ad089 -[UIViewController view] + 179
13 ReportViewer 0x0001ba77 -[StartFakeViewController dbMoveComplete] + 518
14 Foundation 0x0007c94e __NSThreadPerformPerform + 251
15 CoreFoundation 0x016388ff __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
16 CoreFoundation 0x0159688b __CFRunLoopDoSources0 + 571
17 CoreFoundation 0x01595d86 __CFRunLoopRun + 470
18 CoreFoundation 0x01595840 CFRunLoopRunSpecific + 208
19 CoreFoundation 0x01595761 CFRunLoopRunInMode + 97
20 GraphicsServices 0x01f141c4 GSEventRunModal + 217
21 GraphicsServices 0x01f14289 GSEventRun + 115
22 UIKit 0x0030bc93 UIApplicationMain + 1160
23 ReportViewer 0x00001c9c main + 102
24 ReportViewer 0x00001c2d start + 53
25 ??? 0x00000001 0x0 + 1
)
terminate called after throwing an instance of 'NSException' sharedlibrary apply-load-rules all Current language: auto; currently objective-c
kill
quit
Program ended with exit code: 0

Resources