最近在做一个项目,是用百度地图刚刚发布的IOS的API做个越狱应用。
目前遇到一个问题,这个应用在按下home键切到后台之后,后台就直接crash掉了,再次进入的时候相当于重启了应用,这种现象在iphone4 ios7 , iphone5 ios8, iphone6 ios9中都存在。后来发现一个现象,在打开定位之后再进入后台,貌似可以解决问题,测试后发现iphone4 ios7 , iphone5 ios8正常了。但是iphone6 ios9依然解决不了。不知是否有人处理过类似问题,求指教。
Nov 24 00:46:26 huangmingchunde-iPhone mediaserverd[36]: '' com.skywalk.XXXX(pid = 660) setting DiscoveryMode = DiscoveryMode_None, currentDiscoveryMode = DiscoveryMode_None
Nov 24 00:46:26 huangmingchunde-iPhone ReportCrash[665]: report not saved because the limit of 25 for 109_SkyWalkerBase logs has been reached.
Nov 24 00:46:26 huangmingchunde-iPhone com.apple.xpc.launchd[1] (UIKitApplication:com.skywalk.XXXX[0x3502][660]): Service exited due to signal: Killed: 9
Nov 24 00:46:26 huangmingchunde-iPhone ReportCrash[665]: Notice: This report is abbreviated for syslog inclusion because it could not be saved to disk.
Symbolication may be possible by manually cleaning up and including the Binary Image section of a full report from this same device -- good luck!
Nov 24 00:46:26 huangmingchunde-iPhone ReportCrash[665]: Process: XXXX [660]
Path: /Applications/XXXX.app/XXXX
OS Version: iOS 9.0.2 (13A452)
Nov 24 00:46:26 huangmingchunde-iPhone ReportCrash[665]: Exception Type: 00000020
Exception Codes: 0x00000000dead10cc
Exception Note: SIMULATED (this is NOT a crash)
Highlighted by Thread: 10
Nov 24 00:46:26 huangmingchunde-iPhone ReportCrash[665]: Application Specific Information:
<FBApplicationProcess: 0x1624e43a0; SkyWalkerBase; pid: 660> was suspended with locked system files:
/private/var/mobile/Library/Caches/OnlineMapCache/DTTempdat.sdb
Nov 24 00:46:26 huangmingchunde-iPhone ReportCrash[665]: Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libobjc.A.dylib 0x0000000199f11bdc 0x199ef8000 + 105436
1 Foundation 0x000000018617b870 0x186154000 + 161904
2 Foundation 0x000000018617b76c 0x186154000 + 161644
3 SkyWalkerTweak.dylib 0x000000010064ec2c 0x100648000 + 27692
4 SkyWalkerTweak.dylib 0x000000010064faa4 0x100648000 + 31396
5 SkyWalkerTweak.dylib 0x000000010064fdcc 0x100648000 + 32204
6 CoreLocation 0x0000000185a98a10 0x185a8c000 + 51728
7 CoreLocation 0x0000000185a94b14 0x185a8c000 + 35604
8 CoreLocation 0x0000000185a8eef4 0x185a8c000 + 12020
9 CoreFoundation 0x00000001852c048c 0x1851e4000 + 902284
10 CoreFoundation 0x00000001852bfdc4 0x1851e4000 + 900548
11 CoreFoundation 0x00000001852be20c 0x1851e4000 + 893452
12 CoreFoundation 0x00000001851ecdc0 0x1851e4000 + 36288
13 GraphicsServices 0x0000000190340088 0x190334000 + 49288
14 UIKit 0x000000018a8c6f44 0x18a84c000 + 503620
15 SkyWalkerBase 0x00000001000604c4 0x100038000 + 165060
16 libdyld.dylib 0x000000019a72a8b8 0x19a728000 + 10424
Nov 24 00:46:26 huangmingchunde-iPhone ReportCrash[665]: Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x000000019a84859c 0x19a82c000 + 116124
1 libdispatch.dylib 0x000000019a70ca04 0x19a6f8000 + 84484
2 libdispatch.dylib 0x000000019a6fb93c 0x19a6f8000 + 14652
Nov 24 00:46:26 huangmingchunde-iPhone ReportCrash[665]: Thread 2 name: AVAudioSession Notify Thread
Thread 2:
0 libsystem_kernel.dylib 0x000000019a82cc30 0x19a82c000 + 3120
1 libsystem_kernel.dylib 0x000000019a82caac 0x19a82c000 + 2732
2 CoreFoundation 0x00000001852c0168 0x1851e4000 + 901480
3 CoreFoundation 0x00000001852bde6c 0x1851e4000 + 892524
4 CoreFoundation 0x00000001851ecdc0 0x1851e4000 + 36288
5 libAVFAudio.dylib 0x0000000183959860 0x183914000 + 284768
6 libAVFAudio.dylib 0x000000018392e3a8 0x183914000 + 107432
7 libsystem_pthread.dylib 0x000000019a90fb3c 0x19a90c000 + 15164
8 libsystem_pthread.dylib 0x000000019a90faa0 0x19a90c000 + 15008
9 libsystem_pthread.dylib 0x000000019a90d030 0x19a90c000 + 4144
Nov 24 00:46:26 huangmingchunde-iPhone ReportCrash[665]: Thread 3 name: com.apple.NSURLConnectionLoader
Thread 3:
0 libsystem_kernel.dylib 0x000000019a82cc30 0x19a82c000 + 3120
1 libsystem_kernel.dylib 0x000000019a82caac 0x19a82c000 + 2732
2 CoreFoundation 0x00000001852c0168 0x1851e4000 + 901480
3 CoreFoundation 0x00000001852bde6c 0x1851e4000 + 892524
4 CoreFoundation 0x00000001851ecdc0 0x1851e4000 + 36288
5 CFNetwork 0x0000000184a8a074 0x1849dc000 + 712820
6 Foundation 0x0000000186247138 0x186154000 + 995640
7 libsystem_pthread.dylib 0x000000019a90fb3c 0x19a90c000 + 15164
8 libsystem_pthread.dylib 0x000000019a90faa0 0x19a90c000 + 15008
9 libsystem_pthread.dylib 0x000000019a90d030 0x19a90c000 + 4144
Nov 24 00:46:26 huangmingchunde-iPhone ReportCrash[665]: Thread 4 name: com.apple.CFSocket.private
Thread 4:
0 libsystem_kernel.dylib 0x000000019a847408 0x19a82c000 + 111624
1 CoreFoundation 0x00000001852c66d0 0x1851e4000 + 927440
2 libsystem_pthread.dylib 0x000000019a90fb3c 0x19a90c000 + 15164
3 libsystem_pthread.dylib 0x000000019a90faa0 0x19a90c000 + 15008
4 libsystem_pthread.dylib 0x000000019a90d030 0x19a90c000 + 4144
Nov 24 00:46:26 huangmingchunde-iPhone ReportCrash[665]: Thread 5:
0 libsystem_kernel.dylib 0x000000019a846fe8 0x19a82c000 + 110568
1 libsystem_pthread.dylib 0x000000019a90ecfc 0x19a90c000 + 11516
2 SkyWalkerBase 0x00000001001294f8 0x100038000 + 988408
3 SkyWalkerBase 0x00000001001299c8 0x100038000 + 989640
4 SkyWalkerBase 0x0000000100128398 0x100038000 + 983960
5 libsystem_pthread.dylib 0x000000019a90fb3c 0x19a90c000 + 15164
6 libsystem_pthread.dylib 0x000000019a90faa0 0x19a90c000 + 15008
7 libsystem_pthread.dylib 0x000000019a90d030 0x19a90c000 + 4144