I updated my app, Dart Clicker to version 1.1 with some bug fixes and when I click the start button it crashes. I looked at the crash log using iPhone Configuration Utility and it showed this:
May 18 13:04:48 Maanits-5S DartClicker[414] <Error>: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL initFileURLWithPath:]: nil string parameter'
*** First throw call stack:
(0x18bdfaf50 0x1983041fc 0x18bdfae90 0x18c8ef180 0x18c8ef0ec 0x1000077d4 0x18ec786b4 0x10000a4c4 0x18edc4670 0x18edc43f4 0x18ee43194 0x18ee430cc 0x18eebb614 0x18eeb9a9c 0x18edf90c8 0x18edf905c 0x18ede2538 0x18edf8a5c 0x18edf86f0 0x18edf3388 0x18edc4b68 0x18edc2c58 0x18bdbb644 0x18bdba9a0 0x18bdb8c38 0x18bcf9c20 0x1919e1c0c 0x18ee2afdc 0x10000a834 0x1988f7aa0)
May 18 13:04:48 Maanits-5S ReportCrash[416] <Notice>: ReportCrash acting against PID 414
May 18 13:04:48 Maanits-5S backboardd[31] <Error>: HID: The 'Passive' connection 'AdSheet' access to protected services is denied.
May 18 13:04:48 Maanits-5S limitadtrackingd[164] <Warning>: Not scheduling a new BTA job; keeping previously scheduled job should run after 82700s from now when the network is available.
May 18 13:04:48 Maanits-5S ReportCrash[416] <Notice>: Formulating crash report for process DartClicker[414]
May 18 13:04:48 Maanits-5S com.apple.launchd[1] (UIKitApplication:DartClicker.DartClicker[0x6233][414]) <Warning>: (UIKitApplication:DartClicker.DartClicker[0x6233]) Job appears to have crashed: Abort trap: 6
May 18 13:04:48 Maanits-5S backboardd[31] <Warning>: Application 'UIKitApplication:DartClicker.DartClicker[0x6233]' exited abnormally with signal 6: Abort trap: 6
May 18 13:04:48 Maanits-5S ReportCrash[416] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/DartClicker_2014-05-18-130448_Maanits-5S.ips using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
Is there a way to fix this?
Thanks
Looks like you're passing nil to initFileURLWithPath:. I would need to see some code to find out why this is.
Related
I open my project(mac app) in xcode, i launch the simulator, everything works fine. If i enter some specific characters in a textfield, xcode crashes with the following report but the simulator keeps working.
I have uninstalled and installed xcode. i deleted the developer folder, nothing of these resolved the problem.
Any ideas why is this happening?
Crashed Thread: 0 Dispatch queue: appendConsoleItemLock
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000018
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
OS X 10.10 and XCode 6.1.1.
Probably I messed up something in the project settings, as now unnecessary logs associated with AVFoundation.framework appears in the console. The first block appears while init, settings and playing music in AVPlayer.
[01:08:32.915] FigLimitedDiskCacheProvider_CopyProperty signalled err=-12784 (kFigBaseObjectError_PropertyNotFound) (no such property) at /SourceCache/CoreMedia/CoreMedia-1562.19/Prototypes/FigByteStreamPrototypes/FigLimitedDiskCacheProvider.c line 947
Jan 14 01:08:32 MacBook-Air-Roman.local rtcreporting[6668] <Info>: logging starts...
Jan 14 01:08:32 MacBook-Air-Roman.local rtcreporting[6668] <Debug>: setMessageLoggingBlock: called<
Jan 14 01:08:32 MacBook-Air-Roman.local rtcreporting[6668] <Debug>: startConfigurationWithCompletionHandler: Cached 0 enabled backends
Jan 14 01:08:32 MacBook-Air-Roman.local rtcreporting[6668] <Debug>: setUserInfoDict: enabled backends: ( )
These logs appear when I pause or play.
Jan 14 01:08:35 MacBook-Air-Roman.local rtcreporting[6668] <Debug>: sendMessageWithCategory: (null)
Jan 14 01:08:35 MacBook-Air-Roman.local rtcreporting[6668] <Debug>: sendMessageWithCategory: (null)
There's also a lot of other notices that I do not need, because all these errors are not critical, and I have never seen them before. I don't understand - how to disable this debug logs? What is it?
You can't hide them unfortunately, the best thing to do if you are analysing the logs is to paste them into notes and get rid of the rubbish by hand before analysing them.
Refreshing provisioning profile in Xcode 6 worked for me for a while and xcode 6 crashes today when I refresh it .
Any one can help?
I saw there is a ticket on stackoverflow and it does not help in my case.
"Xcode crash when refreshing provisioning profiles"
Xcode crash when refreshing provisioning profiles
Thanks in advance.
Process: Xcode [979]
Path: /Applications/Xcode 2.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.0 (6299)
Build Info: IDEFrameworks-6299000000000000~8
Code Type: X86-64 (Native)
Parent Process: launchd [357]
Responsible: Xcode [979]
User ID: 501
Date/Time: 2014-11-14 11:14:00.919 -0800
OS Version: Mac OS X 10.9.5 (13F34)
Report Version: 11
Anonymous UUID: 13628E65-2AA7-5BA1-59E1-B82B3CC26059
Crashed Thread: 15 Dispatch queue: NSManagedObjectContext Queue
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6A313
UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[NSNull longLongValue]: unrecognized selector sent to instance 0x7fff7c4ba240
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff93a58244 exceptionPreprocess (in CoreFoundation)
1 0x000000010c119184 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff963ffe75 objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff93a5b12d -[NSObject(NSObject) doesNotRecognizeSelector:] (in CoreFoundation)
4 0x00007fff939b6272 ___forwarding_ (in CoreFoundation)
5 0x00007fff939b5df8 _CF_forwarding_prep_0 (in CoreFoundation)
6 0x00007fff93eb952b -[NSSQLiteConnection execute] (in CoreData)
7 0x00007fff93ed3fd0 newFetchedRowsForFetchPlan_MT (in CoreData)
8 0x00007fff93ec085f -[NSSQLCore objectsForFetchRequest:inContext:] (in CoreData)
9 0x00007fff93ec0397 -[NSSQLCore executeRequest:withContext:error:] (in CoreData)
10 0x00007fff93ebfe63 -[NSPersistentStoreCoordinator executeRequest:withContext:error:] (in
abort() called
This is part of crash log.
Looks like this problem is temporary and nothing to do with your Xcode or developer account.... most probably with apple servers/APIs that deals with prov/dev account. I am also getting same crash for last couple of hours. I tried many things - clean derived data, cache. Restarted machine etc but all in vain.
UPDATE: Try this on 'Terminal' app... [My issue probably resolved due to this !]
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache"
Thanks for putting up this question here so I know there are others facing this problem. No useful info on google.
The crash log that I get when I click Xcode project > Target > Team pop up -
Process: Xcode [5047]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.1 (6604)
Build Info: IDEFrameworks-6604000000000000~2
App Item ID: 497799835
App External ID: 752282650
Code Type: X86-64 (Native)
Parent Process: launchd [367]
Responsible: Xcode [5047]
User ID: 501
Date/Time: 2014-11-14 15:17:59.448 -0500
OS Version: Mac OS X 10.9.5 (13F34)
Report Version: 11
Anonymous UUID: 7950E54F-D23B-CF06-2654-85C6536B1DB5
Crashed Thread: 13 Dispatch queue: NSManagedObjectContext Queue
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6A1052d
UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[NSNull longLongValue]: unrecognized selector sent to instance 0x7fff7c399240
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff8ffad244 __exceptionPreprocess (in CoreFoundation)
1 0x0000000105c4e2f4 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff91ce1e75 objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff8ffb012d -[NSObject(NSObject) doesNotRecognizeSelector:] (in CoreFoundation)
4 0x00007fff8ff0b272 ___forwarding___ (in CoreFoundation)
5 0x00007fff8ff0adf8 _CF_forwarding_prep_0 (in CoreFoundation)
6 0x00007fff9119152b -[NSSQLiteConnection execute] (in CoreData)
7 0x00007fff911abfd0 newFetchedRowsForFetchPlan_MT (in CoreData)
8 0x00007fff9119885f -[NSSQLCore objectsForFetchRequest:inContext:] (in CoreData)
9 0x00007fff91198397 -[NSSQLCore executeRequest:withContext:error:] (in CoreData)
10 0x00007fff91197e63 -[NSPersistentStoreCoordinator executeRequest:withContext:error:] (in CoreData)
11 0x00007fff91195c1b -[NSManagedObjectContext executeFetchRequest:error:] (in CoreData)
12 0x0000000105b573e5 __80+[DVTDeveloperPortalDatabase objectsWithEntityName:matchingPredicate:inContext:]_block_invoke (in DVTFoundation)
I need to know the answer to this as well. Getting same thing - only solution found so far is related to Xcode 4. I did discover that it is somehow related to derived data...
Reference to this thread:
Xcode crashing when fetching team list
In case you want to export an ipa:
xcodebuild archive -project $projectname.xcodeproj -scheme $schemename -archivePath projectname.xcarchive
xcodebuild -exportArchive -archivePath $projectname.xcarchive -exportPath $projectname -exportFormat ipa -exportProvisioningProfile “Provisioning Profile Name”
Not a good solution but I was able to upgrade to Yosemite and it resolved these issues.
It works later without any change. It may be caused by developer center issue.
Thanks for comments.
Today I upgrade my Xcode to version 6.0.1, and I want to archive my project as an ipa file.
My process is Product -> Archive -> Export -> Save for Ad Hoc Deployment.
all are normal until I select my Development team,So I clicked the button"choose":
And then the Accident happened:
Process: Xcode [11022]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.0.1 (6528)
Build Info: IDEFrameworks-6528000000000000~2
App Item ID: 497799835
App External ID: 712682811
Code Type: X86-64 (Native)
Parent Process: launchd [286]
Responsible: Xcode [11022]
User ID: 501
Date/Time: 2014-09-23 21:51:40.939 +0800
OS Version: Mac OS X 10.9.5 (13F34)
Report Version: 11
Anonymous UUID: 689CEB1C-6C4F-C95D-8EB2-728905589271
Sleep/Wake UUID: 2F8703C9-8479-4E8A-B4BA-D4B067562EA5
Crashed Thread: 16 Dispatch queue: com.apple.root.default-priority
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6A317
UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff90624244 __exceptionPreprocess (in CoreFoundation)
1 0x0000000104aa8184 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff97920e75 objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff90523dd1 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] (in CoreFoundation)
4 0x00007fff90539ad9 +[NSDictionary dictionaryWithObjects:forKeys:count:] (in CoreFoundation)
5 0x0000000105f6a535 __85-[IDEDistributionSigningAssetsStepViewController _attemptToResolveProvisioningError:]_block_invoke_2 (in IDEKit)
6 0x0000000104adebac __DVTDispatchAsync_block_invoke (in DVTFoundation)
7 0x00007fff8b85f1bb _dispatch_call_block_and_release (in libdispatch.dylib)
8 0x00007fff8b85c28d _dispatch_client_callout (in libdispatch.dylib)
9 0x00007fff8b85e082 _dispatch_root_queue_drain (in libdispatch.dylib)
10 0x00007fff8b85f177 _dispatch_worker_thread2 (in libdispatch.dylib)
11 0x00007fff973ecef8 _pthread_wqthread (in libsystem_pthread.dylib)
12 0x00007fff973effb9 start_wqthread (in libsystem_pthread.dylib)
abort() called
Application Specific Signatures:
NSInvalidArgumentException
My certificate is $99.Every is ok when I used Xcode5 yesterday.Please help me solving this problem.Thanks a lot.
Figured it out !
You have to go into your developer account (https://developer.apple.com/membercenter/index.action) and accept the new terms and conditions
Then Xcode6 stops crashing
I'm trying to open the following URL in iPad 3 Safari browser.
http://www.pearsonschool.com/index.cfm?locator=PS1yJe&PMDbProgramId=110081&sampleId=11241
And doing the following steps:
Click on "Explore the innovative technology of Teacher Place for yourself"
On the top left, click on "Dash" -> Teacher Content
Then select CMP3 Grade 7
Click on Accentuate the Negative
Then click on "3" (Multiplying and Dividing..)
Select "Problem 3.1"
Click "Launch" button
Here we have 3 options to expand viz Launch Video, Connecting to Prior or Knowledge and Presenting the Challenge.
Expand all the 3 items by clicking ">" button on right of these options.
Scroll to the bottom
It crashes.
Its working fine on iOS 5 Safari. But its crashing on iOS 6.0.1 Safari.
The following is the message that I noted during crash:
??Jan 31 07:21:13 Happiestminds kernel[0] <Debug>: 008192.238887 wlan.A[568] AppleBCMWLANNetManager::checkRealTimeTraffic(): now 8192.238881625 num entries 4
??Jan 31 07:22:07 Happiestminds ReportCrash[355] <Notice>: Formulating crash report for process MobileSafari[230]
??Jan 31 07:22:07 Happiestminds ReportCrash[355] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary
??Jan 31 07:22:07 Happiestminds com.apple.launchd[1] (UIKitApplication:com.apple.mobilesafari[0x61fb][230]) <Warning>: (UIKitApplication:com.apple.mobilesafari[0x61fb]) Job appears to have crashed: Segmentation fault: 11
??Jan 31 07:22:07 Happiestminds backboardd[51] <Warning>: Application 'UIKitApplication:com.apple.mobilesafari[0x61fb]' exited abnormally with signal 11: Segmentation fault: 11
??Jan 31 07:22:07 Happiestminds ReportCrash[355] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/MobileSafari_2013-01-31-072206_Happiestminds.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
I couldn't understand why is it crashing in latest safari.... When googled, i found that some URL's saying its problem related to Redirections, some say about bookmarking and some say about memory management. But I couldn't find the exact issue.
Can some one help me in identifying the exact issue please?
You can try to debug the javascript using chrome on mac, add console.log to your code and follow this tutorial:
http://devcoma.blogspot.it/2014/03/how-to-investigate-ios-safari-crashes.html
I've used a proxy installed on my mac in order to debug and trace from ios safari to the chrome dev tools.
I found that on my web app safari crashed when using iframes, css transitions, css overflow property and, the jQuery ready event, not all at the same time, obviously.
As and when there's updates in the browsers, we have to change the javascript etc respectively in the code as well.