The build logs of the fedora libode show it was build with opcode<br><a href="http://kojipkgs.fedoraproject.org/packages/ode/0.11.1/6.fc15/data/logs/x86_64/build.log">http://kojipkgs.fedoraproject.org/packages/ode/0.11.1/6.fc15/data/logs/x86_64/build.log</a><br>
<br>i downloaded the gimpact libode x64 lib from justin<br><br>Somehow the collision physics seem to be stable with those two libs. (opensim won't start with the gimpact lib and the opensim libode.so)<br><br>I think opensim libode.so is somehow causing a memory bug, i wonder should the libode.so be there if the gimpctx64 is there ?<br>
<br><br>Op maandag 2 januari 2012 schreef Justin Clark-Casey (<a href="mailto:jjustincc@googlemail.com">jjustincc@googlemail.com</a>) het volgende:<br>> 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 href="http://opensimulator.org/mantis/view.php?id=3251">http://opensimulator.org/mantis/view.php?id=3251</a><br>> [2] <a href="http://opensimulator.org/mantis/view.php?id=4553">http://opensimulator.org/mantis/view.php?id=4553</a><br>
><br>> On 01/01/12 20:23, Klaus-E. Klingner wrote:<br>>><br>>> 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>>>><br>
>>> 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 href="mailto:klingner@silverday.de">klingner@silverday.de</a> <mailto:<a href="mailto:klingner@silverday.de">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 href="http://download.opensuse.org/repositories/games/openSUSE_11.4/">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 href="https://github.com/downloads/justincc/opensim/libode.so-x86_64.so">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 href="https://github.com/downloads/justincc/opensim/libode.so-x86_64.so">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 href="http://libode.so-x86_64.so">libode.so-x86_64.so</a> <<a href="http://libode.so-x86_64.so">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 href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a> <mailto:<a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a>><br>>>> > <a href="https://lists.berlios.de/mailman/listinfo/opensim-users">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
>>> ><br>>>><br>>>><br>>>> _______________________________________________<br>>>> Opensim-users mailing list<br>>>> <a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
>>> <a href="https://lists.berlios.de/mailman/listinfo/opensim-users">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>>><br>>><br>>> _______________________________________________<br>
>> Opensim-users mailing list<br>>> <a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>>> <a href="https://lists.berlios.de/mailman/listinfo/opensim-users">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
><br>><br>> --<br>> Justin Clark-Casey (justincc)<br>> <a href="http://justincc.org/blog">http://justincc.org/blog</a><br>> <a href="http://twitter.com/justincc">http://twitter.com/justincc</a><br>> _______________________________________________<br>
> Opensim-users mailing list<br>> <a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>> <a href="https://lists.berlios.de/mailman/listinfo/opensim-users">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
>