Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: IdUDPClient - Crash after many request



Permlink Replies: 1 - Last Post: Feb 9, 2017 11:48 AM Last Post By: Remy Lebeau (Te...
Desenvolvimento...

Posts: 1
Registered: 6/2/14
IdUDPClient - Crash after many request
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 9, 2017 5:17 AM
Hi,

I have a class to comunicate with hardware, using IdUDPClient, a need to constant comunication for get status (3/4 times per second), after any requests, 1 hour, the service crash, with no output errors.
Just at event viewer i get this error:
Faulting application name: GATE.exe, version: 1.0.0.0, time stamp: 0x589b3142
Faulting module name: mswsock.dll, version: 6.1.7601.23451, time stamp: 0x57334da8
Exception code: 0xc0000005
Fault offset: 0x000016ce
Faulting process id: 0x2808
Faulting application start time: 0x01d282138dbea1ba
Faulting application path: \Win32\Debug\GATE.exe
Faulting module path: C:\Windows\system32\mswsock.dll
Report Id: 0756e375-ee0a-11e6-a9cf-109836fe5ed2


Anyone can help?

tks;

Edited by: Desenvolvimento RochaLog on Feb 9, 2017 7:31 AM

Edited by: Desenvolvimento RochaLog on Feb 9, 2017 7:35 AM
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: IdUDPClient - Crash after many request [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 9, 2017 11:48 AM   in response to: Desenvolvimento... in response to: Desenvolvimento...
Desenvolvimento wrote:

I have a class to comunicate with hardware, using IdUDPClient, a need
to constant comunication for get status (3/4 times per second), after
any requests, 1 hour, the service crash, with no output errors.

Please show your actual code, and indicate where the crash is occuring in it.

Just at event viewer i get this error:

That is logging an uncaught access violation. Have you tried wrapping your
code in try/except blocks to catch raised AVs? Have you tried using MadExcept
or other logging framework to log more detailed trace info for uncaught AVs?

--
Remy Lebeau (TeamB)
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02