Bug 16785 - Mono could not find profiler when compiled with llvm
Summary: Mono could not find profiler when compiled with llvm
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: Profiler ()
Version: 3.2.x
Hardware: PC Linux
: Normal normal
Target Milestone: Future Cycle (TBD)
Assignee: Alex Rønne Petersen
URL:
Depends on:
Blocks:
 
Reported: 2013-12-13 14:39 UTC by Sergey Zhukov
Modified: 2017-10-11 07:03 UTC (History)
7 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Sergey Zhukov 2013-12-13 14:39:07 UTC
OS: Ubuntu linux 32 bit

If mono compiled from sources with llvm support, it couldn't find profiler when start exe. If I compile mono without llvm profiler works as expected.

configure option: ./autogen.sh --prefix=/usr --enable-llvm=yes

mono --version
Mono Runtime Engine version 3.2.7 (master/01b7a50 Sat Dec 14 01:48:49 NOVT 2013)
Copyright (C) 2002-2013 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  x86
	Disabled:      none
	Misc:          softdebug 
	LLVM:          yes(3.4svn-mono-mono/e656cac)
	GC:            sgen

///
command line: 
mono --profile=log test.exe
The 'log' profiler wasn't found in the main executable nor could it be loaded from 'mono-profiler-log'.
Cannot open assembly 'test.exe': No such file or directory. 

the last line (could not find test.exe) is normal behaviour, because there is no file test.exe in current dir. Existing or non-existing test.exe file does not affect to mono-profile-log absence error. 

STRACE INFO
==============================================================
strace -e trace=open /usr/bin/mono --profile=log test.exe
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/i386-linux-gnu/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/lib/i386-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/lib/i386-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib/i386-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib/i386-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/lib/i386-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib/i386-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
open("/proc/self/maps", O_RDONLY|O_CLOEXEC) = 3
open("/sys/devices/system/cpu/online", O_RDONLY|O_CLOEXEC) = 3
open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib/i386-linux-gnu/tls/i686/sse2/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/tls/i686/sse2/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/tls/i686/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/tls/i686/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/tls/sse2/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/tls/sse2/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/tls/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/tls/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/i686/sse2/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/i686/sse2/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/i686/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/i686/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/sse2/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/sse2/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/tls/i686/sse2/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/tls/i686/sse2/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/tls/i686/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/tls/i686/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/tls/sse2/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/tls/sse2/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/tls/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/tls/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/i686/sse2/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/i686/sse2/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/i686/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/i686/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/sse2/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/sse2/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/sse2/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/sse2/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/tls/sse2/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/tls/sse2/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/tls/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/tls/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i686/sse2/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i686/sse2/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/i686/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/sse2/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/sse2/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/sse2/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/sse2/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/sse2/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/sse2/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/sse2/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/sse2/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/sse2/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/sse2/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libmono-profiler-log.la", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libmono-profiler-log.so", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libmonosgen-2.0.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib/i386-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
open("libmono-profiler-log.so.la", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib/i386-linux-gnu/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/i686/sse2/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/i686/cmov/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/i686/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/sse2/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/sse2/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libmono-profiler-log", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("libmono-profiler-log.la", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libmono-profiler-log.so", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libmonosgen-2.0.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib/i386-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
open("libmono-profiler-log.so.la", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
The 'log' profiler wasn't found in the main executable nor could it be loaded from 'mono-profiler-log'.
open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib/i386-linux-gnu/libnss_compat.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib/i386-linux-gnu/libnsl.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib/i386-linux-gnu/libnss_nis.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib/i386-linux-gnu/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
open("/dev/shm/mono.27176", O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW|O_CLOEXEC, 0640) = 3
open("test.exe.config", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("test.exe", O_RDONLY|O_LARGEFILE)  = -1 ENOENT (No such file or directory)
open("/usr/lib/mono/2.0/mscorlib.dll", O_RDONLY|O_LARGEFILE) = 3
open("/usr/lib/mono/2.0/mscorlib.dll.so", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/mono/gac/policy.2.0.mscorlib/0.0.0.0__b77a5c561934e089/policy.2.0.mscorlib.dll", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/mono/2.0/mscorlib.dll.config", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/etc/mono/assemblies/mscorlib/mscorlib.config", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/self/maps", O_RDONLY|O_CLOEXEC) = 3
open("/proc/self/maps", O_RDONLY|O_CLOEXEC) = 3
open("/dev/null", O_RDWR|O_LARGEFILE)   = 3
open("/usr/etc/mono/config", O_RDONLY|O_LARGEFILE) = 3
open("/home/sergey/.mono/config", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("test.exe", O_RDONLY|O_LARGEFILE)  = -1 ENOENT (No such file or directory)
Cannot open assembly 'test.exe': No such file or directory.

==========================================================

ls -al /usr/lib/libmono*

lrwxrwxrwx 1 root root       18 Dec 14 02:00 /usr/lib/libmono-2.0.a -> libmonoboehm-2.0.a
lrwxrwxrwx 1 root root       19 Dec 14 02:00 /usr/lib/libmono-2.0.la -> libmonoboehm-2.0.la
lrwxrwxrwx 1 root root       19 Dec 14 02:00 /usr/lib/libmono-2.0.so -> libmonoboehm-2.0.so
lrwxrwxrwx 1 root root       21 Dec 14 02:00 /usr/lib/libmono-2.0.so.1 -> libmonoboehm-2.0.so.1
lrwxrwxrwx 1 root root       25 Dec 14 02:00 /usr/lib/libmono-2.0.so.1.0.0 -> libmonoboehm-2.0.so.1.0.0
-rw-r--r-- 1 root root 21265326 Dec 14 01:59 /usr/lib/libmonoboehm-2.0.a
-rwxr-xr-x 1 root root     1038 Dec 14 01:59 /usr/lib/libmonoboehm-2.0.la
lrwxrwxrwx 1 root root       25 Dec 14 01:59 /usr/lib/libmonoboehm-2.0.so -> libmonoboehm-2.0.so.1.0.0
lrwxrwxrwx 1 root root       25 Dec 14 01:59 /usr/lib/libmonoboehm-2.0.so.1 -> libmonoboehm-2.0.so.1.0.0
-rwxr-xr-x 1 root root 12522898 Dec 14 01:59 /usr/lib/libmonoboehm-2.0.so.1.0.0
-rw-r--r-- 1 root root   518514 Dec 14 02:00 /usr/lib/libmono-profiler-aot.a
-rwxr-xr-x 1 root root     1094 Dec 14 02:00 /usr/lib/libmono-profiler-aot.la
lrwxrwxrwx 1 root root       29 Dec 14 02:00 /usr/lib/libmono-profiler-aot.so -> libmono-profiler-aot.so.0.0.0
lrwxrwxrwx 1 root root       29 Dec 14 02:00 /usr/lib/libmono-profiler-aot.so.0 -> libmono-profiler-aot.so.0.0.0
-rwxr-xr-x 1 root root   374492 Dec 14 02:00 /usr/lib/libmono-profiler-aot.so.0.0.0
-rw-r--r-- 1 root root   521164 Dec 14 02:00 /usr/lib/libmono-profiler-cov.a
-rwxr-xr-x 1 root root     1094 Dec 14 02:00 /usr/lib/libmono-profiler-cov.la
lrwxrwxrwx 1 root root       29 Dec 14 02:00 /usr/lib/libmono-profiler-cov.so -> libmono-profiler-cov.so.0.0.0
lrwxrwxrwx 1 root root       29 Dec 14 02:00 /usr/lib/libmono-profiler-cov.so.0 -> libmono-profiler-cov.so.0.0.0
-rwxr-xr-x 1 root root   377049 Dec 14 02:00 /usr/lib/libmono-profiler-cov.so.0.0.0
-rw-r--r-- 1 root root   565448 Dec 14 02:00 /usr/lib/libmono-profiler-iomap.a
-rwxr-xr-x 1 root root     1108 Dec 14 02:00 /usr/lib/libmono-profiler-iomap.la
lrwxrwxrwx 1 root root       31 Dec 14 02:00 /usr/lib/libmono-profiler-iomap.so -> libmono-profiler-iomap.so.0.0.0
lrwxrwxrwx 1 root root       31 Dec 14 02:00 /usr/lib/libmono-profiler-iomap.so.0 -> libmono-profiler-iomap.so.0.0.0
-rwxr-xr-x 1 root root   411504 Dec 14 02:00 /usr/lib/libmono-profiler-iomap.so.0.0.0
-rw-r--r-- 1 root root   164556 Dec 14 02:00 /usr/lib/libmono-profiler-log.a
-rwxr-xr-x 1 root root     1098 Dec 14 02:00 /usr/lib/libmono-profiler-log.la
lrwxrwxrwx 1 root root       29 Dec 14 02:00 /usr/lib/libmono-profiler-log.so -> libmono-profiler-log.so.0.0.0
lrwxrwxrwx 1 root root       29 Dec 14 02:00 /usr/lib/libmono-profiler-log.so.0 -> libmono-profiler-log.so.0.0.0
-rwxr-xr-x 1 root root   121583 Dec 14 02:00 /usr/lib/libmono-profiler-log.so.0.0.0
-rw-r--r-- 1 root root 23289650 Dec 14 01:59 /usr/lib/libmonosgen-2.0.a
-rwxr-xr-x 1 root root     1031 Dec 14 01:59 /usr/lib/libmonosgen-2.0.la
lrwxrwxrwx 1 root root       24 Dec 14 01:59 /usr/lib/libmonosgen-2.0.so -> libmonosgen-2.0.so.1.0.0
lrwxrwxrwx 1 root root       24 Jun 26 01:07 /usr/lib/libmonosgen-2.0.so.0 -> libmonosgen-2.0.so.0.0.0
-rwxr-xr-x 1 root root 12380874 Jun 26 01:07 /usr/lib/libmonosgen-2.0.so.0.0.0
lrwxrwxrwx 1 root root       24 Dec 14 01:59 /usr/lib/libmonosgen-2.0.so.1 -> libmonosgen-2.0.so.1.0.0
-rwxr-xr-x 1 root root 13589100 Dec 14 01:59 /usr/lib/libmonosgen-2.0.so.1.0.0
Comment 1 Rodrigo Kumpera 2013-12-16 14:56:28 UTC
Paolo, I can't use the log profiler on OSX, could you investigate this?
Comment 2 Zoltan Varga 2014-03-08 15:03:12 UTC
This probably happens because libmono-profiler-log.so is linked against libmonosgen-2.0.so, and we try to load it into a statically linked mono binary.
Comment 3 evolvedmicrobe 2014-10-10 01:23:01 UTC
Same problem with the latest git build and llvm as described:

Mono JIT compiler version 3.10.1 (master/02be6a4 Thu Oct  9 17:44:01 PDT 2014)
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:          yes(3.6.0svn-mono-mono-2014-09-03-e06ed27fd37b90ccf39fa8df6a7ae360df98c108/5486eb2)
        GC:            sgen
Comment 4 Rodrigo Kumpera 2017-01-09 21:51:44 UTC
Hi Alex,

Does this still affect us?

This apparently doesn't allow mac apps from being profiled.
Comment 5 Ludovic Henry 2017-09-06 18:09:29 UTC
Alex, any update on that one?
Comment 6 Alex Rønne Petersen 2017-10-08 23:45:31 UTC
https://github.com/mono/mono/pull/5726