unknow bug in Mac OS: Stream process die after db is truncated