Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004355opensim[REGION] OpenSim Corepublic2009-11-07 13:552015-02-28 16:35
Assigned To 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0004355: Creating a folder in the inventory locks up the sim for two mins, sometimes crashing it entirely
DescriptionI created a folder in my inventory and the sim I was in locked up for just over two minutes. Movement, chat and teleports were all non-functional though scripts seemed to continue working. Friend online/offline status notifications also continue working.

After the approximatly two minutes the sim would sometimes recover and continue working but other times it would crash entirely.

I've seen this happen on both my own single region sim and on LBSA plaza.
TagsNo tags attached.
Git Revision or version number5300e85
Run Mode Grid (1 Region per Sim)
Physics EngineODE
Script Engine
Mono Version2.4.2
Attached Files? file icon 2000.iar [^] (770,670 bytes) 2009-11-09 23:48
? file icon 4000.iar [^] (1,047,836 bytes) 2009-11-09 23:48
? file icon 8000.iar [^] (1,594,925 bytes) 2009-11-09 23:49
txt file icon threaddump.txt [^] (38,791 bytes) 2009-11-16 12:24 [Show Content]
txt file icon nebs_threaddump_01.txt [^] (51,941 bytes) 2009-11-18 11:21 [Show Content]

- Relationships

-  Notes
nebadon (administrator)
2009-11-09 11:04
edited on: 2009-11-09 11:05

i can confirm this behavior, with my large inventory the region does not tend to recover, testing was done on Generally its worsened or occurs faster if there is any kind of physics occuring in the region, regardless in my situation the region tends to never recover fully either way.

nebadon (administrator)
2009-11-10 01:10

i attached a few IAR files but the 16000 item inventory was to large to attach you can download them all here: [^]

I am currently working on 32000 item inventory IAR next, I will post again when its available.. the 16000 Item inventory does indeed lock the scene pretty good for me, and for those with concerns about loading these IAR, all they contain is cubes and folders, no other content.
nebadon (administrator)
2009-11-10 04:02

32,000 item IAR is posted on same link as above
justincc (administrator)
2009-11-16 12:31

Anybody looking at this see threaddump.txt, which is a mono dump from when this problem was occuring.

Also be very interested to get confirmation as to whether the same problem is seen on Windows or not.
nebadon (administrator)
2009-11-16 14:06

for me on OSgrid it doesn't matter if the simulator is on Windows or Linux the experience is 100% identical 100% of the time, even on a fresh avatar with the 16000.iar being the only inventory i have same experience.
Sylvia Sonoda (reporter)
2009-11-17 05:42

Yep, I have this crash bug too since a few days.
No freezing, just crashing when creating a subdirectory
2900 items in inventory
Hippo viewer on win2K Dutch
justincc (administrator)
2009-11-18 09:18

From looking at threaddump.txt, the immediate problem is that item requests are performed synchronously on the main client thread.

That means that if the inventory service is slow or doesn't respond for any reason, the client's avatar will appear to freeze, though other avatars and the server itself will continue as normal.

This will occur on both any operating system in any mode where the inventory service is remote (hence it won't occur for standalones).

One solution is to put a timeout on the synchronous request (currently there is no timeout). However, this may not help much where the inventory service is being called several times in succession. An asynchronous request may work better but I'm not sure how this would behave where many items are being requested at once.
justincc (administrator)
2009-11-18 09:19

So when this happens you may want to check how healthy the inventory service is looking (though detailed diagnostics may be hard). It's also not impossible that there's some other underlying issue.
nebadon (administrator)
2009-11-18 09:25
edited on: 2009-11-18 09:34

my avatar's inventory (nebadon izumi @ when i create a new folder the region does not recover, i have to restart the simulator, cause no one can log in anymore.. even 20 minutes later the region is still dead.. Also even if i restart the Inventory server fresh.. i get same results..

nebadon (administrator)
2009-11-18 11:21

attached threadump from nebadon izumi creating folder on OSGrid.
justincc (administrator)
2009-11-18 12:30

Couldn't reproduce on a local grid (separate services but on the same machine) after loading 16000.iar
nebadon (administrator)
2009-11-18 15:04

is there really any difference between running local standalone vs standalone grid, ie all on the same box? I recall melanie and diva saying it was supposed to work pretty much the same now?
justincc (administrator)
2009-11-20 11:29

No, there is a big difference because running completely standalone doesn't involve any network communication (everything occurs within the same process). Running a local grid (all services and simulators on the same box) does require network communication though, of course, that will be extremely quick and might not expose the same problems as a distributed grid.
Kally (reporter)
2009-11-30 15:24

I made a prim with a timed llShout() that announced the sim and physics FPS and the Script LPS and these all seemed to work perfectly during the lockup.

An otherwise identical script that used llSetText() failed to update the floating text during the lockup.

(The script used was the sample script from [^])
Kally (reporter)
2009-12-22 11:37

A couple of tests shows that this does not seem to happen if you create a folder by using copy to inventory from an opened primitive, only if the folder is created from the viewer menu.
justincc (administrator)
2011-10-21 19:34

Is this still an issue in OpenSim 0.7.2?
albertlr Landar (reporter)
2011-10-21 23:06
edited on: 2011-10-23 13:21

I don't have this issue with creating a new folder in inventory. The new folder is created immediately with no freeze. However when I first click on the inventory for the first time after logging in, the viewer freezes up for about 10 seconds until it is loaded. This is using Imprudence 1.4 Beta. Not sure if this is Imprudence or OSGRID. Actually after comparing other viewers the problem seems to be with imprudence. Phoenix loads immediately.

- Issue History
Date Modified Username Field Change
2009-11-07 13:55 Kally New Issue
2009-11-07 13:55 Kally Git Revision => 5300e85
2009-11-07 13:55 Kally SVN Revision => r11463
2009-11-07 13:55 Kally Run Mode => Grid (1 Region per Sim)
2009-11-07 13:55 Kally Physics Engine => ODE
2009-11-07 13:55 Kally Environment => Unknown
2009-11-07 13:55 Kally Mono Version => 2.4.2
2009-11-09 11:04 nebadon Note Added: 0014136
2009-11-09 11:04 nebadon Status new => confirmed
2009-11-09 11:05 nebadon Note Edited: 0014136
2009-11-09 23:48 nebadon File Added: 2000.iar
2009-11-09 23:48 nebadon File Added: 4000.iar
2009-11-09 23:49 nebadon File Added: 8000.iar
2009-11-10 01:10 nebadon Note Added: 0014140
2009-11-10 04:02 nebadon Note Added: 0014141
2009-11-16 12:24 Kally File Added: threaddump.txt
2009-11-16 12:31 justincc Note Added: 0014178
2009-11-16 14:06 nebadon Note Added: 0014179
2009-11-17 05:42 Sylvia Sonoda Note Added: 0014189
2009-11-18 09:18 justincc Note Added: 0014195
2009-11-18 09:19 justincc Note Added: 0014196
2009-11-18 09:25 nebadon Note Added: 0014197
2009-11-18 09:34 nebadon Note Edited: 0014197
2009-11-18 11:21 nebadon File Added: nebs_threaddump_01.txt
2009-11-18 11:21 nebadon Note Added: 0014198
2009-11-18 12:30 justincc Note Added: 0014199
2009-11-18 15:04 nebadon Note Added: 0014200
2009-11-20 11:29 justincc Note Added: 0014203
2009-11-30 15:24 Kally Note Added: 0014310
2009-12-22 11:37 Kally Note Added: 0014560
2011-10-21 19:34 justincc Note Added: 0020208
2011-10-21 23:06 albertlr Landar Note Added: 0020222
2011-10-23 13:21 albertlr Landar Note Edited: 0020222

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker