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)