<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I do not think it is that. The same crash occurs on a identically
    set up system on a freshly imported OAR sim. But thanks for the tip
    :)<br>
    <br>
    Regards<br>
    <br>
    Klaus<br>
    <br>
    On 03.01.2012 19:16, Teravus Ovares wrote:
    <blockquote
cite="mid:CABsLVMu74CcXw+8btThV8+bTGJYLv39RkRK5+P87na8QpfXW_A@mail.gmail.com"
      type="cite">
      <div>Just a FYI, this is probably related to the heightfield.   
        Backup your terrain and then reset it to a flat one and try
        again.</div>
      <div> </div>
      <div>Teravus<br>
        <br>
      </div>
      <div class="gmail_quote">On Mon, Jan 2, 2012 at 5:19 PM, Klaus-E.
        Klingner <span dir="ltr"><<a moz-do-not-send="true"
            href="mailto:klingner@silverday.de">klingner@silverday.de</a>></span>
        wrote:<br>
        <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px
          0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Turning everything
          back to the original files I copied all the physics related
          files from the original distro into the diva distro. For a
          while everything was fine. Then it crashed again. This time
          with this message:
          <div class="im"><br>
            <br>
            Native stacktrace:<br>
            <br>
                   mono() [0x494e01]<br>
                   mono() [0x4e62bf]<br>
                   mono() [0x41b769]<br>
          </div>
                 /lib64/libpthread.so.0(+0xf2d0) [0x7f44d8c2a2d0]<br>
                 /opt/opensim/diva-r16915/bin/libode-x86_64.so(_Z12dCollideCCTLP6dxGeomS0_iP12dContactGeomi+0x5c2)
          [0x7f4493cccc22]<br>
                 [0x410e6541]
          <div class="im"><br>
            <br>
            Debug info from gdb:<br>
            <br>
            <br>
            =================================================================<br>
          </div>
          Got a SIGSEGV while executing native code. This usually
          indicates
          <div class="im"><br>
            a fatal error in the mono runtime or one of the native
            libraries<br>
            used by your application.<br>
            =================================================================<br>
            <br>
            Regards,<br>
            <br>
            Klaus<br>
            <br>
          </div>
          <div>
            <div class="h5">On 02.01.2012 23:02, Klaus-E. Klingner
              wrote:<br>
              <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px
                0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">BTW
                in V 07.0.2 the problem wasn't there. I tried to replace
                the old libode from 0.7.2 with the ones from the old
                version, but Opensim would no longer  start. So I assume
                something has changed with the physics from one version
                to another.<br>
                <br>
                Regards,<br>
                <br>
                Klaus<br>
                <br>
                On 02.01.2012 22:51, Klaus-E. Klingner wrote:<br>
                <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px
                  0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Hallo,<br>
                  <br>
                  thanks, Justin, for the tip. I tried it, but it did
                  not help. Still getting the ODE-crash (in addition one
                  of the regions doesn't load for some strange reason,
                  with bullet it loads again :/):<br>
                  <br>
                  terminate called after throwing an instance of
                  'std::bad_alloc'<br>
                   what():  std::bad_alloc<br>
                  Stacktrace:<br>
                  <br>
                   at (wrapper managed-to-native) Ode.NET.d.Collide
                  (intptr,intptr,int,Ode.NET.d/ContactGeom[],int)
                  <0xffffffff><br>
                   at OpenSim.Region.Physics.OdePlugin.OdeScene.near
                  (intptr,intptr,intptr) <0x0054f><br>
                   at (wrapper native-to-managed)
                  OpenSim.Region.Physics.OdePlugin.OdeScene.near
                  (intptr,intptr,intptr) <0xffffffff><br>
                   at (wrapper managed-to-native)
                  Ode.NET.d.SpaceCollide2 (intptr,intptr,intptr,Ode.NET.d/NearCallback)
                  <0xffffffff><br>
                   at OpenSim.Region.Physics.OdePlugin.OdeScene.collision_optimized
                  (single) <0x0052f><br>
                   at OpenSim.Region.Physics.OdePlugin.OdeScene.Simulate
                  (single) <0x00c1f><br>
                   at OpenSim.Region.Framework.Scenes.SceneGraph.UpdatePhysics
                  (double) <0x00046><br>
                   at OpenSim.Region.Framework.Scenes.Scene.Update ()
                  <0x00627><br>
                   at OpenSim.Region.Framework.Scenes.Scene.Heartbeat ()
                  <0x00047><br>
                   at System.Threading.Thread.StartUnsafe ()
                  <0x00071><br>
                   at (wrapper runtime-invoke)
                  object.runtime_invoke_void__this__
                  (object,intptr,intptr,intptr) <0xffffffff><br>
                  <br>
                  Native stacktrace:<br>
                  <br>
                         mono() [0x494e01]<br>
                         /lib64/libpthread.so.0(+0xf2d0)
                  [0x7fcec95552d0]<br>
                         /lib64/libc.so.6(gsignal+0x35) [0x7fcec920bab5]<br>
                         /lib64/libc.so.6(abort+0x186) [0x7fcec920cfb6]<br>
                         /usr/lib64/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x11d)
                  [0x7fce8838ca9d]<br>
                         /usr/lib64/libstdc++.so.6(+0xbccb6)
                  [0x7fce8838acb6]<br>
                         /usr/lib64/libstdc++.so.6(+0xbcce3)
                  [0x7fce8838ace3]<br>
                         /usr/lib64/libstdc++.so.6(+0xbcdee)
                  [0x7fce8838adee]<br>
                         /usr/lib64/libstdc++.so.6(_Znwm+0x7d)
                  [0x7fce8838b1fd]<br>
                         /usr/lib64/libstdc++.so.6(_Znam+0x9)
                  [0x7fce8838b2b9]<br>
                         /opt/opensim/diva-r16915/bin/libode-x86_64.so(_ZN13dxHeightfield20allocateHeightBufferEmm+0x54)
                  [0x7fce88619f74]<br>
                         /opt/opensim/diva-r16915/bin/libode-x86_64.so(_ZN13dxHeightfield23dCollideHeightfieldZoneEiiiiP6dxGeomiiP12dContactGeomi+0x1b0)
                  [0x7fce8861a690]<br>
                         /opt/opensim/diva-r16915/bin/libode-x86_64.so(_Z19dCollideHeightfieldP6dxGeomS0_iP12dContactGeomi+0x23a)
                  [0x7fce8861b81a]<br>
                         [0x41aeafc1]<br>
                  <br>
                  Debug info from gdb:<br>
                  <br>
                  <br>
                  =================================================================<br>
                  Got a SIGABRT while executing native code. This
                  usually indicates<br>
                  a fatal error in the mono runtime or one of the native
                  libraries<br>
                  used by your application.<br>
                  =================================================================<br>
                  Regards,<br>
                  <br>
                  Klaus<br>
                  <br>
                  On 02.01.2012 21:50, Justin Clark-Casey wrote:<br>
                  <blockquote style="BORDER-LEFT:#ccc 1px
                    solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex"
                    class="gmail_quote">Please see [1] and [2] for more
                    information on these ODE crashes.<br>
                    <br>
                    Essentially, we've narrowed it down to a problem
                    using the default ODE collider with more than 1
                    region.  Stress tests with 20 bots constantly
                    teleporting around one region (or between two
                    simulators in a grid each running 1 region) do not
                    trigger the ODE crash even after many hours.<br>
                    <br>
                    The same stress test with 20 bots teleporting
                    between two regions on the same system, even where
                    the regions are 10 map spaces apart, always triggers
                    the collider crash sooner or later.  Sometimes this
                    occurs almost immediately, sometimes only after an
                    hour or so.<br>
                    <br>
                    Compiling ODE with the older collider (GIMPACT
                    instead of OPCODE) doesn't see this crash.<br>
                    <br>
                    My chief suspicion is that there's actually an
                    ODE/collider memory freeing bug.  I suspect that
                    it's not very usual to run more than one physics
                    'world' in a program (in OpenSimulator, each region
                    runs its own world).  It could also be a problem
                    with OpenSim's P/Invoke interface to ODE causing
                    collision objects to be freed at the wrong time, but
                    I'm currently discounting that because we don't see
                    the same failure with two simulators each with a
                    single region, and ODE scenes at the OpenSim level
                    are entirely separate, even though they aren't in
                    the ODE library itself.<br>
                    <br>
                    [1] contains a link in the comments to an ODE Linux
                    64 bit library I compiled using the GIMPACT
                    collider, if you're running that platform and want
                    to try it.  This will work on any recent version of
                    OpenSim (probably even 0.6.9).<br>
                    <br>
                    Using a linux distro version of ode probably won't
                    fix this problem as I expect they will have compiled
                    it using OPCODE.  OpenSimulator only every uses the
                    ODE library bundled in its bin directory, unless you
                    start symlinking or similar.<br>
                    <br>
                    [1] <a moz-do-not-send="true"
                      href="http://opensimulator.org/mantis/view.php?id=3251"
                      target="_blank">http://opensimulator.org/mantis/view.php?id=3251</a><br>
                    [2] <a moz-do-not-send="true"
                      href="http://opensimulator.org/mantis/view.php?id=4553"
                      target="_blank">http://opensimulator.org/mantis/view.php?id=4553</a><br>
                    <br>
                    On 01/01/12 20:23, Klaus-E. Klingner wrote:<br>
                    <blockquote style="BORDER-LEFT:#ccc 1px
                      solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex"
                      class="gmail_quote">Hallo,<br>
                      <br>
                      Thanks for the tip. But I am not using any mesh in
                      my sim :(<br>
                      <br>
                      Basically I am using the DIVA because of the wifi,
                      but think I will switch once the new GUI is done,
                      that was written<br>
                      about here on the list. Do not have time to write
                      one myself atm.<br>
                      <br>
                      Regards,<br>
                      <br>
                      Klaus<br>
                      <br>
                      On 01.01.2012 14:38, M.E. Verhagen wrote:<br>
                      <blockquote style="BORDER-LEFT:#ccc 1px
                        solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex"
                        class="gmail_quote">Happy new year !<br>
                        <br>
                        One other thing what seems to trigger ode
                        crashes seem to faulty meshes, you can reconize
                        these from opensim log lines<br>
                        like:<br>
                        <br>
                        10:49:19 - [MESH]: no recognized physics mesh
                        found in mesh asset<br>
                        <br>
                        11:06:40 - [MESH]: asset data is zero length<br>
                        <br>
                        06:40 - [MESH]: experimental mesh proxy
                        generation for defaultMesh/9af57c73-8ef4-42f1-9415-46e8491213cd<br>
                        <br>
                        Try to find these inworld and delete them. On my
                        box the ode crashes were less fequent after
                        deleting those.<br>
                        <br>
                        The case with the libode is that it does not
                        seem to be compatible with some systems luckely
                        most system already have<br>
                        a libode in their repo why not use that libode ?<br>
                        I am using a git version, not the diva. Could be
                        that some recent updates on the odescene also
                        prevent some crashes.<br>
                        <br>
                        Op zaterdag 31 december 2011 schreef Klaus-E.
                        Klingner (<a moz-do-not-send="true"
                          href="mailto:klingner@silverday.de"
                          target="_blank">klingner@silverday.de</a>
                        <mailto:<a moz-do-not-send="true"
                          href="mailto:klingner@silverday.de"
                          target="_blank">klingner@silverday.de</a>>)
                        het<br>
                        volgende:<br>
                        > <sigh> I have to correct myself. The
                        world just crashed again with exactly the same
                        error :(<br>
                        ><br>
                        > Regards,<br>
                        ><br>
                        > Klaus<br>
                        ><br>
                        > On 31.12.2011 18:19, Klaus-E. Klingner
                        wrote:<br>
                        ><br>
                        > Hallo,<br>
                        ><br>
                        > thank you for the tip. However it did not
                        fix the problem :/ I still got the same crash.
                        However I noticed that the<br>
                        ode-file in the physics folder of DIVA is
                        different from the one in the original OpenSim
                        0.72-download. I copied that<br>
                        over, started the world and that seems to have
                        done the trick. Now I just have to figure out a
                        way to one of the sims<br>
                        that suddenly disappeared :/<br>
                        ><br>
                        > Regards and a happy and a happy new year,<br>
                        ><br>
                        > Klaus<br>
                        ><br>
                        ><br>
                        > Additional remark:<br>
                        ><br>
                        > To install the libode on SuSe you have to
                        add the OpenSuSE-Gamerepository with<br>
                        ><br>
                        > zypper addrepo <a moz-do-not-send="true"
                          href="http://download.opensuse.org/repositories/games/openSUSE_11.4/"
                          target="_blank">http://download.opensuse.org/repositories/games/openSUSE_11.4/</a>
                        opensuse-games-x86_64<br>
                        ><br>
                        > and then install libode using<br>
                        ><br>
                        > zypper install libode1<br>
                        ><br>
                        > On 31.12.2011 16:57, M.E. Verhagen wrote:<br>
                        ><br>
                        ><br>
                        ><br>
                        > I had the same sort of ode crashes, i
                        installed ode on my system with 'yum install
                        ode' and deleted the libode.so<br>
                        from the opensim bin dir, after wich i simlinked
                        the lib to make sure opensim uses it. I also
                        downloaded<br>
                        <a moz-do-not-send="true"
                          href="https://github.com/downloads/justincc/opensim/libode.so-x86_64.so"
                          target="_blank">https://github.com/downloads/justincc/opensim/libode.so-x86_64.so</a>,
                        and the crashes stopped.<br>
                        ><br>
                        ><br>
                        ><br>
                        > On suse this would something like these
                        commands:<br>
                        ><br>
                        > yum install libode<br>
                        ><br>
                        > cd /opt/opensim/diva-r16915/bin<br>
                        ><br>
                        > wget <a moz-do-not-send="true"
                          href="https://github.com/downloads/justincc/opensim/libode.so-x86_64.so"
                          target="_blank">https://github.com/downloads/justincc/opensim/libode.so-x86_64.so</a><br>
                        ><br>
                        > rm libode.so<br>
                        ><br>
                        > rm libode-x86_64.so<br>
                        ><br>
                        > mv <a moz-do-not-send="true"
                          href="http://libode.so-x86_64.so/"
                          target="_blank">libode.so-x86_64.so</a> <<a
                          moz-do-not-send="true"
                          href="http://libode.so-x86_64.so/"
                          target="_blank">http://libode.so-x86_64.so</a>>
                        libode-x86_64.so<br>
                        ><br>
                        > ln /usr/lib64/libode.so.1.1.1 libode.so<br>
                        ><br>
                        ><br>
                        > I am not sure if there is a
                        libode.so.1.1.1, it could named differently, but
                        just symlink it.<br>
                        > In theory the symlink is not needed, but it
                        cannot hurt.<br>
                        ><br>
                        ><br>
                        > _______________________________________________<br>
                        > Opensim-users mailing list<br>
                        > <a moz-do-not-send="true"
                          href="mailto:Opensim-users@lists.berlios.de"
                          target="_blank">Opensim-users@lists.berlios.de</a>
                        <mailto:<a moz-do-not-send="true"
                          href="mailto:Opensim-users@lists.berlios.de"
                          target="_blank">Opensim-users@lists.berlios.de</a>><br>
                        > <a moz-do-not-send="true"
                          href="https://lists.berlios.de/mailman/listinfo/opensim-users"
                          target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
                        ><br>
                        <br>
                        <br>
                        _______________________________________________<br>
                        Opensim-users mailing list<br>
                        <a moz-do-not-send="true"
                          href="mailto:Opensim-users@lists.berlios.de"
                          target="_blank">Opensim-users@lists.berlios.de</a><br>
                        <a moz-do-not-send="true"
                          href="https://lists.berlios.de/mailman/listinfo/opensim-users"
                          target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
                      </blockquote>
                      <br>
                      <br>
                      _______________________________________________<br>
                      Opensim-users mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:Opensim-users@lists.berlios.de"
                        target="_blank">Opensim-users@lists.berlios.de</a><br>
                      <a moz-do-not-send="true"
                        href="https://lists.berlios.de/mailman/listinfo/opensim-users"
                        target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
                    </blockquote>
                    <br>
                    <br>
                  </blockquote>
                  _______________________________________________<br>
                  Opensim-users mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:Opensim-users@lists.berlios.de"
                    target="_blank">Opensim-users@lists.berlios.de</a><br>
                  <a moz-do-not-send="true"
                    href="https://lists.berlios.de/mailman/listinfo/opensim-users"
                    target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
                  <br>
                </blockquote>
                _______________________________________________<br>
                Opensim-users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:Opensim-users@lists.berlios.de"
                  target="_blank">Opensim-users@lists.berlios.de</a><br>
                <a moz-do-not-send="true"
                  href="https://lists.berlios.de/mailman/listinfo/opensim-users"
                  target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
                <br>
              </blockquote>
              _______________________________________________<br>
              Opensim-users mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:Opensim-users@lists.berlios.de"
                target="_blank">Opensim-users@lists.berlios.de</a><br>
              <a moz-do-not-send="true"
                href="https://lists.berlios.de/mailman/listinfo/opensim-users"
                target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Opensim-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a>
<a class="moz-txt-link-freetext" href="https://lists.berlios.de/mailman/listinfo/opensim-users">https://lists.berlios.de/mailman/listinfo/opensim-users</a>
</pre>
    </blockquote>
  </body>
</html>