Re: Care to opine on a stack trace


 

On Mar 13, 2019, at 8:16 AM, Sandor Szatmari <admin.szatmari.net@...> wrote:

I have an app where I see this crash periodically. Does this look to you like the stream is being destroyed before the run loop releases it? Basically an overrelease?
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.

Instead it looks like something’s wrong with a dictionary managed by the stream. I don’t know exactly what.

What’s the offending memory address in the crash? If it’s zero, that could be a clue.
Can you run the app with NSZombie enabled until the crash reoccurs?

—Jens

Join {cocoa@apple-dev.groups.io to automatically receive all group messages.