无限循环popoverController IOS

时间:2014-08-22 09:07:40

标签: objective-c ios7 uiviewcontroller uipopovercontroller

Graoverings Stackoverflowians,

我遇到了一个非常奇怪的错误,过去一周我一直在拉我的头发,我相信popoverController会发生无限循环,但应用程序没有使用uipopoverController。

我无法找到问题所在的位置,因为当我正在调试时,我们到达某个点然后进入内存位置,直到应用程序崩溃并使用EXC_BAD_ACCESS(SIGSEGV)。

这是我们收到的崩溃日志,对此问题的任何帮助都会非常棒。 可在此处找到完整堆栈跟踪: https://www.dropbox.com/s/g5a1s9kuh1c8pyy/StackTrace.text

Process:         AppName [20577]
Path:            /Users/USER/Library/Application Support/iPhone Simulator/*/AppName.app/AppName
Identifier:      AppName
Version:         0
Code Type:       X86 (Native)
Parent Process:  launchd_sim [19259]
Responsible:     launchd_sim [19259]
User ID:         502

Date/Time:       2014-08-22 14:47:11.148 +0800
OS Version:      Mac OS X 10.9.2 (13C64)
Report Version:  11
Anonymous UUID:  1AB3A959-D816-7933-9C74-7B70BD54030D

Sleep/Wake UUID: EE324FAB-2B7D-4C68-9381-CDD99B89DE38

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

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000bf7ffffc

VM Regions Near 0xbf7ffffc:
    Stack                  00000000b03a2000-00000000b03b2000 [   64K] rw-/rwx SM=COW  
--> Stack                  00000000bc000000-00000000bf800000 [ 56.0M] ---/rwx SM=NUL  
    Stack                  00000000bf800000-00000000c0000000 [ 8192K] rw-/rwx SM=COW  

Application Specific Information:
iPhone Simulator 463.9.41, iPhone OS 7.1 (iPad/11D167)


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x03e71286 __kill + 10
1   libsystem_kernel.dylib          0x03e6f5ec kill$UNIX2003 + 32
2   libsystem_sim_c.dylib           0x03b7635b raise + 26
3   AppName                         0x001d281c CLSSignalHandler + 246
4   libsystem_platform.dylib        0x03d45deb _sigtramp + 43
5   UIKit                           0x01d7f7e0 -[UIViewController _popoverController] + 9
6   UIKit                           0x01d7f85b -[UIViewController _popoverController] + 132

继续增加503项 - 达到了身体限制

509 UIKit                           0x01d7f85b -[UIViewController _popoverController] + 132
510 UIKit                           0x01d7f85b -[UIViewController _popoverController] + 132
511 UIKit                           0x01d7f85b -[UIViewController _popoverController] + 132

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib          0x03e72992 kevent64 + 10
1   libdispatch.dylib               0x03af7f36 _dispatch_mgr_invoke + 238
2   libdispatch.dylib               0x03af7c72 _dispatch_mgr_thread + 60

Thread 2:
0   libsystem_kernel.dylib          0x03e72046 __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x03e35dcf _pthread_wqthread + 372
2   libsystem_pthread.dylib         0x03e39cce start_wqthread + 30

Thread 3:: com.crashlytics.MachExceptionServer
0   libsystem_kernel.dylib          0x03e6cf7a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x03e6c16c mach_msg + 68
2   AppName                         0x001c0f8e CLSMachExceptionServer + 151
3   libsystem_pthread.dylib         0x03e345fb _pthread_body + 144
4   libsystem_pthread.dylib         0x03e34485 _pthread_start + 130
5   libsystem_pthread.dylib         0x03e39cf2 thread_start + 34

Thread 4:
0   libsystem_kernel.dylib          0x03e72046 __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x03e35dcf _pthread_wqthread + 372
2   libsystem_pthread.dylib         0x03e39cce start_wqthread + 30

Thread 5:: com.apple.NSURLConnectionLoader
0   libsystem_kernel.dylib          0x03e6cf7a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x03e6c16c mach_msg + 68
2   CoreFoundation                  0x036a8d69 __CFRunLoopServiceMachPort + 169
3   CoreFoundation                  0x036ae2c1 __CFRunLoopRun + 1185
4   CoreFoundation                  0x036ad9d3 CFRunLoopRunSpecific + 467
5   CoreFoundation                  0x036ad7eb CFRunLoopRunInMode + 123
6   Foundation                      0x02b93ece +[NSURLConnection(Loader) _resourceLoadLoop:] + 381
7   Foundation                      0x02befa07 -[NSThread main] + 76
8   Foundation                      0x02bef966 __NSThread__main__ + 1275
9   libsystem_pthread.dylib         0x03e345fb _pthread_body + 144
10  libsystem_pthread.dylib         0x03e34485 _pthread_start + 130
11  libsystem_pthread.dylib         0x03e39cf2 thread_start + 34

Thread 6:: com.apple.CFSocket.private
0   libsystem_kernel.dylib          0x03e71ace __select + 10
1   CoreFoundation                  0x036ec27b __CFSocketManager + 875
2   libsystem_pthread.dylib         0x03e345fb _pthread_body + 144
3   libsystem_pthread.dylib         0x03e34485 _pthread_start + 130
4   libsystem_pthread.dylib         0x03e39cf2 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x00000003  ecx: 0x11525bcc  edx: 0x03e71286
  edi: 0x11525fe0  esi: 0x003b6194  ebp: 0x11525be8  esp: 0x11525bcc
   ss: 0x00000023  efl: 0x00000202  eip: 0x03e71286   cs: 0x0000000b
   ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
  cr2: 0x11525c5c

Logical CPU:     0
Error Code:      0x000c0025
Trap Number:     132

0 个答案:

没有答案