I've tried running AppTestLite on my game on an N90 and it comes back
with 4 errors that I can't see as errors in my game.
1: FAILED PKG-04 Uninstall provides complete removal of all files
and the installed data.
The only errors I can see in the log are:
<log time="21.812500" type="dll" name="AtFileSnapshot">NEW
C:\Private\101F7989\</log>
<log time="21.812500" type="dll" name="AtFileSnapshot">NEW
C:\Private\101F7989\sms\</log>
<log time="21.828125" type="dll" name="AtFileSnapshot">NEW
C:\Private\101F7989\sms\smsreast.dat</log>
<log time="21.828125" type="dll" name="AtFileSnapshot">NEW
C:\Private\101F7989\sms\smssegst.dat</log>
<log time="21.828125" type="dll" name="AtFileSnapshot">NEW
C:\Private\101F7989\sms\wapreast.dat</log>
Which indicates the only problem is the test suite itself creating new
files.
2: FAILED PKG-07 UID and version for platform compatibility is
appropriate for the target device.
Not sure what's up here, the relevant parts from my .pkg file are:
#{"Oval Racer"},(0x10003FF4),0,54,0
; Supports Nokia Series60 Platform 2.0 Specific features
(0x10200BAB),0,0,0,{"Series60ProductID"}
Any idea what the problem is?
3: FAILED PHN-01 Service Interruption. (call, SMS, MMS, alarm,
charger)
The relevant part from the log I can see is:
<log time="144.234375" type="dll" name="AppScreenMonitor">Searching
for image 'C:\system\apps\apptestlite\tests\alarm.png'.</log>
<log time="159.375000" type="dll" name="AppScreenMonitor">Timeout
expired. Execution terminated.</log>
I'm guessing it might be to do with the app running in v8.0
compatibilty mode, or that it uses OpenGL ES direct screen access
which might affect the ability of the test suite to read back from the
screen. But it certainly looks fine when I test this manually.
4: FAILED MEM-01 Low Memory Startup.
I've run my own extensive low mem tests which showed up nothing wrong
under WINS. So test it on real hardware I hacked some code into my
start up to alloc then free a huge amount of memory which I could then
move around the startup code to try and narrow down where the error
occured.
It seemed that putting this right at the start still hit the errors
indicating that they are most likely in the system code not mine.
These errors seem to occur before the code even hits my appui
constructl
<log time="3.062500" type="dll" name="AtStartupTester">[heap 24576
bytes] Panic: Font Utilities 0 in phase Construction</log>
<log time="3.125000" type="dll" name="AtStartupTester">[heap 25600
bytes] Panic: Font Utilities 0 in phase Construction</log>
<log time="3.171875" type="dll" name="AtStartupTester">[heap 26624
bytes] Panic: Font Utilities 0 in phase Construction</log>
<log time="3.218750" type="dll" name="AtStartupTester">[heap 27648
bytes] Panic: Font Utilities 0 in phase Construction</log>
<log time="3.265625" type="dll" name="AtStartupTester">[heap 28672
bytes] Panic: Font Utilities 0 in phase Construction</log>
<log time="3.359375" type="dll" name="AtStartupTester">[heap 29696
bytes] Panic: Font Utilities 0 in phase Construction</log>
<log time="3.406250" type="dll" name="AtStartupTester">[heap 30720
bytes] Panic: Font Utilities 0 in phase Construction</log>
<log time="3.468750" type="dll" name="AtStartupTester">[heap 31744
bytes] Panic: Font Utilities 0 in phase Construction</log>
After those when it gets to my massive alloc I then get a ton of the
following errors:
<log time="3.656250" type="dll" name="AtStartupTester">[heap 32768
bytes] leaked 20 heap cell(s), 3 handle(s) and 0 request(s)</log>
<log time="3.828125" type="dll" name="AtStartupTester">[heap 33792
bytes] leaked 20 heap cell(s), 3 handle(s) and 0 request(s)</log>
<log time="4.015625" type="dll" name="AtStartupTester">[heap 34816
bytes] leaked 20 heap cell(s), 3 handle(s) and 0 request(s)</log>
<log time="4.203125" type="dll" name="AtStartupTester">[heap 35840
bytes] leaked 20 heap cell(s), 3 handle(s) and 0 request(s)</log>
with finally later on as the heap gets bigger finally getting a load
of these errors:
<log time="88.515625" type="dll" name="AtStartupTester">[heap 152576
bytes] Panic: KERN-EXEC 3 in phase DestroyEnvironment</log>
<log time="89.656250" type="dll" name="AtStartupTester">[heap 153600
bytes] Panic: KERN-EXEC 3 in phase DestroyEnvironment</log>
All these seem to be happening as a result of hitting my instant leave
where I allocate 200K right at the start of my appui ConstructL so I
can't see they're anything I'm doing wrong.
Does seem a bit much that the we're expected to pass symbian signed
tests haven't even been run on the builit in app startup code.
http://www.GreatApe.com
http://www.Oval-Racer.com