Does your XPe have Perfmon available? Nearly all the issues I've seen with embedded XP turned out to be due to a lack of memory (even the disk and cached changes use memory, right?) and the symptoms were typically hangs or crashes from code.
What can code do if it gets "no memory" results from APIs? I suspect much of it reacts badly (or at least doesn't or can't tell you about it). Phil Wilson -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Peter Osucha Sent: Thursday, February 21, 2008 9:21 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] Multiple Threads and app lockup Thank you both. It might also be an extremely long timeout issue. Either way, I appreciate the suggestions. Hopefully they will get me back on track. Sincerely, Peter -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Greg Young Sent: Thursday, February 21, 2008 12:12 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] Multiple Threads and app lockup The next time it locks up take a memory dump of the application and load it up on your development machine ... you can then get in with SOS and see if any threads are dead locked. http://blogs.msdn.com/tess/archive/2006/01/11/back-to-basics-how-do-i-ge t-the-memory-dumps-in-the-first-place-and-what-is-sos-dll.aspx http://blogs.msdn.com/joncole/archive/2007/03/29/creating-a-process-memo ry-dump.aspx http://msdn.microsoft.com/msdnmag/issues/03/06/Bugslayer/ Cheers, Greg On Thu, Feb 21, 2008 at 9:03 AM, Peter Osucha <[EMAIL PROTECTED]> wrote: > Hello. > > I'm hoping someone might provide me some direction on troubleshooting an > app. It's one of the first apps I have been involved with that makes > use of multiple threads. The app also connects to another computer by > way of an AsynchTCP socket. Also, the app is on a single board computer > embedded system (running WinXP Embedded) - end result, there is not > enough room on the target system to install VS2005 so I can't run from > the IDE to see what is happening. > > Anyway, I often find this app to be in a non-responsive state and I have > to kill it with the task manager. I've put in some debug/trace > statements but either I'm not putting in enough of them or they are in > the wrong place - end result, I'm don't seem to be getting any closer to > figuring out why the app keeps getting to a non-responsive state. It > does seem that the app becomes non-responsive with greater frequency if > I have opened up the TCP connection than if I haven't - leading me to > believe that might be involved with the problem condition. But again, > my debug/trace statements aren't getting me closer to solving the > problem. > > Comments? > > Sincerely, > peter =================================== This list is hosted by DevelopMentor? http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com