WM_TIMER crash (maybe)?
- From: "x" <x@xxxxx>
- Date: Wed, 15 Jun 2005 00:56:12 -0500
I've got a network polling program. Interrogates different devices
continuously using CAsyncSockets. Use callbacks (OnReceive & OnConnect) for
socket events, and keep WM_TIMER running to monitor when to give up for
response after send. After perhaps 100,000 transactions over anywhere from
8 to 24hrs the next OnTimer doesn't happen. An exception occurs when I
anticipate the next WM_TIMER should fire, the debug dialog opens, then
another exception occurs, and the program is closed. DrWatson only records
the software Int that closest the program (trying to re-open debug dialog
when debug dialog is already opened).
The program runs FOREVER without ever halting on any machine with VC
installed (can run weeks on end). If I install VC on a machine where I see
the fault, I don't see the fault ever occur again (so much for using a
debugger). Depends shows all files present. I've taken to building with
release build with static libraries to minimize the requirements for any
external mfc dlls, but that doesn't have impact (a previous suggestion from
this newsgroup was to check that all required dlls were current on a machine
without VC installed).
Since I'm unable to ever see the fault occur running under VC debugger, I
send diagnostics to another task so I can examine what was happening up to
the fault. I see a socket created, connected, send, and return ... to await
reply. There's no indication of another WM_TIMER event (OnTimer calls are
set to reoccur repeatedly). Every fault seems to show a successful exit of
all events through the last message sent, so I'm wondering if WM_TIMER is
crashing.
Any ideas?
Rich
.
- Follow-Ups:
- Re: WM_TIMER crash (maybe)?
- From: Michael K. O'Neill
- Re: WM_TIMER crash (maybe)?
- From: Joseph M . Newcomer
- Re: WM_TIMER crash (maybe)?
- From: Mark Randall
- Re: WM_TIMER crash (maybe)?
- Prev by Date: IP stack - ip translation
- Next by Date: Re: ShAutComplete - How to add url in recently browsed web page list?
- Previous by thread: IP stack - ip translation
- Next by thread: Re: WM_TIMER crash (maybe)?
- Index(es):
Relevant Pages
|