I have a Xamarin.Forms application that we are ready to deploy to production but I keep getting this SIGABRT error.
I've setup a HockeyApp to monitor any crash that may occur.
It seems that this error keeps on appearing crash or not.
I've included the upper portion of the stack trace that I don't know how to interpret.
Can any body help me interpret what this is?
Thank you
Incident Identifier: C2FA8822-C1D4-4ECA-BD30-2D38D10A7AF2
CrashReporter Key: 90F6BDB6-4B7A-4F69-BA47-74027B6E607D
Hardware Model: iPhone7,2
Process: MyCase.iOS [1687]
Path: /var/containers/Bundle/Application/23343C73-BA08-4F6F-8FD9-99472E20F2A3/MyCase.iOS.app/MyCase.iOS
Identifier: <Bundle Id> (omitted for privacy reasons)
Version: 2.93 (2.93)
Code Type: ARM-64
Parent Process: ??? [1]
Date/Time: 2016-09-20T00:01:29Z
Launch Time: 2016-09-19T22:20:17Z
OS Version: iPhone OS 9.3.5 (13G36)
Report Version: 104
Exception Type: SIGABRT
Exception Codes: #0 at 0x181ef011c
Crashed Thread: 0
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'This app can't run in background'
Last Exception Backtrace:
0 CoreFoundation 0x0000000182356db0 0x18222c000 + 1224112
1 libobjc.A.dylib 0x00000001819bbf80 0x1819b4000 + 32640
2 CoreFoundation 0x0000000182356c80 0x18222c000 + 1223808
3 Foundation 0x0000000182cdc154 0x182c38000 + 672084
4 TestLib.dylib 0x00000001016b7d88 0x1016b0000 + 32136
5 UIKit 0x000000018777201c 0x1874a4000 + 2940956
6 UIKit 0x0000000187777ba4 0x1874a4000 + 2964388
7 UIKit 0x0000000187777a80 0x1874a4000 + 2964096
8 UIKit 0x000000018776170c 0x1874a4000 + 2873100
9 UIKit 0x0000000187761394 0x1874a4000 + 2872212
10 FrontBoardServices 0x0000000183cf77ac 0x183cd0000 + 161708
11 FrontBoardServices 0x0000000183cf7618 0x183cd0000 + 161304
12 FrontBoardServices 0x0000000183cf79c8 0x183cd0000 + 162248
13 CoreFoundation 0x000000018230d09c 0x18222c000 + 921756
14 CoreFoundation 0x000000018230cb30 0x18222c000 + 920368
15 CoreFoundation 0x000000018230a830 0x18222c000 + 911408
16 CoreFoundation 0x0000000182234c50 0x18222c000 + 35920
17 GraphicsServices 0x0000000183b1c088 0x183b10000 + 49288
18 UIKit 0x0000000187522088 0x1874a4000 + 516232
19 MyCase.iOS 0x0000000100d7a514 0x100020000 + 14001428
20 MyCase.iOS 0x0000000100ccb40c 0x100020000 + 13284364
21 MyCase.iOS 0x0000000100ccb3cc 0x100020000 + 13284300
22 MyCase.iOS 0x0000000100295454 0x100020000 + 2577492
23 MyCase.iOS 0x0000000100729554 0x100020000 + 7378260
24 MyCase.iOS 0x000000010018f1c4 0x100020000 + 1503684
25 MyCase.iOS 0x00000001001f7f94 0x100020000 + 1933204
26 MyCase.iOS 0x00000001001fc948 0x100020000 + 1952072
27 MyCase.iOS 0x0000000100294da0 0x100020000 + 2575776
28 MyCase.iOS 0x00000001013cf510 0x100020000 + 20641040
29 ??? 0x0000000181dd28b8 0x0 + 0
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000181ef011c 0x181ed4000 + 114972
1 libsystem_c.dylib 0x0000000181e61dc8 0x181e00000 + 400840
2 MyCase.iOS 0x0000000100135014 0x100020000 + 1134612
3 CoreFoundation 0x0000000182357138 0x18222c000 + 1225016
4 libobjc.A.dylib 0x00000001819bc23c 0x1819b4000 + 33340
5 MyCase.iOS 0x0000000100122d50 0x100020000 + 1060176
6 libc++abi.dylib 0x00000001819aef44 0x181994000 + 110404
7 libc++abi.dylib 0x00000001819aeb10 0x181994000 + 109328
8 libobjc.A.dylib 0x00000001819bc120 0x1819b4000 + 33056
9 CoreFoundation 0x0000000182234cf8 0x18222c000 + 36088
10 GraphicsServices 0x0000000183b1c088 0x183b10000 + 49288
11 UIKit 0x0000000187522088 0x1874a4000 + 516232
12 MyCase.iOS 0x0000000100d7a514 0x100020000 + 14001428
13 MyCase.iOS 0x0000000100ccb40c 0x100020000 + 13284364
14 MyCase.iOS 0x0000000100ccb3cc 0x100020000 + 13284300
15 MyCase.iOS 0x0000000100295454 0x100020000 + 2577492
16 MyCase.iOS 0x0000000100729554 0x100020000 + 7378260
17 MyCase.iOS 0x000000010018f1c4 0x100020000 + 1503684
18 MyCase.iOS 0x00000001001f7f94 0x100020000 + 1933204
19 MyCase.iOS 0x00000001001fc948 0x100020000 + 1952072
20 MyCase.iOS 0x0000000100294da0 0x100020000 + 2575776
21 MyCase.iOS 0x00000001013cf510 0x100020000 + 20641040
22 ??? 0x0000000181dd28b8 0x0 + 0
I've have had the same error before HockeyApp NuGet package or any NuGet package can have the same error I am not sure if it a Linking error, try to turn off the linker ("Don't link") if that does not work try to use a different version of HockeyApp (3.7.1.0) works fine for me.
The problem may persist tho, if you are handling code inside the AppDelegate or the MainActivity check the App lifecycle (OnResume, OnStart, OnSleep and so on).
I can see in the logs: "This app can't run in background" So verify and double check if your code is handling correctly the App Lifecycle and transitions, it may be related to a lot of things (notifications, components, NuGets, Lifecycle, threads, async/await calls)
Hope this helps.
Related
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.
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.
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
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?
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