Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8710773
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:42:38+00:00 2026-06-13T04:42:38+00:00

I installed cuda 5 on my Ubuntu 12.10 64 bits. I have a GTX

  • 0

I installed cuda 5 on my Ubuntu 12.10 64 bits. I have a GTX 675M, so I’m using bumblebee to run apps on my cuda device. I’m running nsight through bumblebee (optirun):

frederico@zeus:~$ optirun /usr/local/cuda/libnsight/nsight

And it works just fine, I can compile and execute applications. The problem is when I try to use cuda-gdb in nsight, I got the following error when click on debug button:

No source available for "main() at 0x403c6f" 

But if I try to use cuda-gdb on console it works:

frederico@zeus:~/Dropbox/coisas/projetos/delta_cuda$ optirun cuda-gdb bin/linux/release/gpu_md5 
NVIDIA (R) CUDA Debugger
5.0 release
Portions Copyright (C) 2007-2012 NVIDIA Corporation
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/frederico/Dropbox/coisas/projetos/delta_cuda/bin/linux/release/gpu_md5...done.
(cuda-gdb) run
Starting program: /home/frederico/Dropbox/coisas/projetos/delta_cuda/bin/linux/release/gpu_md5 
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff1dfe700 (LWP 10437)]
[New Thread 0x7ffff07f7700 (LWP 10438)]
[New Thread 0x7fffb07f6700 (LWP 10439)]
[New Thread 0x7fff6bfff700 (LWP 10440)]
[New Thread 0x7fff23fff700 (LWP 10441)]
[New Thread 0x7ffedbfff700 (LWP 10442)]
[New Thread 0x7ffe93fff700 (LWP 10443)]
[New Thread 0x7ffe4bfff700 (LWP 10444)]
[New Thread 0x7ffe03fff700 (LWP 10445)]
[Thread 0x7ffe03fff700 (LWP 10445) exited]
[Thread 0x7fffb07f6700 (LWP 10439) exited]
[Thread 0x7ffe4bfff700 (LWP 10444) exited]
[Thread 0x7fff23fff700 (LWP 10441) exited]
[Thread 0x7ffe93fff700 (LWP 10443) exited]
[Thread 0x7ffedbfff700 (LWP 10442) exited]
[Thread 0x7ffff07f7700 (LWP 10438) exited]
[Thread 0x7fff6bfff700 (LWP 10440) exited]
[Thread 0x7ffff1dfe700 (LWP 10437) exited]

Program exited with code 030.
(cuda-gdb) 

Any idea of what can be going on?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T04:42:40+00:00Added an answer on June 13, 2026 at 4:42 am

    That message gets printed when your application suspends. It means your application was not compiled with debug information – in this case debugger is not able to map your instructions to the source lines.

    To reproduce this message in the command-line cuda-gdb you need to suspend on a breakpoint, e.g. do “break main” before doing “run”

    Update – for people who have similar problem sometime in the future

    Application was built as follows:

    1. CUDA kernel code was compiled with NVCC and included debug information. E.g. NVCC call was: nvcc -g -G -c mykernel.cu -o mykernel.o
    2. This object file was linked with other object files that were compiled by GCC without generating the debug information – g++ mycpp1.cpp mycpp2.cpp mykernel.cu -o mycudaapplication. This resulted in some partial debug information that was not enough for cuda-gdb to properly resolve the path.

    Nsight Eclipse Edition by default is relying on cuda-gdb source path resolution to find a file to open in an editor when debugging CUDA application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using ubuntu 11.04 and cuda 4.2. I installed the Toolkit and the
I have a headless workstation running Ubuntu 12.04 server and recently installed new Tesla
I have CUDA 4.1 SDK with Parallel Nsight 2.1 installed on Win7 x64. I
I'm using NVIDIA CUDA 4.1 on Microsoft Visual studio 2008. I also have Intel
I have just been migrating from CUDA 4 to 5 and installed the just
I am running Windows 7 64bit, with Visual Studio 2008. I installed the CUDA
Anyone have an idea why this is? I also installed the NVIDIA CUDA SDK
I have CUDA 2.1 installed on my machine and it has a graphic card
This is my pycuda code for rotation.I have installed the latest cuda drivers and
I'm trying to optimize my CUDA programm by using the Parallel Nsight 2.1 edition

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.