OpenSim Core Bugs

Syndicate content MantisBT - Issues - (rdcdev)
MantisBT - Issues - (rdcdev)
Updated: 14 min 28 sec ago

0007547: The use of floats gives poor precision

Wed, 2015-04-29 17:40
In many places in the OpenSimulator and libopenmetaverse code, floats (32-bit floating-point values) are used. A float uses 23 bits for the mantissa, which gives a precision of 1/2^23 = 1/8,388,608 ? 0.00000012 to 1/(2^22-1) = 1/4,194,303 ? 0.00000024 of a value. When doing e.g. local trigonometry, with values ranging from -6.28 to 6.28, this gives an absolute precision of about 0.000001, which is usually quite enough, and often a margin of 0.000001 is used when comparing if values are equal.<br /> <br /> However, when used to handle coordinates in a 32x32 varregion, with a 8,192 m side, the absolute precision in X-Y coordinates in the NE end is only about 2 mm, enough to cause visible glitches or cracks in constructions. The same goes for the Z coordinate in high altitude skyboxes, at 4,000 m, with an absolute precision of about 1 mm. Besides visible glitches, several functions may also give unexpected results when comparisons expecting better coordinate precision than 1 mm are used.<br /> <br /> In several cases these problems are hidden, because comparisons using, or really needing, <= or >= will see two values with poor precision usually "rounded" to the same value. There is however a risk that they will fall on different sides of the rounding border, e.g. 8191.9969995 m => 8191.996 m, 8191.9970005 m => 8191.998 m, giving an apparent difference of 0.002 m = 2 mm, despite the actual difference is 0.0000001 m = 0.0001 mm, well within the 0.000001 (m) margin often used (values rounded to decimals for clarity).<br /> <br /> In the above example, with a margin of 0.000001 m, the risk of a false high difference is 0.05 % (0.000001/0.002*100%), which I think many can accept. However, if the margin instead is 0.001 m, the risk of a false high difference is 50%, which I think most would consider too high. Also, this small risk may be behind some rare and hard to reproduce glitches in OpenSimulator behavior, since they will only happen maybe 1/2,000 times under random conditions, but never for 99.95% of repeated conditions and always for 0.05% of repeated conditions.
Categories: OpenSim Bugs

0007375: llCastRay does not treat physics type NONE prims as phantom

Wed, 2015-04-29 16:26
When RC_DETECT_PHANTOM is FALSE (which is the default) llCastRay is supposed to ignore phantom prims, volume detect prims, and prims with physics type NONE.<br /> <br /> The first two are treated correctly, but physics type NONE prims are always detected.
Categories: OpenSim Bugs

0007374: llCastRay does not return the UUID of child prims

Wed, 2015-04-29 16:25
When pointing llCastRay at a compound object, it is supposed to return the ID of the prim hit. In Second Life this will be the UUID of the child prim hit.<br /> <br /> But in OpenSimulator, the UUID returned is always that of the root prim of the object, not the UUID of the child prim that the cast ray intersected.
Categories: OpenSim Bugs

0007351: llCastRay returns hits incorrectly outside rotated objects

Wed, 2015-04-29 16:25
llCastRay reports hits on nearby objects when it should not. It seems to report a hit when the ray passes through a XY aligned bounding box that encloses the hit object. So objects rotated 45 degrees have large bounding boxes that return false positives.
Categories: OpenSim Bugs

0006623: llCastRay returns incorrect UUID when it collides with a linkset

Wed, 2015-04-29 16:25
llCastRay is supposed to return the UUID of the linked prim it intersects.<br /> Instead, it is returning the Root Prim UUID of the linkset. It is ONLY supposed to return the root prim UUID if the (RC_DATA_FLAGS, RC_GET_ROOT_PRIM ) arguments are used. This also means that the link number returned (using RC_DATA_FLAGS, RC_GET_LINK_NUM ) is ALWAYS 1.
Categories: OpenSim Bugs

0007545: Unknown Errors In Console

Wed, 2015-04-29 14:30
I attached a image of the problem I been facing lately this happens to all versions.
Categories: OpenSim Bugs

0007426: Buy or Open as the touch event for an object doesn't work with alpha viewers & has very odd permissions behavior when you touch.

Tue, 2015-04-28 17:07
Setting the touch event on an object to Buy or Open is not working on any sim I am hosting when using the latest Singularity or FS alpha viewers. It does work properly when using an older viewer. This is always repeatable. See details on how to reproduce below.
Categories: OpenSim Bugs

0007543: Error Generating Login Response

Sun, 2015-04-26 21:18
Every time a user that tries to login that have a inventory over 1000, I get this mysql timeout error. <br /> <br /> Exception processing login for Alpha Manx: MySql.Data.MySqlClient.MySqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.TimeoutException: Timeout in IO operation<br /> at MySql.Data.MySqlClient.TimedStream.StopTimer () [0x00000] in <filename unknown>:0<br /> at MySql.Data.MySqlClient.TimedStream.Read (System.Byte[] buffer, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0<br /> --- End of inner exception stack trace ---<br /> at MySql.Data.MySqlClient.MySqlConnection.HandleTimeoutOrThreadAbort (System.Exception ex) [0x00000] in <filename unknown>:0<br /> at (wrapper remoting-invoke-with-check) MySql.Data.MySqlClient.MySqlConnection:HandleTimeoutOrThreadAbort (System.Exception)<br /> at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader (CommandBehavior behavior) [0x00000] in <filename unknown>:0<br /> at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader () [0x00000] in <filename unknown>:0<br /> at (wrapper remoting-invoke-with-check) MySql.Data.MySqlClient.MySqlCommand:ExecuteReader ()<br /> at OpenSim.Data.MySQL.MySQLGenericTableHandler`1[OpenSim.Data.XInventoryItem].DoQuery (MySql.Data.MySqlClient.MySqlCommand cmd) [0x00000] in <filename unknown>:0<br /> at OpenSim.Data.MySQL.MySqlItemHandler.GetActiveGestures (UUID principalID) [0x00000] in <filename unknown>:0<br /> at OpenSim.Data.MySQL.MySQLXInventoryData.GetActiveGestures (UUID principalID) [0x00000] in <filename unknown>:0<br /> at OpenSim.Services.InventoryService.XInventoryService.GetActiveGestures (UUID principalID) [0x00000] in <filename unknown>:0<br /> at OpenSim.Services.LLLoginService.LLLoginService.Login (System.String firstName, System.String lastName, System.String passwd, System.String startLocation, UUID scopeID, System.String clientVersion, System.String channel, System.String mac, System.String id0, System.Net.IPEndPoint clientIP) [0x00000] in <filename unknown>:0 at MySql.Data.MySqlClient.MySqlConnection.HandleTimeoutOrThreadAbort (System.Exception ex) [0x00000] in <filename unknown>:0<br /> at (wrapper remoting-invoke-with-check) MySql.Data.MySqlClient.MySqlConnection:HandleTimeoutOrThreadAbort (System.Exception)<br /> at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader (CommandBehavior behavior) [0x00000] in <filename unknown>:0<br /> at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader () [0x00000] in <filename unknown>:0<br /> at (wrapper remoting-invoke-with-check) MySql.Data.MySqlClient.MySqlCommand:ExecuteReader ()<br /> at OpenSim.Data.MySQL.MySQLGenericTableHandler`1[OpenSim.Data.XInventoryItem].DoQuery (MySql.Data.MySqlClient.MySqlCommand cmd) [0x00000] in <filename unknown>:0<br /> at OpenSim.Data.MySQL.MySqlItemHandler.GetActiveGestures (UUID principalID) [0x00000] in <filename unknown>:0<br /> at OpenSim.Data.MySQL.MySQLXInventoryData.GetActiveGestures (UUID principalID) [0x00000] in <filename unknown>:0<br /> at OpenSim.Services.InventoryService.XInventoryService.GetActiveGestures (UUID principalID) [0x00000] in <filename unknown>:0<br /> at OpenSim.Services.LLLoginService.LLLoginService.Login (System.String firstName, System.String lastName, System.String passwd, System.String startLocation, UUID scopeID, System.String clientVersion, System.String channel, System.String mac, System.String id0, System.Net.IPEndPoint clientIP) [0x00000] in <filename unknown>:0
Categories: OpenSim Bugs

0007542: in a VAR sim, a scripted attachment on an NPC won't work.

Sun, 2015-04-26 12:21
This works perfectly on regular sims, however in VAR regions no script is working on an attachment on an NPC.
Categories: OpenSim Bugs

0007541: Sound Playback Issue

Sat, 2015-04-25 00:04
I will explain in a simple manner<br /> <br /> Some sounds that you have not triggered for the first time or in a while will not play until you Re log. No matter how much you trigger it you will not hear it until you Re log this happens often but not always but its pretty common at every log in sounds play 90% of the time fine but that few 10% sounds just wont work until re log it also happens to my pipe organ
Categories: OpenSim Bugs

0007127: [HELO SERVICE]: Unable to perform HELO request to http://inventory.ossgrid.org:80/helo/: Remote server returned an error: (404)

Fri, 2015-04-24 15:44
OSGrid to Foreign Grid (Openvue) transfer shows this console message on the incoming region server for the foreign grid...<br /> <br /> 16:50:41 - [HG INVENTORY CONNECTOR]: Added <a href="http://inventory.osgrid.org:80">http://inventory.osgrid.org:80</a> [<a href="http://inventory.osgrid.org:80" target="_blank">^</a>] to the cache of inventory URLs<br /> 16:50:41 - [HELO SERVICE]: Unable to perform HELO request to <a href="http://inventory.osgrid.org:80/helo/:">http://inventory.osgrid.org:80/helo/:</a> [<a href="http://inventory.osgrid.org:80/helo/:" target="_blank">^</a>] The remote server returned an error: (404) Not Found.<br /> 16:50:41 - [HG INVENTORY SERVICE]: HELO returned
Categories: OpenSim Bugs

0007441: Typo for example for Robust V2 GroupsServerURIOpenSim.ini.example

Wed, 2015-04-22 21:47
The following comment line should have http::// removed<br /> <br /> ;; or http:://${Const|BaseURL}:${Const|PrivatePort} for robust, V2
Categories: OpenSim Bugs

0007537: LSL statements compile, but shouldn't

Wed, 2015-04-22 19:56
The LSL break statement compiles but has no effect. This leads to confusion when it's erroneously used, since the statement has an effect in other languages.
Categories: OpenSim Bugs

0007527: Seeing alot of HG users with the name Unknown UserUMMAU42

Tue, 2015-04-21 19:17
Over the past month I have been noticing a lot of HG users entering and their name showing as 'Unknown UserUMMAU42' to viewers. The name shown on the sim console is correct.<br /> <br /> I noticed that the code that sets this name placeholder in the user manager was added in commit '0ea69770139f4369b202362be054047a5086a220' made on 5th March.
Categories: OpenSim Bugs

0006656: Uniformity of handling local and hypergrid teleportable links in Chat/IM and incorrect FROM grid addresses on HG TP

Tue, 2015-04-21 09:09
There are several cases where a teleport destination can be provided in chat or IM and which can be clicked to initiate a teleport without using the map or landmarks. This is very helpful in collaboration or when listing meeting destinations on web pages or via e-mail, group messages, notecards, etc.<br /> <br /> For example, a link can be used this way to teleport on any grid EXCEPT OSGrid itself. On a grid itself the form with a HG grid address in it does not work. There the alternative local address has to be given.<br /> <br /> For example if you type either of these into chat on any grid except OSGrid...<br /> <br /> <a href="secondlife:///app/teleport/hg.osgrid.org:80:Lbsa%20Plaza">secondlife:///app/teleport/hg.osgrid.org:80:Lbsa%20Plaza</a> [<a href="secondlife:///app/teleport/hg.osgrid.org:80:Lbsa%20Plaza" target="_blank">^</a>]<br /> <a href="hop:///app/teleport/hg.osgrid.org:80:Lbsa%20Plaza">hop:///app/teleport/hg.osgrid.org:80:Lbsa%20Plaza</a> [<a href="hop:///app/teleport/hg.osgrid.org:80:Lbsa%20Plaza" target="_blank">^</a>]<br /> <br /> You get a nicely linked "Teleport to hg.osgrid.org:80:Lbsa Plaza" in chat, which if clicked takes you to the intended destination...<br /> <br /> But if you type into chat a link like this to go back...<br /> <br /> <a href="hop:///app/teleport/virtual.aiai.ed.ac.uk:8002:OpenVCE">hop:///app/teleport/virtual.aiai.ed.ac.uk:8002:OpenVCE</a> [<a href="hop:///app/teleport/virtual.aiai.ed.ac.uk:8002:OpenVCE" target="_blank">^</a>]<br /> <br /> [02:35] Ai Austin: Teleport to virtual.aiai.ed.ac.uk:8002:OpenVCE<br /> [02:35] Grid: Region found!<br /> [02:36] Grid: Teleport completed from <a href="hop://virtual.aiai.ed.ac.uk:8002/Lbsa%20Plaza/129/124/38">hop://virtual.aiai.ed.ac.uk:8002/Lbsa%20Plaza/129/124/38</a> [<a href="hop://virtual.aiai.ed.ac.uk:8002/Lbsa%20Plaza/129/124/38" target="_blank">^</a>]<br /> <br /> Note the grid FROM is wrong.<br /> <br /> <a href="hop:///app/teleport/hg.osgrid.org:80:Wright%20Plaza">hop:///app/teleport/hg.osgrid.org:80:Wright%20Plaza</a> [<a href="hop:///app/teleport/hg.osgrid.org:80:Wright%20Plaza" target="_blank">^</a>]<br /> <br /> on OSGrid itself an error occurs "Cannot teleport to Null (0,0) from Lbsa Plaza (10402,10050)".. its not correctly interpreting the grid name and ignoring it if its on the same grid.
Categories: OpenSim Bugs

0007509: llSetLinkPrimitiveParams can't set some prim parameters as small as the viewer can

Mon, 2015-04-20 21:04
The following properties differ in limits between script and viewer, and needs to be reset in script handling to allow the same settings as from viewer. The attached patches allow this. Thanks to FreakyTech for getting my attention to this.<br /> <br /> hollow: 95% -> 99%<br /> dimple diff: 0.05 -> 0.02<br /> hole_size: 0.05 -> 0.01<br /> advanced_cut diff: 0.05 -> 0.02
Categories: OpenSim Bugs

0007533: Touch Evented Prims Can Be Dragged By Anyone

Mon, 2015-04-20 21:01
Any prim that has a touch function can be moved by anyone who clicks and hold and drags the prim about the ground
Categories: OpenSim Bugs

0007534: llGetBoundingBox only partly implemented

Mon, 2015-04-20 20:46
llGetBoundingBox is rudimentarily implemented in OpenSim, only handling single, untortured prims or single avatars.
Categories: OpenSim Bugs

0007379: Group permissions to build are not reflected in viewer land icons and build button

Mon, 2015-04-20 12:55
We can have a plot owned by an individual avatar, set to have a group, and set to allow build by group but not individuals not by everyone.<br /> <br /> <br /> The owner of the plot clearly ought to have an indication they can build.<br /> <br /> It is intended that group members can build on the plot with these settings. And they can. <br /> <br /> But the build allowed indicators in viewers do not respect this settings... the cube prim style icons for owner or the group member shows that building or dropping objects here is not allowed. This icon only shows building is allowed if "everyone" can build on the plot.<br /> <br /> For the owner the build button is correctly accessible. I Firestorm, the build button is live for the owner, but is greyed out for the normal group member. In Singularity it shows as live for both owner and group memers.
Categories: OpenSim Bugs

0007532: Camera upon unsit in Lifts

Mon, 2015-04-20 09:07
Creating Turbolifts (elevators) from Star Trek. Have the camera changed to view from inside behind the avatar facing the doors. Upon unsitting, the avatar stands up and faces (along with the camera reverting back) to face the way it was prior to sitting. I tested the script in several OpenSim's and then in Second Life. In Second Life it behaves as is expected to.
Categories: OpenSim Bugs