Michael Schwarcz

Results 9 comments of Michael Schwarcz

Hi @gdamore , we encountered the same issue as well on Windows 10, ipc transport with req-rep protocol. We are using nng v1.5.2, we saw that #1616 was reverted. Is...

Hi @gdamore Is there maybe a workaround for this deadlock issue?

> I think this is probably fixed in newer versions. Please try nng 1.7.2 which is the most recent version. @gdamore Yes, we saw that #1616 handled this issue, but...

@gdamore I tested on version 1.7.2 and it is reproduced there as well. This is my destruction flow: ``` nng_pipe_notify(m_sock,NNG_PIPE_EV_ADD_POST, nullptr, nullptr); nng_pipe_notify(m_sock,NNG_PIPE_EV_REM_POST, nullptr, nullptr); nng_aio_stop(m_recv_aio); nng_aio_free(m_recv_aio); nng_aio_stop(m_send_aio); nng_aio_free(m_send_aio); nng_dialer_close(m_dialer);...

@gdamore I applied your suggestions by removing `nng_dialer_close()` and moving the `nng_aio_free()` calls to the end and it still happens in the same place. Main thread call stack: ``` [libsystem_kernel.dylib]...

HI @gdamore, I also tried this branch on a Windows machine and got the same crash: ![Screenshot 2024-05-13 at 3 44 57 PM](https://github.com/nanomsg/nng/assets/14541274/6a420196-afe7-44a9-ac87-47f11064683c) It seems that when calling `nni_list_node_remove(&aio->a_prov_node)` than...

@p-ranav Ok to be more specific the issue happens when I set `--bar` to accept variable length of arguments: ``` argparse::ArgumentParser args("arg_test"); args.add_argument("--foo"); args.add_argument("--bar") .nargs(1, 3) .choices("a", "b", "c"); ```...

Also seen this issue, it is specific in gmake, in Visual Studio this problem does not happen.