Forums - Snapdragon profiler crashes when using KHR_debug glPushDebugGroup

2 posts / 0 new
Last post
Snapdragon profiler crashes when using KHR_debug glPushDebugGroup
bdavis0
Join Date: 21 Nov 18
Posts: 1
Posted: Tue, 2019-01-22 18:22

I'm using the Windows 2018.3 build of the Snapdragon profiler with a Google Pixel phone running Android 9.  I have a small tool which loads a serialized frame from a larger application and plays it on a loop so I can use profiling tools on a shorter development cycle.  

However, I've discovered that when I use the KHR_debug extension functionality, attempting to take a snapshot causes a crash.  glPushDebugGroup and glPopDebugGroup are available in OpenGL ES 3.2, and glPushDebugGroupKHR and glPopDebugGroupKHR are available in any device with the KHR_debug extension.  

My Pixel supports both, but no matter which I use, attempting to take a snapshot when these functions are in use crashes Snapdragon Profiler with no error message.  

  • Up0
  • Down0
BenM
Join Date: 12 May 16
Posts: 29
Posted: Wed, 2019-01-23 09:45

Thank you for posting the bug report.  Yes, there was a crash when using the glPushDebugGroup and glPopDebugGroup calls with SDP version 2018.3.  It has since been fixed, and will be included in the next release of Snapdragon Profiler.  In the meantime, you may be able to workaround the issue by passing in the actual string length into those calls.

 

Thanks,

Ben

  • Up0
  • Down0
or Register

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.