#1503: Split position sync into a second helper script (Stack-Heap Collision after login) #1504
No reviewers
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream!1504
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "TheSlowly/Slipstream:helper-split"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #1503.
The helper's one script used 58 KB of its 64 KB at startup since position sync (#1417), so it crashed right after login and stayed dead for the session.
slipstream_helper_pos.lsl; the main script hands itpos/*and the keep-alive as link messages. No memory cap: a tight one crashed it in a crowd.helper-scripts(size budgets, hand-off, install/verify, liveness).In world: main script now 44.8 KB of 64 KB at login (was 58.4), no error. Not yet tested: position sync with another Slipstream user nearby.
In a crowd the position script died with a Stack-Heap Collision: it capped itself at its startup memory + 12 KB, and the visible-avatar list with a long command needs more. A crashed helper is worse than a few KB more reported script memory, so no helper script sets llSetMemoryLimit. The main script answering hello said nothing about the position script, so that crash left position sync dead for the session. hello now ends in llGetScriptState of the position script; two READY hellos in a row saying it stopped count as a dead helper (same reinstall, same cap of two a session). Test-Plan: python3 -I scripts/check/run.py --stage source (28 pass; helper-scripts failed before on all three rules) slbridge.cpp syntax-checked with the Windows flags In world: crowded region, no Stack-Heap Collision from #Slipstream Helper Position Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.