On Mar 13, 2019, at 13:57, Jens Alfke <email@example.com> wrote:Thanks for pointing out this out. That makes sense since presumably in the frames above we are in calls resulting from the stream removing itself which would be hard to explain if it were dealloc’d. Is this the right conclusion?On Mar 13, 2019, at 8:16 AM, Sandor Szatmari <firstname.lastname@example.org> wrote:Not exactly. In frame 4 the NSInputStream has been messaged successfully, which almost never happens if it’s already dealloced; you almost always get a crash in objc_msgsend in that case.
Thanks for pointing me in a direction.
I’m not experienced with putting these pieces together… can this be determined from the crash report? Or, do I need to determine this when a crash actually occurs?
Can you run the app with NSZombie enabled until the crash reoccurs?I can and will…