Hi, I'd like to use SnapdragonProfiler-v1.1 for Linux with APQ8084 devboard. My machine run Ubuntu 14.04 x86_64 and I updated mono to latest version.
$ mono --version
Mono JIT compiler version 4.0.4 (Stable 4.0.4.1/5ab4c0d Tue Aug 25 23:11:51 UTC 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
My problem is I cannot start SDP: it complains of a missing library:
SnapdragonProfiler:9909): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:9909): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for SDPCorePINVOKE ---> System.TypeInitializationException: An exception was thrown by the type initializer for SWIGExceptionHelper ---> 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 () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at SDPCorePINVOKE..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at DeviceAttributes..ctor () [0x00000] in <filename unknown>:0
at Sdp.SettingsModel..ctor () [0x00000] in <filename unknown>:0
at Sdp.ModelManager..ctor () [0x00000] in <filename unknown>:0
at Sdp.SdpApp.Init (IPlatform platform) [0x00000] in <filename unknown>:0
at Sdp.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for SDPCorePINVOKE ---> System.TypeInitializationException: An exception was thrown by the type initializer for SWIGExceptionHelper ---> 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 () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at SDPCorePINVOKE..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at DeviceAttributes..ctor () [0x00000] in <filename unknown>:0
at Sdp.SettingsModel..ctor () [0x00000] in <filename unknown>:0
at Sdp.ModelManager..ctor () [0x00000] in <filename unknown>:0
at Sdp.SdpApp.Init (IPlatform platform) [0x00000] in <filename unknown>:0
at Sdp.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0
I don't have such a lib in the tarball I downloaded, but I have libSDPCore.so. What did I miss?
Hi Emeric,
Can you verify that you have installed the following:
Latest libc++ C++ Runtime:sudo apt-get install libc++1
Install Java Runtime (1.7.0_79) or latersudo apt-get install default-jre
And that you are running Snapdragon Profiler using the ./run_sdb.sh script?
Thanks,
Mike
Everything was present except libc++1. Installing it fixed my issue. Thanks!
hi,
I also found the same question,and the error log is the same. but I have installed the latest libc++1, I do not know what I missed, please help.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc++1 is already the newest version.
my os is ubuntu 14,
mono --version
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
java -version:
java version "1.7.0_91"
OpenJDK Runtime Environment (IcedTea 2.6.3) (7u91-2.6.3-0ubuntu0.14.04.1)
OpenJDK Server VM (build 24.91-b01, mixed mode)
and start snapdragon profiler with "./run_sdp.sh",
is something wrong?
thanks.
Hi jnuliulei,
According to the output of your "mono --version" command, you are using a 32-bit version of Linux whereas the requirement for SDP on Linux is a 64-bit archtechture. (i.e. x86 is 32bit and amd64 or x64 are 64-bit versions).
Thanks,
Mike
Hi Mike,
it works now, thanks!
Hi,
Profiler started successfully .
Thanks.
having same issue. error here:
Hi All,
mine is 64bit. still I get same error/
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1ubuntu1)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
let me know
BRs
Siddiqh M
Hi All,
My machine is Ubuntu 16.04.5 LTS and I updated mono to latest version.
$ mono --version
Mono JIT compiler version 6.8.0.105 (tarball Tue Feb 4 21:20:35 UTC 2020)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: yes(610)
Suspend: hybrid
GC: sgen (concurrent by default)
still I get the same error:
(SnapdragonProfiler:7345): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:7345): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:7345): 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:7345): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:7345): Gtk-WARNING **: Unable to locate theme engine in module_path: "xamarin",
(SnapdragonProfiler:7345): 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 assembly:<unknown assembly> type:<unknown type> member:(null)
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 <5e30a5c6586b4d1cadf3d509da0726a5>: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 <5e30a5c6586b4d1cadf3d509da0726a5>:0
--- End of inner exception stack trace ---
at DeviceAttributes..ctor () [0x00000] in <5e30a5c6586b4d1cadf3d509da0726a5>:0
at Sdp.SettingsModel..ctor () [0x00011] in <149fe000e86f431189d7220bc56ef288>:0
at Sdp.ModelManager..ctor () [0x00048] in <149fe000e86f431189d7220bc56ef288>:0
at Sdp.SdpApp.Init (Sdp.IPlatform platform) [0x0001a] in <149fe000e86f431189d7220bc56ef288>:0
at Sdp.MainClass.Main (System.String[] args) [0x00167] in <ee9d94a30e9c4516b29080ba5c0c86be>: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 assembly:<unknown assembly> type:<unknown type> member:(null)
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 <5e30a5c6586b4d1cadf3d509da0726a5>: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 <5e30a5c6586b4d1cadf3d509da0726a5>:0
--- End of inner exception stack trace ---
at DeviceAttributes..ctor () [0x00000] in <5e30a5c6586b4d1cadf3d509da0726a5>:0
at Sdp.SettingsModel..ctor () [0x00011] in <149fe000e86f431189d7220bc56ef288>:0
at Sdp.ModelManager..ctor () [0x00048] in <149fe000e86f431189d7220bc56ef288>:0
at Sdp.SdpApp.Init (Sdp.IPlatform platform) [0x0001a] in <149fe000e86f431189d7220bc56ef288>:0
at Sdp.MainClass.Main (System.String[] args) [0x00167] in <ee9d94a30e9c4516b29080ba5c0c86be>:0
Snapdragon Profiler Application GUI is not getting launched. Please let us know how to resolve this.
BRs
Siddiqh M