[Mono-dev] XSP warning

Carlos Solorzano carlos at applianz.com
Sat Jan 14 12:41:24 EST 2006


On Jan 14, 2006, at 2:32 AM, Richard Torkar wrote:

>
> On Jan 14, 2006, at 08:51 , Carlos Solorzano wrote:
>
>> XSP is all of the sudden going crazy for us. All we did is upgrade  
>> mono and XSP to 1.1.13.0 and now it keeps printing out this  
>> warning constantly that it never printed before:
>>
>> ** (/usr/local/lib/xsp/1.0/xsp.exe:15518): WARNING **: icall.c:1020
> *SNIP*
>
> I don't know if it's any help to you but it looks like the mono  
> runtime gives you that msg. If you look in icall.c on line 1020 you  
> see this:
>                 /*
>                  * FIXME: mono_method_get_last_managed() sometimes  
> returns NULL, thus
>                  *        causing  
> ves_icall_System_Reflection_Assembly_GetCallingAssembly()
>                  *        to crash.  This only seems to happen in  
> some strange remoting
>                  *        scenarios and I was unable to figure out  
> what's happening there.
>                  *        Dec 10, 2005 - Martin.
>                  */
>
>                 if (dest)
>                         assembly = dest->klass->image->assembly;
>                 else {
>                         g_warning (G_STRLOC);
>                 }
>
> The last line: g_warning, is the one that prints the warning.  
> Martin seems to be aware of this "bug" since he wrote that comment  
> Dec 10. Maybe ask him (could it be Martin Baulig you're after? Not  
> sure.)
>
> Anyway, it's always a good idea to file it as a bug in bugzilla so  
> it doesn't get lost. And I'm quite sure Martin and the others are  
> interested in finding out what's causing this bug.
>

My code does use some remoting, mostly infinite lifespan objects,  
most of them marshal by ref.  My XSP configuration opens up an http  
remoting channel on the web.config.
I will see if I can come up with an example to reproduce this.

--Carlos


> /Richard_______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>




More information about the Mono-devel-list mailing list