Dynamic-2DGS icon indicating copy to clipboard operation
Dynamic-2DGS copied to clipboard

Stack smashing detected error

Open ShaoxiongYao opened this issue 1 year ago • 1 comments

Thanks for providing this excellent project.

I am trying to reproduce results in the paper but encountered a few errors. I have finished the package installation steps and the example data is downloaded. However, when I run the example training code, I get stack smashing detected error. The error is as follows:

*** stack smashing detected ***: terminated
Aborted (core dumped)

I run the project on a Linux machine with Ubuntu version 22.04 and Nvidia 4090 graphics card.

I trace the error happens on

https://github.com/hustvl/Dynamic-2DGS/blob/4a18f4e1b8cb44219b2efab4a01a92a0442cbb7b/scene/gaussian_model.py#L162

and

https://github.com/hustvl/Dynamic-2DGS/blob/4a18f4e1b8cb44219b2efab4a01a92a0442cbb7b/gaussian_renderer/init.py#L141

The first error could be fixed by a customized distCUDA2 function but I have not found a solution to deal with error in the GaussianRasterizer. If you have any suggestions, please let me know and I will sincerely appreciate your help.

ShaoxiongYao avatar Oct 24 '24 04:10 ShaoxiongYao

I'm not sure how to solve this problem, but you can try reinstalling submodules/diff-surfel-rasterization. Maybe there is a problem with the installation of this library.

Shuaizhang7 avatar Oct 25 '24 06:10 Shuaizhang7