>> Is there any other ways? > > http://www.deadalnix.me/2012/03/24/get-an-exception-from-a-segfault-on-linux-x86-and-x86_64-using-some-black-magic/ > > There is a hook in the runtime to enable this if you want. I will try this black magic,Thanks.