Re: Can an application hang Windows 2000?



Check for a resource leak in your application, especially handle leaks and
leaks in non-paged memory. It's been a while since I've had to solve this
type of problem, but I'm pretty sure that both have been the causes in cases
I've worked on.


John


"MB" <bla@xxxxxxx> wrote in message
news:%23S%23LkSj5FHA.2576@xxxxxxxxxxxxxxxxxxxxxxx
> Hi everyone,
>
> Our application runs on industrial touch-screen PCs. After a recent
> software
> upgrade, two of these PCs (out of 7) have hung, one after approx. an hour,
> the other after several days. The PCs were previously running without such
> faults for over a year. The operating system is Windows 2000. When the PCs
> hung, Windows was completely frozen, neither the touch-screen nor keyboard
> worked and there was no activity on the light of the Ethernet port, which
> should normally flicker fairly constantly. The screen was still active,
> but
> the clock displayed in the corner had stopped. This looks like overheating
> to me, but I am at a loss how it could be caused by a routine maintenance
> upgrade that didn't significantly alter the software functionality or CPU
> load.
>
> The software is written in C++. Now I know how easy it is to make a
> mistake
> in C++ that would cause a program to crash or hang. However, as the
> application is not a service nor driver running in kernel mode, I always
> thought Windows 2000 itself should stay alive and well. Or does it? Can a
> user-mode application hang Windows 2000? How could that happen?
>
> I would appreciate any scenarios you may have come across, be they obvious
> or obscure. The obvious question in mind is to look for a memory leak.
> Supposing a program exhausted all available memory, would that cause
> Windows
> 2000 to freeze up though?
>
> Thanks,
> MB.
>
>


.



Relevant Pages

  • Re: A non-switchers take on the Mac
    ... The cost of memory at that time was a different matter. ... The problem with the PCs was not the processor ... IIRC the IT staff at the time pointed out ... applications and neither got on particularly well with Windows. ...
    (uk.comp.sys.mac)
  • Re: How important is it to handle Memory Leaks
    ... In my program I am displaying some pattern on the ... 'Memory DC' inside those functions...and use it to just BitBlt to the main ... window when ever windows generates WM_PAINT. ... > it will cause leak if some other programmer enhances your program. ...
    (microsoft.public.win32.programmer.gdi)
  • Re: Application popup: Windows - Virtual Memory Minimum Too Low ..
    ... all with any of my Windows 2000 PCs. ... All I can think of is maybe one of those 7 updates did not install correctly, ... or is causing some kind of memory leak. ... Like I mentioned all these PCs have been running fine until this MS ...
    (microsoft.public.win2000.general)
  • Re: malloc and realloc
    ... So there's a memory leak for some tiny number of clock cycles until ... Some primitive systems are unable to reclaim memory lost through a ... even Windows 95 occasionally suffered from this deficiency. ...
    (comp.lang.c)
  • Re: Peek/Poke Low-Level parallel-port/memory/video-buffer/keyboard-buffer?
    ... PCs usually don't use memory mapped IO, ... PCs use port-based I/O, an antiquated concept that seemed like a good idea ... onboard video system that simply takes some of the system RAM for itself. ... Windows has severe restrictions on what ports and memory ...
    (comp.sys.cbm)