• 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-1355
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Showstopper Showstopper
Assignee: WorkingOnIt Linden
Reporter: Periapse Linden
Votes: 0
Watchers: 0
Operations

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

Sim crash in mono regions when returning an integer instead of a float

Created: 30/Jan/08 10:32 AM   Updated: 18/Nov/08 10:21 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: Mono Beta

Issue Links:
Relates
 

Linden Lab Issue ID: DEV-9668
Linden Lab Internal Branch: compiler binary


 Description  « Hide
Per Seifert Surface on aditi:

Repro:
1) Add the script below to a prim and save it under Mono

Result:

Region crashes. Will add indra logs soon.

float returns_1()
{
return 1; //not a float!
}

default
{
state_entry()

{ float foo = returns_1(); llSay(0, (string)foo); }

}



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Periapse Linden added a comment - 30/Jan/08 10:33 AM
Exporting from LL JIRA

Periapse Linden added a comment - 30/Jan/08 10:34 AM
We will work with the Release Team to deploy a new compiler binary to the sim host that is currently running the regions for the beta

Babbage Linden added a comment - 30/Jan/08 11:54 AM
Fix deployed. Mono now returns 1.0 where LSL returns 0.0, but it no longer crashes the sim. We should create a new JIRA for the return value incompatibility.

Celierra Darling added a comment - 18/Mar/08 12:01 AM
fixed LLID

Alexa Linden added a comment - 18/Nov/08 10:21 AM
reopening to update internal link