Crash with Apple Configurator 1.2.1 (169) when adding iDevice during preparation

Originator:py.bertholon
Number:rdar://13323841 Date Originated:01-Mar-2013 02:23 PM
Status:Duplicate/12659723 (Closed) Resolved:
Product:Other Product Version:Apple Configurator 1.2.1 (169)
Classification: Reproducible:
 
Summary:
I'm using Apple Configurator 1.2.1 (169) with Mac OS 10.8.2 (build 12C3012) on a Macbook Air 13" mi-2012.

In prepare mode, when connecting iDevice, it crashes randomly.
"*** Terminating app due to uncaught exception 'NSGenericException', reason: '*** Collection <__NSSetM: 0x7ff70d823200> was mutated while being enumerated.'"

Steps to Reproduce:

- Launch Apple Configurator
- Prepare a model (my example was : no iOS upgrade, no supervise, restaure a backup, add 3 in-house apps.
- start the "prepare mode".
- connect two per two iDevices (in my case, new iPad mini wifi with iOS 6.0.2).
- App existed unexpected.  

Expected Results:

Apps detects the new connected iDevice and start preparation.

Actual Results:

First iPads start the process, but the ninth connection (in my two cases), the app crashes.

Regression:

I don't kown

Notes:

Devs can look the attached crash logs.

-------------

Process:         Apple Configurator [7932]
Path:            /Applications/Apple Configurator.app/Contents/MacOS/Apple Configurator
Identifier:      com.apple.configurator
Version:         1.2.1 (169)
Build Info:      AppleConfigurationUtility-169000000000000~1
App Item ID:     434433123
App External ID: 11722061
Code Type:       X86-64 (Native)
Parent Process:  launchd [158]
User ID:         501

Date/Time:       2013-03-01 09:36:20.207 +0100
OS Version:      Mac OS X 10.8.2 (12C3012)
Report Version:  10

Crashed Thread:  8  Dispatch queue: com.apple.root.default-priority

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
169
*** Terminating app due to uncaught exception 'NSGenericException', reason: '*** Collection <__NSSetM: 0x7ff70d823200> was mutated while being enumerated.'
abort() called
terminate called throwing an exception

Application Specific Backtrace 1:
0   CoreFoundation                      0x00007fff9951c0a6 __exceptionPreprocess + 198
1   libobjc.A.dylib                     0x00007fff97f6f3f0 objc_exception_throw + 43
2   CoreFoundation                      0x00007fff995aff98 __NSFastEnumerationMutationHandler + 232
3   Apple Configurator                  0x000000010c0fed41 Apple Configurator + 675137
4   Apple Configurator                  0x000000010c09f393 Apple Configurator + 283539
5   Apple Configurator                  0x000000010c0a0c5a Apple Configurator + 289882
6   Apple Configurator                  0x000000010c09f7d6 Apple Configurator + 284630
7   Apple Configurator                  0x000000010c09d680 Apple Configurator + 276096
8   Apple Configurator                  0x000000010c10f42b Apple Configurator + 742443
9   Foundation                          0x00007fff98788986 -[__NSOperationInternal start] + 684
10  Foundation                          0x00007fff987901a1 __block_global_6 + 129
11  libdispatch.dylib                   0x00007fff99ef0f01 _dispatch_call_block_and_release + 15
12  libdispatch.dylib                   0x00007fff99eed0b6 _dispatch_client_callout + 8
13  libdispatch.dylib                   0x00007fff99eee1fa _dispatch_worker_thread2 + 304
14  libsystem_c.dylib                   0x00007fff90917cab _pthread_wqthread + 404
15  libsystem_c.dylib                   0x00007fff90902171 start_wqthread + 13

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!