Recently I found our agent which runs on Palm Camino device sometimes got crash. The crash mix up with Progress bar, TCP connection and Configuration modules.
Here is release notes relates to the issue
1. This issue is as same as the issue in last 3.6.6 build, still not exactly knows why; Base on the behavior and fix, I think it relates to common code stack usage overflow. The fix is just restructuring the code to make it consumes less stack memory, no code logic change.
2. We don’t exactly know what cause the 6534 issue, but we found if we tried to reduce memory usage, the stability issue would be improved. In SC3.6.8 build, SmartCare definitely would crash in TCP configuration, after we restructured the code, this is not definitely happen, but we still can see at some point SmartCare would crash, so for now we decided to remove the progress bar and tried to consume less memory to make SmartCare more stable. So far I didn’t get any crash report on SC3.6.9 build.
Finally I think it may relates to SMS handing architecture in our agent. Before, we register SMS handler to the system and when SMS request comes in, system will wake agent up, and agent will work base on the request. As features and functions increase in the code, the memory and time consuming would be a problem as a SMS event handler which I think it is the major reason of unstable issue. So I changed the this part of the agent, use two phase wake up process, in the SMS evnet handler, I just scan if the sms is our own request, if it is, then copy it and use SysNotifyBroadcastDeferred to pass the SMS to the agent again. Now so far so good, the unstable issue seems fixed.
Frank is a Software Engineer with rich experiences on messeging system, embedded system and communication system development. This is his work notes.
Tuesday, June 27, 2006
Subscribe to:
Post Comments (Atom)
1 comment:
Hi,
I keep coming to this website[url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips].[/url]frank-worknotes.blogspot.com is filled with quality info. I am sure due to busy scedules we really do not get time to care about our health. Let me show you one truth. Research shows that about 80% of all USA grownups are either obese or overweight[url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips].[/url] Therefore if you're one of these people, you're not alone. Infact many among us need to lose 10 to 20 lbs once in a while to get sexy and perfect six pack abs. Now the question is how you are planning to have quick weight loss? You can easily lose with with little effort. Some improvement in of daily activity can help us in losing weight quickly.
About me: I am writer of [url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips]Quick weight loss tips[/url]. I am also health trainer who can help you lose weight quickly. If you do not want to go under difficult training program than you may also try [url=http://www.weightrapidloss.com/acai-berry-for-quick-weight-loss]Acai Berry[/url] or [url=http://www.weightrapidloss.com/colon-cleanse-for-weight-loss]Colon Cleansing[/url] for fast weight loss.
Post a Comment