[Mono-list] mod_mono problems

Daniel Lopez daniel@rawbyte.com
Thu, 13 Mar 2003 09:07:56 -0800


The warnings while compiling ModMono.dll are normal, because some functions are
declared as being provided by Mono, but the compiler cant find them in the
runtime (that is ok, they will be provided by mod_mono, not Mono)
When you mention crashes, I guess you refer to segfaults or do you get some
other errors?
Are you using a threaded MPM, like the worker MPM? That is the only time I
have seen segfaults (I am currently looking at this, Alp Toker mentioned it
to me)
Have you tried mod_mono RPM?
If that does not fix it, can you email me off-list your error_log?

Thanks!

Daniel


> Hi,
> 
> I have a RH8.0 box with mono-0.23 installed from RPMs. I have compiled a
> couple of small programs on it without any problem but I am getting a lot of
> warnings compiling ModMono.dll. The result of this compilation (ModMono.dll)
> crashes my apache 2.0.44 everytime I try to access /mono. The xsp server
> works fine when started as a standalone application. I also tried with the
> code in cvs as it was last night with the same results. The apache module
> (mod_mono.so) compiles and installs without any problem.
> 
> It seems there is a problem with my mono install, I removed the installed
> RPMs and made sure there was no remaining files on the system and then
> installed again the RPMs getting the same results.
> 
> Is there anything I can do to make it work?
> 
> Thanks
> 
> RJ
> 
> 
> mcs /debug+ /debug:full /nologo /r:System.Web.dll /target:library
> /out:ModMono.dll ApacheApplicationHost.cs ApacheWorkerRequest.cs
> MonoWorkerRequest.cs IApplicationHost.cs Request.cs
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::GetConnectionInternal(intptr)" (tested without
> signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::GetHttpVersionInternal(intptr)" (tested without
> signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::GetHttpVerbNameInternal(intptr)" (tested without
> signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::SendResponseFromMemoryInternal(intptr,byte[],int)"
> (tested without signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::SetResponseHeaderInternal(intptr,string,string)"
> (tested without signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::GetRequestHeaderInternal(intptr,string)" (tested
> without signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::AliasMatches(string,string)" (tested without signature
> also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::GetServerVariableInternal(intptr,string)" (tested
> without signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::GetUriInternal(intptr)" (tested without signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::GetFileNameInternal(intptr)" (tested without signature
> also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::GetQueryStringInternal(intptr)" (tested without
> signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::GetServerPortInternal(intptr)" (tested without
> signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::GetRemoteAddressInternal(intptr)" (tested without
> signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::GetRemoteNameInternal(intptr)" (tested without
> signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::GetLocalAddressInternal(intptr)" (tested without
> signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::GetLocalPortInternal(intptr)" (tested without signature
> also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::GetRemotePortInternal(intptr)" (tested without
> signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::FlushInternal(intptr)" (tested without signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::CloseInternal(intptr)" (tested without signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::SetupClientBlockInternal(intptr)" (tested without
> signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::ShouldClientBlockInternal(intptr)" (tested without
> signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::GetClientBlockInternal(intptr,byte[],uint)" (tested
> without signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::SetStatusCodeInternal(intptr,int)" (tested without
> signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::SetStatusLineInternal(intptr,string)" (tested without
> signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> WROTE SYMFILE: 5 sources, 102 methods, 28 types, 241 line numbers, 14
> locals, 10 namespaces, 8048 bytes of string data
> OffsetTable [20435 - 52:19039 - 5:20315:120 - 102:19091:1224 - 28]
> Compilation succeeded
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list