Posts

Post not yet marked as solved
3 Replies
1.9k Views
i have an universal app, but recently, i received some iPad user(without any iPhone user) feedback, the app couldn't launch sometimes, user need tap the icon for 6,7times, and after entered the app, and the app will back to home screen randomly.after log with some user apps, we found some times ios system start call our application delegate from- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptionsand most times start call with- (void)applicationDidEnterBackground:(UIApplication *)application - (void)applicationWillEnterForeground:(UIApplication *)applicationand when user force quit our app, the method terminate not called.- (void)applicationWillTerminate:(UIApplication *)applicationadditional informationour app has background audio play running modes.the following logs form user device consoleApr 4 17:45:01 lizhide-iPad trustd[103] <Notice>: cert[0]: MissingIntermediate =(leaf)[force]> 0<SBMainWorkspaceTransitionRequest: 0x28102e980; eventLabel: SBUIApplicationIconLaunchEventLabel; display: Main; source: HomeScreen> { applicationContext = <SBWorkspaceApplicationSceneTransitionContext: 0x2809537b0; background: NO> entities = { SBLayoutRolePrimary = <SBDeviceApplicationSceneEntity: 0x281de8640; ID: #our app bundle id#; layoutRole: primary>; };} settings = <SBAppStatusBarSettings: 0x283c37f10; alpha: 0.000000; style: 0x0; legibilitySettings: 0x0; styleOverridesToCancel: 0>; level = app switcher; reason = App Switcher Visible;} creationDate = 2019\M-e\M-9\M-44\M-f\M^\\M^H4\M-f\M^W\M-% GMT+8 \M-d\M-8\M^K\M-e\M^M\M^H5:45:03; keepsImageAccessUntilExpiration = NO; hasGenerationContext = NO; context = { contentType = GeneratedDefault; fullScreen = YES; referenceSize = {768, 1024}; contentFrame = {{0, 0}, {768, 1024}}; interfaceOrientation = LandscapeLeft; additionalContext = { statusBarSettings = <XBStatusBarSettings: 0x283c39d60; hidden: NO; style: 0x0; backgroundActivityEnabled: NO>; } } imageContext = { scale = 2.0; opaque = YES; fileRelativeLocation = none; }}entries =>0 : <CFString 0x10f5688a0 [0x20a00d610]>{contents = "pid"} = <CFNumber 0x9273b42081cc3255 [0x20a00d610]>{value = +333, type = kCFNumberSInt64Type}1 : <CFString 0x10f599280 [0x20a00d610]>{contents = "bundleID"} = <CFString 0x10f5535b0 [0x20a00d610]>{contents = "inhouse.fenbi.ape.gwy"}2 : <CFString 0x1048c2510 [0x20a00d610]>{contents = "HighFrequency"} = <CFBoolean 0x20a0135f0 [0x20a00d610]>{value = true}}inactive:1 owner = <BSProcessHandle: 0x10260dc50; SpringBoard:50; valid: YES>; flags = preventSuspend, preventThrottleDownUI, preventThrottleDownCPU, preventSuspendOnSleep;} owner = <BSProcessHandle: 0x10260dc50; SpringBoard:50; valid: YES>; flags = preventSuspend, preventThrottleDownUI, preventThrottleDownCPU, preventSuspendOnSleep;} owner = <BSProcessHandle: 0x102722f80; filecoordinatio:194; valid: YES>; flags = preventSuspend, preventThrottleDownCPU, preventIdleSleep, preventSuspendOnSleep;} flags = preventSuspend, preventThrottleDownCPU, preventIdleSleep, preventSuspendOnSleep;} owner = <BSProcessHandle: 0x102722f80; filecoordinatio:194; valid: YES>; flags = preventSuspend, preventThrottleDownCPU, preventIdleSleep, preventSuspendOnSleep;} owner = <BSProcessHandle: 0x102722f80; filecoordinatio:194; valid: YES>; flags = preventSuspend, preventThrottleDownCPU, preventIdleSleep, preventSuspendOnSleep;}[<private> <private>:59280<-><private>:80]Init: 1, Conn_Time: 50.134ms, Syn's: 1, WR_T: 0/0, RD_T: 0/0, TFO: 0/0/0, ECN: 0/0/0, TS: 1RTT_Cache: process, rtt_upd: 2, rtt: 62.562ms, rtt_var: 20.812ms rtt_nc: 46.875ms, rtt_var_nc: 17.875msted. Error: (null)[C1 <private> 192.168.0.102:59278<->IPv4#f7e1179b:80]Connected Path: satisfied (Path is satisfied), interface: en0, ipv4, dnsDuration: 0.136s, , TCP @0.001s took 0.001sbytes in/out: 136/237, packets in/out: 2/1, rtt: 0.065s, retransmitted packets: 0, out-of-order packets: 0[C6 <private> 192.168.0.102:59283<->IPv4#f7e1179b:80]Connected Path: satisfied (Path is satisfied), interface: en0, ipv4, dnsDuration: 0.110s, , TCP @0.000s took 0.001sbytes in/out: 136/237, packets in/out: 2/1, rtt: 0.063s, retransmitted packets: 0, out-of-order packets: 0[C4 <private> 192.168.0.102:59281<->IPv4#f7e1179b:80]Connected Path: satisfied (Path is satisfied), interface: en0, ipv4, dnsDuration: 0.125s, , TCP @0.000s took 0.000sbytes in/out: 136/237, packets in/out: 2/1, rtt: 0.064s, retransmitted packets: 0, out-of-order packets: 0[<private> <private>:59282<-><private>:80]Init: 1, Conn_Time: 58.544ms, Syn's: 1, WR_T: 0/0, RD_T: 0/0, TFO: 0/0/0, ECN: 0/0/0, TS: 1RTT_Cache: process, rtt_upd: 2, rtt: 65.593ms, rtt_var: 15.125ms rtt_nc: 54.500ms, rtt_var_nc: 22.875ms} owner = <BSProcessHandle: 0x102722f80; filecoordinatio:194; valid: YES>; flags = preventSuspend, preventThrottleDownCPU, preventIdleSleep, preventSuspendOnSleep;} owner = <BSProcessHandle: 0x102722f80; filecoordinatio:194; valid: YES>; flags = preventSuspend, preventThrottleDownCPU, preventIdleSleep, preventSuspendOnSleep;} owner = <BSProcessHandle: 0x10266a400; XC:333; valid: YES>; flags = preventSuspend, preventIdleSleep, preventSuspendOnSleep;} owner = <BSProcessHandle: 0x10266a400; XC:333; valid: YES>; flags = preventSuspend, preventIdleSleep, preventSuspendOnSleep;}tSuspend, preventThrottleDownUI, preventThrottleDownCPU, preventSuspendOnSleep (assertion 0x10273c510 added: (none); removed: preventIdleSleep)nd[60] <Notice>: [XC:333] Attempting to acquire assertion for XC:333: <BKProcessAssertion: 0x10265cbe0; "Shared Background Assertion 7 for #our app bundle id#" (finishTask:180s); id:\M-b\M^@\M-&22E69D1778F2>ad powerd[34] <Notice>: Process assertiond.60 Released SystemIsActive "XC:333:194-96EB51E5-37B3-4D46-8573-C667DFCF1329 [File Coordination Claim 692526C5-CA02-4743-9FCC-D5E47930176D] [0x10273c510]" age:00:00:00 id:51539642224 [System: SysAct]b)[333] <Notice>: nw_connection_report_state_with_handler_locked [C24] reporting state preparing[<private> <private>:59295<-><private>:80]Init: 1, Conn_Time: 49.112ms, Syn's: 1, WR_T: 0/0, RD_T: 0/0, TFO: 0/0/0, ECN: 0/0/0, TS: 1RTT_Cache: process, rtt_upd: 2, rtt: 65.218ms, rtt_var: 33.437ms rtt_nc: 44.500ms, rtt_var_nc: 22.625ms[C22 <private> 192.168.0.102:59295<->IPv4#f7e1179b:80]Connected Path: satisfied (Path is satisfied), interface: en0, ipv4, dnsDuration: 0.079s, , TCP @0.000s took 0.000sbytes in/out: 2983/237, packets in/out: 3/1, rtt: 0.065s, retransmitted packets: 0, out-of-order packets: 0[<private> <private>:59286<-><private>:80]Init: 1, Conn_Time: 78.515ms, Syn's: 1, WR_T: 0/0, RD_T: 0/0, TFO: 0/0/0, ECN: 0/0/0, TS: 1RTT_Cache: process, rtt_upd: 2, rtt: 73.062ms, rtt_var: 22.187ms rtt_nc: 67.250ms, rtt_var_nc: 36.500ms[C13 <private> 192.168.0.102:59286<->IPv4#f2a6a367:80]Connected Path: satisfied (Path is satisfied), interface: en0, ipv4, dnsDuration: 0.122s, , TCP @0.000s took 0.000sbytes in/out: 2983/207, packets in/out: 3/1, rtt: 0.073s, retransmitted packets: 0, out-of-order packets: 0[<private> <private>:59292<-><private>:80]Init: 1, Conn_Time: 55.463ms, Syn's: 1, WR_T: 0/0, RD_T: 0/0, TFO: 0/0/0, ECN: 0/0/0, TS: 1RTT_Cache: process, rtt_upd: 2, rtt: 69.500ms, rtt_var: 25.187ms rtt_nc: 52.625ms, rtt_var_nc: 20.750ms[C19 <private> 192.168.0.102:59292<->IPv4#f7e1179b:80]Connected Path: satisfied (Path is satisfied), interface: en0, ipv4, dnsDuration: 0.122s, , TCP @0.000s took 0.000sbytes in/out: 136/237, packets in/out: 2/1, rtt: 0.069s, retransmitted packets: 0, out-of-order packets: 0 flags = preventSuspend, preventIdleSleep, preventSuspendOnSleep;}[<private> <private>:59294<-><private>:80]Init: 1, Conn_Time: 54.218ms, Syn's: 1, WR_T: 0/0, RD_T: 0/0, TFO: 0/0/0, ECN: 0/0/0, TS: 1RTT_Cache: process, rtt_upd: 2, rtt: 70.156ms, rtt_var: 23.812ms rtt_nc: 52.500ms, rtt_var_nc: 22.125ms BKSApplicationStateExtensionKey = 0; SBApplicationStateDisplayIDKey = "#our app bundle id#"; SBApplicationStateKey = 0; SBApplicationStateProcessIDKey = 333; SBApplicationStateRunningReasonsKey = ( { SBApplicationStateRunningReasonAssertionIdentifierKey = Resume; SBApplicationStateRunningReasonAssertionReasonKey = 10000; }, { SBApplicationStateRunningReasonAssertionIdentifierKey = "Shared Background Assertion 8 for inhouse.fenbi.ape.gwy"; SBApplicationStateRunningReasonAssertionReasonKey = 4; } );}Symbolication may be possible by manually cleaning up and including the Binary Image section of a full report from this same device -- good luck!Path: /private/var/containers/Bundle/Application/459B4666-CE0E-4D1C-B64E-C36E15C31FB7/XC.app/XCOS Version: iPhone OS 12.1.4 (16D57)Thread 0 Crashed:0 libsystem_kernel.dylib 0x00000001d9d63104 0x1d9d40000 + 1436201 libsystem_pthread.dylib 0x00000001d9ddf020 0x1d9ddd000 + 82242 libsystem_c.dylib 0x00000001d9cbae1c 0x1d9c63000 + 3599643 libsystem_c.dylib 0x00000001d9cbb65c 0x1d9c63000 + 3620764 XC 0x000000010134f250 0x100fa8000 + 38303525 ??? 0x5de178e4f4dc4fc5 0 + 67648210400431513010 libsystem_pthread.dylib 0x00000001d9debce8 0x1d9ddd000 + 606481 libsystem_kernel.dylib 0x00000001d9d5737c 0x1d9d40000 + 951002 CoreFoundation 0x00000001da15dad8 0x1da0b1000 + 7072883 CoreFoundation 0x00000001da158974 0x1da0b1000 + 6864524 CoreFoundation 0x00000001da1580e0 0x1da0b1000 + 6842565 Foundation 0x00000001dab4e494 0x1dab46000 + 339406 Foundation 0x00000001dab89e84 0x1dab46000 + 2781487 Foundation 0x00000001dac8123c 0x1dab46000 + 12908128 libsystem_pthread.dylib 0x00000001d9de825c 0x1d9ddd000 + 456609 libsystem_pthread.dylib 0x00000001d9de81bc 0x1d9ddd000 + 4550010 libsystem_pthread.dylib 0x00000001d9debcf4 0x1d9ddd000 + 60660Thread 6:0 libsystem_kernel.dylib 0x00000001d9d57ea4 0x1d9d40000 + 979561 libsystem_kernel.dylib 0x00000001d9d5737c 0x1d9d40000 + 951002 CoreFoundation 0x00000001da15dad8 0x1da0b1000 + 7072883 CoreFoundation 0x00000001da158974 0x1da0b1000 + 6864524 CoreFoundation 0x00000001da1580e0 0x1da0b1000 + 6842565 Foundation 0x00000001dab4e494 0x1dab46000 + 339406 Foundation 0x00000001dab4e340 0x1dab46000 + 336007 UIKitCore 0x00000002071d50c4 0x2067fc000 + 103262128 Foundation 0x00000001dac8123c 0x1dab46000 + 12908129 libsystem_pthread.dylib 0x00000001d9de825c 0x1d9ddd000 + 4566010 libsystem_pthread.dylib 0x00000001d9de81bc 0x1d9ddd000 + 4550011 libsystem_pthread.dylib 0x00000001d9debcf4 0x1d9ddd000 + 606600 libsystem_kernel.dylib 0x00000001d9d57ea4 0x1d9d40000 + 979561 libsystem_kernel.dylib 0x00000001d9d5737c 0x1d9d40000 + 951002 libdispatch.dylib 0x00000001d9bbc2d0 0x1d9ba5000 + 949283 libdispatch.dylib 0x00000001d9bbc764 0x1d9ba5000 + 961004 libxpc.dylib 0x00000001d9e1fea0 0x1d9e15000 + 447045 BaseBoard 0x00000001dc9e8594 0x1dc9e7000 + 55246 BaseBoard 0x00000001dc9e8194 0x1dc9e7000 + 45007 AssertionServices 0x00000001dca696a4 0x1dca5a000 + 631408 AssertionServices 0x00000001dca634f4 0x1dca5a000 + 381329 AssertionServices 0x00000001dca66fec 0x1dca5a000 + 5322810 AssertionServices 0x00000001dca66c18 0x1dca5a000 + 5224811 libdispatch.dylib 0x00000001d9c056c8 0x1d9ba5000 + 39495212 libdispatch.dylib 0x00000001d9c06484 <\M-b\M^@\M-&>Thread 12:0 libsystem_kernel.dylib 0x00000001d9d62f0c 0x1d9d40000 + 1431161 libsystem_pthread.dylib 0x00000001d9de0c88 0x1d9ddd000 + 154962 Foundation 0x00000001dabbc838 0x1dab46000 + 4854323 Foundation 0x00000001dab76d80 0x1dab46000 + 2000644 CoreFoundation 0x00000001da13c83c 0x1da0b1000 + 5714525 CoreFoundation 0x00000001da13c808 0x1da0b1000 + 5714006 CoreFoundation 0x00000001da13bcf8 0x1da0b1000 + 5685687 CoreFoundation 0x00000001da13b9a4 0x1da0b1000 + 5677168 CoreFoundation 0x00000001da0b3b80 0x1da0b1000 + 111369 CoreFoundation 0x00000001da13b430 0x1da0b1000 + 56632010 Foundation 0x00000001dab4cca0 0x1dab46000 + 2780811 Pasteboard 0x00000001ef686f6c 0x1ef678000 + 6129212 libsystem_notify.dylib <\M-b\M^@\M-&>eFoundation 0x00000001da158974 0x1da0b1000 + 6864524 CoreFoundation 0x00000001da1580e0 0x1da0b1000 + 6842565 Foundation 0x00000001dab4e494 0x1dab46000 + 339406 Foundation 0x00000001dab89e84 0x1dab46000 + 2781487 XC 0x0000000101f13474 0x100fa8000 + 161680528 Foundation 0x00000001dac8123c 0x1dab46000 + 12908129 libsystem_pthread.dylib 0x00000001d9de825c 0x1d9ddd000 + 4566010 libsystem_pthread.dylib 0x00000001d9de81bc 0x1d9ddd000 + 4550011 libsystem_pthread.dylib 0x00000001d9debcf4 0x1d9ddd000 + 60660 stateAtExit = <FBProcessState: 0x283fcb900; pid: 333; taskState: Not Running; visibility: Unknown>;} SBLayoutRolePrimary = <SBHomeScreenEntity: 0x2827651c0; ID: com.apple.SpringBoard.workspace-entity.builtin.home-screen; layoutRole: primary>; };} 42 = "SBAttentionAwareIdleTimerTimeoutContext - expectation: quickWarn"; 40 = "SBAttentionAwareIdleTimerTimeoutContext - expectation: warn"; 60 = "SBAttentionAwareIdleTimerTimeoutContext - expectation: expiration";}, configuration generation: 220 42 = "SBAttentionAwareIdleTimerTimeoutContext - expectation: quickWarn"; 40 = "SBAttentionAwareIdleTimerTimeoutContext - expectation: warn"; 60 = "SBAttentionAwareIdleTimerTimeoutContext - expectation: expiration";}, configuration generation: 221 settings = <SBAppStatusBarSettings: 0x283c37f10; alpha: 0.000000; style: 0x0; legibilitySettings: 0x0; styleOverridesToCancel: 0>; level = app switcher; reason = App Switcher Visible;} 42 = "SBAttentionAwareIdleTimerTimeoutContext - expectation: quickWarn"; 40 = "SBAttentionAwareIdleTimerTimeoutContext - expectation: warn"; 60 = "SBAttentionAwareIdleTimerTimeoutContext - expectation: expiration";}, configuration generation: 222{name: BatteryLevelPolicy, policyWeight: 1.000, response: {Decision: Can Proceed, Score: 0.78, Rationale: [{batteryLevel == 54}]}}{name: DeviceActivityPolicy, policyWeight: 10.000, response: {Decision: Can Proceed, Score: 0.27}}{name: ChargerPluggedInPolicy, policyWeight: 10.000, response: {Decision: Can Proceed, Score: 0.50, Rationale: [{isCharging == 0 AND expectedLongCharge == 0}]}}] sumScores:28.968971, denominator:41.520000, FinalDecision: Can Proceed FinalScore: 0.697711}{name: ChargerPluggedInPolicy, policyWeight: 20.000, response: {Decision: Must Not Proceed, Score: 0.00, Rationale: [{isCharging == 0 AND expectedLongCharge == 0}]}}], FinalDecision: Must Not Proceed}{name: FileProtectionPolicy, policyWeight: 0.010, response: {Decision: Absolutely Must Not Proceed, Score: 0.00, Rationale: [{classALocked == 0 AND activityFileProtection == <File Protection: Class B>}]}}{name: ChargerPluggedInPolicy, policyWeight: 20.000, response: {Decision: Must Not Proceed, Score: 0.00, Rationale: [{isCharging == 0 AND expectedLongCharge == 0}]}}], FinalDecision: Absolutely Must Not Proceed}i want to know the possbile reasons for this probolem. and how to make our app be normal using, is there some usefull information for us to reslove the probolem. thanks!
Posted
by devC.
Last updated
.