Forums - Fail To Save Vertex Data, "Index was out of range" Occurs

1 post / 0 new
Fail To Save Vertex Data, "Index was out of range" Occurs
quanlong2010
Join Date: 8 Nov 16
Posts: 1
Posted: Mon, 2016-12-12 03:07

I use Adreno GPU Profiler to open a .apr file, then select a render call (#4) and click the Button "Save Vertex Data". After specify some location to store .obj file, Adreno Profiler prompt an exception as following between separate lines =======.

I wonder to know:

(1) if there is anything wrong in the .apr

(2) if there any reference about the .apr format

(3) the last line of the saved .obj is 

#iTex0 0.8604018 0.69

while the correspond vertex data of render calls #4 in adreno profiler is

iTex0-idx:2 0.8604018, 0.6928257 

It seems that the saving process is interrupt.

I upload my .apr file (200MB) in https://drive.google.com/file/d/0B4h_eKXX-n5rTDZTMlgwTUN5REk/view?usp=sharing

Any help is appreciated. Thanks.

=================================================================================

Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: index.

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.
 
************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at QXProfilerControls.TraceViewES20.toolStripSaveVertexDataButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 
 
************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1076.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
AdrenoProfiler
    Assembly Version: 4.0.5511.5192
    Win32 Version: 4.0.0.0
    CodeBase: file:///C:/Program%20Files/Qualcomm/Adreno%20Profiler/AdrenoProfiler.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1075.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0

=================================================================================

 

 

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.