Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

xcode 5.0.1 crashes when adding files to the project

Xcode 5.0.1 running on Mavericks - crashes whenever I try to add files to my project. The project is new and created in xcode 5.0.1. The crash occurs when trying to browse to the files, it looks like it is something to do with the flow view.


Is anyone else seeing this - has anyone found a work around?


Stack below.....


Process: Xcode [56745]

Path: /Applications/Xcode.app/Contents/MacOS/Xcode

Identifier: com.apple.dt.Xcode

Version: 5.0.1 (3335.23)

Build Info: IDEApplication-3335023000000000~2

App Item ID: 497799835

App External ID: 84192765

Code Type: X86-64 (Native)

Parent Process: launchd [146]

Responsible: Xcode [56745]

User ID: 501



Date/Time: 2013-10-24 08:10:45.379 +0100

OS Version: Mac OS X 10.9 (13A603)

Report Version: 11


Crashed Thread: 0 Dispatch queue: com.apple.main-thread



Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000



Application Specific Information:

ProductBuildVersion: 5A2053

UNCAUGHT EXCEPTION (NSRangeException): *** -[__NSArrayM objectAtIndex:]: index 400 beyond bounds [0 .. 388]

UserInfo: (null)

Hints: None

Backtrace:

0 0x00007fff8304d404 __exceptionPreprocess (in CoreFoundation)

1 0x000000010603ddf3 DVTFailureHintExceptionPreprocessor (in DVTFoundation)

2 0x00007fff8f758e75 objc_exception_throw (in libobjc.A.dylib)

3 0x00007fff82f2b935 -[__NSArrayM objectAtIndex:] (in CoreFoundation)

4 0x00007fff8c7cf1e3 -[IKImageFlowView _reloadCellDataAtIndex:] (in ImageKit)

5 0x00007fff8c7cf27e -[IKImageFlowView reloadCellDataAtIndex:] (in ImageKit)

6 0x00007fff8c429221 -[FI_TFlowViewController(DataSource) reloadNodes:forNode:] (in FinderKit)

7 0x00007fff8c3ddd9f -[FI_TBrowserViewController(DataSource) updatePropertiesForNodes:inContainerNode:] (in FinderKit)

8 0x00007fff8c3fa63b -[FI_TListViewController updatePropertiesForNodes:inContainerNode:] (in FinderKit)

9 0x00007fff8c4e56fd TNodeEngine::NodesChangedCallback(TFENode const&, std::__1::vector<std::__1::pair<TFENode, unsigned int>, std::__1::allocator<std::__1::pair<TFENode, unsigned int> > > const&, TFENodeVector const&, TFENodeVector const&) (in FinderKit)

10 0x00007fff8c4e477b TNodeEngine::ProcessCompletion(TNodeEngineNotificationHandler*) (in FinderKit)

11 0x00007fff8c38d033 IAsynchronousOperation::PerformSecondStepOnMainThread() (in FinderKit)

12 0x00007fff8c4e466f TNodeEngineNotificationHandler::WaitForOperationCompleted(unsigned long long) (in FinderKit)

13 0x00007fff8c4e4ded TNodeEngine::ProcessNotification(TNodeEngineNotificationHandler*) (in FinderKit)

14 0x00007fff8c314821 TCoalescingNodeObserver::HandleDeferredEventsForNode(TFENode const&, TCoalescedEvents*) (in FinderKit)

15 0x00007fff8c34406b TNodeBrowser::HandleDeferredEventsForNode(TFENode const&, TCoalescedEvents*) (in FinderKit)

16 0x00007fff8c31446f TCoalescingNodeObserver::ProcessDeferredEvents() (in FinderKit)

17 0x00007fff8c3148d8 TCoalescingNodeObserver::RunDeferredHandlers() (in FinderKit)

18 0x00007fff82b15c57 __NSFireDelayedPerform (in Foundation)

19 0x00007fff82fb4724 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ (in CoreFoundation)

20 0x00007fff82fb425f __CFRunLoopDoTimer (in CoreFoundation)

21 0x00007fff8302576a __CFRunLoopDoTimers (in CoreFoundation)

22 0x00007fff82f6faa5 __CFRunLoopRun (in CoreFoundation)

23 0x00007fff82f6f275 CFRunLoopRunSpecific (in CoreFoundation)

24 0x00007fff90144f0d RunCurrentEventLoopInMode (in HIToolbox)

25 0x00007fff90144cb7 ReceiveNextEventCommon (in HIToolbox)

26 0x00007fff90144abc _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)

27 0x00007fff84a0028e _DPSNextEvent (in AppKit)

28 0x00007fff849ff8db -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)

29 0x00007fff849f39cc -[NSApplication run] (in AppKit)

30 0x00007fff849de803 NSApplicationMain (in AppKit)

31 0x00007fff82ab05fd start (in libdyld.dylib)


abort() called



Thread 0 Crashed:: Dispatch queue: com.apple.main-thread

0 libsystem_kernel.dylib 0x00007fff8e4f6866 __pthread_kill + 10

1 libsystem_pthread.dylib 0x00007fff827ec35c pthread_kill + 92

2 libsystem_c.dylib 0x00007fff89d70bba abort + 125

3 com.apple.dt.IDEKit 0x00000001072b942f +[IDEAssertionHandler _handleAssertionWithLogString:reason:] + 775

4 com.apple.dt.IDEKit 0x00000001072ba67d -[IDEAssertionHandler handleUncaughtException:] + 919

5 com.apple.dt.IDEKit 0x00000001072ba728 IDEHandleUncaughtException + 77

6 com.apple.AppKit 0x00007fff849f3ad8 -[NSApplication run] + 821

7 com.apple.AppKit 0x00007fff849de803 NSApplicationMain + 940

8 libdyld.dylib 0x00007fff82ab05fd start + 1

MACBOOK PRO (RETINA, 15-INCH, LATE 2013), OS X Mavericks (10.9)

Posted on Oct 24, 2013 12:15 AM

Reply
Question marked as Best reply

Posted on Oct 24, 2013 12:18 AM

I have found a work around - before changing folder in the file browser, turn off the flow view and choose a simple list view.

17 replies

Oct 28, 2013 1:38 PM in response to markwa

Ok Thanks


I was able to resolve by workaround:


1. Closed all open applications

2. relaunch Finder

3. run sudo find / -name ".DS_Store" -exec rm {} \;

4. this removes all .DS_Store old files on the computer

5. launch finder and set default view to "LIST VIEW" as shown here: http://macs.about.com/od/usingyourmac/ss/Setting-Finder-Views-For-Folders-And-Su b-Folders_2.htm

5. rerun the offending application and file chooser works

Nov 6, 2013 12:47 PM in response to ahmedMac25

This also worked for me. However, since I keep all my XCode projects and sources in a single directory, I ran the "find" snippet of the shell script starting from that directory instead of from the root directory:


sudo find /Users/tom/dev/src -name ".DS_Store" -exec rm {} \;


I'm baffled as to why this is not something fixed in the recent 5.0.2 GM seed?

xcode 5.0.1 crashes when adding files to the project

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.