Re: advanced debugging?
Re: advanced debugging?
- Subject: Re: advanced debugging?
- From: Alex Hall <email@hidden>
- Date: Wed, 14 Oct 2015 22:08:49 -0400
Thanks, everyone. Now I know how to use symbolic breakpoints and when to do so, and that the stack trace appears in the debug table. I even discovered that the editor shows the specifics of whatever item in the trace you focus on, not that I have the first clue what all that means. :)
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?
On Oct 14, 2015, at 5:59 AM, Alex Hall < email@hidden> wrote:
Cinnamon(1775,0x10086b000) malloc: *** mach_vm_map(size=72018011619328) failed (error code=3) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug
FYI, the error here is that something called malloc with a size of 0x418000000000, which is obviously bogus. Hopefully the reason will be clear once you can examine the backtrace. Most likely something computed the size based on a value in a garbage (uninitialized or overwritten) variable.
—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