Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 587829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:15:14+00:00 2026-05-13T15:15:14+00:00

I am getting a (what seems to me as a strange) crash with Core

  • 0

I am getting a (what seems to me as a strange) crash with Core Data.
From what I can gather it is happening when Core Data does a save and subsequent managedObjectContextDidSave methods are fired.

I am at a loss and really hoping someone can help me out or guide me in the right direction.

The crash report is as follows:

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000b
Crashed Thread:  0

Thread 0 Crashed:
0   libobjc.A.dylib                 0x000026f4 objc_msgSend + 16
1   Foundation                      0x000437a4 NSClassFromObject + 8
2   Foundation                      0x0000ba54 _NSIMPForObjectAndSelector + 4
3   Foundation                      0x00095eae -[NSSortDescriptor compareObject:toObject:] + 110
4   CoreData                        0x000b0a6e +[NSFetchedResultsController(PrivateMethods) _insertIndexForObject:inArray:lowIdx:highIdx:sortDescriptors:] + 174
5   CoreData                        0x000b1496 -[NSFetchedResultsController(PrivateMethods) _postprocessInsertedObjects:] + 342
6   CoreData                        0x000b32d6 -[NSFetchedResultsController(PrivateMethods) _postprocessUpdatedObjects:] + 430
7   CoreData                        0x000b2a5e -[NSFetchedResultsController(PrivateMethods) _managedObjectContextDidChange:] + 498
8   Foundation                      0x0004bbf6 _nsnote_callback + 162
9   CoreFoundation                  0x00050af2 _CFXNotificationPostNotification + 298
10  Foundation                      0x000497f4 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
11  CoreData                        0x0002e42e -[NSManagedObjectContext(_NSInternalNotificationHandling) _postObjectsDidChangeNotificationWithUserInfo:] + 66
12  CoreData                        0x0007fd26 -[NSManagedObjectContext(_NSInternalChangeProcessing) _createAndPostChangeNotification:withDeletions:withUpdates:withRefreshes:] + 134
13  CoreData                        0x0001670a -[NSManagedObjectContext(_NSInternalChangeProcessing) _postRefreshedObjectsNotificationAndClearList] + 70
14  CoreData                        0x000164ac -[NSManagedObjectContext(_NSInternalChangeProcessing) _processRecentChanges:] + 1656
15  CoreData                        0x0004b5fa -[NSManagedObjectContext processPendingChanges] + 10
16  CoreData                        0x0003e2a4 _performRunLoopAction + 120
17  CoreFoundation                  0x0000fb50 __CFRunLoopDoObservers + 420
18  CoreFoundation                  0x00056a32 CFRunLoopRunSpecific + 1734
19  CoreFoundation                  0x00056356 CFRunLoopRunInMode + 42
20  GraphicsServices                0x00003cb8 GSEventRunModal + 108
21  GraphicsServices                0x00003d64 GSEventRun + 56
22  UIKit                           0x00002768 -[UIApplication _run] + 384
23  UIKit                           0x0000146c UIApplicationMain + 688
24  MyApp                           0x000022d2 main (main.m:14)
25  MyApp                           0x00002248 start + 44
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T15:15:15+00:00Added an answer on May 13, 2026 at 3:15 pm

    It looks like one of the items in one of your database arrays is getting released one too many times (and therefore gets deallocated). It’s crashing trying to sort your array, making a comparison with a deallocated object.

    Try running your program with NSZombieEnabled — it prevents the deallocation so you can see which object is getting messages sent to it with a retain count of 0.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm getting some strange hover behaviour from IE9 which seems to be resulting from
I'm getting strange results from the FusionTable API. Specifically, it seems unable to handle
I'm getting the following exception in my view, stories/_form.slim. The exception seems strange because
I'm getting random crashes when creating an inferred mapping model (with Core Data's lightweight
I'm getting a very strange crash when testing an existing application in Windows 8.
I know this sounds strange but I can't get it. Here (http://pytest.org/dev/getting-started.html) it says
i'm getting a very strange result from my database query, i was hoping someone
Getting a strange issue. It seems to be a bug. Am adding List items
I'm getting some strange behavior from a listview/the getChildAt method. I have a HashSet,
It seems my questions are strange and i'm not getting enough help but I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.