You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/09/01 00:22:41 UTC

[GitHub] [incubator-mxnet] leezu commented on a change in pull request #19050: [Infra] add excepthook

leezu commented on a change in pull request #19050:
URL: https://github.com/apache/incubator-mxnet/pull/19050#discussion_r480492748



##########
File path: src/initialize.cc
##########
@@ -374,6 +377,7 @@ std::shared_ptr<void(int)> HANDLER_NAME(                             \
 SIGNAL_HANDLER(SIGSEGV, SIGSEGVHandler, true);
 SIGNAL_HANDLER(SIGFPE, SIGFPEHandler, false);
 SIGNAL_HANDLER(SIGBUS, SIGBUSHandler, false);
+SIGNAL_HANDLER(SIGPIPE, SIGPIPEHandler, false);

Review comment:
       The PR as it currently stands breaks `python3 script.py | head` in that script.py will not be terminated after 10 lines of output in case it imported mxnet.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org