Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008950opensim[REGION] Scripting Enginepublic2021-12-07 06:492021-12-07 07:14
ReporterChris Weymann 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformOperating SystemOperating System Version
Product Version0.9.1.0 
Target VersionFixed in Version 
Summary0008950: YEngine: osForceBreakLink/llBreakLink can lead to a NullReferenceException
DescriptionAfter running these scripts, the region issues endless errors in the log and on the console. It is no longer possible to tp away and the simulator no longer saves any change.
Steps To ReproduceCreate a Linkset with 10 Links.
Put this script multiple times in the root object.

default
{
     state_entry()
    {
        llRequestPermissions( llGetOwner(), PERMISSION_CHANGE_LINKS );
    }
 
    touch_start(integer i)
    {
        llBreakLink(llDetectedLinkNumber(0));
    }
}

Start touching the linked objects.
Additional InformationLogfile: https://pastebin.com/6FQRbhZS [^]
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (1 Region per Sim)
Physics EngineubODE
Script EngineYEngine
EnvironmentMono / Linux64
Mono Version6.x
Viewer
Attached Files

- Relationships

-  Notes
(0038281)
Chris Weymann (reporter)
2021-12-07 06:52

Also on Version 0.9.2.0 but mantis dont know the new version
(0038282)
djphil (reporter)
2021-12-07 06:52

Do you know osForceBreakLink & osForceBreakAllLinks ?
(0038283)
UbitUmarov (administrator)
2021-12-07 07:02

you are not supposed to have more than one script doing that..
and you have 10?? duhhh
(0038284)
Chris Weymann (reporter)
2021-12-07 07:14

I know that only need one script for this but it is the way I get this problem.
With BreakAllLinks i dont have test it.

- Issue History
Date Modified Username Field Change
2021-12-07 06:49 Chris Weymann New Issue
2021-12-07 06:52 Chris Weymann Note Added: 0038281
2021-12-07 06:52 djphil Note Added: 0038282
2021-12-07 07:02 UbitUmarov Note Added: 0038283
2021-12-07 07:14 Chris Weymann Note Added: 0038284


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker