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
ReporterKally 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusconfirmedResolutionopen 
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
EnvironmentUnknown
Mono Version2.4.2
Viewer
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
(0014136)
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 OSgrid.org 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.

(0014140)
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:

http://nebadon2025.com/iars/ [^]

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.
(0014141)
nebadon (administrator)
2009-11-10 04:02

32,000 item IAR is posted on same link as above
(0014178)
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.
(0014179)
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.
(0014189)
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
(0014195)
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.
(0014196)
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.
(0014197)
nebadon (administrator)
2009-11-18 09:25
edited on: 2009-11-18 09:34

my avatar's inventory (nebadon izumi @ osgrid.org) 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..

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

attached threadump from nebadon izumi creating folder on OSGrid.
(0014199)
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
(0014200)
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?
(0014203)
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.
(0014310)
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 http://opensimulator.org/mantis/view.php?id=4389 [^])
(0014560)
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.
(0020208)
justincc (administrator)
2011-10-21 19:34

Is this still an issue in OpenSim 0.7.2?
(0020222)
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