| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch addresses mantis bug 2576.
http://opensimulator.org/mantis/view.php?id=2576
Briefly, if you call llDie from many scripts at the same time (say a
build is cleaning up excess objects) then OpenSim deadlocks. Avatars
are unable to move, and whilst the console is active you can't do much
without it also locking up. This only occurs with the XEngine script
engine enabled.
I have attached a patch which works, but I'm not sure its the right way
to address the problem. The fundamental problem is that a lock on a
SceneObjectGroup's m_parts is taken when the object is deleted, a
callback to the script engine occurs and a fair way down the callchain,
potentially there are locks taken on several other SceneObjectGroup's
m_parts. Deadlock then occurs if you get unlucky enough
to get in the situation where with several llDie's are called and
SceneObjectGroups
have taken a lock on their own m_parts, and end up waiting on each
other's
locks to become available.
The patch adds a lock at a high level so that that the removal of script
instances
from an object only occurs once per scene at a time. This avoids the
potential
of deadlock. Theoretically there could be some performance hit but
AFAICT
the path taken is not a common occurrence.
Would welcome any suggestions for a better solution, otherwise feel free
to apply :-)
Note this patch was built against the 0.6.0 freeze as trunk was
rather broken for me this morning (creating a script killed the client
connection).
|
|
|
|
|
|
| |
an avatar moves.
|
|
|
|
|
|
| |
groundwork.
|
|
|
|
| |
prim attributes.
|
|
|
|
|
|
| |
* Identical to OnNewClient except it passes IClientCore instead of IClientAPI
* See http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide
|
|
|
|
|
|
| |
* Changed SendInstantMessage, dropped fromAgentSession and imSessionID as security precaution, see http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide for details on porting.
* Removed unused usings from Framework.*
|
| |
|
|
|
|
|
|
| |
No user functionality yet
|
| |
|
|
|
|
|
|
| |
current form
|
| |
|
|
|
|
| |
making it catch a little too much, in principle
|
| |
|
|
|
|
|
|
|
| |
* Send prim flags as booleans from LLClientView rather than in the native LL array
* Thanks idb
|
|
|
|
|
|
|
| |
* Was caused by the lack of a local id. Local ids are now given from the same sequence as prims, rather than a separate one
* I don't believe this will cause any problems, but please revert to a separate sequence if it does
|
| |
|
|
|
|
| |
the verb at the front
|
|
|
|
|
|
| |
* This was only reference by ScenePresence and not used anyway - Scene itself had it's own copy
|
| |
|
|
|
|
|
|
| |
* These are assigned when the object is attached to the scene
|
|
|
|
|
|
| |
* this is now done in AttachToScene()
|
|
|
|
| |
AttachToScene())
|
| |
|
|
|
|
|
|
|
| |
* Fix llSetStatus() and llSetPrimitiveParams()
* Thanks idb
|
|
|
|
|
|
| |
* remove a debug line I accidentally left in there
|
|
|
|
| |
scene
|
| |
|
| |
|
|
|
|
|
|
| |
Too many fixes to list.
|
|
|
|
| |
be done by other means
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Included patch fixes error: Z and W terms in the quaternion were
swapped (ZERO_ROTATION is <0,0,0,1>, it was checking for <0,0,1,0>).
There is an issue with older prims: it seems their default sit
target was not always set to ZERO_ROTATION;
|
|
|
|
|
|
| |
Improves ScenePresence.cs for attachments when crossing boundaries
between regions.
|
|
|
|
|
|
| |
base point for the sort is 128,128,128, causing funny visuals
|
|
|
|
|
|
|
|
|
|
| |
- fixes IRCBridgeModule's XmlRpc method really paying attention to
region parameter
- cleans up indentation in IRCBridge code
- fixes ConciergeModule exception on client logout
|
|
|
|
|
|
|
|
|
| |
fix issue 2512
- correct attachment offset; fix issue 2513
- thanks Thomas for the patches
|
|
|
|
|
|
|
| |
* Inserts proper animation state names into data/avataranimations.xml file so that llGetAnimation() works as one would expect.
* Thanks StrawberryFride!
|
|
|
|
|
|
| |
* Now I've had time to analyze this, the Second Life grid doesn't appear to send this to the client (which in principle should know what wearables it has already)
|
| |
|
|
|
|
|
|
|
|
|
| |
the setting of the name of the animation to be used when a avatar sits on that object. At some point in the future this should be persisted.
So basically simplifies what a lsl script that detects a avatar sitting on a prim, then stopping the sit animation and playing a custom animation, does.
Also added another ScenePresence.HandleAgentRequestSit() method , that accepts the name of the sit animation. So that modules can override the animation used, when they are doing a server controlled sit.
Started some work on making the stand pose be played as soon as a user logs into a region. Rather than them starting with their arms stretched. This still needs more work
|
|
|
|
|
|
| |
was cleared before using it to find the children.
|
|
|
|
|
|
| |
avatar is remote or offline.
|
|
|
|
|
| |
* Added additional error message when a Object/SOG DB save fails so we can trace why.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
on-/offline updates, calling cards for friends.
This adds methods in the DB layer and changes the MessagingServer, so a full
update (incl. UGAIM) is necessary to get it working. Older regions shouldn't
break, nor should older UGAIM break newer regions, but friends/presence will
only work with all concerned parts (UGAIM, source region and destination
region) at this revision (or later).
I added the DB code for MSSQL, too, but couldn't test that.
BEWARE: May contain bugs.
|
|
|
|
| |
SOP.IsAttachment
|
|
|
|
|
|
|
|
|
| |
false if the group is already deleted)
* This is to avoid repetitive null checks - I'm beginning to think that blasting away the root part on object deletion is actually a bad move. Perhaps we should leave it around
and let the client ignore any superfluous packets (which it may well do anyway), since we're constantly exposing a race condition
|
|
|
|
|
|
| |
* Don't save attachments on saving oar, which stops them coming back as ghost prims
|