Forums - Snapdragon Profiler Crashes when looking at Capture

1 post / 0 new
Snapdragon Profiler Crashes when looking at Capture
jakob.lang
Join Date: 1 Mar 23
Posts: 1
Posted: Thu, 2023-03-02 00:45

Hi!

I am attempting to profile the Godot TPS demo using Godot Engine 3.5 and the GLES 3 rendering backend. I made sure to enable external storage read/write in Godot's config and also ensured that the app is debuggable. My phone is an unrooted LG G8s which has Adreno 640 graphics.

Exact steps to reproduce:

  1. Open the demo project with Godot 3.5
  2. Configure the Editor to allow Android export (set up adb location, signinger, etc.)
  3. Run the app from the Godot Editor to make sure a sebuggable version is installed on the device.
  4. Quit the app, close the godot editor and open Snapdragon Profiler
  5. Connect to device and start the app again.
  6. Take a frame capture of the main menu.
  7. Wait for the Snapdragon profiler to process the data
  8. Click on any of the draw calls. Snapdragon profiler crashes to dekstop.

Looking at the Windows Event Viewer I have the foloowing two reports.

.NET Runtime:

Application: SnapdragonProfiler.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
   at System.Runtime.InteropServices.Marshal.CopyToManaged(IntPtr, System.Object, Int32, Int32)
   at OpenGLPlugin.VertexDataAdapter+VertexDataGLAdapter.ProcessDrawElementsExtractData(UInt32, Int32, UInt32, PointerData, Byte[] ByRef, UInt32 ByRef, UInt32 ByRef)
   at OpenGLPlugin.VertexDataAdapter+VertexDataGLAdapter.Process_glDrawElements(UInt32, Int32, UInt32, PointerData)
   at GLAdapter.SwigDirectorProcess_glDrawElements(UInt32, Int32, UInt32, IntPtr)
   at libDCAPPINVOKE.CaptureFileReader_ProcessNextBlock(System.Runtime.InteropServices.HandleRef)
   at OpenGLPlugin.VertexDataAdapter..ctor(System.String, Int32)
   at OpenGLPlugin.VertexDataViewMgr+ProcessVertexDataClass.ProcessVertexData()
   at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()
 
Application Error:
 
Faulting application name: SnapdragonProfiler.exe, version: 1.0.8368.4043, time stamp: 0x6385db97
Faulting module name: VCRUNTIME140_CLR0400.dll, version: 14.10.25028.0, time stamp: 0x5bac17e5
Exception code: 0xc0000005
Fault offset: 0x0000d687
Faulting process id: 0x2b48
Faulting application start time: 0x01d94ce01c0a9f0e
Faulting application path: D:\Programs\Snapdragon Profiler\SnapdragonProfiler.exe
Faulting module path: C:\Windows\SYSTEM32\VCRUNTIME140_CLR0400.dll
Report Id: 9322fb6b-0470-46a2-9e21-eccebef7d650
Faulting package full name:
Faulting package-relative application ID:
 
  • 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.