windows mobile keeps hanging on me

No technical advice or progress in this post, just a rant.

In my work to get the unittests running on Windows Mobile, I have found that my device locks up quite frequently and requiring a reseat of the battery. Fair enough, but this really eats into my day after about 20 of these.

So here is what I see. During startup of fennec.exe, we load a lot of .dll files. Here is a full clip from the vs debugger window:

CertVerify: \tests\fennec\xulrunner\nspr4.dll trust = 2
CertVerify: \tests\fennec\xulrunner\plc4.dll trust = 2
CertVerify: \tests\fennec\xulrunner\plds4.dll trust = 2
CertVerify: \tests\fennec\xulrunner\sqlite3.dll trust = 2
CertVerify: \tests\fennec\xulrunner\nssutil3.dll trust = 2
CertVerify: \tests\fennec\xulrunner\softokn3.dll trust = 2
CertVerify: \tests\fennec\xulrunner\nss3.dll trust = 2
CertVerify: \tests\fennec\xulrunner\ssl3.dll trust = 2
CertVerify: \tests\fennec\xulrunner\smime3.dll trust = 2
CertVerify: \tests\fennec\xulrunner\js3250.dll trust = 2
CertVerify: \tests\fennec\xulrunner\xul.dll trust = 2
CertVerify: \tests\fennec\xulrunner\xpcom.dll trust = 2
CertVerify: \tests\fennec\xulrunner\components\xpcomsmp.dll trust = 2
Undefined Instruction: Thread=89bc4000 Proc=80458b10 'fennec.exe'
AKY=02000001 PC=795866e8(js3250.dll+0x000c66e8) RA=79562f6c(js3250.dll+0x000a2f6c) BVA=045fc000 FSR=00000805
Undefined Instruction: Thread=89bc4000 Proc=80458b10 'fennec.exe'
AKY=02000001 PC=795866e0(js3250.dll+0x000c66e0) RA=79562e98(js3250.dll+0x000a2e98) BVA=35010160 FSR=00000005
Undefined Instruction: Thread=89bc4000 Proc=80458b10 'fennec.exe'
AKY=02000001 PC=795866f0(js3250.dll+0x000c66f0) RA=79562f14(js3250.dll+0x000a2f14) BVA=35010160 FSR=00000005
CertVerify: \tests\fennec\xulrunner\components\tdynamic.dll trust = 2
[K] Time[2009/07/29 10:52:00]

We have 3 “expected” undefined instructions to determine the chipset, then we keep loading .dll files and eventually the program.

As you can see, the last line is a “[K] Time[2009/07/29 10:52:00]”. This message does not mean the device is hung as during a successful run I can see these quite often while actually running tests or using the browser, but for some reason the majority of the time I see that message the device is hung. Also what makes this interesting is this hang occurs at different places during the load (and sometimes runtime) cycle.

All workarounds are welcome:)

Advertisements

1 Comment

Filed under general, testdev

One response to “windows mobile keeps hanging on me

  1. Pingback: windows mobile keeps hanging on me « 3.1415926535897932384626433…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s