openGeeksLab / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Excessive WAKEUPS with new iOS VM #1373

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The attached app runs fine, there is no issue as far as the user is concerned.

However after running the app there is a crash log on the device:

Exception Type:  EXC_RESOURCE
Exception Subtype: WAKEUPS
Exception Message: (Limit 150/sec) Observed 1081/sec over 300 secs
Triggered by Thread:  5 

In order to run this app you will need to set the property 
ios.fileSharingEnabled to true and you will need to copy the sample data file 
to the app on your device using iTunes.

Run the app and click on start. When the import completes, check the device for 
a crash log.

Sample program, test data file and crash log attached.

Original issue reported on code.google.com by mwarn...@readerware.com on 25 Feb 2015 at 6:17

Attachments:

GoogleCodeExporter commented 8 years ago
How to reproduce:
1. extract attached testcase.zip
2. copy tmp.sql into src folder of eclipse project
3. copy TestCase.java into src/userclasses folder of eclipse project
4. run test: new TestCase().runTest();

script runs correctly in simulator, Android, iOS newVM=false, xcode=5.0
and fails on iOS newVM=true, xcode=6.0

Original comment by ivan.ila...@gmail.com on 26 Mar 2015 at 8:10

Attachments: