Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005335opensim[REGION] Physics Enginespublic2011-01-15 15:522011-05-20 13:13
ReporterStarflower 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005335: ODE Physics engine crash
DescriptionI am getting quite a bit of these same crashes. If anyone has suggestions, please advise.

----------

Region (root) # Stacktrace:

  at (wrapper managed-to-native) Ode.NET.d.Collide (intptr,intptr,int,Ode.NET.d/ContactGeom[],int) <0x00004>
  at (wrapper managed-to-native) Ode.NET.d.Collide (intptr,intptr,int,Ode.NET.d/ContactGeom[],int) <0x00004>
  at OpenSim.Region.Physics.OdePlugin.OdeScene.near (intptr,intptr,intptr) <0x005bf>
  at (wrapper native-to-managed) OpenSim.Region.Physics.OdePlugin.OdeScene.near (intptr,intptr,intptr) <0x00057>
  at (wrapper managed-to-native) Ode.NET.d.SpaceCollide2 (intptr,intptr,intptr,Ode.NET.d/NearCallback) <0x00004>
  at (wrapper managed-to-native) Ode.NET.d.SpaceCollide2 (intptr,intptr,intptr,Ode.NET.d/NearCallback) <0x00004>
  at OpenSim.Region.Physics.OdePlugin.OdeScene.near (intptr,intptr,intptr) <0x00395>
  at (wrapper native-to-managed) OpenSim.Region.Physics.OdePlugin.OdeScene.near (intptr,intptr,intptr) <0x00057>
  at (wrapper managed-to-native) Ode.NET.d.SpaceCollide2 (intptr,intptr,intptr,Ode.NET.d/NearCallback) <0x00004>
  at (wrapper managed-to-native) Ode.NET.d.SpaceCollide2 (intptr,intptr,intptr,Ode.NET.d/NearCallback) <0x00004>
  at OpenSim.Region.Physics.OdePlugin.OdeScene.collision_optimized (single) <0x0022f>
  at OpenSim.Region.Physics.OdePlugin.OdeScene.Simulate (single) <0x01bcc>
  at OpenSim.Region.Framework.Scenes.SceneGraph.UpdatePhysics (double) <0x00046>
  at OpenSim.Region.Framework.Scenes.Scene.Update () <0x005e7>
  at OpenSim.Region.Framework.Scenes.Scene.Heartbeat () <0x0003a>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0x00040>

Native stacktrace:

    mono() [0x80d4d0b]
    mono() [0x810ffeb]
    [0xd2a40c]
    ./libode.so(_ZN6Opcode11OBBCollider8_CollideEPKNS_14AABBNoLeafNodeE+0x1a94) [0x23f5294]
    ./libode.so(_ZN6Opcode11OBBCollider8_CollideEPKNS_14AABBNoLeafNodeE+0x1a67) [0x23f5267]
    ./libode.so(_ZN6Opcode11OBBCollider8_CollideEPKNS_14AABBNoLeafNodeE+0x1a94) [0x23f5294]
    ./libode.so(_ZN6Opcode11OBBCollider8_CollideEPKNS_14AABBNoLeafNodeE+0x1a67) [0x23f5267]
    ./libode.so(_ZN6Opcode11OBBCollider8_CollideEPKNS_14AABBNoLeafNodeE+0x1a67) [0x23f5267]
    ./libode.so(_ZN6Opcode11OBBCollider8_CollideEPKNS_14AABBNoLeafNodeE+0x1a67) [0x23f5267]
    ./libode.so(_ZN6Opcode11OBBCollider8_CollideEPKNS_14AABBNoLeafNodeE+0x1a67) [0x23f5267]
    ./libode.so(_ZN6Opcode11OBBCollider8_CollideEPKNS_14AABBNoLeafNodeE+0x1a94) [0x23f5294]
    ./libode.so(_ZN6Opcode11OBBCollider8_CollideEPKNS_14AABBNoLeafNodeE+0x1a67) [0x23f5267]
    ./libode.so(_ZN6Opcode11OBBCollider7CollideERNS_8OBBCacheERKN8IceMaths3OBBERKNS_5ModelEPKNS3_9Matrix4x4ESC_+0x1b7) [0x23fdbd7]
    ./libode.so(_Z12dCollideCCTLP6dxGeomS0_iP12dContactGeomi+0x728) [0x23c92b8]
    ./libode.so(dCollide+0x13b) [0x239665b]
    [0xa653c229]
    [0x4edca18]
    [0x4ee4838]
    ./libode.so(+0x2af22) [0x2399f22]
    ./libode.so(_ZN11dxHashSpace8collide2EPvP6dxGeomPFvS0_S2_S2_E+0x79) [0x239b5a9]
    ./libode.so(dSpaceCollide2+0x143) [0x239a553]
    [0x4edc37e]
    [0x4edc7ee]
    [0x4ee4838]
    ./libode.so(+0x2af22) [0x2399f22]
    ./libode.so(_ZN11dxHashSpace8collide2EPvP6dxGeomPFvS0_S2_S2_E+0x79) [0x239b5a9]
    ./libode.so(dSpaceCollide2+0x143) [0x239a553]
    [0x4edc37e]
    [0x4ba6230]
    [0x4f1c4c5]
    [0x4f1a637]
    [0x4f18e88]
    [0x4f18333]
    [0x33ccf9]
    mono() [0x8061328]
    mono(mono_runtime_invoke+0x40) [0x813c890]
    mono(mono_runtime_delegate_invoke+0x34) [0x813cb14]
    mono() [0x81b12af]
    mono() [0x81e8e4e]
    mono() [0x8214f85]
    /lib/libpthread.so.0(+0x5cc9) [0x2c2cc9]
    /lib/libc.so.6(clone+0x5e) [0x22069e]

Debug info from gdb:

Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Aborted
local@local:~/Workspace/sim/bin$

-----

Ubuntu 10.10 - Mono 2.6.7

Thank you,
rjs
Additional InformationThis happens frequently when an avatar touches a hollow or cut-path prim and is easily reproduced. It particularly happens with large prims as far as I can tell, i.e. more than 10m. I've particularly noticed it with cylinders. However, sometimes it seems to occur more randomly with only a mono exception and no reference to libode.so or SIGSEGV. It's this latter (similar to above) that is most common, however.

It did not happen under Ubuntu 10.04 and began to happen with 10.10, and I deduce that it occurs with Mono 2.6.7, which was upgraded at this time.
TagsNo tags attached.
Git Revision or version number0.7.0.2-post-fixes
Run Mode Grid (Multiple Regions per Sim)
Physics EngineODE
EnvironmentMono / Linux32
Mono VersionOther
Viewerany
Attached Filesrtf file icon odebug-mono-2.6.7.rtf [^] (43,857 bytes) 2011-01-15 16:25

- Relationships
child of 0005328closed Fatal Hard Crash 

-  Notes
(0017857)
Starflower (reporter)
2011-01-15 16:26

see attached file for debugging with PTRACE
(0018253)
justincc (administrator)
2011-04-11 15:43

You might want to try OpenSim git master or the forthcoming 0.7.1 release, since the ODE libraries have been updated.
(0018377)
justincc (administrator)
2011-05-07 04:05

I've seen an anecdotal report that 0.7.1 does help relieve this issue.
(0018378)
JeffKelley (reporter)
2011-05-07 05:21

I had this issue with 0.7.0.2 Release (not PostFixes). It has gone with 0.7.1. Nothing was changed except opensim. Platform is Mac OS X 10.6, MONO 2.4.3, mySQL base migrated from 0.7.0.2.

Net result: 2-3 crashes a day -> zero crash until now.

- Issue History
Date Modified Username Field Change
2011-01-15 15:52 Starflower New Issue
2011-01-15 15:52 Starflower Git Revision => 0.7.0.2-post-fixes
2011-01-15 15:52 Starflower SVN Revision => 0
2011-01-15 15:52 Starflower Run Mode => Grid (Multiple Regions per Sim)
2011-01-15 15:52 Starflower Physics Engine => ODE
2011-01-15 15:52 Starflower Environment => Mono / Linux32
2011-01-15 15:52 Starflower Mono Version => Other
2011-01-15 15:52 Starflower Viewer => any
2011-01-15 15:52 Starflower Issue generated from: 0005328
2011-01-15 15:52 Starflower Relationship added child of 0005328
2011-01-15 16:25 Starflower File Added: odebug-mono-2.6.7.rtf
2011-01-15 16:26 Starflower Note Added: 0017857
2011-04-11 15:43 justincc Note Added: 0018253
2011-05-07 04:05 justincc Note Added: 0018377
2011-05-07 05:21 JeffKelley Note Added: 0018378
2011-05-20 13:13 justincc Status new => closed
2011-05-20 13:13 justincc Resolution open => fixed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker