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].
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.