signalMsg implementation modified
new inbuf
next time should allocate global inbuf