Skip to content

Hopefully fix the R&D console crashing bug - #39456

Open
Inorien wants to merge 1 commit into
vgstation-coders:Bleeding-Edgefrom
Inorien:browsecrashworkaround
Open

Hopefully fix the R&D console crashing bug#39456
Inorien wants to merge 1 commit into
vgstation-coders:Bleeding-Edgefrom
Inorien:browsecrashworkaround

Conversation

@Inorien

@Inorien Inorien commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator

What this does

Works around a Byond bug whereby browse() calls with a content param of jus under 65536 bytes and an opts param that pushes the total length just over 65536 bytes disconnects the client. This is a very narrow window that we occasionally hit with the R&D console. Seriously its something like 90 bytes wide and you just had to get unlucky to hit it, too small and there's no issue, too big and it seems to handle it properly

Just add some commented filler to the payload so it doesnt hit the danger zone, run on every browser open just in case

the bug in question has been reported to lummox

Why it's good

R&D console crashing bad

How it was tested

  • debug proc to send a browse() at a given size, observed crashing in a goldilocks zone
  • tested the same with the browse_crashguard proc and observed no crashing

Changelog

🆑

  • bugfix: Hopefully eliminate R&D console crashing fuckery

@Inorien Inorien added the Bug / Fix This is either a bug or a fix for a bug. label Jun 28, 2026
@DamianX

DamianX commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Well done!

@jwhitak

jwhitak commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator

https://www.byond.com/forum/post/2989192

Related post

@jwhitak jwhitak added the T-Thanks BYOND Engine limitations. May not ever be fixable. BYOND a shit. label Jun 28, 2026
@Inorien

Inorien commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator Author

allegedly lummox has fixed this and will ship in byond 516.1684

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug / Fix This is either a bug or a fix for a bug. T-Thanks BYOND Engine limitations. May not ever be fixable. BYOND a shit.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants