Bug#741355: nvidia-visual-profiler: nvvp segfaults on startup @frame soup_session_feature_detach+0x11

Graham Inggs graham at nerve.org.za
Fri Apr 18 11:24:51 UTC 2014


tags 741355 patch
severity 741355 normal
thanks


Upon further investigation I have found the crash is related to displaying
the Welcome window on first startup.  I have identified three different
scenarios that affect the way this bug occurs, or does not.

1. On a fresh Sid or Ubuntu Trusty installation, without libwebkitgtk-1.0-0
installed, nvvp does not crash on startup.   (This suggests we may need a
depends on libwebkitgtk-1.0-0 for the next version of
nvidia-visual-profiler though)

2. On a system with libwebkitgtk-1.0-0 installed, nvvp will crash the first
time it is run by a user.
A file
~/nvvp_workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs
is created, containing 'showIntro=false'.  Nvvp will not crash again for
this user unless this is changed to 'showIntro=true' or ~/nvvp_workspace is
removed.

3. On a system with libwebkitgtk-1.0-0 installed, where
nvidia-visual-profiler has been upgraded from a previous version, and the
workspace was saved with the Welcome window still open, nvvp will crash
every time.
~/nvvp_workspace/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml
will contain a section similar to the following:
<view id="org.eclipse.ui.internal.introview" partName="Welcome">
...
</view>
Simply running 'rm -rf ~/nvvp_workspace' solves this problem by taking you
to scenario 2.

As noted previously, adding the line:
org.eclipse.swt.browser.DefaultType=mozilla
to /usr/lib/nvidia-visual-profiler/configuration/config.ini prevents the
crashes in scenario 2 and 3 above, but the Welcome window is displayed
empty.  For what it is worth, I attach a patch that does this, but I do not
think it is worth applying unless we can actually display the Welcome
window correctly.

I am downgrading the severity of this bug report as I believe this has no
major effect on the usability of this package.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20140418/7908e6dd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: work-around-crash-when-displaying-welcome.debdiff
Type: application/octet-stream
Size: 744 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20140418/7908e6dd/attachment.obj>


More information about the pkg-nvidia-devel mailing list