working on thread specific SIGSEGV handler.
working on thread specific SIGSEGV handler.