Now I use another carbon exception handler funciton : InstallExceptionHandler . it works fine in one thread. But the new question is that : if i have two thread and they all use the InstallExceptionHandler function, one works fine and the other crash without catching the exceptions. Can anybody give a suggestion? Thanks in advance.