You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using the zmq library (libzmq-v140-x64-4_3_2) in a C# application, .Net framework v4.6.1, running on Windows Server 2012R2. And we are facing 2 problems:
Sometimes the application crash suddenly, the event viewer saying "The process was terminated due to an unhandled exception; Faulting module name: KERNELBASE.dll, version: 6.3.9600.18666; Exception code: 0x40000015". And in some cases, there is crash exception caught in the application saying the error is "System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.":
at ZeroMQ.lib.zmq.zmq_msg_recv(IntPtr msg, IntPtr socket, Int32 flags)
at ZeroMQ.ZSocket.ReceiveFrames[ListT](Int32& framesToReceive, ListT& frames, ZSocketFlags flags, ZError& error) in D:\Workspace\Core\clrzmq4\ZSocket.cs:line 536
at ZeroMQ.ZSocket.ReceiveMessage(ZMessage& message, ZError& error) in D:\Workspace\Core\clrzmq4\ZSocket.cs:line 445
We found that the zmq socket sometimes send/recv with exceptionally large delay time, like sending and receiving over the AWS internal network the delay is around 100ms, but after a while for some unknown reason, the delay may start to grow, and keep growing up to seconds. Restart the socket can sometimes help to bring the delay back to normal but does not always work.
Wish someone could give us some hints, thank you.
The text was updated successfully, but these errors were encountered:
chowchunkiu
changed the title
KERNELBASE exception and growing delay
Windows KERNELBASE exception and growing delay
Mar 19, 2020
Hi,
We are using the zmq library (libzmq-v140-x64-4_3_2) in a C# application, .Net framework v4.6.1, running on Windows Server 2012R2. And we are facing 2 problems:
Sometimes the application crash suddenly, the event viewer saying "The process was terminated due to an unhandled exception; Faulting module name: KERNELBASE.dll, version: 6.3.9600.18666; Exception code: 0x40000015". And in some cases, there is crash exception caught in the application saying the error is "System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.":
at ZeroMQ.lib.zmq.zmq_msg_recv(IntPtr msg, IntPtr socket, Int32 flags)
at ZeroMQ.ZSocket.ReceiveFrames[ListT](Int32& framesToReceive, ListT& frames, ZSocketFlags flags, ZError& error) in D:\Workspace\Core\clrzmq4\ZSocket.cs:line 536
at ZeroMQ.ZSocket.ReceiveMessage(ZMessage& message, ZError& error) in D:\Workspace\Core\clrzmq4\ZSocket.cs:line 445
We found that the zmq socket sometimes send/recv with exceptionally large delay time, like sending and receiving over the AWS internal network the delay is around 100ms, but after a while for some unknown reason, the delay may start to grow, and keep growing up to seconds. Restart the socket can sometimes help to bring the delay back to normal but does not always work.
Wish someone could give us some hints, thank you.
The text was updated successfully, but these errors were encountered: