• 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
More symbolicate *$#*^!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More symbolicate *$#*^!


  • Subject: More symbolicate *$#*^!
  • From: Doug Hill <email@hidden>
  • Date: Wed, 17 Jun 2015 13:41:41 -0700

I have a crash report from our QA tester that I’m trying to reproduce/debug. I’m now going through the hoops to symbolicate the crash report.

Apple documentation says to drag the crash report into the Devices window in Xcode and it will symbolicate automagically. I see the crash report in the list but no symbols. It doesn’t happen possibly because the app wasn’t built on my local machine, it was built on our build server?? Yes, I also tried Resymbolicate, still no symbols.

OK, now I try to go the manual route, using atos. I put the sym file in the same directory as the executable and run:

atos -o /Path/to/my/executable 0x00000001006341f8
0x00000001006341f8 (in Chartcube)

Nothing.

I try some other addresses for another thread and I get seemingly good results:

atos -o Chartcube 0x000000010047cbe0
-[SChartDateFrequency setDefaults] (in Chartcube) + 32

So, it at least sort of works.

Maybe atos is confused for some reason, so I’ll try lldb to lookup this address:

(lldb) image lookup -v --address 0x000000010047cbe0
      Address: Chartcube[0x000000010047cbe0] (Chartcube.__TEXT.__text + 4680612)
      Summary: Chartcube`-[SChartDateFrequency setDefaults] + 32
       Module: file = "/Path/to/my/executable, arch = "arm64"

This works too. How about the problematic address:

(lldb) image lookup -v --address 0x0000000100634488
      Address: Chartcube[0x0000000100634488] (Chartcube.__TEXT.__objc_methname + 44672)
      Summary: "re:TouchPoint:"
       Module: file = "/Path/to/my/executable", arch = "arm64"

Uh oh, this looks like a completely bogus symbol. This is confirmed when I try another one:

(lldb) image lookup -v --address 0x0000000100633fd8
      Address: Chartcube[0x0000000100633fd8] (Chartcube.__TEXT.__objc_methname + 43472)
      Summary: "ickStyle"
       Module: file = "/Path/to/my/executable", arch = "arm64"

There isn’t an offset into the symbol, and it’s showing an objc_methname which I believe is a selector. Why???

Looking at the address in the crash report I see:

16  Chartcube 0x0000000100634488 0x1000ec000 + 5538952
17  Chartcube 0x0000000100633fd8 0x1000ec000 + 5537752

Those are some suspiciously huge offsets which leads me to believe the stack might be borked, but who knows.

Anyone have ideas on why I’m not able to get correct symbols?

Thanks.

Doug Hill
http://chartcube.com/
 _______________________________________________
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: More symbolicate *$#*^!
      • From: Wim Lewis <email@hidden>
    • Re: More symbolicate *$#*^!
      • From: Roland King <email@hidden>
  • Prev by Date: Removing old iOS SDKs?
  • Next by Date: Re: More symbolicate *$#*^!
  • Previous by thread: Re: Removing old iOS SDKs?
  • Next by thread: Re: More symbolicate *$#*^!
  • Index(es):
    • Date
    • Thread