Page 1 of 1

ipc client crash lead to server blocked

Posted: Mon Jul 11, 2016 8:22 am
by develeper
Hi, madshi
i use madchook in my project, while the client application crashed, it lead to IPC server blocked, IPC server could not recv other client request messages. other client display it send ipc message successed,but IPC server not recv yet.
madchook version:newest;
OS version:windows 7 english x86
thks very mush.

Re: ipc client crash lead to server blocked

Posted: Mon Jul 11, 2016 8:45 am
by madshi
Would it be possible for you to create a little test project which demonstrates/reproduces this specific problem?

Re: ipc client crash lead to server blocked

Posted: Tue Jul 12, 2016 3:07 am
by develeper
i inject my dll into office2010 process, and while the winword.exe is crashed, ipc server is blocked. and then ipc server could not recv other client ipc messages.

Re: ipc client crash lead to server blocked

Posted: Tue Jul 12, 2016 8:11 am
by madshi
Ok, but how can I reproduce this problem on my PC, with a test project that I can compile myself?

Re: ipc client crash lead to server blocked

Posted: Wed Jul 13, 2016 9:08 pm
by iconic
@developer

Can you paste the code inside your IPC handler? The code has to be 100% thread safe. You might also try testing with handleMessages set to False in case it's True (from within SendIpcMessage). Some apps don't like this (Older versions of Firefox for example)

--Iconic