ID:2383110
 
BYOND Version:512.1427
Operating System:Linux
Web Browser:Chrome 67.0.3396.99
Applies to:Dream Maker
Status: Unverified

Thus far we've been unable to verify or reproduce this bug. Or, it has been observed but it cannot be triggered with a reliable test case. You can help us out by editing your report or adding a comment with more information.
Descriptive Problem Summary:
Over at /vg/station, we discovered that labels can be absolutely pathed. This is very cool, if dubiously useful. goto can accept an absolutely-pathed label, as long as said label is in the correct proc. However, as far as the compiler is concerned, goto can also accept a typepath. This obviously does not work, and causes Dream Daemon to crash with an illegal operation error.

Code Snippet (if applicable) to Reproduce Problem:
goto /

That's (tied for) the simplest case, but it will also happen with any valid typepath following the goto. (Not invalid ones, though.)

Expected Results:
Fails to compile, with a bad link error or the like.

Actual Results:
Compiles, but crashes Dream Daemon upon execution.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Not tested, but I don't see any recent changes that seem relevant.

Workarounds:
Just don't do this
Lummox JR changed status to 'Unverified'
I can't reproduce this with the provided snippet.
world/New()
goto /


The above crashes DD for me. 512.1435, Windows 10 x64.
512.1437, Linux, DamianQ's snippet.

Welcome BYOND! (5.0 Beta Version 512.1437)
BUG: Crashing due to an illegal operation!
proc name: New (/world/New)
usr: null
src: world
call stack:
world: New()

Backtrace for BYOND 512.1437 on Linux:
Generated at Thu Jul 12 18:59:23 2018

DreamDaemon [0x8048000, 0x0], [0x8048000, 0x804bb84]
libbyond.so [0xf7934000, 0x0], 0x279035
linux-gate.so.1 [0xf7ee2000, 0xf7ee2e10], [0xf7ee2000, 0xf7ee2e10]
libbyond.so [0xf7934000, 0x0], 0x279035
libbyond.so [0xf7934000, 0x0], 0x29fc34
libbyond.so [0xf7934000, 0x0], 0x2a9ea3
libbyond.so [0xf7934000, 0x0], 0x2aa6fb
libbyond.so [0xf7934000, 0x0], 0x258dd6
libbyond.so [0xf7934000, 0x0], 0x25ae63
libbyond.so [0xf7934000, 0x0], 0x256291
libbyond.so [0xf7934000, 0x0], 0x256c33
libbyond.so 0x2cd300, 0x2cd347
DreamDaemon [0x8048000, 0x0], [0x8048000, 0x804ade4]
libc.so.6 0x1a050, 0x1a141 (__libc_start_main)
DreamDaemon [0x8048000, 0x0], [0x8048000, 0x804a791]

Recent proc calls:
/world/New