[Mono-bugs] [Bug 609632] EGlib's g_get_home_dir() not able to read /etc/passwd
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Jul 11 08:45:54 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=609632
http://bugzilla.novell.com/show_bug.cgi?id=609632#c3
Tomas Bosak <bosak.tomas at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bosak.tomas at gmail.com
--- Comment #3 from Tomas Bosak <bosak.tomas at gmail.com> 2010-07-11 12:45:51 UTC ---
I have the very same issue on Ubuntu 10.04 with compiled Mono (tarball from
2010 07 11), xsp-2.6.4.tar.bz2 and mod_mono-2.6.3.tar.bz2. However my web
application is just simple ASP.NET hello world app consisting of Default.aspx,
Default.aspx.cs and web.config.
----------------------------------------------------------
Website configuration in apache:
MonoAutoApplication disabled
<VirtualHost *:6870>
DocumentRoot /var/www/test1/
MonoServerPath default /usr/local/bin/mod-mono-server2
AddMonoApplications default "/:/var/www/test1"
<location />
MonoSetServerAlias default
SetHandler mono
</location>
<Directory /var/www/test1/>
Options Indexes
AllowOverride None
Order allow,deny
allow from all
</Directory>
</VirtualHost>
----------------------------------------------------------
When I try to access my website I get Internal Server Error and this is in
apache error logs:
[Sun Jul 11 14:40:56 2010] [notice] caught SIGTERM, shutting down
[Sun Jul 11 14:40:58 2010] [notice] Apache/2.2.14 (Ubuntu) mod_mono/2.6.3
configured -- resuming normal operations
Stacktrace:
at (wrapper managed-to-native) System.Environment.internalGetHome ()
<0x00003>
at (wrapper managed-to-native) System.Environment.internalGetHome ()
<0x00003>
at System.Environment.InternalGetFolderPath
(System.Environment/SpecialFolder) <0x0000c>
at System.Environment.GetFolderPath
(System.Environment/SpecialFolder,System.Environment/SpecialFolderOption)
<0x00016>
at System.Environment.GetFolderPath (System.Environment/SpecialFolder)
<0x00012>
at Microsoft.Win32.KeyHandler.get_UserStore () <0x0000f>
at Microsoft.Win32.KeyHandler.Lookup (Microsoft.Win32.RegistryKey,bool)
<0x000da>
at Microsoft.Win32.UnixRegistryApi.OpenSubKey
(Microsoft.Win32.RegistryKey,string,bool) <0x00014>
at Microsoft.Win32.RegistryKey.OpenSubKey (string,bool) <0x00048>
at (wrapper remoting-invoke-with-check)
Microsoft.Win32.RegistryKey.OpenSubKey (string,bool) <0x00064>
at System.Web.Configuration.MachineKeyRegistryStorage.OpenRegistryKey
(string,bool) <0x00074>
at System.Web.Configuration.MachineKeyRegistryStorage.GetKey
(System.Web.Configuration.MachineKeyRegistryStorage/KeyType) <0x0005a>
at System.Web.Configuration.MachineKeyRegistryStorage.Retrieve
(System.Web.Configuration.MachineKeyRegistryStorage/KeyType) <0x00011>
at System.Web.Configuration.MachineKeySectionUtils.AutoGenKeys () <0x00020>
at System.Web.Configuration.MachineKeySection..cctor () <0x00226>
at (wrapper runtime-invoke) object.runtime_invoke_void
(object,intptr,intptr,intptr) <0x0002a>
at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke
(System.Reflection.MonoCMethod*,object,object[],System.Exception&) <0x00003>
at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke
(System.Reflection.MonoCMethod*,object,object[],System.Exception&) <0x00003>
at System.Reflection.MonoCMethod.Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
<0x0017f>
at System.Reflection.MonoCMethod.Invoke
(System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
<0x00024>
at System.Reflection.ConstructorInfo.Invoke (object[]) <0x0003f>
at System.Activator.CreateInstance (System.Type,bool) <0x0017c>
at System.Configuration.ConfigInfo.CreateInstance () <0x0003b>
at System.Configuration.SectionInfo.CreateInstance () <0x00014>
at System.Configuration.Configuration.GetSectionInstance
(System.Configuration.SectionInfo,bool) <0x00071>
at System.Configuration.ConfigurationSectionCollection.get_Item (string)
<0x000bd>
at System.Configuration.Configuration.GetSection (string) <0x00134>
at System.Web.Configuration.WebConfigurationManager.GetSection
(string,string,System.Web.HttpContext) <0x00370>
at System.Web.Configuration.WebConfigurationManager.GetSection
(string,string) <0x00019>
at System.Web.Configuration.WebConfigurationManager.GetWebApplicationSection
(string) <0x00073>
at System.Web.UI.ObjectStateFormatter.GetAlgo () <0x00048>
at System.Web.UI.ObjectStateFormatter.Serialize (object) <0x0014b>
at System.Web.UI.HiddenFieldPageStatePersister.Save () <0x00066>
at System.Web.UI.Page.SavePageStateToPersistenceMedium (object) <0x00071>
at System.Web.UI.Page.SavePageViewState () <0x00105>
at System.Web.UI.Page.ProcessLoadComplete () <0x00203>
at System.Web.UI.Page.InternalProcessRequest () <0x00340>
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext) <0x000e8>
at System.Web.HttpApplication/<Pipeline>c__Iterator2.MoveNext () <0x02a3a>
at System.Web.HttpApplication.Tick () <0x0002e>
at System.Web.HttpApplication.Start (object) <0x0019d>
at System.Web.HttpApplication.System.Web.IHttpHandler.ProcessRequest
(System.Web.HttpContext) <0x00032>
at System.Web.HttpRuntime.Process (System.Web.HttpWorkerRequest) <0x001e6>
at System.Web.HttpRuntime.RealProcessRequest (object) <0x00050>
at System.Web.HttpRuntime.ProcessRequest (System.Web.HttpWorkerRequest)
<0x0003f>
at Mono.WebServer.MonoWorkerRequest.ProcessRequest () <0x000ad>
at Mono.WebServer.BaseApplicationHost.ProcessRequest
(Mono.WebServer.MonoWorkerRequest) <0x0007e>
at Mono.WebServer.ModMonoApplicationHost.ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[],object)
<0x0034f>
at (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost.ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[],object)
<0x0010d>
at Mono.WebServer.ModMonoWorker.InnerRun (object) <0x0054e>
at Mono.WebServer.ModMonoWorker.Run (object) <0x0001b>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object
(object,intptr,intptr,intptr) <0x00036>
Native stacktrace:
/usr/local/bin/mono() [0x80d9044]
/usr/local/bin/mono() [0x8118f3b]
[0x694410]
/usr/local/bin/mono() [0x81daf1f]
[0x48dfc6]
[0x6e4dad]
[0x6e4d2f]
[0x6e4d03]
[0x6e4cc8]
[0x6e4923]
[0x6e46dd]
[0x6e45e9]
[0x6e456d]
[0x6e448d]
[0x6e3f33]
[0x6e3c2a]
[0x6e3b31]
[0x6e3aff]
[0x5cf92b]
/usr/local/bin/mono() [0x8063d48]
/usr/local/bin/mono(mono_runtime_invoke+0x40) [0x81c7390]
/usr/local/bin/mono() [0x81cd57e]
/usr/local/bin/mono() [0x8063596]
/usr/local/bin/mono() [0x8063ee8]
/usr/local/bin/mono(mono_runtime_invoke+0x40) [0x81c7390]
/usr/local/bin/mono(mono_runtime_invoke_array+0x5be) [0x81cd1ae]
/usr/local/bin/mono() [0x81d55f0]
[0x14f2f0]
[0x14ee48]
[0x14ecbd]
[0x6a46a0]
[0x6a417d]
[0x212ce4]
[0x213d8d]
[0x2139fa]
[0x213956]
[0x21290d]
[0x1aefb9]
[0x1aec32]
[0x1ae0d4]
[0x6e3841]
[0x6e27ac]
[0x6e2597]
[0x6e2422]
[0x6e0836]
[0x6de56c]
[0x6dc0e9]
[0x6d86e1]
[0x539a3b]
[0x5360f7]
[0x52fd96]
[0x52f9bb]
[0x49dea7]
[0x49dc69]
[0x49d888]
[0x49d326]
[0x4bcebf]
[0x4bb568]
[0x4bb1e6]
[0x4b815f]
[0x4b7a94]
[0x5cf067]
/usr/local/bin/mono() [0x8063d48]
/usr/local/bin/mono(mono_runtime_invoke+0x40) [0x81c7390]
/usr/local/bin/mono(mono_runtime_delegate_invoke+0x34) [0x81c75f4]
/usr/local/bin/mono() [0x81a9f73]
/usr/local/bin/mono() [0x81b79b4]
/usr/local/bin/mono() [0x81f0d3f]
/usr/local/bin/mono() [0x82120fd]
/lib/tls/i686/cmov/libpthread.so.0(+0x596e) [0x23596e]
/lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0x3e1a4e]
Debug info from gdb:
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
[Sun Jul 11 14:41:02 2010] [error] (70014)End of file found: read_data failed
[Sun Jul 11 14:41:02 2010] [error] Command stream corrupted, last command was 1
----------------------------------------------------------
I have 2 other web servers serving ASP.NET (MVC) application with mono and same
configuration which works, but they are build on tarball from April. Is this
problem of mono runtime or maybe something else?
--
Configure bugmail: http://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