On Wednesday, July 23, 2014 1:50:13 PM UTC+5:30, Saúl Ibarra Corretgé wrote: > > On 07/22/2014 06:39 PM, Ashish wrote: > > > > VisualStudio shows me stack like this: > > > > Application.exe!_NMSG_WRITE(int rterrnum=10) Line 217 C > > Application.exe!abort() Line 61 + 0x7 bytes C > > Application.exe!_wassert(const wchar_t * expr=0x00496678, const > > wchar_t * filename=0x0049652c, unsigned int lineno=352) Line 153 C > > Application.exe!uv_tcp_queue_accept(uv_tcp_s * handle=0x0013fec4, > > uv_tcp_accept_s * req=0x003eacb0) Line 352 + 0x21 bytes C > > Application.exe!uv_tcp_accept(uv_tcp_s * server=0x0013fec4, > > uv_tcp_s * client=0x49799684) Line 639 + 0xd bytes C > >> Application.exe!uv_accept(uv_stream_s * server=0x0013fec4, > > uv_stream_s * client=0x49799684) Line 55 + 0xd bytes C > > > > > > Asssertion in uv_tcp_queue_accept in src\win\tcp.c fails: > > assert(handle->flags & UV_HANDLE_LISTENING); > > > > > > Value of 'handle->flags' is 0x00000220 > > > > Before this happens, do you get any connection callback called with an > error? > > I believe the culprit is this line here: > https://github.com/joyent/libuv/blob/master/src/win/tcp.c#L1050 > > -- > Saúl Ibarra Corretgé > bettercallsaghul.com > > Ooops I still had this (status == -1) check migrated from older libuv version in my code might have caused connection callback error escaped causing assertion fail afterwards.
Many many thanks for hints :) cheers! -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
