aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorMelanie2010-11-22 23:31:29 +0100
committerMelanie2010-11-22 23:31:29 +0100
commit571becefb652869fa844188cadf8aca1fea774ab (patch)
tree1768fee146ca42ba24b7576fb4db134ca2185e38 /OpenSim/Framework
parentMake an invalud key string in llTextBox and llDialog non fatal to avoid (diff)
downloadopensim-SC_OLD-571becefb652869fa844188cadf8aca1fea774ab.zip
opensim-SC_OLD-571becefb652869fa844188cadf8aca1fea774ab.tar.gz
opensim-SC_OLD-571becefb652869fa844188cadf8aca1fea774ab.tar.bz2
opensim-SC_OLD-571becefb652869fa844188cadf8aca1fea774ab.tar.xz
Fix some crashes caused by the addition of the CreatorData column
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Capabilities/Caps.cs1
-rw-r--r--OpenSim/Framework/TaskInventoryDictionary.cs1
2 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Framework/Capabilities/Caps.cs b/OpenSim/Framework/Capabilities/Caps.cs
index 7b0e053..e7f2e13 100644
--- a/OpenSim/Framework/Capabilities/Caps.cs
+++ b/OpenSim/Framework/Capabilities/Caps.cs
@@ -967,6 +967,7 @@ namespace OpenSim.Framework.Capabilities
967 InventoryItemBase item = new InventoryItemBase(); 967 InventoryItemBase item = new InventoryItemBase();
968 item.Owner = m_agentID; 968 item.Owner = m_agentID;
969 item.CreatorId = m_agentID.ToString(); 969 item.CreatorId = m_agentID.ToString();
970 item.CreatorData = String.Empty;
970 item.ID = inventoryItem; 971 item.ID = inventoryItem;
971 item.AssetID = asset.FullID; 972 item.AssetID = asset.FullID;
972 item.Description = assetDescription; 973 item.Description = assetDescription;
diff --git a/OpenSim/Framework/TaskInventoryDictionary.cs b/OpenSim/Framework/TaskInventoryDictionary.cs
index a8a53f2..940e567 100644
--- a/OpenSim/Framework/TaskInventoryDictionary.cs
+++ b/OpenSim/Framework/TaskInventoryDictionary.cs
@@ -151,6 +151,7 @@ namespace OpenSim.Framework
151 while (!m_itemLock.TryEnterWriteLock(60000)) 151 while (!m_itemLock.TryEnterWriteLock(60000))
152 { 152 {
153 m_log.Error("Thread lock detected while trying to aquire WRITE lock in TaskInventoryDictionary. Locked by thread " + LockedByThread.Name + ". I'm going to try to solve the thread lock automatically to preserve region stability, but this needs to be fixed."); 153 m_log.Error("Thread lock detected while trying to aquire WRITE lock in TaskInventoryDictionary. Locked by thread " + LockedByThread.Name + ". I'm going to try to solve the thread lock automatically to preserve region stability, but this needs to be fixed.");
154 System.Console.WriteLine("My call stack:\n" + Environment.StackTrace);
154 if (m_itemLock.IsWriteLockHeld) 155 if (m_itemLock.IsWriteLockHeld)
155 { 156 {
156 m_itemLock = new System.Threading.ReaderWriterLockSlim(); 157 m_itemLock = new System.Threading.ReaderWriterLockSlim();