one way to test this would be to find a way to protect sense so that the system knows never to close it. is this possible?
Yes.
Processes are categorized by their user privileges. The HTC Launcher runs as user nobody - originally intended for things like nfs in unix, but now extended to the launcher and from my understanding a very few other things such as vpn.
User-nobody processes _should_ be immune from the normal Android housekeeping as critical services. I've attached a copy of a process snapshot I took a while ago; as I'm rooted and hateful of bundleware it's missing a few processes but it substantiates that the launcher does run as nobody.
View attachment sample_of_stock_evo_processes.pdf
yep i think its the fact your running out of Resources. i had the acircuit board wallpaper and one version was leaking into memory, eating up memory and precious resources. i would go to another screen or app, etc then back out or head back "home" and the htc white screen would show up and then restart up wallpaper. i was perplexed as to would could be the issue when i saw it was the wallpaper with the mem leak..
the point here is if you are low on ram/system resources then this can occur...
Yeap - when processes ramble out of control, dogs sleep with cats and rain rises from the ground.
Highly disturbing that such a resource hogging would lead to that sort of violation. The wallpaper may have other nefarious traits such as too many flags allowing system access - and could well represent an exploration into exploiting Android as malware.
I sure wish we could create a blacklist of known apps that are not to be trusted under any circumstances. If I ever figure out a way to make those evaluations or find somebuddy who is, I'm going to be making the case for a sticky on that subject, as in pronto. (Such a thread would require _close_ moderation so as to not be the subject of evil devs casting doubts on their competitors. Slippery slope? No. While philosophies of good and evil will follow humankind to its end, right from wrong is something a child can be taught.)
As for circuit board wallpaper - may I recommend the pictures from step 13 or 14 of
HTC Evo 4G Teardown - Page 2 - iFixit
Those are copyrighted and protected by Creative Commons license, but the owner has graciously allowed for non-commercial use (the reason I've linked to the web source rather than the image(s)); mouse-over to get a View Huge link.
~~~~~~~
For whatever reason, things can get tangled and by things I mean data and by tangled I mean tangled.
Here's what I was pointing at in Section 5 of
http://androidforums.com/support-troubleshooting-evo-4g/141369-how-fix-froyo.html:
FIX: “The Application HTC Sense (process com.htc.launcher) has stopped unexpectedly”
It gives 2.1 instructions for how to find the data to clear out - simply go to the All tab once in app management to adapt to 2.2 - the article ends with the warning that you might have to go so far as a factory reset if the suggested method fails, and that's why I thought it best to point to the How-to thread to find that link.
It's possible that non-uncontrolled apps (those that are not nefarious or simply suffering from the abject stoopidity that is a core leak) might only need to be untangled with factory reset rather than called out as culprits.
Whatever's left over should be considered a culprit. I've seen cases here where WidgetLocker is indeed causing trouble for others in some ways, so if a problem persists after all else fails, maybe try there - but I'd like us to _know_ before we start slagging apps that might be innocent.
Anyway, these are my opinions and I hope this is somehow helpful.
Edit and PS - People suffering from random reboots have had the zygote process taken out of commission, proof that nothing is immune to an uncontrolled situation in Android. That is sometimes fixed with a factory reset, but can sometimes also require a particular GPS fix requiring Sprint's help. In other cases a reprovisioning is needed - also with Sprint's help.
The only rule I live by in Android is that when theory and observations disagree, throw out the theory.