• 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: advanced debugging?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: advanced debugging?
      • From: Alex Hall <email@hidden>
    • Re: advanced debugging?
      • From: Michael David Crawford <email@hidden>
References: 
 >advanced debugging? (From: Alex Hall <email@hidden>)
 >Re: advanced debugging? (From: Jens Alfke <email@hidden>)
 >Re: advanced debugging? (From: Alex Hall <email@hidden>)

  • Prev by Date: Re: advanced debugging?
  • Next by Date: Re: advanced debugging?
  • Previous by thread: Re: advanced debugging?
  • Next by thread: Re: advanced debugging?
  • Index(es):
    • Date
    • Thread