Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
582 views
in Technique[技术] by (71.8m points)

memory management - Application not running in iOS 5

my application was running successfully in iOS 3.2 but when I installed iOS 5 on my iPad it crashes. I had searched in many places however I could find the solution. I think error is in the last function having name "connectionDidFinishLoading". Following is the crash report of my app :

Incident Identifier: 4BE5CDC2-605B-4536-8136-8252C1CD60D6
CrashReporter Key:   0ed3b9166caa3e4c6257ee94d1c3fc3bcded36f8
Hardware Model:      iPad1,1
Process:         OrderWork [2106]
Path:            /var/mobile/Applications/13BBBCAE-2938-4459-8628-FCF7E3EB0E4C/OrderWork.app/OrderWork
Identifier:      OrderWork
Version:         ??? (???)
Code Type:       ARM (Native)
Parent Process:  launchd [1]

Date/Time:       2011-11-02 12:03:14.450 +0530
OS Version:      iPhone OS 5.0 (9A334)
Report Version:  104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0xf0000008
Crashed Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libobjc.A.dylib                 0x308b1fbc 0x308ae000 + 16316
1   Foundation                      0x33046e4e 0x32f9d000 + 695886
2   OrderWork                       0x00004b32 -[supplyworks connectionDidFinishLoading:] (supplyworks.m:580)
3   Foundation                      0x33063c32 0x32f9d000 + 814130
4   Foundation                      0x32fbb6e2 0x32f9d000 + 124642
5   Foundation                      0x32fbb6ac 0x32f9d000 + 124588
6   Foundation                      0x32fbb5ce 0x32f9d000 + 124366
7   CFNetwork                       0x3204a8fa 0x3203b000 + 63738
8   CFNetwork                       0x3203f59a 0x3203b000 + 17818
9   CFNetwork                       0x3203f68e 0x3203b000 + 18062
10  CFNetwork                       0x3203f298 0x3203b000 + 17048
11  CFNetwork                       0x3203f1ce 0x3203b000 + 16846
12  CoreFoundation                  0x3574eafc 0x356c1000 + 580348
13  CoreFoundation                  0x3574e2c8 0x356c1000 + 578248
14  CoreFoundation                  0x3574d06e 0x356c1000 + 573550
15  CoreFoundation                  0x356d04d6 0x356c1000 + 62678
16  CoreFoundation                  0x356d039e 0x356c1000 + 62366
17  GraphicsServices                0x37663fe6 0x37660000 + 16358
18  UIKit                           0x3186d73c 0x3183c000 + 202556
19  OrderWork                       0x0000263e main (main.m:14)
20  OrderWork                       0x00002608 start + 32

Thread 1 name:  Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0   libsystem_kernel.dylib          0x35ed83b4 0x35ed7000 + 5044
1   libdispatch.dylib               0x3312be78 0x3311f000 + 52856
2   libdispatch.dylib               0x3312bb96 0x3311f000 + 52118

Thread 2:
0   libsystem_kernel.dylib          0x35ee8cd4 0x35ed7000 + 72916
1   libsystem_c.dylib               0x35efb30a 0x35ef1000 + 41738
2   libsystem_c.dylib               0x35efb09c 0x35ef1000 + 41116

Thread 3:
0   libsystem_kernel.dylib          0x35ee8cd4 0x35ed7000 + 72916
1   libsystem_c.dylib               0x35efb30a 0x35ef1000 + 41738
2   libsystem_c.dylib               0x35efb09c 0x35ef1000 + 41116

Thread 4 name:  WebThread
Thread 4:
0   libsystem_kernel.dylib          0x35ed8010 0x35ed7000 + 4112
1   libsystem_kernel.dylib          0x35ed8206 0x35ed7000 + 4614
2   CoreFoundation                  0x3574e41c 0x356c1000 + 578588
3   CoreFoundation                  0x3574d154 0x356c1000 + 573780
4   CoreFoundation                  0x356d04d6 0x356c1000 + 62678
5   CoreFoundation                  0x356d039e 0x356c1000 + 62366
6   WebCore                         0x32828128 0x32780000 + 688424
7   libsystem_c.dylib               0x35f00c16 0x35ef1000 + 64534
8   libsystem_c.dylib               0x35f00ad0 0x35ef1000 + 64208

Thread 5:
0   libsystem_kernel.dylib          0x35ee8cd4 0x35ed7000 + 72916
1   libsystem_c.dylib               0x35efb30a 0x35ef1000 + 41738
2   libsystem_c.dylib               0x35efb09c 0x35ef1000 + 41116

Thread 6 name:  com.apple.NSURLConnectionLoader
Thread 6:
0   libsystem_kernel.dylib          0x35ed8010 0x35ed7000 + 4112
1   libsystem_kernel.dylib          0x35ed8206 0x35ed7000 + 4614
2   CoreFoundation                  0x3574e41c 0x356c1000 + 578588
3   CoreFoundation                  0x3574d154 0x356c1000 + 573780
4   CoreFoundation                  0x356d04d6 0x356c1000 + 62678
5   CoreFoundation                  0x356d039e 0x356c1000 + 62366
6   Foundation                      0x32fadbc2 0x32f9d000 + 68546
7   Foundation                      0x32fada8a 0x32f9d000 + 68234
8   Foundation                      0x3304159a 0x32f9d000 + 673178
9   libsystem_c.dylib               0x35f00c16 0x35ef1000 + 64534
10  libsystem_c.dylib               0x35f00ad0 0x35ef1000 + 64208

Thread 7:
0   libsystem_kernel.dylib          0x35ee8cd4 0x35ed7000 + 72916
1   libsystem_c.dylib               0x35efb30a 0x35ef1000 + 41738
2   libsystem_c.dylib               0x35efb09c 0x35ef1000 + 41116

Thread 8:
0   libsystem_kernel.dylib          0x35ee8cd4 0x35ed7000 + 72916
1   libsystem_c.dylib               0x35efb30a 0x35ef1000 + 41738
2   libsystem_c.dylib               0x35efb09c 0x35ef1000 + 41116

Thread 9 name:  com.apple.CFSocket.private
Thread 9:
0   libsystem_kernel.dylib          0x35ee80a0 0x35ed7000 + 69792
1   libsystem_c.dylib               0x35ef442a 0x35ef1000 + 13354
2   CoreFoundation                  0x356cb56a 0x356c1000 + 42346
3   CoreFoundation                  0x3575312a 0x356c1000 + 598314
4   libsystem_c.dylib               0x35f00c16 0x35ef1000 + 64534
5   libsystem_c.dylib               0x35f00ad0 0x35ef1000 + 64208

Thread 0 crashed with ARM Thread State:
    r0: 0x001caab0    r1: 0x36ae6830      r2: 0x001ea390      r3: 0x00000000
    r4: 0xf0000000    r5: 0x001e7690      r6: 0x3ed37a38      r7: 0x2fdfea4c
    r8: 0x001caab0    r9: 0x0dab9a0c     r10: 0x3ed22378     r11: 0x3ed37a18
    ip: 0x3ecfd6f0    sp: 0x2fdfea20      lr: 0x33046e55      pc: 0x308b1fbc
  cpsr: 0x000f0030

Binary Images:
    0x1000 -    0x2cfff +OrderWork armv7  <f2cd5118d1d9fbdcba3b8cef5481ad5f> /var/mobile/Applications/13BBBCAE-2938-4459-8628-FCF7E3EB0E4C/OrderWork.app/OrderWork
0x2fefd000 - 0x2ff1efff  dyld armv7  <be7c0b491a943054ad12eb5060f1da06> /usr/lib/dyld
0x307ca000 - 0x3081bfff  libstdc++.6.dylib armv7  <dc2061145c1a3307829d4f3bfc547c1a> /usr/lib/libstdc++.6.dylib
0x308ae000 - 0x30974fff  libobjc.A.dylib armv7  <d503b4ad04313023bbe76ededd30ed70> /usr/lib/libobjc.A.dylib
0x30986000 - 0x309c9fff  libcommonCrypto.dylib armv7  <be9a231cfe6e3ae387abb444a098bce9> /usr/lib/system/libcommonCrypto.dylib
0x30ad7000 - 0x30adefff  AssetsLibraryServices armv7  <f6d1bb9e4b60392f834d4e0ee35105cc> /System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices
0x30aec000 - 0x30afbfff  OpenGLES armv7  <6d1afb451f50310895ec59864739e781> /System/Library/Frameworks/OpenGLES.framework/OpenGLES
0x30c3f000 - 0x30d19fff  vImage armv7  <42a5e58ff1b9350cad90de36bd3ceb09> /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/vImage
0x30e21000 - 0x30e61fff  libGLImage.dylib armv7  <9440420d838a382caa175399d74a5044> /System/Library/Frameworks/OpenGLES.framework/libGLImage.dylib
0x30e70000 - 0x30eb9fff  AddressBook armv7  <9ac3368232663b5786382e33c3773678> /System/Library/Frameworks/AddressBook.framework/AddressBook
0x30ed9000 - 0x30f0efff  SystemConfiguration armv7  <68dbad71a3cc32e5941ad70820f88caa> /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x30f15000 - 0x30f15fff  libunwind.dylib armv7  <d21222aad8c93d6c9580f9bf47071946> /usr/lib/system/libunwind.dylib
0x31061000 - 0x31067fff  liblockdown.dylib armv7  <4e3671438f71326bbc507cb197a31322> /usr/lib/liblockdown.dylib
0x3106a000 - 0x3106dfff  CaptiveNetwork armv7  <c3a5b1659eb0302eb205498ffacb09f1> /System/Library/PrivateFrameworks/CaptiveNetwork.framework/CaptiveNetwork
0x3109c000 - 0x310a0fff  libcache.dylib armv7  <607095842baf3c41be3127ed773582ea> /usr/lib/system/libcache.dylib
0x310b2000 - 0x310d1fff  libSystem.B.dylib armv7  <17803796ac1d31bdab85e651a74d5e0d> /usr/lib/libSystem.B.dylib
0x31102000 - 0x3115dfff  StoreServices armv7  <01e6b5e7449d39b8bc11e39fc217e645> /System/Library/PrivateFrameworks/StoreServices.framework/StoreServices
0x311f7000 - 0x3120dfff  DictionaryServices armv7  <ff80b6648c24360583e5e624efda4815> /System/Library/PrivateFrameworks/DictionaryServices.framework/DictionaryServices
0x3120e000 - 0x3120efff  vecLib armv7  <106ef8294b0d3c2d89e9230527846227> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/vecLib
0x3120f000 - 0x31253fff  MobileCoreServices armv7  <e05a113469ed345f98f306965abb30dc> /System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices
0x31255000 - 0x31256fff  libremovefile.dylib armv7  <77460820431837d68f19c81d53b6ca83> /usr/lib/system/libremovefile.dylib
0x31345000 - 0x31371fff  libtidy.A.dylib armv7  <f0eca72c10c537fa89b17fd97e003faf> /usr/lib/libtidy.A.dylib
0x3137a000 - 0x31386fff  libCRFSuite.dylib armv7  <ea460e3f1ac338a9885d5752864dbffb> /usr/lib/libCRFSuite.dylib
0x31387000 - 0x3138bfff  FTClientServices armv7  <0f8bfadbf83a35c39f4ac39045ca569d> /System/Library/PrivateFrameworks/FTClientServices.framework/FTClientServices
0x31442000 - 0x31587fff  CoreGraphics armv7  <649b7b4a430a340b8c2b85c6fb4e1369> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x31649000 - 0x3164afff  libdyld.dylib armv7  <f1963e7ef64e39a58ec1e39ed7c74849> /usr/lib/system/libdyld.dylib
0x3164f000 - 0x316f9fff  libBLAS.dylib armv7  <9aabff01422f3cb8960f93d11d2b6de1> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libBLAS.dylib
0x3176e000 - 0x31784fff  EAP8021X armv7  <3f7bd850face343495b2c542ef63d44d> /System/Library/PrivateFrameworks/EAP8021X.framework/EAP8021X
0x317a6000 - 0x317acfff  MobileIcons armv7  <2f4c13053206306996726629b0b7eb01> /System/Library/PrivateFrameworks/MobileIcons.framework/MobileIcons
0x3183c000 - 0x31cd5fff  UIKit armv7  <87348d5d0d043aa095840765b6d73999> /System/Library/Frameworks/UIKit.framework/UIKit
0x31cd6000 - 0x31cdcfff  libnotify.dylib armv7  <19d7596821403d998017f03678d40514> /usr/lib/system/libnotify.dylib
0x31d8e000 - 0x31dc9fff  libCGFreetype.A.dylib armv7  <1f70c1e94e333f0bb0866143b2abb0a7> /System/Library/Frameworks/CoreGraphics.framework/Resources/libCGFreetype.A.dylib
0x31dce000 - 0x31dcefff  liblangid.dylib armv7  <342170169bf232a0888912f5ef97112d> /usr/lib/liblangid.dylib
0x31e3c000 - 0x31e61fff  OpenCL armv7  <051a834ba5583f47876f0c8b9a1e3dda> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
0x31e62000 - 0x31e69fff  libc++abi.dylib armv7  <f769ce305c3033ee90e8c2ecc4846619> /usr/lib/libc++abi.dylib
0x31e83000 - 0x31f29fff  AddressBookUI armv7  <90b13f7f5d6c38f68efba5944faa2ad4> /System/Library/Frameworks/AddressBookUI.framework/AddressBookUI
0x31f2a000 - 0x31f4dfff  Bom armv7  <0e6087f75a81345ea81751197ccb712c> /System/Library/PrivateFrameworks/Bom.framework/Bom
0x32000000 - 0x32015fff  libresolv.9.dylib armv7  <2e35ec83cc823bbebf107dc4867e61d7> /usr/lib/libresolv.9.dylib
0x3203b000 - 0x32112fff  CFNetwork armv7  <794a80e086d23041bfdec139b01e80a2> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x32123000 - 0x32134fff  libxpc.dylib armv7  <637167f4fa5c3cee99418295843e1580> /usr/lib/system/libxpc.dylib
0x32191000 - 0x32195fff  libAccessibility.dylib armv7  <ee734c0e964934a887a66d170270b114> /usr/lib/libAccessibility.dylib
0x32196000 - 0x321a0fff  libbz2.1.0.dylib armv7  <28583efb9f1b38e7ae83c667b07dbd08> /usr/lib/l

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...