I'm running the Snapdragon Profiler on Windows 8, and the profiler won't start, I run the exe by clicking on it or by executing in the command prompt and nothing happens, no error message and no window popping up. The most I get from it is a box saying I can't run two profilers at once if I click it over and over very quickly. How do I fix this?
Profiler won't start
Posted: Thu, 2016-09-01 09:04
Additional info, I just found these errors in my error log:
I'm facing the same issue when trying to run it on Windows 10 enterprise.
Thanks for the stack trace. It looks like a temporary fix may be to install the VS2012 C++ runtime. We'll have a release in 4-6 weeks that will have this fixed, but this should help you get by for now.
You can get the C++ runtime here: https://www.microsoft.com/en-us/download/details.aspx?id=30679. You will need the x86 version for Snapdragon Profiler.
I had these installed already, I reistalled and no change.
It looks like we have some more dependencies missing from our installer. You'll also need:
- VS2013 C++ runtime: https://www.microsoft.com/en-us/download/details.aspx?id=40784
- .Net 4.5.2 runtime: https://www.microsoft.com/en-us/download/details.aspx?id=42643
I am having this same problem with the version 1.7 profiler. I have tried installing the above dependencies to no avail; I am still getting the following errors:
I was actually able to run the program yesterday, but it recognized no devices. I realized that adb was not in this computer's PATH, and ever since I added it, I have not been able to run the program. If you could help me out in any way, it would be much appreciated.
I also have this stack trace on OSX 10.12.6, I have already installed the latest version of Mono and ran the Mono test programs to be sure that Mono was installed correctly. Any work-arounds?
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'SDPCorePINVOKE' threw an exception. ---> System.TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception. ---> System.DllNotFoundException: SDPCore
at (wrapper managed-to-native) SDPCorePINVOKE+SWIGExceptionHelper:SWIGRegisterExceptionCallbacks_SDPCore (SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate)
at SDPCorePINVOKE+SWIGExceptionHelper..cctor () [0x000ee] in <d1866a3a68d9452285648e17622ad2ba>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_generic_class_init (intptr)
at SDPCorePINVOKE..cctor () [0x00000] in <d1866a3a68d9452285648e17622ad2ba>:0
--- End of inner exception stack trace ---
at DeviceAttributes..ctor () [0x00000] in <d1866a3a68d9452285648e17622ad2ba>:0
at Sdp.SettingsModel..ctor () [0x00011] in <7dcc94c215954440b4aa9e4dd8ef58d5>:0
at Sdp.ModelManager..ctor () [0x00048] in <7dcc94c215954440b4aa9e4dd8ef58d5>:0
at Sdp.SdpApp.Init (Sdp.IPlatform platform) [0x0001a] in <7dcc94c215954440b4aa9e4dd8ef58d5>:0
at Sdp.MainClass.Main (System.String[] args) [0x00195] in <257de013c0e84500aceedc809db0a560>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'SDPCorePINVOKE' threw an exception. ---> System.TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception. ---> System.DllNotFoundException: SDPCore
at (wrapper managed-to-native) SDPCorePINVOKE+SWIGExceptionHelper:SWIGRegisterExceptionCallbacks_SDPCore (SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate)
at SDPCorePINVOKE+SWIGExceptionHelper..cctor () [0x000ee] in <d1866a3a68d9452285648e17622ad2ba>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_generic_class_init (intptr)
at SDPCorePINVOKE..cctor () [0x00000] in <d1866a3a68d9452285648e17622ad2ba>:0
--- End of inner exception stack trace ---
at DeviceAttributes..ctor () [0x00000] in <d1866a3a68d9452285648e17622ad2ba>:0
at Sdp.SettingsModel..ctor () [0x00011] in <7dcc94c215954440b4aa9e4dd8ef58d5>:0
at Sdp.ModelManager..ctor () [0x00048] in <7dcc94c215954440b4aa9e4dd8ef58d5>:0
at Sdp.SdpApp.Init (Sdp.IPlatform platform) [0x0001a] in <7dcc94c215954440b4aa9e4dd8ef58d5>:0
at Sdp.MainClass.Main (System.String[] args) [0x00195] in <257de013c0e84500aceedc809db0a560>:0
rob4,
If you open the Windows Event Viewer and look under Windows Logs -> Application, you should see an error log for Snapdragon Profiler's crash. That log may have more information about the dll that can't be found.
Eric
rick.dynarski,
It looks like SDP has not been installed correctly. Have you dragged the SnapdragonProfiler.app file from the dmg into the Applications folder?
Eric
The problem was not that the Snapdragon Profiler was installed incorrectly. The problem was that the version of Mono installed on Mac cannot simply be the "latest" as spec'd in your installation docs. I resolved my problem by installing a version of Mono which had a similar release date as the Snapdragon Profiler. Once I did that the Snapdragon profiler ran fine and has not given me any further problems.
OK, sorry for the confusion. We'll look into that further and update the documentation.
I had the same issue as the macOS poster above. Downgrading mono to 5.0.1 fixed the issue.
I try several versions of Mono framework including 5.0.1 but this problem still exists. The verision of SDP is 2.0.0 post on Oct 26, 2017. I don't know how to solve it.
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'SDPCorePINVOKE' threw an exception. ---> System.TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception. ---> System.DllNotFoundException: SDPCore
at (wrapper managed-to-native) SDPCorePINVOKE+SWIGExceptionHelper:SWIGRegisterExceptionCallbacks_SDPCore (SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate)
at SDPCorePINVOKE+SWIGExceptionHelper..cctor () [0x000ee] in <ad1c8dca54284b51aa5b24c18f8df04c>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_generic_class_init (intptr)
at SDPCorePINVOKE..cctor () [0x00000] in <ad1c8dca54284b51aa5b24c18f8df04c>:0
--- End of inner exception stack trace ---
at DeviceAttributes..ctor () [0x00000] in <ad1c8dca54284b51aa5b24c18f8df04c>:0
at Sdp.SettingsModel..ctor () [0x00011] in <0196b6c90c974478a92db96f06d4f41d>:0
at Sdp.ModelManager..ctor () [0x00048] in <0196b6c90c974478a92db96f06d4f41d>:0
at Sdp.SdpApp.Init (Sdp.IPlatform platform) [0x0001a] in <0196b6c90c974478a92db96f06d4f41d>:0
at Sdp.MainClass.Main (System.String[] args) [0x00195] in <db8c93b7ac9c47819f9973aeebd98eb7>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'SDPCorePINVOKE' threw an exception. ---> System.TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception. ---> System.DllNotFoundException: SDPCore
at (wrapper managed-to-native) SDPCorePINVOKE+SWIGExceptionHelper:SWIGRegisterExceptionCallbacks_SDPCore (SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate,SDPCorePINVOKE/SWIGExceptionHelper/ExceptionDelegate)
at SDPCorePINVOKE+SWIGExceptionHelper..cctor () [0x000ee] in <ad1c8dca54284b51aa5b24c18f8df04c>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_generic_class_init (intptr)
at SDPCorePINVOKE..cctor () [0x00000] in <ad1c8dca54284b51aa5b24c18f8df04c>:0
--- End of inner exception stack trace ---
at DeviceAttributes..ctor () [0x00000] in <ad1c8dca54284b51aa5b24c18f8df04c>:0
at Sdp.SettingsModel..ctor () [0x00011] in <0196b6c90c974478a92db96f06d4f41d>:0
at Sdp.ModelManager..ctor () [0x00048] in <0196b6c90c974478a92db96f06d4f41d>:0
at Sdp.SdpApp.Init (Sdp.IPlatform platform) [0x0001a] in <0196b6c90c974478a92db96f06d4f41d>:0
at Sdp.MainClass.Main (System.String[] args) [0x00195] in <db8c93b7ac9c47819f9973aeebd98eb7>:0
Same problem here on a Mac with Mono 5.4.1.6. Downgrading isn't a realistic option because a lot of other dev tools require Mono, too.
Please try installing the Visual C++ redistributable for Visual Studio 2012 (https://www.microsoft.com/en-us/download/details.aspx?id=30679) and see if that fixes your problem.
Eric
I‘d tried all your recommanded solutions in this post but still got the same crash log above
and the following report :
For anyone that finds this thread from googling like I did initially - the fix for me on Windows 10 was to install the latest version of GTK# for .Net found here:
https://www.mono-project.com/download/stable/#download-win
I get this error. When I unstall GTK and then reinstall snapdragon profiler, I solved my problem.