<div dir="ltr"><div><div><div>tags 741355 patch<br>severity 741355 normal<br>thanks<br></div><div><br><br>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.<br>
<br></div>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)<br>
<br></div>2. On a system with libwebkitgtk-1.0-0 installed, nvvp will crash the first time it is run by a user.<br></div>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.<br>
<br>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:<br>
<view id="org.eclipse.ui.internal.introview" partName="Welcome"><br>...<br></view><br><div><div><div>Simply running 'rm -rf ~/nvvp_workspace' solves this problem by taking you to scenario 2.<br>
<br></div><div>As noted previously, adding the line:<br>org.eclipse.swt.browser.DefaultType=mozilla<br></div><div>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.<br>
<br></div><div>I am downgrading the severity of this bug report as I believe this has no major effect on the usability of this package.<br></div><div><br></div></div></div></div>