• 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
How to get routine names in crash logs ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to get routine names in crash logs ?


  • Subject: How to get routine names in crash logs ?
  • From: Hugh Sontag <email@hidden>
  • Date: Tue, 21 Jun 2005 10:04:12 -0500

This is my question:

How can I build the product so that I get routine names, source file names and line numbers in a crash log created on a system that the product was not built on, that is, a customer's machine?

In the past, crash logs from a product built with debug symbols have included routine names, source file names and line numbers in a crash log, like this:

Thread 0 Crashed:
0 ...ple.CoreServices.CarbonCore 0x902e0254 CompressFromMemory + 0x124
1 ...ple.CoreServices.CarbonCore 0x902e0098 DoActualCompact + 0x84
2 ...ple.CoreServices.CarbonCore 0x902aab28 UpdateTheFile + 0x204
3 ...ple.CoreServices.CarbonCore 0x9029fd70 UpdateResFileCommon + 0x60
4 com.qdea.syncprox 0x0007be44 SaveResource + 0x104 (SyncTime.c:156)
5 com.qdea.syncprox 0x0007c520 SaveLastScanTime + 0xa8 (SyncTime.c:332)
6 com.qdea.syncprox 0x000b2300 CheckFoldersSP + 0x278 (FSInterface.c:347)
7 com.qdea.syncprox 0x000b3e24 CheckFolders + 0xe0 (FSInterface.c:1116)
8 com.qdea.syncprox 0x00043598 DoStart + 0xca4 (MainWindow.c:1381)
9 com.qdea.syncprox 0x00044198 DoStartButton + 0xc4 (MainWindow.c:1660)
10 com.qdea.syncprox 0x000464c4 ControlMainWindow + 0x8c (MainWindow.c:2593)
11 com.qdea.syncprox 0x00019c54 DoControl + 0xb4 (Dispatcher.c:117)
12 com.qdea.syncprox 0x00084804 DoContent + 0x11c (Windowing.c:90)
13 com.qdea.syncprox 0x0007a904 DoMouseDown + 0x140 (SyncProXMain.c:402)
14 com.qdea.syncprox 0x0007b58c DoEvent + 0x2f0 (SyncProXMain.c:793)
15 com.qdea.syncprox 0x0007b890 MainLoop_SProX_3_4_4_b7 + 0x5c (SyncProXMain.c:905)
16 com.qdea.syncprox 0x00079f7c main + 0x1c (SyncProXMain.c:101)
17 com.qdea.syncprox 0x00008760 _start + 0x188 (crt.c:267)
18 dyld 0x8fe1a558 _dyld_start + 0x64


I'm now building with XCode 2.1 with the following settings:

"Produce Unstripped Product" - checked
"Strip symbols from binary files" - unchecked

But crash logs (at least on Tiger, 10.4.1) don't have symbols in them. The crash log looks like this:

Thread 4 Crashed:
0   <<00000000>> 	0xffff8acc __memcpy + 812 (cpu_capabilities.h:189)
1   bsimpd                         	0x00022580 0x1000 + 136576
2   bsimpd                         	0x00024cb8 0x1000 + 146616
3   ...ple.CoreServices.CarbonCore 	0x90b387d0 PrivateMPEntryPoint + 76
4   libSystem.B.dylib              	0x9002c3d4 _pthread_body + 96

How can I build the product so that I get routine names, source file names and line numbers in a crash log created on a system that the product was not built on, that is, a customer's machine?

_______________________________________________
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: How to get routine names in crash logs ?
      • From: Frederick Cheung <email@hidden>
    • Re: How to get routine names in crash logs ?
      • From: "Timothy J. Wood" <email@hidden>
  • Prev by Date: Re: CodeWarrior to XCode (again)
  • Next by Date: Re: How to get routine names in crash logs ?
  • Previous by thread: 'differ in signedness' warnings with gcc 4
  • Next by thread: Re: How to get routine names in crash logs ?
  • Index(es):
    • Date
    • Thread