Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid adding SegfaultLogger if process already has sig handler. (apac…
…he#13842) In current implemenation, we override signal handler regardless if MXNET_USE_SIGNAL_HANDLER=1. This breaks caller process behavior and cause process exit unexpectedly. The example use case is libmxnet.so is loadded into java process via JNI or JNA. JVM will crash due to SegfaultLogger. In this PR, we will not register SegfaultLogger if there is a signal handler registered.
- Loading branch information