[Mono-bugs] [Bug 434606] Uses of System.Diagnostics. TraceSwitch from static class initializers fail when running in embedded mode

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Oct 12 13:41:56 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=434606

User lortiz at interactivesupercomputing.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=434606#c1





--- Comment #1 from Luis Ortiz <lortiz at interactivesupercomputing.com>  2008-10-12 11:41:56 MDT ---
In Mono 1.2.6, an strace of the included sample application shows that instead
of attempting to load driver.dll.config, as I had hoped, it instead hunts
around for machine.config and finds it and uses it:

uname({sys="Linux", node="megaro.isc-dev.com", ...}) = 0
stat("/usr/local/etc/mono/2.0/machine.config", {st_mode=S_IFREG|0644,
st_size=24177, ...}) = 0
lstat("/usr/local/etc/mono/2.0/machine.config", {st_mode=S_IFREG|0644,
st_size=24177, ...}) = 0
brk(0x814000)                           = 0x814000
stat("/usr/local/etc/mono/2.0/machine.config", {st_mode=S_IFREG|0644,
st_size=24177, ...}) = 0
lstat("/usr/local/etc/mono/2.0/machine.config", {st_mode=S_IFREG|0644,
st_size=24177, ...}) = 0
stat("/usr/local/etc/mono/2.0", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/local/etc/mono/2.0", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/local/etc/mono/2.0/machine.config", {st_mode=S_IFREG|0644,
st_size=24177, ...}) = 0
lstat("/usr/local/etc/mono/2.0/machine.config", {st_mode=S_IFREG|0644,
st_size=24177, ...}) = 0
stat("/usr/local/etc/mono/2.0/machine.config", {st_mode=S_IFREG|0644,
st_size=24177, ...}) = 0
lstat("/usr/local/etc/mono/2.0/machine.config", {st_mode=S_IFREG|0644,
st_size=24177, ...}) = 0
open("/usr/local/etc/mono/2.0/machine.config", O_RDONLY) = 3


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list