History | Log In     View a printable version of the current page.  
  • All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you've read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-674
Type: Bug Bug
Status: Reopened Reopened
Priority: Critical Critical
Assignee: Seraph Linden
Reporter: anthony reisman
Votes: 4
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

Inventory loss if description was set to greater then 256 characters

Created: 14/Sep/07 09:56 AM   Updated: 15/Apr/08 07:21 PM
Component/s: Scripts
Affects Version/s: None
Fix Version/s: None

Issue Links:
Relates

Linden Lab Issue ID: DEV-8446
Linden Lab Internal Branch: security-lsl-setname


 Description  « Hide
VWR-438 was moved here based on the fix occuring when the function is run (not when compiled). Below is a pasted copy of the previous description from Rita Cummings

1) Use llSetObjectDesc() to set the description to a text longer than 256 characters.
2) Take the object to the inventory
3) Try to rez it

it will fail with a "Unable to create requested object - parse failure." message

4) ask what does it mean to someone in the "Help Request" IM channel

you'll be told that it's because of your network connection and that she would bet her "SL teddy bear" on that.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
anthony reisman - 14/Sep/07 10:06 AM - edited
Linked to the original report in case someone wants to read the comments.

It is a bug in my opinion because object loss can occur.

There are alternate methods of storage such as using HTTP request to an external database, email, and using another script entirely for storage, but this could still be used where a quick simple solution is desired. Having object loss is not good.

If I find time, I will test what happens if this occurs in a child prim in a link set as well.

Lex Neva - 15/Sep/07 09:09 AM
I'm raising this to critical priority like I did to the other issue. My reasoning:

* this bug involves content loss
* there is NO workaround for the content loss if your only copy of an asset is one that has more than 256 characters in the description, because you didn't know about this bug.

Errafel Eccleston - 31/Dec/07 10:21 PM
This issue needs to get clarification and roll up all the duplicates together.
It may be possible to create an object that will crash the viewer during inventory load.

anthony reisman - 10/Jan/08 08:52 AM
Linked a couple of other description related bugs.

Seraph Linden - 16/Jan/08 11:04 AM
Thanks for bringing this to our attention and providing a good amount of detail for us to track this down. This is a pretty serious issue but fortunately the fix ended up being relatively straightforward. Please do comment here if you notice any related sorts of behavior and I'll get right on it :-).

anthony reisman - 16/Jan/08 04:29 PM
Any hint of what the fix will be? Will the information just be truncated to 256 characters then, or will more data be able to be written in by script without problem?

Seraph Linden - 21/Jan/08 09:21 AM
My current fix just enforces the maximum character limit. If you attempt to put in something longer, then the remainder will be truncated.

Tijn Erde - 23/Jan/08 06:22 AM - edited
I had objects on my land with descriptions longer than 256 characters.
After about two days these objects...
 1) ...moved out of my land to a neighboring land, using negative coordinates. Some of these objects were atleast 10m away from the border.
 2) ...were unlinked.
 3) ...unlinked prims from multiple (partial) objects were randomly returned to L&F as coalesced objects.
 4) ...weeks after, unlinked prims are being returned in batches.
 5) ...were no longer visible either on the 3d screen nor on the minimap.

This happenned twice!

Changing the description to a shorter length (at most 128 characters now) seems to stop this random destruction of objects. Unable to confirm due to the random nature of the problem. It may have something to do with the quantity; I had over 100 objects with long descriptions. Individual objects with long descriptions seem to survive. Returned coalesced unlinked prims could be rezzed, so it may be that the prims with long descriptions were destroyed completely and only the other prims were returned. From my recolation of how the objects were constructed this seems true, as I didn't find root prims or single-prim objects in there.

Unwilling to try reproduction because this has already cost me enough L$ and time as it is. LL should be able to try reproducing this themselves according to the description I have given or may contact me to help reproduce the situation on their land.

Please change this bug to highest priority possible, since it actually destroys objects completely and does not return them in a usable manner.

Suggest that descriptions should just be limited for all situations in order to prevent this situation from occurring.

Harleen Gretzky - 23/Jan/08 07:13 AM
LL will be truncating all object names to 63 characters and descriptions to 127 characters when 1.19 server code is released (originally scheduled for 1/23/2008).

Doran Zemlja - 01/Feb/08 12:23 AM
See my comments in SVC-1394


Lex Neva - 01/Feb/08 10:17 AM
It looks like this fix might have broken more than you expected. Here's someone talking in the forums about how all '|' symbols in object names and descriptions were converted to '?' symbols:

http://forums.secondlife.com/showthread.php?t=238623

Harleen Gretzky - 01/Feb/08 10:20 AM
The "|" to "?" is MISC-907 in the related links.

Zwagoth Klaar - 02/Feb/08 11:39 AM
1.19.x simulator code still does not fix the ability to rez objects that have had object descriptions longer than 256 characters set.

Is there not some way that it could truncate the description when reading it out of the stored asset, to allow for recovery of any lost objects?

As for the "|" character, its used for metadata storage for inventory objects as was commented on in the viewer source code in both the set name and set description functions. Its not likely that it will ever be an allowed character inside object names or descriptions due to its actual usage inside the database system.


Celierra Darling - 02/Feb/08 11:44 PM - edited
Actually, reopening because of the "existing items in inventory" comment. But there might not be any way to fix that, since editing an object and storing it into the asset server usually creates a new asset, I think. Only if they run something on that database directly, I guess.