NVIDIA Visual Profiler on Fedora 16

I was having trouble getting nvvp to work under my Fedora 16 box, and searching extensively I found no solution to my problem. Luckily I found a solution which might help somebody else.

Running nvvp under 64-bit fedora, under the cuda 4.2.9 toolkit and the 295.59 driver yielded the following error:

#

# A fatal error has been detected by the Java Runtime Environment:

#

#  SIGSEGV (0xb) at pc=0x0000000000000000, pid=20176, tid=139710551242496

#

# JRE version: 6.0_24-b07

# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops)

# Problematic frame:

# C  0x0000000000000000

#

# An error report file with more information is saved as:

# /home/fernando/Downloads/hs_err_pid20176.log

#

# If you would like to submit a bug report, please visit:

#   http://java.sun.com/webapps/bugreport/crash.jsp

# The crash happened outside the Java Virtual Machine in native code.

# See problematic frame for where to report the bug.

#

The solution I found was to edit the nvvp script, found under /bin, and remove “UBUNTU_MENUPROXY=0” (without quotes) from the call.

Hope that helps someone.