• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
intermittent sync services crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

intermittent sync services crash


  • Subject: intermittent sync services crash
  • From: Martin Hewitson <email@hidden>
  • Date: Tue, 28 Sep 2010 08:49:30 +0200

Dear list,

I have a core-data app which syncs its data over mobile-me via sync services. Every couple of days or so, the app crashes on different machines. The stack trace is pasted below. I'm using essentially the same syncing code I use for other apps and I haven't seen this problem before.

Can anyone provide any hints from the stack trace?

Many thanks,

Martin

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Crashed Thread:  3

Application Specific Information:
objc_msgSend() selector name: handleMocChanges:


Thread 0:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x00007fff81e152fa mach_msg_trap + 10
1   libSystem.B.dylib             	0x00007fff81e1596d mach_msg + 59
2   com.apple.CoreFoundation      	0x00007fff87fdb3c2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation      	0x00007fff87fda84f CFRunLoopRunSpecific + 575
4   com.apple.HIToolbox           	0x00007fff83c6c91a RunCurrentEventLoopInMode + 333
5   com.apple.HIToolbox           	0x00007fff83c6c71f ReceiveNextEventCommon + 310
6   com.apple.HIToolbox           	0x00007fff83c6c5d8 BlockUntilNextEventMatchingListInMode + 59
7   com.apple.AppKit              	0x00007fff86b7f29e _DPSNextEvent + 708
8   com.apple.AppKit              	0x00007fff86b7ebed -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
9   com.apple.AppKit              	0x00007fff86b448d3 -[NSApplication run] + 395
10  com.apple.AppKit              	0x00007fff86b3d5f8 NSApplicationMain + 364
11  com.bobsoft.Trips             	0x00000001000014dd main + 33 (main.m:14)
12  com.bobsoft.Trips             	0x00000001000014b4 start + 52

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib             	0x00007fff81e2e08a kevent + 10
1   libSystem.B.dylib             	0x00007fff81e2ff5d _dispatch_mgr_invoke + 154
2   libSystem.B.dylib             	0x00007fff81e2fc34 _dispatch_queue_invoke + 185
3   libSystem.B.dylib             	0x00007fff81e2f75e _dispatch_worker_thread2 + 252
4   libSystem.B.dylib             	0x00007fff81e2f088 _pthread_wqthread + 353
5   libSystem.B.dylib             	0x00007fff81e2ef25 start_wqthread + 13

Thread 2:
0   libSystem.B.dylib             	0x00007fff81e2eeaa __workq_kernreturn + 10
1   libSystem.B.dylib             	0x00007fff81e2f2bc _pthread_wqthread + 917
2   libSystem.B.dylib             	0x00007fff81e2ef25 start_wqthread + 13

Thread 3 Crashed:
0   libobjc.A.dylib               	0x00007fff87ec7120 objc_msgSend + 44
1   com.apple.Foundation          	0x00007fff806c484e _nsnote_callback + 167
2   com.apple.CoreFoundation      	0x00007fff87fe7a90 __CFXNotificationPost + 1008
3   com.apple.CoreFoundation      	0x00007fff87fd4008 _CFXNotificationPostNotification + 200
4   com.apple.Foundation          	0x00007fff806bb7b8 -[NSNotificationCenter postNotificationName:object:userInfo:] + 101
5   com.apple.CoreData            	0x00007fff887a8843 -[NSManagedObjectContext(_NSInternalNotificationHandling) _postObjectsDidChangeNotificationWithUserInfo:] + 99
6   com.apple.CoreData            	0x00007fff887df985 -[NSManagedObjectContext(_NSInternalChangeProcessing) _createAndPostChangeNotification:withDeletions:withUpdates:withRefreshes:] + 325
7   com.apple.CoreData            	0x00007fff8878d3db -[NSManagedObjectContext(_NSInternalChangeProcessing) _postRefreshedObjectsNotificationAndClearList] + 107
8   com.apple.CoreData            	0x00007fff8878c506 -[NSManagedObjectContext(_NSInternalChangeProcessing) _processRecentChanges:] + 86
9   com.apple.CoreData            	0x00007fff8878b98b -[NSManagedObjectContext executeFetchRequest:error:] + 155
10  com.apple.syncservices        	0x00007fff84b6865d -[ISDPersistentStoreSyncer _pushAllRecordForSyncEntityName:] + 258
11  com.apple.syncservices        	0x00007fff84b68acd -[ISDPersistentStoreSyncer _pushChanges] + 422
12  com.apple.syncservices        	0x00007fff84b662b9 -[ISDPersistentStoreSyncer synchronize] + 77
13  com.apple.syncservices        	0x00007fff84b65986 -[ISDPersistentStoreSyncer synchronizerThreadMain] + 83
14  com.apple.Foundation          	0x00007fff806c4e8d __NSThread__main__ + 1429
15  libSystem.B.dylib             	0x00007fff81e4e456 _pthread_start + 331
16  libSystem.B.dylib             	0x00007fff81e4e309 thread_start + 13

Thread 3 crashed with X86 Thread State (64-bit):
 rax: 0x0000000000000000  rbx: 0x0000000100487d60  rcx: 0x0000000102f24910  rdx: 0x0000000102f24970
 rdi: 0x0000000100487d60  rsi: 0x000000010004bd5c  rbp: 0x00000001149fb2f0  rsp: 0x00000001149fb298
  r8: 0x0000000000000000   r9: 0x0000000102f24970  r10: 0x000000010109b9b0  r11: 0x00000001004e787b
 r12: 0x00000001004a7d70  r13: 0x0000000102f24970  r14: 0x0000000102f24910  r15: 0x00000001003f18b0
 rip: 0x00007fff87ec7120  rfl: 0x0000000000010206  cr2: 0x0000000000000000

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Hewitson
Albert-Einstein-Institut
Max-Planck-Institut fuer
    Gravitationsphysik und Universitaet Hannover
Callinstr. 38, 30167 Hannover, Germany
Tel: +49-511-762-17121, Fax: +49-511-762-5861
E-Mail: email@hidden
WWW: http://www.aei.mpg.de/~hewitson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Acquiring an NSConnection otherwise than by registered name?
  • Next by Date: Re: Acquiring an NSConnection otherwise than by registered name?
  • Previous by thread: Re: Acquiring an NSConnection otherwise than by registered name?
  • Next by thread: I want a window's file owner that's not a NSWindowController
  • Index(es):
    • Date
    • Thread