Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: App exceeding limit of 150 wakeups per second over 300 seconds - crash



Permlink Replies: 0
Sebastian Sallmon

Posts: 1
Registered: 7/23/15
App exceeding limit of 150 wakeups per second over 300 seconds - crash
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 27, 2017 4:49 AM
Hi all!

I have a problem when using my app on iOS. The app has a login form, then leads to a main menu form.
From there you can go to several other forms, each of them has a multiview with menu to directly go to the other forms or back to main menu.

If I start the app and go to main menu and then access several forms after each other it looks like always on the 8th form to open (overall) I get the wakeup limit exceed.
This shuts down the app immediate, no chance to debug here.

The error occurs independent in which order I open the forms. So it happens on different forms.
Is there a limit of forms to use on iOS? In simulator I do not get the problem.

iPad mini 3, iOS 10.3.1
XCode 8.3.2
Delphi Berlin 10.1 Update 2 / PAServer 18
same Problem with
Delphi Tokyo 10.2 / PAServer 19
no Problem when using iPhone Simulator (iOS 10.3)

iPads log:
 
Date/Time:       2017-04-26 12:36:15.997215 +0200
OS Version:      iPhone OS 10.3.1 (Build 14E304)
Architecture:    arm64
Report Version:  19
 
Command:         IDEA
Path:            /private/var/containers/Bundle/Application/9AEAB006-13D3-4DB4-B510-BBAA7476AACD/IDEA.app/IDEA
Version:         1.1.5 (1.1.5)
Parent:          launchd [1]
PID:             538
 
Event:           wakeups
Wakeups:         45048 wakeups over the last 156 seconds (288 wakeups per second average), exceeding limit of 150 wakeups per second over 300 seconds
Duration:        156.48s
Steps:           129
 
Hardware model:  iPad4,7
Active cpus:     2
 
 
Powerstats for:  IDEA [538]
UUID:            90A72C40-33AE-39A7-B29F-5B7ED7A9C2ED
Start time:      2017-04-26 12:38:08 +0200
End time:        2017-04-26 12:38:52 +0200
Microstackshots: 129 samples (100%)
Primary state:   117 samples Frontmost App, User mode, Effective Thread QoS User Interactive, Requested Thread QoS User Interactive, Override Thread QoS Unspecified
User Activity:   0 samples Idle, 129 samples Active
Power Source:    0 samples on Battery, 129 samples on AC
  129 start + 4 (libdyld.dylib + 17820) [0x18f3e559c]
    129 ??? (IDEA + 21800048) [0x1014ea470]
      129 ??? (IDEA + 8006508) [0x1007c2b6c]
        129 ??? (IDEA + 6930328) [0x1006bbf98]
          129 ??? (IDEA + 6930436) [0x1006bc004]
            129 UIApplicationMain + 208 (UIKit + 479536) [0x196688130]
              129 GSEventRunModal + 100 (GraphicsServices + 49268) [0x191e40074]
                129 CFRunLoopRunSpecific + 424 (CoreFoundation + 36244) [0x1903d6d94]
                  79  __CFRunLoopRun + 956 (CoreFoundation + 887412) [0x1904a6a74]
                    71  __CFRunLoopDoObservers + 372 (CoreFoundation + 886312) [0x1904a6628]
                      71  __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32 (CoreFoundation + 895392) [0x1904a89a0]
                        33  ??? (IDEA + 7016332) [0x1006d0f8c]
                          15  ??? (IDEA + 8005832) [0x1007c28c8]
                            15  ??? (IDEA + 3413496) [0x1003615f8]
                              15  ??? (IDEA + 3440072) [0x100367dc8]
                                8   ??? (IDEA + 3440396) [0x100367f0c]
                                  8   ??? (IDEA + 8433272) [0x10082ae78]
                                    6   ??? (IDEA + 8422692) [0x100828524]
                                    1   ??? (IDEA + 8422668) [0x10082850c]
                                      1   ??? (IDEA + 62916) [0x10002f5c4]
                                    1   ??? (IDEA + 8422636) [0x1008284ec]
                                6   ??? (IDEA + 3440248) [0x100367e78]
                                1   ??? (IDEA + 8433280) [0x10082ae80]
                          14  ??? (IDEA + 8005796) [0x1007c28a4]
                            12  ??? (IDEA + 3438672) [0x100367850]
                              6   ??? (IDEA + 68708) [0x100030c64]
                              6   ??? (IDEA + 32568) [0x100027f38]
                            2   ??? (IDEA + 3438584) [0x1003677f8]
                          4   ??? (IDEA + 8005768) [0x1007c2888]
                        28  ??? (IDEA + 7016256) [0x1006d0f40]
                          10  ??? (IDEA + 2394540) [0x1002689ac]
                            6   ??? (IDEA + 102564) [0x1000390a4]
                              6   ??? (IDEA + 23009728) [0x1016119c0]
                            4   ??? (IDEA + 102544) [0x100039090]
                          4   ??? (IDEA + 2395688) [0x100268e28]
                            4   ??? (IDEA + 42644) [0x10002a694]
                              4   ??? (IDEA + 104568) [0x100039878]
                          4   ??? (IDEA + 2394156) [0x10026882c]
                            4   ??? (IDEA + 62964) [0x10002f5f4]
                          4   ??? (IDEA + 2394084) [0x1002687e4]
                          3   ??? (IDEA + 2394472) [0x100268968]
                            3   ??? (IDEA + 2393668) [0x100268644]
                              3   __ioctl + 8 (libsystem_kernel.dylib + 124176) [0x18f4f4510]
                                1   <Kernel mode>
                          2   ??? (IDEA + 101764) [0x100038d84]
                          1   ??? (IDEA + 2394244) [0x100268884]
                        6   ??? (IDEA + 7016212) [0x1006d0f14]
                          6   ??? (IDEA + 2396392) [0x1002690e8]
                            6   ??? (IDEA + 32580) [0x100027f44]
                        2   ??? (IDEA + 7016320) [0x1006d0f80]
                        2   _afterCACommitHandler + 132 (UIKit + 10020) [0x196615724]
                          2   objc_release + 12 (libobjc.A.dylib + 148060) [0x18ef7825c]
                    6   __CFRunLoopDoObservers + 244 (CoreFoundation + 886184) [0x1904a65a8]
                      6   _CFRetain + 88 (CoreFoundation + 10944) [0x1903d0ac0]
                    2   CFArrayGetValueAtIndex + 60 (CoreFoundation + 31400) [0x1903d5aa8]
                  26  __CFRunLoopRun + 1484 (CoreFoundation + 887940) [0x1904a6c84]
                    24  __CFRunLoopDoTimers + 244 (CoreFoundation + 897120) [0x1904a9060]
                      15  __CFRunLoopDoTimer + 856 (CoreFoundation + 898976) [0x1904a97a0]
                        15  __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28 (CoreFoundation + 899740) [0x1904a9a9c]
                          9   __NSFireTimer + 88 (Foundation + 1095520) [0x190fef760]
                            9   ??? (IDEA + 21800896) [0x1014ea7c0]
                              9   ??? (IDEA + 6810800) [0x10069ecb0]
                                9   ??? (IDEA + 8174288) [0x1007ebad0]
                                  7   ??? (IDEA + 8176844) [0x1007ec4cc]
                                    5   ??? (IDEA + 8051176) [0x1007cd9e8]
                                      5   ??? (IDEA + 62984) [0x10002f608]
                                        5   ??? (IDEA + 32924) [0x10002809c]
                                          5   ??? (IDEA + 8194600) [0x1007f0a28]
                                            5   ??? (IDEA + 69056) [0x100030dc0]
                                              5   ??? (IDEA + 33848) [0x100028438]
                                                5   ??? (IDEA + 35120) [0x100028930]
                                                  5   ??? (IDEA + 96400) [0x100037890]
                                                    4   ??? (IDEA + 161500) [0x1000476dc]
                                                    1   ??? (IDEA + 161784) [0x1000477f8]
                                                      1   ??? (IDEA + 165132) [0x10004850c]
                                    2   ??? (IDEA + 8050860) [0x1007cd8ac]
                                      2   ??? (IDEA + 8205768) [0x1007f35c8]
                                        2   ??? (IDEA + 97948) [0x100037e9c]
                                  2   ??? (IDEA + 8176540) [0x1007ec39c]
                                    2   ??? (IDEA + 8050860) [0x1007cd8ac]
                                      2   ??? (IDEA + 8206228) [0x1007f3794]
                                        2   ??? (IDEA + 96788) [0x100037a14]
                                          2   ??? (IDEA + 62892) [0x10002f5ac]
                          4   ??? (IDEA + 21816704) [0x1014ee580]
                            4   ??? (IDEA + 21800820) [0x1014ea774]
                              2   ??? (IDEA + 23009288) [0x101611808]
                              2   ??? (IDEA + 23009292) [0x10161180c]
                          2   __NSFireTimer + 120 (Foundation + 1095552) [0x190fef780]
                            2   _CFRelease + 132 (CoreFoundation + 904140) [0x1904aabcc]
                      4   __CFRunLoopDoTimer + 1368 (CoreFoundation + 899488) [0x1904a99a0]
                        4   __CFTimeIntervalUntilTSR + 32 (CoreFoundation + 1212608) [0x1904f60c0]
                      2   __CFRepositionTimerInMode + 0 (CoreFoundation + 889836) [0x1904a73ec]
                      2   __CFRunLoopDoTimer + 1412 (CoreFoundation + 899532) [0x1904a99cc]
                        2   __CFRepositionTimerInMode + 108 (CoreFoundation + 889944) [0x1904a7458]
                          2   __CFArrayReleaseValues + 0 (CoreFoundation + 629884) [0x190467c7c]
                      1   __CFRunLoopDoTimer + 320 (CoreFoundation + 898440) [0x1904a9588]
                        1   mk_timer_arm + 8 (libsystem_kernel.dylib + 5004) [0x18f4d738c]
                          1   <Kernel mode>
                    2   __CFRunLoopDoTimers + 156 (CoreFoundation + 897032) [0x1904a9008]
                      2   +[__NSArrayM __new:::] + 48 (CoreFoundation + 1170756) [0x1904ebd44]
                        2   __CFAllocateObject2 + 24 (CoreFoundation + 1264096) [0x1905029e0]
                          2   class_createInstance + 80 (libobjc.A.dylib + 82276) [0x18ef68164]
                  9   __CFRunLoopRun + 1060 (CoreFoundation + 887516) [0x1904a6adc]
                    9   __CFRunLoopServiceMachPort + 192 (CoreFoundation + 896648) [0x1904a8e88]
                      9   mach_msg_trap + 8 (libsystem_kernel.dylib + 4644) [0x18f4d7224]
                        3   <Kernel mode>
                  7   __CFRunLoopRun + 844 (CoreFoundation + 887300) [0x1904a6a04]
                    7   __CFRunLoopServiceMachPort + 192 (CoreFoundation + 896648) [0x1904a8e88]
                      7   mach_msg_trap + 8 (libsystem_kernel.dylib + 4644) [0x18f4d7224]
                        7   <Kernel mode>
                  4   __CFRunLoopRun + 744 (CoreFoundation + 887200) [0x1904a69a0]
                    4   __CFRunLoopDoSources0 + 124 (CoreFoundation + 895988) [0x1904a8bf4]
                      4   CFSetApplyFunction + 224 (CoreFoundation + 32560) [0x1903d5f30]
                        4   CFBasicHashApply + 132 (CoreFoundation + 32768) [0x1903d6000]
                          4   __CFSetApplyFunction_block_invoke + 24 (CoreFoundation + 33216) [0x1903d61c0]
                            4   __CFRunLoopCollectSources0 + 28 (CoreFoundation + 897832) [0x1904a9328]
                  4   mach_absolute_time + 32 (libsystem_kernel.dylib + 4108) [0x18f4d700c]
 
  Binary Images:
         0x100020000 -                ???  IDEA.mobile 1.1.5 (1.1.5) <90A72C40-33AE-39A7-B29F-5B7ED7A9C2ED> /private/var/containers/Bundle/Application/9AEAB006-13D3-4DB4-B510-BBAA7476AACD/IDEA.app/IDEA
         0x18ef54000 -        0x18f331fff  libobjc.A.dylib <64C3C5A5-6C7A-30C3-9FF4-A3EC74426CF4> /usr/lib/libobjc.A.dylib
         0x18f3e1000 -        0x18f3e5fff  libdyld.dylib <649EB4FD-79BF-3086-9584-B3EC86B6BCBC> /usr/lib/system/libdyld.dylib
         0x18f4d6000 -        0x18f4fafff  libsystem_kernel.dylib <2CCF4DB3-3C32-3A68-B059-42B8375B90C2> /usr/lib/system/libsystem_kernel.dylib
         0x1903ce000 -        0x19074ffff  com.apple.CoreFoundation 6.9 (1349.56) <106DCFDA-E2AC-31B9-AF16-E54E3FDB49BE> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
         0x190ee4000 -        0x1911b3fff  com.apple.Foundation 6.9 (1349.55) <73FF2B76-D90F-3C90-B010-8F6E36E3B71F> /System/Library/Frameworks/Foundation.framework/Foundation
         0x191e34000 -        0x191e48fff  com.apple.GraphicsServices 1.0 (1.0) <93B59704-4B52-3474-9061-BB64DDF8ADAE> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
         0x196613000 -        0x1973bafff  com.apple.UIKit 1.0 (1000) <D978EB03-0EA3-33B0-B02C-F5A28CC8CD4F> /System/Library/Frameworks/UIKit.framework/UIKit
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02