ipc client crash lead to server blocked

c++ / delphi package - dll injection and api hooking

ipc client crash lead to server blocked

Postby develeper » Mon Jul 11, 2016 8:22 am

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.
develeper
 
Posts: 6
Joined: Wed Jan 27, 2016 1:23 pm

Re: ipc client crash lead to server blocked

Postby madshi » Mon Jul 11, 2016 8:45 am

Would it be possible for you to create a little test project which demonstrates/reproduces this specific problem?
madshi
Site Admin
 
Posts: 9477
Joined: Sun Mar 21, 2004 5:25 pm

Re: ipc client crash lead to server blocked

Postby develeper » Tue Jul 12, 2016 3:07 am

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.
develeper
 
Posts: 6
Joined: Wed Jan 27, 2016 1:23 pm

Re: ipc client crash lead to server blocked

Postby madshi » Tue Jul 12, 2016 8:11 am

Ok, but how can I reproduce this problem on my PC, with a test project that I can compile myself?
madshi
Site Admin
 
Posts: 9477
Joined: Sun Mar 21, 2004 5:25 pm

Re: ipc client crash lead to server blocked

Postby iconic » Wed Jul 13, 2016 9:08 pm

@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
iconic
 
Posts: 811
Joined: Wed Jun 08, 2005 5:08 am


Return to madCodeHook

Who is online

Users browsing this forum: No registered users and 2 guests