Re: How to debug crash in NSOperation?

2017-03-28 Thread Gerriet M. Denkmann
Sent from my iPhone > On 28 Mar 2017, at 11:41, Quincey Morris > wrote: > >> On Mar 26, 2017, at 22:04 , Gerriet M. Denkmann wrote: >> >> [ arrayOfStrings writeToFile: “directoryPath/SortedKeys.plist” atomically: >> YES ]; ← pseudo

Re: How to debug crash in NSOperation?

2017-03-27 Thread Quincey Morris
On Mar 26, 2017, at 22:04 , Gerriet M. Denkmann wrote: > > [ arrayOfStrings writeToFile: “directoryPath/SortedKeys.plist” atomically: > YES ]; ← pseudo code A couple of points about this line of code, assuming that the method -[NSArray writeToFile:atomically:] is actually

Re: How to debug crash in NSOperation?

2017-03-27 Thread Gerriet M. Denkmann
Sent from my iPhone > On 28 Mar 2017, at 10:32, Jens Alfke wrote: > > >> On Mar 27, 2017, at 8:25 PM, Gerriet M. Denkmann wrote: >> >> >> >> Sent from my iPhone >> >>> On 27 Mar 2017, at 23:37, Jens Alfke wrote: >>> >>>

Re: How to debug crash in NSOperation?

2017-03-27 Thread Jens Alfke
> On Mar 27, 2017, at 8:25 PM, Gerriet M. Denkmann wrote: > > > > Sent from my iPhone > > On 27 Mar 2017, at 23:37, Jens Alfke > wrote: > >> >>> On Mar 26, 2017, at 10:04 PM, Gerriet M. Denkmann

Re: How to debug crash in NSOperation?

2017-03-27 Thread Gerriet M. Denkmann
Sent from my iPhone > On 27 Mar 2017, at 23:37, Jens Alfke wrote: > > >> On Mar 26, 2017, at 10:04 PM, Gerriet M. Denkmann >> wrote: >> >> Yes, you are right. And I have to apologise for not spotting this: >> >> *** Terminating app due to uncaught

Re: How to debug crash in NSOperation?

2017-03-27 Thread Jens Alfke
> On Mar 26, 2017, at 10:04 PM, Gerriet M. Denkmann wrote: > > Yes, you are right. And I have to apologise for not spotting this: > > *** Terminating app due to uncaught exception 'NSInvalidArgumentException', > reason: '*** setObjectForKey: object cannot be nil (key:

Re: How to debug crash in NSOperation?

2017-03-26 Thread Gerriet M. Denkmann
> On 27 Mar 2017, at 10:39, Ken Thomases wrote: > > On Mar 26, 2017, at 10:06 PM, Gerriet M. Denkmann wrote: >> >> macOS 12.3 >> >> This is a rather rare bug (never seen before): >> >> Thread 12 Crashed:: Dispatch queue: เสือ :: NSOperation

Re: How to debug crash in NSOperation?

2017-03-26 Thread Ken Thomases
On Mar 26, 2017, at 10:06 PM, Gerriet M. Denkmann wrote: > > macOS 12.3 > > This is a rather rare bug (never seen before): > > Thread 12 Crashed:: Dispatch queue: เสือ :: NSOperation 0x61800184fbd0 (QOS: > UTILITY) > 0 libsystem_kernel.dylib

How to debug crash in NSOperation?

2017-03-26 Thread Gerriet M. Denkmann
macOS 12.3 This is a rather rare bug (never seen before): Thread 12 Crashed:: Dispatch queue: เสือ :: NSOperation 0x61800184fbd0 (QOS: UTILITY) 0 libsystem_kernel.dylib 0x7fffb3d65dd6 __pthread_kill + 10 1 libsystem_pthread.dylib 0x7fffb3e51787 pthread_kill