Re: advanced debugging?
Re: advanced debugging?
- Subject: Re: advanced debugging?
- From: Jens Alfke <email@hidden>
- Date: Wed, 14 Oct 2015 19:32:41 -0700
> On Oct 14, 2015, at 7:08 PM, Alex Hall <email@hidden> wrote:
>
> Unfortunately this didn't reveal much of anything that I can tell. It goes straight from
> 5 Array.append<A>(A) -> (),
> to
> 0 swift_slowAlloc,
> and that's it. Well, there's more before that, but nothing after. I guess I was hoping for a line number in a specific file, but maybe there's no way to get that specific? Or am I looking at the wrong stack trace?
swift_slowAlloc must be the function that directly called malloc with the huge number. That’s why there’s nothing after it.
The culprit is probably before the first frame you listed. My guess is that someone’s trying to append a ridiculous number of items to an array, such that the new size of the array is that huge number mentioned in the malloc warning. So what’s further down the stack? Any of your code?
—Jens
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden