Jittor / jrender

Jrender is an efficient differentiable rendering library implemented in jittor.
319 stars 31 forks source link

Error: stack smashing detected #2

Open jb892 opened 3 years ago

jb892 commented 3 years ago

你好,

我在运行python demo1-render.pydemo程序时,发生了错误,请帮忙看一下什么问题,谢谢!

系统OS: Ubuntu 20.04

[i 0629 19:45:17.121211 96 compiler.py:869] Jittor(1.2.3.47) src: /home/jake/anaconda3/envs/jittor/lib/python3.7/site-packages/jittor
[i 0629 19:45:17.123470 96 compiler.py:870] g++ at /usr/bin/g++(7.5.0)
[i 0629 19:45:17.123553 96 compiler.py:871] cache_path: /home/jake/.cache/jittor/default/g++
[i 0629 19:45:17.127391 96 install_cuda.py:37] cuda_driver_version: [11, 0]
[i 0629 19:45:17.129981 96 __init__.py:286] Found /home/jake/.cache/jittor/jtcuda/cuda11.0_cudnn8_linux/bin/nvcc(11.0.221) at /home/jake/.cache/jittor/jtcuda/cuda11.0_cudnn8_linux/bin/nvcc.
[i 0629 19:45:17.171302 96 __init__.py:286] Found gdb(9.2) at /usr/bin/gdb.
[i 0629 19:45:17.173606 96 __init__.py:286] Found addr2line(2.34) at /usr/bin/addr2line.
[i 0629 19:45:17.182050 96 compiler.py:951] py_include: -I/home/jake/anaconda3/envs/jittor/include/python3.7m -I/home/jake/anaconda3/envs/jittor/include/python3.7m
[i 0629 19:45:17.191348 96 compiler.py:953] extension_suffix: .cpython-37m-x86_64-linux-gnu.so
[i 0629 19:45:17.302581 96 compiler.py:1086] OS type:ubuntu OS key:ubuntu
[i 0629 19:45:17.303520 96 __init__.py:178] Total mem: 15.61GB, using 5 procs for compiling.
[i 0629 19:45:17.482525 96 jit_compiler.cc:21] Load cc_path: /usr/bin/g++
[i 0629 19:45:17.482546 96 jit_compiler.cc:24] Load nvcc_path: /home/jake/.cache/jittor/jtcuda/cuda11.0_cudnn8_linux/bin/nvcc
[i 0629 19:45:17.482895 96 init.cc:55] Found cuda archs: [75,]
[i 0629 19:45:17.534699 96 __init__.py:286] Found mpicc(4.0.3) at /usr/bin/mpicc.
[i 0629 19:45:17.550747 96 compiler.py:667] handle pyjt_include/home/jake/anaconda3/envs/jittor/lib/python3.7/site-packages/jittor/extern/mpi/inc/mpi_warper.h
[i 0629 19:45:17.570364 96 compile_extern.py:347] Downloading nccl...
[i 0629 19:45:17.614103 96 compile_extern.py:20] found /home/jake/.cache/jittor/jtcuda/cuda11.0_cudnn8_linux/include/cublas.h
[i 0629 19:45:17.619345 96 compile_extern.py:20] found /home/jake/.cache/jittor/jtcuda/cuda11.0_cudnn8_linux/lib64/libcublas.so
[i 0629 19:45:17.619451 96 compile_extern.py:20] found /home/jake/.cache/jittor/jtcuda/cuda11.0_cudnn8_linux/lib64/libcublasLt.so.11
[i 0629 19:45:17.894903 96 compile_extern.py:20] found /home/jake/.cache/jittor/jtcuda/cuda11.0_cudnn8_linux/include/cudnn.h
[i 0629 19:45:17.908300 96 compile_extern.py:20] found /home/jake/.cache/jittor/jtcuda/cuda11.0_cudnn8_linux/lib64/libcudnn.so.8
[i 0629 19:45:17.908388 96 compile_extern.py:20] found /home/jake/.cache/jittor/jtcuda/cuda11.0_cudnn8_linux/lib64/libcudnn_ops_infer.so.8
[i 0629 19:45:17.910594 96 compile_extern.py:20] found /home/jake/.cache/jittor/jtcuda/cuda11.0_cudnn8_linux/lib64/libcudnn_ops_train.so.8
[i 0629 19:45:17.910971 96 compile_extern.py:20] found /home/jake/.cache/jittor/jtcuda/cuda11.0_cudnn8_linux/lib64/libcudnn_cnn_infer.so.8
[i 0629 19:45:18.002662 96 compile_extern.py:20] found /home/jake/.cache/jittor/jtcuda/cuda11.0_cudnn8_linux/lib64/libcudnn_cnn_train.so.8
[i 0629 19:45:18.011360 96 compiler.py:667] handle pyjt_include/home/jake/anaconda3/envs/jittor/lib/python3.7/site-packages/jittor/extern/cuda/cudnn/inc/cudnn_warper.h
[i 0629 19:45:18.287923 96 compile_extern.py:20] found /home/jake/.cache/jittor/jtcuda/cuda11.0_cudnn8_linux/include/curand.h
[i 0629 19:45:18.308536 96 compile_extern.py:20] found /home/jake/.cache/jittor/jtcuda/cuda11.0_cudnn8_linux/lib64/libcurand.so
[i 0629 19:45:18.493180 96 cuda_flags.cc:26] CUDA enabled.
Drawing rotation:   0%|                                                       | 0/90 [00:00<?, ?it/s]
Compiling Operators(55/55) used: 25.3s eta:    0s  
*** stack smashing detected ***: terminated
Aborted (core dumped)
Jittor commented 3 years ago

谢谢您的反馈,错误有点奇怪,您试试加上这个环境变量运行呢: export use_mkl=0 如果还是不行的话,您可以加我微信 randonlang 或者jittor开发者交流群 761222083, 我可以帮您远程看一下