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 2018/08/14 07:17:29 UTC

[GitHub] asitstands commented on issue #11417: libomp.so dependency (need REAL fix)

asitstands commented on issue #11417: libomp.so dependency (need REAL fix)
URL: https://github.com/apache/incubator-mxnet/issues/11417#issuecomment-412777877
 
 
   Any update on this issue? `libomp.so` in `3rdparty` causes a segfault in the `build.ubuntu_gpu` docker environment for the CI testing. The cmake build passes all unit tests for gpu but a segfault occurs at the end. Here is the stack trace.
   ```
   #0  0x00007efd8c17600e in __kmp_dephash_free_entries () from /work/build/3rdparty/openmp/runtime/src/libomp.so
   #1  0x00007efd8c1761a1 in __kmp_dephash_free () from /work/build/3rdparty/openmp/runtime/src/libomp.so
   #2  0x00007efd8c1394f9 in __kmp_free_implicit_task () from /work/build/3rdparty/openmp/runtime/src/libomp.so
   #3  0x00007efd8c121c6f in __kmp_reap_thread(kmp_info*, int) () from /work/build/3rdparty/openmp/runtime/src/libomp.so
   #4  0x00007efd8c129915 in __kmp_internal_end_library () from /work/build/3rdparty/openmp/runtime/src/libomp.so
   #5  0x00007efd93eb3de7 in _dl_fini () at dl-fini.c:235
   #6  0x00007efd938f5ff8 in __run_exit_handlers (status=0, listp=0x7efd93c805f8 <__exit_funcs>, 
       run_list_atexit=run_list_atexit@entry=true) at exit.c:82
   #7  0x00007efd938f6045 in __GI_exit (status=<optimized out>) at exit.c:104
   #8  0x000000000060db0f in Py_Exit ()
   #9  0x000000000060dbfa in ?? ()
   #10 0x000000000060dc66 in PyErr_PrintEx ()
   #11 0x000000000060ef29 in PyRun_SimpleFileExFlags ()
   #12 0x000000000063fb26 in Py_Main ()
   #13 0x00000000004cfeb1 in main ()
   ```
   If I remove the dependency on `libomp.so` and just use `-fopenmp`, the segfault does not occur. 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services