title: App "failed to resume in time" and hangs
body: <p>My app runs fine on my ipad but when I run it on my bosses ipad it hangs and stores the following device log, any ideas?</p>
  
  <blockquote>
    <p>Incident Identifier: 6C33511B-7C9A-474C-B888-84A4FAFF6F91
    CrashReporter Key:   93bbba4f690eb1b7638fa7a09a3ff3aa4e6872f4 Hardware
    Model:      iPad2,1 Process:         Designer [5279] Path:<br>
    /var/mobile/Applications/7AA5BF4A-007D-47F8-B1C5-30667477AA12/Designer.app/Designer
    Identifier:      Designer Version:         ??? (???) Code Type:<br>
    ARM (Native) Parent Process:  launchd [1]</p>
    
    <p>Date/Time:       2011-10-19 13:29:29.907 +0100 OS Version:      iPhone
    OS 5.0 (9A334) Report Version:  104</p>
    
    <p>Exception Type:  00000020 Exception Codes: 0x8badf00d Highlighted
    Thread:  0</p>
    
    <p>Application Specific Information: Systems.Designer failed to resume in
    time</p>
    
    <p>Elapsed total CPU time (seconds): 0.000 (user 0.000, system 0.000), 0%
    CPU  Elapsed application CPU time (seconds): 0.002, 0% CPU</p>
    
    <p>Thread 0 name:  Dispatch queue: com.apple.main-thread Thread 0: 0<br>
    libsystem_c.dylib                 0x307d1a3c memset$VARIANT$CortexA9 +
    100 1   libsqlite3.dylib                  0x36cd3e7e 0x36cbf000 + 85630 2
    libsqlite3.dylib                  0x36cc73ec 0x36cbf000 + 33772 3<br>
    libsqlite3.dylib                  0x36cc6c78 0x36cbf000 + 31864 4<br>
    libsqlite3.dylib                  0x36cc64a8 0x36cbf000 + 29864 5<br>
    libsqlite3.dylib                  0x36cc5f92 0x36cbf000 + 28562 6<br>
    libsqlite3.dylib                  0x36cc5ce8 0x36cbf000 + 27880 7<br>
    libsqlite3.dylib                  0x36cd29ea 0x36cbf000 + 80362 8<br>
    libsqlite3.dylib                  0x36cc5962 sqlite3_exec + 678 9<br>
    libsqlite3.dylib                  0x36cd273a 0x36cbf000 + 79674 10 
    libsqlite3.dylib                  0x36cd228e 0x36cbf000 + 78478 11 
    libsqlite3.dylib                  0x36cceebe 0x36cbf000 + 65214 12 
    libsqlite3.dylib                  0x36ccb41a 0x36cbf000 + 50202 13 
    libsqlite3.dylib                  0x36cc6c78 0x36cbf000 + 31864 14 
    libsqlite3.dylib                  0x36cc6464 0x36cbf000 + 29796 15 
    libsqlite3.dylib                  0x36cc5f92 0x36cbf000 + 28562 16 
    libsqlite3.dylib                  0x36cc5ce8 0x36cbf000 + 27880 17 
    libsqlite3.dylib                  0x36cfd094 sqlite3_prepare_v2 + 20 18 
    AppSupport                        0x36efb8a4 CPSqlitePreparedStatement +
    40 19  AppSupport                     0x36efbbde
    CPSqliteConnectionStatementForSQLAndIgnoreErrors + 114 20  AppSupport 
      0x36efc64e CPSqliteConnectionPerformSQL + 6 21  AppSupport<br>
      0x36efca44 _createConnectionForWriting + 360 22  AppSupport<br>
      0x36efcc06 _connectAndCheckVersion + 18 23  AppSupport<br>
      0x36efd0b8 CPSqliteDatabaseConnectionForWriting + 36 24  AppSupport<br>
      0x36efd18e CPSqliteDatabaseRegisterFunction + 14 25  AddressBook<br>
      0x324db6dc ABCDBContextCreateWithPathAndAddressBook + 208 26 
    AddressBook                       0x324cf6fa
    ABCCreateAddressBookWithDatabaseDirectoryAndForceInProcessMigrationInProcessLinkingAndResetSortKeys
    + 226 27  AddressBook                     0x324ddf88 ABAddressBookCreate + 8 28  Designer                 0x000e222c
    +[AddressBookModel createTableViewControllerItemFromABRecordID:] (AddressBookModel.m:15) 29  Designer                 0x000e1ee0
    -[CustomPersonPickerViewController getAllContacts] (CustomPersonPickerViewController.m:56) 30  Designer<br>
      0x000e1d9c -[CustomPersonPickerViewController
    initWithSelectedABRecordID:andSelectAnItemViewDelegate:]
    (CustomPersonPickerViewController.m:28) 31  Designer<br>
      0x000dce56 -[EditEntityViewController editAccountable:]
    (EditEntityViewController.m:96) 32  CoreFoundation<br>
      0x3522442e -[NSObject performSelector:withObject:withObject:] + 46 33
    UIKit                             0x375d19e4 -[UIApplication
    sendAction:to:from:forEvent:] + 56 34  UIKit<br>
      0x375d19a0 -[UIApplication sendAction:toTarget:fromSender:forEvent:]
    + 24 35  UIKit                            0x375d197e -[UIControl sendAction:to:forEvent:] + 38 36  UIKit<br>
      0x375d16ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] +
    486 37  UIKit                             0x375d131a -[UIControl
    touchesBegan:withEvent:] + 238 38  UIKit<br>
      0x375d047e -[UIWindow _sendTouchesForEvent:] + 174 39  UIKit<br>
      0x375cfefa -[UIWindow sendEvent:] + 374 40  UIKit<br>
      0x375b64e6 -[UIApplication sendEvent:] + 350 41  UIKit<br>
      0x375b5d26 _UIApplicationHandleEvent + 5802 42  GraphicsServices<br>
      0x31d0be0c PurpleEventCallback + 876 43  CoreFoundation<br>
      0x3529e54c <strong>CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION</strong>
    + 32 44  CoreFoundation                   0x3529e4ee __CFRunLoopDoSource1 + 134 45  CoreFoundation                    0x3529d33c __CFRunLoopRun + 1364 46  CoreFoundation<br>
      0x352204d6 CFRunLoopRunSpecific + 294 47  CoreFoundation<br>
      0x3522039e CFRunLoopRunInMode + 98 48  GraphicsServices<br>
      0x31d0afe6 GSEventRunModal + 150 49  UIKit<br>
      0x375e473c UIApplicationMain + 1084 50  Designer<br>
      0x000d4854 main (main.m:14) 51  Designer                0x000d480c
    0xd3000 + 6156</p>
    
    <p>Thread 1 name:  Dispatch queue: com.apple.libdispatch-manager Thread
    1: 0   libsystem_kernel.dylib         0x303ff3b4 kevent + 24 1<br>
    libdispatch.dylib                 0x35b5ef74 _dispatch_mgr_invoke + 708 2
    libdispatch.dylib                 0x35b5ec92 _dispatch_mgr_thread + 30</p>
    
    <p>Thread 2 name:  WebThread Thread 2: 0   libsystem_kernel.dylib<br>
      0x3040f0d8 <strong>psynch_mutexwait + 24 1   libsystem_c.dylib<br>
      0x3075ec44 pthread_mutex_lock + 376 2   WebCore<br>
      0x362f536c _ZL17_WebTryThreadLockb + 208 3   WebCore<br>
      0x362f5670 <em>ZL14WebRunLoopLockP19</em>_CFRunLoopObservermPv + 24 4<br>
    CoreFoundation                    0x3529eb44
    __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION</strong> + 12 5   CoreFoundation                 0x3529cd80 __CFRunLoopDoObservers + 252
    6   CoreFoundation                    0x3529d19a __CFRunLoopRun + 946 7<br>
    CoreFoundation                    0x352204d6 CFRunLoopRunSpecific + 294 8
    CoreFoundation                    0x3522039e CFRunLoopRunInMode + 98 9<br>
    WebCore                           0x36397128 _ZL12RunWebThreadPv + 396 10
    libsystem_c.dylib                 0x3076bc16 _pthread_start + 314 11 
    libsystem_c.dylib                 0x3076bad0 thread_start + 0</p>
    
    <p>Unknown thread crashed with unknown flavor: 5, state_count: 1</p>
  </blockquote>