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

[question] Running CCTag with GDB/Valgrind #213

Open
anand97 opened this issue Oct 12, 2023 · 0 comments
Open

[question] Running CCTag with GDB/Valgrind #213

anand97 opened this issue Oct 12, 2023 · 0 comments

Comments

@anand97
Copy link

anand97 commented Oct 12, 2023

I am trying to use CCTag as a third party library with Cuda acceleration as described in the docs, and want to debug my application w/ cctag, which seems to be crashing with a Segfault. I tried to run the application with gdb, and later with cuda-gdb, but both seem to segfault before processing the first image, at Line 76 in src/cctag/cuda/tag_threads.cu. The line seems to be capturing a lock on a mutex in the TagSemaphore class, so its not clear what is causing the segfault.

image

I'm happy to provide additional information a necessary, I would appreciate any help towards enabling debugging with the cctag library or suggestion to what this segfault could be about. Thanks!

Ubuntu 20.04, CUDA 11.5, RTX 3060 (Compute Capability - 8.6)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant