VisualStudio shows me stack like this:
Hubble.exe!_NMSG_WRITE(int rterrnum=10) Line 217 C
Hubble.exe!abort() Line 61 + 0x7 bytes C
Hubble.exe!_wassert(const wchar_t * expr=0x00496678, const wchar_t *
filename=0x0049652c, unsigned int lineno=352) Line 153 C
Hubble.exe!uv_tcp_queue_accept(uv_tcp_s * handle=0x0013fec4,
uv_tcp_accept_s * req=0x003eacb0) Line 352 + 0x21 bytes C
Hubble.exe!uv_tcp_accept(uv_tcp_s * server=0x0013fec4, uv_tcp_s *
client=0x49799684) Line 639 + 0xd bytes C
> Hubble.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
Tnx,
Ashish
On Tuesday, July 22, 2014 1:54:47 AM UTC+5:30, Saúl Ibarra Corretgé wrote:
>
> Do you have a backtrace?
>
> On 07/21/2014 09:21 PM, Ashish wrote:
> >
> > When I call uv_accept I intermittently keep getting assertion failure:
> >
> > Assertion failed: handle->flags & UV_HANDLE_LISTENING, file
> > src\win\tcp.c, line 352
> >
> > These are values of uv_stream_s parameter I passed to uv_accept:
> > data 0x004b3c98 strIPAddressPort void *
> > + loop 0x004b51c0 uv_default_loop_ {data=0x00000000
> > active_handles=2517 handle_queue=0x004b51c8 ...} uv_loop_s *
> > type UV_TCP uv_handle_type
> > close_cb 0xcccccccc void (uv_handle_s *)*
> > + handle_queue 0x0013fed4 void * [2]
> > + endgame_next 0xcccccccc {data=??? loop=??? type=??? ...}
> > uv_handle_s *
> > flags 0x00000220 unsigned int
> > write_queue_size 0x00000000 unsigned int
> > alloc_cb 0xcccccccc void (uv_handle_s *, uv_buf_t *)*
> > read_cb 0xcccccccc void (uv_stream_s *, int, const
> > uv_buf_t *)*
> > reqs_pending 0x0000001f unsigned int
> > activecnt 0x00000000 int
> > + read_req {data=0xcccccccc type=0xcccccccc
> > active_queue=0x0013ff00 ...} uv_read_s
> > write_reqs_pending 0x00404b10 unsigned int
> > + shutdown_req 0xcccccccc {data=??? type=???
> > active_queue=0xccccccd4 ...} uv_shutdown_s *
> > connection_cb 0x00404b10
> > Client::on_new_connection(uv_stream_s *, int) void (uv_stream_s *,
> int)*
> >
> >
> > What are possibilities?
> >
> > Tnx,
> > Ashish
> >
> > --
> > 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] <javascript:>
> > <mailto:[email protected] <javascript:>>.
> > To post to this group, send email to [email protected]
> <javascript:>
> > <mailto:[email protected] <javascript:>>.
> > Visit this group at http://groups.google.com/group/libuv.
> > For more options, visit https://groups.google.com/d/optout.
>
>
> --
> Saúl Ibarra Corretgé
> bettercallsaghul.com
>
>
>
--
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.