加载根nib文件时OS X应用程序崩溃

时间:2012-02-17 02:18:20

标签: macos xcode4.2 osx-lion

我有一个奇怪的情况,即应用程序在审核过程中崩溃,在所有系统上正常运行。我已经在mac book / air / mac mini上测试了它,所有都在狮子座上。应用程序完全正常,但提交到应用程序商店后;测试员说它崩溃了;以下是崩溃日志:

    Process:         My app [73375]
Path:            /Applications/My app.app/Contents/MacOS/My app
Identifier:      com.mycompany.myapp
Version:         1.5.2 (539)
Code Type:       X86-64 (Native)
Parent Process:  launchd [11718]

Date/Time:       2012-02-15 15:00:15.459 -0800
OS Version:      Mac OS X 10.7.3 (11D50)
Report Version:  9
Sleep/Wake UUID: A9CEF38F-05E5-48BD-8BA4-076E419F99E6

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000091fc8358

VM Regions Near 0x91fc8358:
--> 
    __TEXT                 00000001092d9000-00000001092fd000 [  144K] r-x/rwx SM=COW  /Applications/My app.app/Contents/MacOS/My app

Application Specific Information:
objc[73375]: garbage collection is ON

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib                 0x00007fff91fa5c6d _hasObjcContents + 178
1   com.apple.CoreFoundation        0x00007fff8bd71021 -[NSObject performSelector:] + 49
2   com.apple.CoreFoundation        0x00007fff8bd70fa2 -[NSSet makeObjectsPerformSelector:] + 274
3   com.apple.AppKit                0x00007fff8cc61b2f -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1245
4   com.apple.AppKit                0x00007fff8cc5809f loadNib + 322
5   com.apple.AppKit                0x00007fff8cc5759c +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 217
6   com.apple.AppKit                0x00007fff8cc574b7 +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 141
7   com.apple.AppKit                0x00007fff8cc573fa +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 364
8   com.apple.AppKit                0x00007fff8ceca9b3 NSApplicationMain + 398
9   com.mycompany.myapp     0x00000001092da274 0x1092d9000 + 4724

Thread 1:
0   libsystem_kernel.dylib          0x00007fff8ddac192 __workq_kernreturn + 10
1   libsystem_c.dylib               0x00007fff8c112594 _pthread_wqthread + 758
2   libsystem_c.dylib               0x00007fff8c113b85 start_wqthread + 13

Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib          0x00007fff8ddac7e6 kevent + 10
1   libdispatch.dylib               0x00007fff8a9565be _dispatch_mgr_invoke + 923
2   libdispatch.dylib               0x00007fff8a95514e _dispatch_mgr_thread + 54

Thread 3:
0   libsystem_kernel.dylib          0x00007fff8ddac192 __workq_kernreturn + 10
1   libsystem_c.dylib               0x00007fff8c112594 _pthread_wqthread + 758
2   libsystem_c.dylib               0x00007fff8c113b85 start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00000001093a5050  rcx: 0x0000000000000001  rdx: 0x00007fff68ed84ac
  rdi: 0x00000001093a5d20  rsi: 0x00000001092f0a14  rbp: 0x00007fff68ed87d0  rsp: 0x0000000091fc8358
   r8: 0x0000000000000021   r9: 0x0000000000000000  r10: 0x00007fd9f483c850  r11: 0x00007fd9f4839c90
  r12: 0x00007fff91fa5be0  r13: 0x0000000400475e00  r14: 0x00000004004a17c0  r15: 0x015d000000000001
  rip: 0x00007fff91fa5c6d  rfl: 0x0000000000010202  cr2: 0x0000000091fc8358
Logical CPU: 2

当我尝试运行应用程序进行性能分析时,我观察到相同的行为。请帮帮我。

此致 M P。

0 个答案:

没有答案