[Opensim-users] Ubuntu and magic mini-trampolines (crash problem)

Frisby, Adam adam at deepthink.com.au
Thu Apr 23 05:39:59 UTC 2009


We frequently run into Mono issues - we really should have an active dialog with those guys since I suspect we're probably at the forefront of things relying on Mono.

Adam

> -----Original Message-----
> From: opensim-users-bounces at lists.berlios.de [mailto:opensim-users-
> bounces at lists.berlios.de] On Behalf Of Mic Bowman
> Sent: Wednesday, 22 April 2009 9:47 PM
> To: opensim-users at lists.berlios.de
> Subject: Re: [Opensim-users] Ubuntu and magic mini-trampolines (crash
> problem)
> 
> there is a mantis for this (3237)...
> 
> i've been going through the various script engine calls to log4net and
> commenting them out to get rid of the problem. two in particular
> seemed to help. i'll put up another patch on that mantis in the next
> couple days.
> 
> the problem comes and goes. i've tried various combinations of mono
> threads, debug/release builds, and even rebuilt log4net. the more
> scripts i have in a region that is restarting, the more likely the
> problem occurs. there is clearly a race condition somewhere in the
> mono 2.2 and 2.4 internals which opensim is tweaking.
> 
> --mic
> 
> 
> On Wed, Apr 22, 2009 at 6:09 PM, John Hopkin
> <opensim at jfhopkin.karoo.co.uk> wrote:
> > Thanks.  I'll try that.  At the moment, it's working OK - it seems to
> > be intermittent, whereas before it was during each bootup.  If/when
> it
> > happens again, I'll drop that value.
> >
> > John
> >
> > Snoopy Pfeffer wrote:
> >
> >>I have experienced the same when MONO_THREADS_PER_CPU is set to a
> very high number. 500 works for me.
> >>
> >>  Snoopy Pfeffer
> >>
> >>
> >>
> >>
> >>________________________________
> >>From: John Hopkin <opensim at jfhopkin.karoo.co.uk>
> >>To: opensim-users at lists.berlios.de
> >>Sent: Thursday, April 23, 2009 1:50:37 AM
> >>Subject: [Opensim-users] Ubuntu and magic mini-trampolines (crash
> problem)
> >>
> >>I've just upgraded Mono from 2.1 to 2.2 under Ubuntu Hardy, using Dr
> >>Scofield's script from here:
> >>
> >>http://xyzzyxyzzy.net/2009/02/17/updated-mono-build-script-mono-22/
> >>
> >>and all went smoothly with that.
> >>
> >>But now, when I run OpenSim.exe, it loads OK at first, but then I get
> >>the error:
> >>
> >><start paste>
> >>Region (root) # 0x18 0x0 0x0 0x55 0x8b 0xec 0x57 0x56 0x83 0xec 0x20
> >>0x8b 0x75 0x8 0x83 0xec 0x8 0x56 0x68 0x10 0x75 0xe8 0x9c 0x8b 0x5
> >>0x10 0x75 0xe8 0x9c 0xff 0x50 0x34
> >>**
> >>ERROR:mini-trampolines.c:122:mono_magic_trampoline: assertion failed:
> >>(vt)
> >>Stacktrace:
> >>
> >>  at log4net.LogManager.WrapLogger (log4net.Core.ILogger)
> <0xffffffff>
> >>  at log4net.LogManager.WrapLogger (log4net.Core.ILogger) <0x0001d>
> >><end paste>
> >>
> >>and a long stacktrace.  The server crashes, of course.  Presumably,
> >>the references to magic mini-trampolines are within the code; I don't
> >>have any scripts or objects that I'm aware of like that.
> >>
> >>Vital stats:
> >>
> >>* OpenSim revision 9205 (binary package from OSGrid)
> >>* Ubuntu Intrepid, kernel 2.6.27-11-generic
> >>* Mono run with MONO_THREADS_PER_CPU set to 2000
> >>* 7 regions run by one OpenSim.exe
> >>*  P4/3.6GHz, 2GB RAM, more than adequate (or were under Mono 2.1)
> >>* UGAIM through OSGrid
> >>* MySQL 14.12
> >>
> >>I'm completely at a loss as to what could be causing this.  Does
> >>anyone have any ideas?
> > --
> > John Hopkin
> >
> > _______________________________________________
> > Opensim-users mailing list
> > Opensim-users at lists.berlios.de
> > https://lists.berlios.de/mailman/listinfo/opensim-users
> >
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users



More information about the Opensim-users mailing list