wkcn edited a comment on issue #17720: Rootcause for Gperftools incompatibility 
with MXNet
URL: 
https://github.com/apache/incubator-mxnet/issues/17720#issuecomment-592851654
 
 
   I use the latest code(319e6c180edef80d5535e5744a4ac6c84cc143e4) to build 
MXNet with `USE_GPERFTOOLS = 1`.
   
   OS: ArchLinux
   Gperftools: 2.7.1 (installed by pacman)
   OpenCV: 4.2.0 (installed by pacman)
   OpenCV-Python: 4.2.0.32 (installed by pip)
   scipy-pthon: 1.4.1 (installed by pip)
   Python: 3.8.1 (installed by pacman)
   GCC: 9.2.1
   
   
   [✖ CUDA, ✖ CUDNN, ✖ NCCL, ✖ CUDA_RTC, ✖ TENSORRT, ✔ CPU_SSE, ✔ CPU_SSE2, ✔ 
CPU_SSE3, ✔ CPU_SSE4_1, ✔ CPU_SSE4_2, ✖ CPU_SSE4A, ✔ CPU_AVX, ✖ CPU_AVX2, ✔ 
OPENMP, ✖ SSE, ✔ F16C, ✖ JEMALLOC, ✖ BLAS_OPEN, ✔ BLAS_ATLAS, ✖ BLAS_MKL, ✖ 
BLAS_APPLE, ✔ LAPACK, ✖ MKLDNN, ✔ OPENCV, ✖ CAFFE, ✖ PROFILER, ✖ DIST_KVSTORE, 
✖ CXX14, ✖ INT64_TENSOR_SIZE, ✖ SIGNAL_HANDLER, ✖ DEBUG, ✖ TVM_OP]
   
   Update:
   If using old opencv-python package, it will crash because of invalid pointer.
   After I update opencv-python package, MXNet is imported successfully.
   
   However, I was able to reproduce #9098.
   ```
   Python 3.8.1 (default, Jan 22 2020, 06:38:00) 
   [GCC 9.2.0] on linux
   Type "help", "copyright", "credits" or "license" for more information.
   >>> import scipy.stats
   >>> import mxnet
   src/tcmalloc.cc:332] Attempt to free invalid pointer 0x5646e74a0490 
   [1]    25242 abort (core dumped)  python
   ```

----------------------------------------------------------------
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