• 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-1344
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Showstopper Showstopper
Assignee: Unassigned
Reporter: BlueWall Slade
Votes: 0
Watchers: 1
Operations

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

MONO Beta Grid Crashes

Created: 30/Jan/08 06:35 AM   Updated: 12/Feb/08 12:27 PM
Return to search
Component/s: Scripts
Affects Version/s: Mono Beta
Fix Version/s: Mono Beta

File Attachments: 1. File script.lsl (0.8 kB)

Environment:
Second Life 1.18.6 (77968) Jan 29 2008 11:48:51 (Second Life Release)

You are at 255501.6, 255377.5, 48.8 in Sandbox Goguen MONO located at sim3000.aditi.lindenlab.com (8.2.33.226:13005)
Mono 1.18.6.77968

CPU: AMD Athlon(tm) XP 2600+
Memory: 883 MB
OS Version: Linux 2.6.23-rc8-rt1 #5 PREEMPT RT Thu Jan 3 02:24:14 EST 2008 i686
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce FX 5500/PCI/SSE/3DNOW!
OpenGL Version: 2.1.2 NVIDIA 169.04
LLMozLib Version: 1.1.0 (Mozilla GRE:1.8.0.12_0000000000)
Issue Links:
Relates


 Description  « Hide

Running the attached script under mono crashes the sim 100% Have not isolated the offending function yet.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Gellan Glenelg added a comment - 30/Jan/08 11:42 AM
Crash seems to be caused by llRotLookAt(getRotToPointAxisAt(AXIS_FWD, target), strength, damping);

Replacing this line with
llOwnerSay((string)getRotToPointAxisAt(AXIS_FWD, target));
gives:
Non-Mono:
[11:40] Object: <0.00000, 0.86091, -0.23361, 0.45195>
[11:40] Object: <0.00000, 0.55074, 0.55839, 0.62039>
[11:40] Object: <0.00000, -0.57966, 0.76937, 0.26844>
[11:40] Object: <0.00000, -0.22569, -0.22159, 0.94866>

Mono:
[11:41] Object: System.NullReferenceException: Object reference not set to an instance of an object
at LindenLab.SecondLife.Quaternion.ToString () [0x00000]
at LSL_633c7b3d_0d6e_cdbe_f590_d7ac552d4c2f.defaulttouch_start (Int32 total_number) [0x00000]
at LSL_633c7b3d_0d6e_cdbe_f590_d7ac552d4c2fdefaulttouch_startFrame.ResumeVoid () [0x00000]
at LindenLab.SecondLife.UThread.UThread.Run () [0x00000]
at LindenLab.SecondLife.Script.Run (ScriptEvent evt) [0x00000]


Gellan Glenelg added a comment - 30/Jan/08 11:46 AM
Appears to be caused by a problem with "function that returns a rotation"

Scouse Linden added a comment - 31/Jan/08 04:36 AM
Fixed this crash bug. No down time required. Bug in part of the compile chain.

BlueWall Slade added a comment - 31/Jan/08 07:30 AM
Works nicely now!

Ashrilyn Hayashida added a comment - 31/Jan/08 09:41 PM
For some reason llOwnerSay(llUnescapeURL("%8")); crashes Sandbox Wanderton MONO..
I tried compiling it in LSL mode last time, however... I am unsure if that crashed it or not. I compiled it in LSL, then tried in Mono. Then it gave me an asset upload error or somesuch and told me to try again later.

default
{
state_entry()

{ llOwnerSay(llUnescapeURL("%8")); }

}

That's it.
It happens every time I try compiling that, so.. I am not going to try it any more. Ouch. I haven't tested it in another sim, and I am reluctant to, though it is the beta grid..


Ashrilyn Hayashida added a comment - 31/Jan/08 09:42 PM
(My apologies if I should have opened a new issue for this, instead of reopening this one.)

Periapse Linden added a comment - 01/Feb/08 04:49 PM
Reopening a JIRA to specify an entirely different bug simply does not work.

Resolving again.

I created a new issue: SVC-1409 to track the new crash