• 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 have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-2439
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Showstopper Showstopper
Assignee: Babbage Linden
Reporter: Francis Chung
Votes: 0
Watchers: 0
Operations

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

key to string conversion causes script to fail silently

Created: 30/May/08 04:05 PM   Updated: 26/Jun/08 02:32 PM
Return to search
Component/s: None
Affects Version/s: Mono Beta
Fix Version/s: None

Issue Links:
Relates
 

Linden Lab Issue ID: DEV-16202


 Description  « Hide
String to key conversion causes script to fail silently. This is a mono-specific bug - it behaves just fine when testing with the LSL interpreter. This causes existing scripts to break.

Repro:
Compile the following script:

key keyvar = NULL_KEY;
string stringvar = keyvar;

default {
state_entry() { llOwnerSay( "Test" ); }
}

In the LSL interpreter, it behaves just fine. If you compiile in mono, you never see the "Test" output.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Strife Onizuka added a comment - 31/May/08 02:40 AM - edited
What is most likely happening is that the Mono compiler isn't putting in the proper conversion code, and so the script crashes on initialization because of a type mismatch.

Scouse Linden added a comment - 31/May/08 12:14 PM
Up'ed to show stopper

Babbage Linden added a comment - 02/Jun/08 06:17 AM
Fixed.

Errors from other global variable problems should no longer be masked.


apachie Bachem added a comment - 18/Jun/08 09:40 PM
what the deferent ? mono

Periapse Linden added a comment - 26/Jun/08 02:32 PM
fix has passed QA