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
The thread hangs after an event-dispatch waiting for the reply to an "Introspect" call generated from with-introspected-object. Also, as you might expect, pending-messages for the connection does not contain a method-return-message, only a signal-message. The complete data for the method-return message is present in the socket's input buffer.
The text was updated successfully, but these errors were encountered:
After a trip down the rabbit hole so to speak, I was at least able to confirm that the issue resides somewhere between epoll, iolib, and this library. The hang always occurs with an open file descriptor and a readable input buffer, always on introspect, and with all data present on the buffer (confirmed by reading out manually after interrupting the thread). For some reason the event never fires and the handler never runs. I tried several different variations using one-shot on the event base and timeouts, but always with the same result. After examining this thread, I am suspicious that this may be the same kernel epoll bug. As such, my local branch now provides an option to choose the multiplexer backend for the event base. After testing with the select multiplexer, if the issue does not recur, I will be more inclined to suspect kernel epoll.
Update:
Here is a standalone test case:
This hung after about 10 minutes on my machine.
The thread hangs after an event-dispatch waiting for the reply to an "Introspect" call generated from with-introspected-object. Also, as you might expect, pending-messages for the connection does not contain a method-return-message, only a signal-message. The complete data for the method-return message is present in the socket's input buffer.
The text was updated successfully, but these errors were encountered: