Forums - Profiler is crashing on snapshot

7 posts / 0 new
Last post
Profiler is crashing on snapshot
jvaarala
Join Date: 7 Oct 15
Posts: 7
Posted: Tue, 2015-11-24 16:44

I'm profiling an as yet unreleased game to try to get some traces of it. With snapdragon profiler 1.2 and 1.2.1 it crashes here:

System.IndexOutOfRangeException: Array index is out of range.

at OpenGLPlugin.ResourcesAdapter/ResourceGLAdapter.Process_glTexImage2D (uint,int,int,int,int,int,uint,uint,PointerData) <0x00233>

at GLAdapter.SwigDirectorProcess_glTexImage2D (uint,int,int,int,int,int,uint,uint,intptr) <0x000c3>

at (wrapper native-to-managed) GLAdapter.SwigDirectorProcess_glTexImage2D (uint,int,int,int,int,int,uint,uint,intptr) <0x0009b>

at (wrapper managed-to-native) libDCAPPINVOKE.CaptureFileReader_ProcessNextBlock (System.Runtime.InteropServices.HandleRef) <0x00012>

at CaptureFileReader.ProcessNextBlock () <0x0002b>

at DCAPToolsWrapper.TokenAdapterWrapper.NextTokenBlock () <0x00017>

at OpenGLPlugin.ResourcesAdapter..ctor (string,bool) <0x00837>

at OpenGLPlugin.ResourcesViewMgr.resourceViewEvents_SourceSelected (object,Sdp.SourceEventArgs) <0x000a7>

at (wrapper delegate-invoke) System.EventHandler`1<Sdp.SourceEventArgs>.invoke_void_object_TEventArgs (object,Sdp.SourceEventArgs) <0x00058>

at (wrapper delegate-invoke) System.EventHandler`1<Sdp.SourceEventArgs>.invoke_void_object_TEventArgs (object,Sdp.SourceEventArgs) <0x0009b>

at Sdp.EventsManager.Raise<Sdp.SourceEventArgs> (System.EventHandler`1<Sdp.SourceEventArgs>,object,Sdp.SourceEventArgs) <0x00024>

at Sdp.ResourcesController.m_view_SourceSelectedChanged (object,System.EventArgs) <0x000a3>

at Sdp.ResourcesView/<AddSource>c__AnonStorey6.<>m__0 (object,System.EventArgs) <0x00403>

at Gtk.Application/InvokeCB.Invoke () <0x00022>

at GLib.Timeout/TimeoutProxy.Handler () <0x00034>

 

   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)

   at GLib.Timeout+TimeoutProxy.Handler()

   at Gtk.Application.gtk_main()

   at Gtk.Application.Run()

   at Sdp.MainClass.Main(System.String[] args)

 

  • Up0
  • Down0
tgraupmann
Join Date: 18 Jan 16
Posts: 6
Posted: Tue, 2016-01-19 12:21

I'm getting crashes as well. I'm running Snapdragon profiler 1.3.11252015 on WIndows 10 connecting to a Razer Forge TV.

I can capture snapshots but when I double click on drawcalls I'm getting a profiler crash which exits the Snapdragon profiler.

I can browse the first draw call, but the second drawcall being inspected usually crashes the profiler.

 

  • Up0
  • Down0
khawkins Moderator
Join Date: 29 Nov 12
Location: San Diego, CA
Posts: 62
Posted: Tue, 2016-01-19 13:09

Hi, any chance we could get a logcat around the time of the crash? We're wondering if the Profiler service is crashing on the device, which we've seen with certain driver versions.

If needed for IP concerns we can provide a private email.

Thanks,
Kevin

 

  • Up0
  • Down0
tgraupmann
Join Date: 18 Jan 16
Posts: 6
Posted: Tue, 2016-01-19 14:14

I'll be more than happy to share the logcat when I get back to the device. Stay tuned...

  • Up0
  • Down0
tgraupmann
Join Date: 18 Jan 16
Posts: 6
Posted: Tue, 2016-01-19 14:43

Here is the android logcat for a Snapdragon profiler crash.

 

 

--------- beginning of main

D/RowUpdateServiceTask@w( 2340): getlocationstored us

--------- beginning of system

W/ActivityManager(  645): getRunningAppProcesses: caller 10047 does not hold REAL_GET_TASKS; limiting output

D/RowUpdateServiceTask@w( 2340): Diff in miilisec: 460882diff 7

D/RowUpdateServiceTask@w( 2340): File last modified @ : Tue Jan 19 14:32:31 PST 2016Current dat: Tue Jan 19 14:40:11 PST 2016

D/RowUpdateServiceTask@w( 2340): Have File returning

D/Finsky  ( 1358): [115] AppStatesReplicator.handleContentSyncResponse: Completed 0 account content syncs with 0 successful.

D/Finsky  ( 1358): [1] 5.onFinished: Installation state replication succeeded.

D/AndroidRuntime( 3586): >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<

D/AndroidRuntime( 3586): CheckJNI is OFF

D/AndroidRuntime( 3586): Calling main entry com.android.commands.am.Am

I/ActivityManager(  645): Start proc 3599:com.qualcomm.SDPService/u0a96 for service com.qualcomm.SDPService/.MainService

D/AndroidRuntime( 3586): Shutting down VM

I/art     ( 3599): Late-enabling -Xcheck:jni

W/ResourcesManager( 3599): Asset path '/system/framework/android.test.runner.jar' does not exist or contains no resources.

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.google.android.onetimeinitializer: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.android.externalstorage: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.android.htmlviewer: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.razerzone.forge.btntoapplauncher: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.android.providers.tv: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.google.android.pano.packageinstaller: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.razerzone.pearlyn.beam.iosservice: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.android.defcontainer: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for Mono.Android.DebugRuntime: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.android.pacprocessor: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.android.certinstaller: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.google.android.leanback.ime: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.google.android.speech.pumpkin: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.android.backupconfirm: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.google.android.gsf.notouch: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.android.sharedstoragebackup: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.android.printspooler: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.android.dreams.basic: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.razerzone.WiFiEnabler: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for Mono.Android.Platform.ApiLevel_16: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for Mono.Android.Platform.ApiLevel_17: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.android.keychain: Resource ID #0x0

W/ResourcesManager( 3599): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.google.android.sss: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.google.android.partnersetup: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.android.packageinstaller: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.android.proxyhandler: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.google.android.feedback: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.razerzone.TestCtrlConnection: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.razerzone.pearlynled: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.google.android.sss.authbridge: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.google.android.tv.voiceinput: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.android.vpndialogs: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.google.android.tv.frameworkpackagestubs: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.android.shell: Resource ID #0x0

W/ResourcesManager( 3599): Asset path '/system/framework/javax.obex.jar' does not exist or contains no resources.

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.qualcomm.timeservice: Resource ID #0x0

I/SDPCore ( 3599): Service initialized.

I/SDPCore ( 3599): Loaded plugin /data/app/com.qualcomm.SDPService-1/lib/arm/libGPUQGL.so.

I/SDPCore ( 3599): Loaded plugin /data/app/com.qualcomm.SDPService-1/lib/arm/libThermal.so.

I/SDPCore ( 3599): Loaded plugin /data/app/com.qualcomm.SDPService-1/lib/arm/libNetwork.so.

I/SDPCore ( 3599): Loaded plugin /data/app/com.qualcomm.SDPService-1/lib/arm/libSDPMarkerProvider.so.

I/SDPCore ( 3599): Loaded plugin /data/app/com.qualcomm.SDPService-1/lib/arm/libCPU.so.

I/SDPCore ( 3599): Loaded plugin /data/app/com.qualcomm.SDPService-1/lib/arm/libGpuGGPM.so.

I/SDPCore ( 3599): Loaded plugin /data/app/com.qualcomm.SDPService-1/lib/arm/libPower.so.

I/SDPCore ( 3599): Loaded plugin /data/app/com.qualcomm.SDPService-1/lib/arm/libGPUOpenCL.so.

I/SDPCore ( 3599): Loaded plugin /data/app/com.qualcomm.SDPService-1/lib/arm/libGPUOpenGLES.so.

I/SDPCore ( 3599): QGL_DP: Initializing QGLDataPlugin

I/SDPCore ( 3599): QGL_DP: GfxConnection: Starting connection thread

I/SDPCore ( 3599): DataProvider created (0x5C75A0FB): VulkanDataPlugin

I/SDPCore ( 3599): SDP::QGLDataPlugin initialized.

I/SDPCore ( 3599): SDP::ThermalDataPlugin initialized.

I/SDPCore ( 3599): DataProvider created (0xE3CC54B5): NetworkDataProvider

W/com.qualcomm.SDPService( 3617): type=1400 audit(0.0:4): avc: denied { read } for comm=4173796E635461736B202331 name="thermal" dev="sysfs" ino=14477 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:sysfs_thermal:s0 tclass=dir

I/SDPCore ( 3599): SDP::NetworkDataPlugin initialized.

I/SDPCore ( 3599): DataProvider created (0xB50D840E): MarkerDataProvider

I/SDPCore ( 3599): SDP::SDPMarkerProvider initialized.

I/SDPCore ( 3599): DataProvider created (0x8064CDEA): CPUDataProvider

I/SDPCore ( 3599): SDP::CPUDataPlugin initialized.

I/SDPCore ( 3599): DataProvider created (0x1B247A42): GGPMDataProvider

I/SDPCore ( 3599): SDP::GGPMDataProvider initialized.

I/Adreno  ( 3599): EGLInit: QTI Build: 11/04/15, 6aba6e8, I7f74acd0e7

I/SDPCore ( 3599): DataProvider created (0xE10C572B): PowerDataPlugin

I/SDPCore ( 3599): PowerDataPlugin initialized.

I/SDPCore ( 3599): DataProvider created (0x0292D8BB): OpenCLDataProvider

I/SDPCore ( 3599): SDP::OpenCLDataProvider initialized.

I/SDPCore ( 3599): GLES_DP: Initializing OpenGLESDataPlugin

I/SDPCore ( 3599): GLES_DP: GfxConnection: Starting connection thread

I/SDPCore ( 3599): GLES_DP: GfxConnection: Successfully connected to port 20817

I/SDPCore ( 3599): GLES_DP: GfxConnection: Sending REPORT_CLIENTS

I/SDPCore ( 3599): GLES_DP: Sending QSTREAM Token 0x1020002

I/SDPCore ( 3599): DataProvider created (0x0F2A47DB): OpenGLESDataPlugin

I/SDPCore ( 3599): SDP::OpenGLESDataPlugin initialized.

I/SDPCore ( 3599): Provider "VulkanDataPlugin" with ID:0x5C75A0FB has registered with the service.

I/SDPCore ( 3599): Provider "OpenCLDataProvider" with ID:0x0292D8BB has registered with the service.

I/SDPCore ( 3599): Provider "NetworkDataProvider" with ID:0xE3CC54B5 has registered with the service.

I/SDPCore ( 3599): PROVIDER: Connected to service @ tcp://localhost:5557. Provider uid: 0x0292D8BB

E/libEGL  ( 3599): call to OpenGL ES API with no current context (logged once per thread)

I/Adreno  ( 3599): EGLInit: QTI Build: 11/04/15, 6aba6e8, I7f74acd0e7

I/SDPCore ( 3599): Provider "PowerDataPlugin" with ID:0xE10C572B has registered with the service.

I/SDPCore ( 3599): Provider "CPUDataProvider" with ID:0x8064CDEA has registered with the service.

I/SDPCore ( 3599): Provider "MarkerDataProvider" with ID:0xB50D840E has registered with the service.

I/SDPCore ( 3599): PROVIDER: Connected to service @ tcp://localhost:5557. Provider uid: 0xE3CC54B5

I/SDPCore ( 3599): PROVIDER: Connected to service @ tcp://localhost:5557. Provider uid: 0xE10C572B

I/SDPCore ( 3599): Provider OpenCLDataProvider listening for data @ tcp://*:5561

I/SDPCore ( 3599): Provider OpenCLDataProvider listening for files @ tcp://*:6561

I/SDPCore ( 3599): Provider OpenCLDataProvider listening for options @ tcp://*:7561

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.google.android.leanback.ime: Resource ID #0x0

I/SDPCore ( 3599): PROVIDER: Connected to service @ tcp://localhost:5557. Provider uid: 0x5C75A0FB

I/SDPCore ( 3599): Provider "OpenGLESDataPlugin" with ID:0x0F2A47DB has registered with the service.

W/ResourcesManager( 3599): Asset path '/system/framework/android.test.runner.jar' does not exist or contains no resources.

I/SDPCore ( 3599): PROVIDER: Connected to service @ tcp://localhost:5557. Provider uid: 0x8064CDEA

I/SDPCore ( 3599): Provider NetworkDataProvider listening for data @ tcp://*:5562

I/SDPCore ( 3599): Provider NetworkDataProvider listening for files @ tcp://*:6562

I/SDPCore ( 3599): Provider NetworkDataProvider listening for options @ tcp://*:7562

I/SDPCore ( 3599): Provider PowerDataPlugin listening for data @ tcp://*:5563

I/SDPCore ( 3599): Provider PowerDataPlugin listening for files @ tcp://*:6563

I/SDPCore ( 3599): Provider PowerDataPlugin listening for options @ tcp://*:7563

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.android.defcontainer: Resource ID #0x0

W/ResourceType( 3599): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 3599): Failure retrieving resources for com.google.android.partnersetup: Resource ID #0x0

I/SDPCore ( 3599): PROVIDER: Connected to service @ tcp://localhost:5557. Provider uid: 0x1B247A42

I/SDPCore ( 3599): Provider VulkanDataPlugin listening for data @ tcp://*:5560

I/SDPCore ( 3599): Provider VulkanDataPlugin listening for files @ tcp://*:6560

I/SDPCore ( 3599): Provider VulkanDataPlugin listening for options @ tcp://*:7560

I/SDPCore ( 3599): PROVIDER: Connected to service @ tcp://localhost:5557. Provider uid: 0x0F2A47DB

I/SDPCore ( 3599): Provider "GGPMDataProvider" with ID:0x1B247A42 has registered with the service.

I/SDPCore ( 3599): Sent provider.

I/SDPCore ( 3599): Sent provider.

I/SDPCore ( 3599): Sent provider.

I/SDPCore ( 3599): Sent provider.

I/SDPCore ( 3599): Sent provider.

I/SDPCore ( 3599): Sent provider.

I/SDPCore ( 3599): Sent provider.

I/SDPCore ( 3599): Sent provider.

I/SDPCore ( 3599): Done sending providers.

I/SDPCore ( 3599): PROVIDER: Connected to service @ tcp://localhost:5557. Provider uid: 0xB50D840E
  • Up0
  • Down0
tgraupmann
Join Date: 18 Jan 16
Posts: 6
Posted: Tue, 2016-01-19 14:44

Comment is pending approval...

  • Up0
  • Down0
tgraupmann
Join Date: 18 Jan 16
Posts: 6
Posted: Tue, 2016-01-19 14:55

Here's a couple ADB logcats from a couple Snapdragon Profiler crashes.

http://tagenigma.com/android/snapdragon.txt

http://tagenigma.com/android/snapdragon2.txt

 

  • 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.