$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
Executing: /tmp/tmp.y8jIBko27Z/gpg.1.sh --keyserver
hkp://keyserver.ubuntu.com:80
--recv-keys
3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
gpg: requesting key D3D831EF from hkp server keyserver.ubuntu.com
gpg: key D3D831EF: public key "Xamarin Public Jenkins (auto-signing) <[email protected]>" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
$ echo "deb http://download.mono-project.com/repo/ubuntu stable-xenial main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
deb http://download.mono-project.com/repo/ubuntu stable-xenial main
$ sudo apt update
$ sudo apt install mono-complete
$ ./run_sdp.sh
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
SDPTheme/gtkrc:30: Unable to locate image file in pixmap_path: "icons/error_fff_48.png"
SDPTheme/gtkrc:31: Unable to locate image file in pixmap_path: "icons/enable_fff.png"
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
SDPTheme/gtkrc:385: Unable to find include file: "styles/startpage"
SDPTheme/gtkrc:387: Unable to find include file: "styles/statusbar"
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:30124): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
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 () <0x41defc30 + 0x004e3> in <filename unknown>:0
--- End of inner exception stack trace ---
at SDPCorePINVOKE..cctor () <0x41defb00 + 0x0000b> in <filename unknown>:0
--- End of inner exception stack trace ---
at DeviceAttributes..ctor () <0x41def9d0 + 0x0000f> in <filename unknown>:0
at Sdp.SettingsModel..ctor () <0x41dee5e0 + 0x0009f> in <filename unknown>:0
at Sdp.ModelManager..ctor () <0x41ded060 + 0x002af> in <filename unknown>:0
at Sdp.SdpApp.Init (IPlatform platform) <0x41dec1e0 + 0x0009f> in <filename unknown>:0
at Sdp.MainClass.Main (System.String[] args) <0x41de3d70 + 0x00513> in <filename unknown>: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 () <0x41defc30 + 0x004e3> in <filename unknown>:0
--- End of inner exception stack trace ---
at SDPCorePINVOKE..cctor () <0x41defb00 + 0x0000b> in <filename unknown>:0
--- End of inner exception stack trace ---
at DeviceAttributes..ctor () <0x41def9d0 + 0x0000f> in <filename unknown>:0
at Sdp.SettingsModel..ctor () <0x41dee5e0 + 0x0009f> in <filename unknown>:0
at Sdp.ModelManager..ctor () <0x41ded060 + 0x002af> in <filename unknown>:0
at Sdp.SdpApp.Init (IPlatform platform) <0x41dec1e0 + 0x0009f> in <filename unknown>:0
at Sdp.MainClass.Main (System.String[] args) <0x41de3d70 + 0x00513> in <filename unknown>:0
We are currently working on trying to reproduce your issue without success, we have been able to successfully run Snapdragon Profiler on a freshly installed 16.04 following the README-Linux.txt instructions.
Can you confirm if the apt-get install mono-complete finished successfully please? We had an instance were that command failed which produced a similar stacktrace than the one presented in your post.
Hi,
I'm facing the same issue here, have you guys figured out the solution yet?
Thanks,
Xing
Hi,
Got it working: I removed mono-runtime and gtk-sharp, and then reinstalled mono-complete and gtk-sharp
-j