Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UNREACHABLE hit when indexing mxnet #430

Open
varungandhi-src opened this issue Sep 25, 2023 · 0 comments
Open

UNREACHABLE hit when indexing mxnet #430

varungandhi-src opened this issue Sep 25, 2023 · 0 comments
Labels

Comments

@varungandhi-src
Copy link
Contributor

varungandhi-src commented Sep 25, 2023

https://github.com/apache/mxnet: b84609d3fc73d20929c114eab95faaa56e6c5ede

scip-clang (dev build): ef3157d

Env: Linux, NVCC was installed/building with CUDA support.

❯ ~/scip-clang/bazel-bin/indexer/scip-clang --compdb-path=build/min.json
scip-clang: external/llvm-project/clang/lib/Sema/SemaDecl.cpp:3595: void adjustDeclContextForDeclaratorDecl(clang::DeclaratorDecl *, clang::DeclaratorDecl *): Assertion `(NamedDC->InEnclosingNamespaceSetOf(SemaDC) || NewD->isInvalidDecl() || OldD->isInvalidDecl()) && "unexpected context for redeclaration"' failed.
[20:08:30 error] worker 1  : Context: processing /home/varun/mxnet/src/nnvm/plan_memory.cc
[20:08:30 error] worker 1  : *** SIGABRT received at time=1695672510 on cpu 13 ***
[20:08:30 error] worker 1  : PC: @     0x7f55ba096a7c  pthread_kill
[20:08:30 error] worker 1  :     @     0x55da6c4a623b        160  absl::AbslFailureSignalHandler()
[20:08:30 error] worker 1  :     @     0x7f55ba042520

Compilation database:

[
  {
    "directory": "/home/varun/mxnet/build",
    "command": "/usr/bin/c++ -DDMLC_LOG_STACK_TRACE_SIZE=0 -DDMLC_MODERN_THREAD_LOCAL=0 -DDMLC_STRICT_CXX11 -DDMLC_USE_CXX11 -DDMLC_USE_CXX14 -DMSHADOW_IN_CXX11 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMXNET_BRANCH=\\\"master\\\" -DMXNET_COMMIT_HASH=\\\"b84609d3fc73d20929c114eab95faaa56e6c5ede\\\" -DMXNET_USE_BLAS_OPEN=1 -DMXNET_USE_CUDA=1 -DMXNET_USE_INTGEMM=1 -DMXNET_USE_LAPACK=1 -DMXNET_USE_LIBJPEG_TURBO=0 -DMXNET_USE_NVML=1 -DMXNET_USE_NVTX=1 -DMXNET_USE_ONEDNN=1 -DMXNET_USE_OPENCV=1 -DMXNET_USE_OPENMP=1 -DMXNET_USE_OPERATOR_TUNING=1 -DMXNET_USE_SIGNAL_HANDLER=1 -DNDEBUG=1 -I/home/varun/mxnet/3rdparty/onednn/include -I/home/varun/mxnet/build/3rdparty/onednn/include -I/home/varun/mxnet/include -I/home/varun/mxnet/src -I/home/varun/mxnet/3rdparty/tvm/nnvm/include -I/home/varun/mxnet/3rdparty/tvm/include -I/home/varun/mxnet/3rdparty/dmlc-core/include -I/home/varun/mxnet/3rdparty/dlpack/include -I/usr/local/cuda/include -isystem /usr/include/opencv4  -fdiagnostics-color=always  -Wall -Wno-sign-compare -O3 -fopenmp -std=gnu++17 -fPIC -o CMakeFiles/nnvm.dir/3rdparty/tvm/nnvm/src/pass/plan_memory.cc.o -c /home/varun/mxnet/3rdparty/tvm/nnvm/src/pass/plan_memory.cc",
    "file": "/home/varun/mxnet/3rdparty/tvm/nnvm/src/pass/plan_memory.cc",
    "output": "CMakeFiles/nnvm.dir/3rdparty/tvm/nnvm/src/pass/plan_memory.cc.o"
  },
  {
    "directory": "/home/varun/mxnet/build",
    "command": "/usr/bin/c++ -DDMLC_CORE_USE_CMAKE -DDMLC_LOG_FATAL_THROW=1 -DDMLC_LOG_STACK_TRACE_SIZE=0 -DDMLC_MODERN_THREAD_LOCAL=0 -DDMLC_STRICT_CXX11 -DDMLC_USE_CXX11 -DDMLC_USE_CXX11=1 -DDMLC_USE_CXX14 -DMSHADOW_FORCE_STREAM -DMSHADOW_INT64_TENSOR_SIZE=1 -DMSHADOW_IN_CXX11 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_CUDA=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_USE_SSE -DMXNET_BRANCH=\\\"master\\\" -DMXNET_COMMIT_HASH=\\\"b84609d3fc73d20929c114eab95faaa56e6c5ede\\\" -DMXNET_USE_BLAS_OPEN=1 -DMXNET_USE_CUDA=1 -DMXNET_USE_INTGEMM=1 -DMXNET_USE_LAPACK=1 -DMXNET_USE_LIBJPEG_TURBO=0 -DMXNET_USE_NVML=1 -DMXNET_USE_NVTX=1 -DMXNET_USE_ONEDNN=1 -DMXNET_USE_OPENCV=1 -DMXNET_USE_OPENMP=1 -DMXNET_USE_OPERATOR_TUNING=1 -DMXNET_USE_SIGNAL_HANDLER=1 -DNDEBUG=1 -DNVML_NO_UNVERSIONED_FUNC_DEFS -D__USE_XOPEN2K8 -Dmxnet_EXPORTS -I/home/varun/mxnet/3rdparty/onednn/include -I/home/varun/mxnet/build/3rdparty/onednn/include -I/home/varun/mxnet/include -I/home/varun/mxnet/src -I/home/varun/mxnet/3rdparty/tvm/nnvm/include -I/home/varun/mxnet/3rdparty/tvm/include -I/home/varun/mxnet/3rdparty/dmlc-core/include -I/home/varun/mxnet/3rdparty/dlpack/include -I/home/varun/mxnet/3rdparty/mshadow -I/home/varun/mxnet/build/3rdparty/intgemm -I/home/varun/mxnet/3rdparty/intgemm -I/home/varun/mxnet/3rdparty/onednn/src/../include -I/home/varun/mxnet/3rdparty/miniz -I/home/varun/mxnet/build/3rdparty/dmlc-core/include -isystem /usr/include/opencv4 -isystem /usr/local/cuda/include  -fdiagnostics-color=always  -Wall -Wno-sign-compare -O3 -fopenmp -std=gnu++17 -fPIC -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -mf16c -fopenmp -o CMakeFiles/mxnet.dir/src/nnvm/plan_memory.cc.o -c /home/varun/mxnet/src/nnvm/plan_memory.cc",
    "file": "/home/varun/mxnet/src/nnvm/plan_memory.cc",
    "output": "CMakeFiles/mxnet.dir/src/nnvm/plan_memory.cc.o"
  }
]
@varungandhi-src varungandhi-src added the bug Something isn't working label Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant