WM_TIMER crash (maybe)?



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


.



Relevant Pages

  • Re: WM_TIMER crash (maybe)?
    ... Are they all running in debug / release? ... What do you do on OnTimer overrides? ... If I install VC on a machine where I ... > the fault, I don't see the fault ever occur again (so much for using a ...
    (microsoft.public.vc.mfc)
  • Re: kernel panic at boot on any 6.x OS
    ... If you install a snapshot kernel it will ... Looks like the kernel and the modules are out of sync. ... debug symbols ... page fault while in kernel mode ...
    (freebsd-questions)
  • Re: kernel panic at boot on any 6.x OS
    ... If you install a snapshot kernel it will ... Looks like the kernel and the modules are out of sync. ... debug symbols ... page fault while in kernel mode ...
    (freebsd-hackers)
  • How can I fix these errors.....
    ... fault address 0x000108df. ... to install Necessary Hardware Drivers. ... Then I go to installing my Sound Driver, ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: SuSE kernel source retrieval frustrations
    ... > It wasn't the user's fault. ... > offer me the sources from my install CDs; ... inaccurate knowledge -- but you've pointed out an area where SuSE ... resolution but *never* could get into X after that, ...
    (alt.os.linux.suse)