Opening encrypted realm db throws DecryptionFailed exception - realm

I have a very few amount of encrypted customer databases which cannot be opened by either the iOS- / Android-Sdk or the MongoDB Realm Studio. But they can be opened by Realm Studio 5.0.3 without any problems.
When i open the database with MongoDB Realm Studio, a dialog appears after entering the key: "The Realm file stores data in an outdated format. This file needs to be upgraded to a newer file format before it can be opened. Would you like a backup of the file, before performing an irreversible upgrade of the file?". When i select "Backup and upgrade", the window stays empty.
The sdks and the MongoDB Realm Studio throw the following exception:
Update for version 11.1.1 is not available (latest version: 11.1.1, downgrade is disallowed).
(node:64733) electron: NSVisualEffectMaterialLight has been deprecated and removed as of macOS 10.15.
(node:64733) electron: NSVisualEffectMaterialLight has been deprecated and removed as of macOS 10.15.
libc++abi: terminating with uncaught exception of type realm::util::DecryptionFailed: Decryption failed
Exception backtrace:
0 .com.mongodb.realm-studio.6Lsjei 0x0000000107880e77 _ZN5realm4util16DecryptionFailedC2Ev + 103
1 .com.mongodb.realm-studio.6Lsjei 0x0000000107867227 _ZN5realm4util10AESCryptor4readEixPcm + 519
2 .com.mongodb.realm-studio.6Lsjei 0x0000000107867ede _ZN5realm4util20EncryptedFileMapping12refresh_pageEm + 110
3 .com.mongodb.realm-studio.6Lsjei 0x0000000107868985 _ZN5realm4util20EncryptedFileMapping12read_barrierEPKvmPFmPKcE + 373
4 .com.mongodb.realm-studio.6Lsjei 0x00000001072fb034 _ZN5realm4util26do_encryption_read_barrierEPKvmPFmPKcEPNS0_20EncryptedFileMappingE + 68
5 .com.mongodb.realm-studio.6Lsjei 0x00000001072fae7b _ZN5realm5Array13init_from_refEm + 171
6 .com.mongodb.realm-studio.6Lsjei 0x000000010776a2fd _ZN5realm11GroupWriterC2ERNS_5GroupENS_9DBOptions10DurabilityE + 765
7 .com.mongodb.realm-studio.6Lsjei 0x00000001077650a3 _ZN5realm2DB16low_level_commitEyRNS_11TransactionE + 387
8 .com.mongodb.realm-studio.6Lsjei 0x0000000107764ebb _ZN5realm2DB9do_commitERNS_11TransactionE + 107
9 .com.mongodb.realm-studio.6Lsjei 0x0000000107764116 _ZN5realm11Transaction6commitEv + 118
10 .com.mongodb.realm-studio.6Lsjei 0x000000010776193d _ZN5realm2DB19upgrade_file_formatEbiii + 365
11 .com.mongodb.realm-studio.6Lsjei 0x000000010775e9ad _ZN5realm2DB7do_openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEbbNS_9DBOptionsE + 4285
12 .com.mongodb.realm-studio.6Lsjei 0x0000000107762039 _ZN5realm2DB4openERNS_11ReplicationENS_9DBOptionsE + 153
13 .com.mongodb.realm-studio.6Lsjei 0x00000001077674c9 _ZN5realm2DB6createERNS_11ReplicationENS_9DBOptionsE + 265
14 .com.mongodb.realm-studio.6Lsjei 0x00000001074b02df _ZN5realm5_impl16RealmCoordinator7open_dbEv + 927
15 .com.mongodb.realm-studio.6Lsjei 0x00000001074aef6a _ZN5realm5_impl16RealmCoordinator12do_get_realmENS_5Realm6ConfigERNSt3__110shared_ptrIS2_EENS_4util8OptionalINS_9VersionIDEEERNS8_17CheckedUniqueLockE + 58
16 .com.mongodb.realm-studio.6Lsjei 0x00000001074aed5f _ZN5realm5_impl16RealmCoordinator9get_realmENS_5Realm6ConfigENS_4util8OptionalINS_9VersionIDEEE + 495
17 .com.mongodb.realm-studio.6Lsjei 0x000000010748dcd7 _ZN5realm5Realm16get_shared_realmENS0_6ConfigE + 135
18 .com.mongodb.realm-studio.6Lsjei 0x0000000107316115 _ZN5realm2js10RealmClassINS_4node5TypesEE19create_shared_realmEN4Napi3EnvENS_5Realm6ConfigEbONSt3__13mapINS9_12basic_stringIcNS9_11char_traitsIcEENS9_9allocatorIcEEEENSA_ISG_NS0_9ProtectedINS5_5ValueEEENS9_4lessISG_EENSE_INS9_4pairIKSG_SJ_EEEEEESL_NSE_INSM_ISN_SQ_EEEEEEONSA_ISG_NSH_INS5_8FunctionEEESL_NSE_INSM_ISN_SW_EEEEEE + 245
19 .com.mongodb.realm-studio.6Lsjei 0x0000000107315e85 _ZN5realm2js10RealmClassINS_4node5TypesEE11constructorEN4Napi3EnvENS5_6ObjectERNS0_9ArgumentsIS3_EE + 501
20 .com.mongodb.realm-studio.6Lsjei 0x0000000107312ab5 _ZN5realm4node10ObjectWrapINS_2js10RealmClassINS0_5TypesEEEE20constructor_callbackERKN4Napi12CallbackInfoE + 149
21 .com.mongodb.realm-studio.6Lsjei 0x0000000107315249 _ZN5realm4node13WrappedObjectINS_2js10RealmClassINS0_5TypesEEEEC2ERKN4Napi12CallbackInfoE + 121
22 .com.mongodb.realm-studio.6Lsjei 0x0000000107315123 _ZZN4Napi10ObjectWrapIN5realm4node13WrappedObjectINS1_2js10RealmClassINS2_5TypesEEEEEE26ConstructorCallbackWrapperEP10napi_env__P20napi_callback_info__ENKUlvE_clEv + 67
23 .com.mongodb.realm-studio.6Lsjei 0x0000000107314e68 _ZN4Napi10ObjectWrapIN5realm4node13WrappedObjectINS1_2js10RealmClassINS2_5TypesEEEEEE26ConstructorCallbackWrapperEP10napi_env__P20napi_callback_info__ + 72
24 Electron Framework 0x000000011974187b napi_is_detached_arraybuffer + 299
25 Electron Framework 0x0000000113b23e65 _ZN2v88internal9Accessors12MakeAccessorEPNS0_7IsolateENS0_6HandleINS0_4NameEEEPFvNS_5LocalINS_4NameEEERKNS_20PropertyCallbackInfoINS_5ValueEEEEPFvS9_NS7_ISB_EERKNSA_INS_7BooleanEEEE + 21637
26 Electron Framework 0x0000000113b21df9 _ZN2v88internal9Accessors12MakeAccessorEPNS0_7IsolateENS0_6HandleINS0_4NameEEEPFvNS_5LocalINS_4NameEEERKNS_20PropertyCallbackInfoINS_5ValueEEEEPFvS9_NS7_ISB_EERKNSA_INS_7BooleanEEEE + 13337
27 ??? 0x0000001a00080ff8 0x0 + 111669678072
Update 1
When i enter the wrong key in MongoDB Realm Studio (by changing the last digit of the key), i see a message on the screen that it is "Unable to open a realm at path ...". When i enter the correct key, the above exception happens.
Update 2
When i open the database with Realm Studio 5.0.3 i can view the data. As soon as i change a field (no matter which field), the "DecryptionFailed" exception appears in the console and Realm Studio crashes.

Related

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

ios google analytic 3.03 out of memory

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?

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