Skip to content

Segmentation fault #4

@cwj2002-coco

Description

@cwj2002-coco

Hello! Thank you for your open-source code! I tried to configure and build the project on my computer with Ubuntu 22.04. However, when I executed it, a segmentation fault kept occurring. ......
[ 98%] Building target tacipc
[ 99%] Building CUDA object CMakeFiles/main.dir/main.cu.o
Segmentation fault
make[2]: *** [CMakeFiles/main.dir/build.make:76: CMakeFiles/main.dir/main.cu.o] Error 139
make[1]: *** [CMakeFiles/Makefile2:589: CMakeFiles/main.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
root@PC-202409231400:/home/cwj/TacIPC/build After investigation, I have 12GiB of RAM and 4GiB of swap space, and there is ample disk space. In WSL2, the NVIDIA graphics card, driver, and CUDA have been correctly identified. CUDA version is 12.9, and the nvcc used for compilation comes from CUDA 11.8. The driver shows 470.256.02, and the driver version is 576.52. I was able to successfully compile and output "hello" with a minimal test.cu for sanity check. Currently, I have no idea how to solve this problem, so I am seeking your help. Looking forward to your kind reply!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions