Closed akihikodaki closed 1 year ago
Looks like this is better to be handled in unix_ipc.cc
. Unlike win32_ipc.cc
and mach_ipc.cc
, IPCClient::Call()
implemented in unix_ipc.cc
doesn't look to be able to gracefully return a failure when socket_ == kInvalidSocket
.
Here are what win32_ipc.cc
and mach_ipc.cc
are doing.
Description
ibus-engine-mozc aborts when mozc_renderer dies.
Steps to reproduce
I have not figured out the exact reproduction procedure.
Expected behavior
ibus-engine-mozc should not abort.
Actual behavior
ibus-engine-mozc should aborts.
Screenshots
Not applicable
Version or commit-id
2.29.5200.102
Environment
Investigations
Additional context
Below is the backtrace:
It seems
FlushPendingCommand()
forgets to checkclient.Connected()
.