leezu commented on issue #17043: Segmentation fault: 11
URL: 
https://github.com/apache/incubator-mxnet/issues/17043#issuecomment-582153558
 
 
   @larroy the issue you report is due to an incompatibility between the 
jemalloc version used and llvm openmp.
   
   Reproducer:
   
   ```
     git clone --recursive https://github.com/apache/incubator-mxnet/ mxnet
     cd mxnet
     git checkout a726c406964b9cd17efa826738a662e09d973972 # workaround 
   https://github.com/apache/incubator-mxnet/issues/17514
     mkdir build; cd build;
     cmake -DUSE_CPP_PACKAGE=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja
   -DUSE_CUDA=OFF -DUSE_JEMALLOC=ON ..
     ninja
     ./cpp-package/example/test_regress_label  # run a 2-3 times to reproduce
   ```
   
   
   If you change the USE_JEMALLOC=OFF, it will work.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to