Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006906opensim[REGION] Physics Enginespublic2013-12-20 15:422015-01-27 08:02
ReporterMarcelEdward 
Assigned ToRobert Adams 
PrioritynormalSeverityminorReproducibilityalways
StatusassignedResolutionopen 
Platform0.8 devOSosxOS Version10.9.1
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0006906: bullet physics not working
DescriptionWhen I try to use bulletsim as a physics engine opensim crashes.

With a DllNotFoundException, but since it should be red as No x86_64 dylib found.

00:39:52 - [APPLICATION]:
APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs

Exception: System.DllNotFoundException: lib32/libBulletSim.dylib
  at (wrapper managed-to-native) OpenSim.Region.Physics.BulletSPlugin.BSAPIUnman/BSAPICPP:Initialize2 (OpenMetaverse.Vector3,intptr,int,intptr,int,intptr,OpenSim.Region.Physics.BulletSPlugin.BSAPIUnman/BSAPICPP/DebugLogCallback)
  at OpenSim.Region.Physics.BulletSPlugin.BSAPIUnman.Initialize (Vector3 maxPosition, ConfigurationParameters parms, Int32 maxCollisions, OpenSim.Region.Physics.BulletSPlugin.CollisionDesc[]& collisionArray, Int32 maxUpdates, OpenSim.Region.Physics.BulletSPlugin.EntityProperties[]& updateArray) [0x00000] in <filename unknown>:0
  at OpenSim.Region.Physics.BulletSPlugin.BSScene.Initialise (IMesher meshmerizer, IConfigSource config) [0x00000] in <filename unknown>:0
  at OpenSim.Region.Physics.Manager.PhysicsPluginManager.GetPhysicsScene (System.String physEngineName, System.String meshEngineName, IConfigSource config, System.String regionName) [0x00000] in <filename unknown>:0
  at OpenSim.Region.ClientStack.RegionApplicationBase.GetPhysicsScene (System.String engine, System.String meshEngine, IConfigSource config, System.String osSceneIdentifier) [0x00000] in <filename unknown>:0
  at OpenSim.OpenSimBase.GetPhysicsScene (System.String osSceneIdentifier) [0x00000] in <filename unknown>:0
  at OpenSim.OpenSimBase.SetupScene (OpenSim.Framework.RegionInfo regionInfo, Int32 proxyOffset, IConfigSource configSource, System.Collections.Generic.List`1& clientServer) [0x00000] in <filename unknown>:0
  at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo regionInfo, Boolean portadd_flag, Boolean do_post_init, IScene& mscene) [0x00000] in <filename unknown>:0
  at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo regionInfo, Boolean portadd_flag, IScene& scene) [0x00000] in <filename unknown>:0
  at OpenSim.ApplicationPlugins.LoadRegions.LoadRegionsPlugin.PostInitialise () [0x00000] in <filename unknown>:0
  at OpenSim.OpenSimBase.StartupSpecific () [0x00000] in <filename unknown>:0
  at OpenSim.OpenSim.StartupSpecific () [0x00000] in <filename unknown>:0
  at OpenSim.Framework.Servers.BaseOpenSimServer.Startup () [0x00000] in <filename unknown>:0
  at OpenSim.Application.Main (System.String[] args) [0x00000] in <filename unknown>:0

Application is terminating: True
Steps To Reproducemono --runtime=v4.0 ./OpenSim.exe
Additional InformationI tried to recompile the bullet engine, then the compiled library loads but gives another startup error:

00:23:34 - [APPLICATION]:
APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs

Exception: System.EntryPointNotFoundException: Initialize2
  at (wrapper managed-to-native) OpenSim.Region.Physics.BulletSPlugin.BSAPIUnman/BSAPICPP:Initialize2 (OpenMetaverse.Vector3,intptr,int,intptr,int,intptr,OpenSim.Region.Physics.BulletSPlugin.BSAPIUnman/BSAPICPP/DebugLogCallback)
  at OpenSim.Region.Physics.BulletSPlugin.BSAPIUnman.Initialize (Vector3 maxPosition, ConfigurationParameters parms, Int32 maxCollisions, OpenSim.Region.Physics.BulletSPlugin.CollisionDesc[]& collisionArray, Int32 maxUpdates, OpenSim.Region.Physics.BulletSPlugin.EntityProperties[]& updateArray) [0x00000] in <filename unknown>:0
  at OpenSim.Region.Physics.BulletSPlugin.BSScene.Initialise (IMesher meshmerizer, IConfigSource config) [0x00000] in <filename unknown>:0
  at OpenSim.Region.Physics.Manager.PhysicsPluginManager.GetPhysicsScene (System.String physEngineName, System.String meshEngineName, IConfigSource config, System.String regionName) [0x00000] in <filename unknown>:0
  at OpenSim.Region.ClientStack.RegionApplicationBase.GetPhysicsScene (System.String engine, System.String meshEngine, IConfigSource config, System.String osSceneIdentifier) [0x00000] in <filename unknown>:0
  at OpenSim.OpenSimBase.GetPhysicsScene (System.String osSceneIdentifier) [0x00000] in <filename unknown>:0
  at OpenSim.OpenSimBase.SetupScene (OpenSim.Framework.RegionInfo regionInfo, Int32 proxyOffset, IConfigSource configSource, System.Collections.Generic.List`1& clientServer) [0x00000] in <filename unknown>:0
  at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo regionInfo, Boolean portadd_flag, Boolean do_post_init, IScene& mscene) [0x00000] in <filename unknown>:0
  at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo regionInfo, Boolean portadd_flag, IScene& scene) [0x00000] in <filename unknown>:0
  at OpenSim.ApplicationPlugins.LoadRegions.LoadRegionsPlugin.PostInitialise () [0x00000] in <filename unknown>:0
  at OpenSim.OpenSimBase.StartupSpecific () [0x00000] in <filename unknown>:0
  at OpenSim.OpenSim.StartupSpecific () [0x00000] in <filename unknown>:0
  at OpenSim.Framework.Servers.BaseOpenSimServer.Startup () [0x00000] in <filename unknown>:0
  at OpenSim.Application.Main (System.String[] args) [0x00000] in <filename unknown>:0

Application is terminating: True
Tagsbullet, Mono
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineBulletSim
Script Engine
EnvironmentMono / OSX
Mono Versiontrunk
Viewer
Attached Files

- Relationships

-  Notes
(0024912)
MarcelEdward (reporter)
2013-12-21 01:46

http://opensimulator.org/viewgit/?a=viewblob&p=opensim-libs&h=199384f94c5f10b406e969868d88bfec8be5f53f&hb=718b614dedf372940f0204ff5d01bcda5a3a6fc2&f=trunk/unmanaged/BulletSim/BUILD.TXT [^]

It is not true that mono runs as 32bit proces on mac osx, it runs as a 64bit proces.

- Issue History
Date Modified Username Field Change
2013-12-20 15:42 MarcelEdward New Issue
2013-12-21 01:46 MarcelEdward Note Added: 0024912
2014-01-11 10:27 Robert Adams Assigned To => Robert Adams
2014-01-11 10:27 Robert Adams Status new => assigned
2015-01-27 08:01 petewall Tag Attached: bullet
2015-01-27 08:02 petewall Tag Attached: Mono


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker