• 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
Re: crash in initWithPersistentStoreCoordinator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: crash in initWithPersistentStoreCoordinator


  • Subject: Re: crash in initWithPersistentStoreCoordinator
  • From: Martin Hewitson <email@hidden>
  • Date: Fri, 24 May 2013 18:17:48 +0200

Apologies: I meant to complete the subject after writing the mail. Fixed now.

Martin

On 24, May, 2013, at 06:11 PM, Martin Hewitson <email@hidden> wrote:

> Dear list,
>
> I have a report from a user that they, all of a sudden, can't open an existing document using my app without causing a crash. The document is made for and by the app. And as far as I can glean from the description, it was working just fine until one day (recently) it started causing these crashes. I got the document off the user and it crashes for me too. The app uses an NSPersistentDocument subclass to store the project data. The crash seems to be something to do with the XML file, but the file is >6000 lines long, so it's hard to validate it by hand (yes, probably I should stop using XML format for these core data stores).
>
> Can anyone see something in the crash log that may help me to figure out what's happening?
>
> Many thanks,
>
> Martin
>
>
> Date/Time:       2013-05-24 16:22:07.418 +0100
> OS Version:      Mac OS X 10.6.8 (10K549)
> Report Version:  6
>
> Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
> Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
> Crashed Thread:  0  Dispatch queue: com.apple.main-thread
>
> Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
> 0   libSystem.B.dylib             	0x00007fff8142c126 strtoull_l + 75
> 1   com.apple.CoreData            	0x00007fff898b7878 +[_PFRoutines convertCString:toUnsignedInt64:withBase:] + 40
> 2   com.apple.CoreData            	0x00007fff898cf3b0 -[NSXMLDocumentMap _processInstanceNode:] + 240
> 3   com.apple.CoreData            	0x00007fff898d0c8a -[NSXMLDocumentMap _processDocument] + 282
> 4   com.apple.CoreData            	0x00007fff898d1037 -[NSXMLDocumentMap initWithDocument:forStore:] + 279
> 5   com.apple.CoreData            	0x00007fff898d33c0 -[NSXMLObjectStore initWithPersistentStoreCoordinator:configurationName:URL:options:] + 1248
> 6   com.apple.CoreData            	0x00007fff89847137 -[NSPersistentStoreCoordinator addPersistentStoreWithType:configuration:URL:options:error:] + 711
> 7   com.apple.AppKit              	0x00007fff88db5b90 -[NSPersistentDocument configurePersistentStoreCoordinatorForURL:ofType:modelConfiguration:storeOptions:error:] + 255
> 8   com.bobsoft.TeXnicle          	0x000000010000b5e1 0x100000000 + 46561
> 9   com.apple.AppKit              	0x00007fff89033d1e -[NSPersistentDocument(NSDeprecatedInternal) _configurePersistentStoreCoordinatorForURL:ofType:error:] + 183
> 10  com.apple.AppKit              	0x00007fff88db57bb -[NSPersistentDocument readFromURL:ofType:error:] + 124
> 11  com.apple.AppKit              	0x00007fff88c8830e -[NSDocument initWithContentsOfURL:ofType:error:] + 265
> 12  com.apple.AppKit              	0x00007fff88c93b88 -[NSDocumentController makeDocumentWithContentsOfURL:ofType:error:] + 332
> 13  com.apple.AppKit              	0x00007fff88c93978 -[NSDocumentController openDocumentWithContentsOfURL:display:error:] + 734
> 14  com.bobsoft.TeXnicle          	0x0000000100121028 0x100000000 + 1183784
> 15  com.apple.AppKit              	0x00007fff88aaeeda -[NSApplication sendAction:to:from:] + 95
> 16  com.apple.AppKit              	0x00007fff88aaee39 -[NSControl sendAction:to:] + 94
> 17  com.apple.AppKit              	0x00007fff88b3a84b -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1715
> 18  com.apple.AppKit              	0x00007fff88b6b37a -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 555
> 19  com.apple.AppKit              	0x00007fff88b392f5 -[NSControl mouseDown:] + 624
> 20  com.apple.AppKit              	0x00007fff88a533a7 -[NSWindow sendEvent:] + 5409
> 21  com.apple.AppKit              	0x00007fff88988afa -[NSApplication sendEvent:] + 4719
> 22  com.apple.AppKit              	0x00007fff8891f6de -[NSApplication run] + 474
> 23  com.apple.AppKit              	0x00007fff889183b0 NSApplicationMain + 364
> 24  com.bobsoft.TeXnicle          	0x0000000100002082 0x100000000 + 8322
> 25  com.bobsoft.TeXnicle          	0x0000000100002054 0x100000000 + 8276
>





_______________________________________________

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

References: 
 >crash in (From: Martin Hewitson <email@hidden>)

  • Prev by Date: crash in
  • Next by Date: Re: crash in
  • Previous by thread: crash in
  • Next by thread: Re: crash in
  • Index(es):
    • Date
    • Thread