During our global controller initialization (called, AIUI, from a "/var/datum/foo/bar = new"), DD is claiming a variety of variables do not exist. The error appears to be coming from inside the new init procs, and reference variables which init with "= list()" or similar. The errors are the absolute first thing in DD's log after "Welcome BYOND!". The line numbers refer to the variables's declaration.
It does not appear in a test project. I wondered if it was a limits thing (tgstation has 88k+ variables across all types) but could not reproduce simply by creating a test project with many variables on many datums.
The reason I say that it's memory corruption is that at one point, the error log lists a proc path ("/datum/config_entry/string/ipintel_email/ValidateAndSet") in filename position. On a slightly different build, the error lists a different, shorter string ("splitter") as if a filename.
This can be reproduced reliably by compiling and running tgstation (https://github.com/tgstation/tgstation). There is no need to wait for the game to initialize; the errors happen immediately on world startup. Setting LOWMEMORYMODE in _maps/_basemap.dm may speed things up marginally. I'll see if someone more knowledgeable in tgstation's init can weigh in.
Here's a full DD log of the relevant errors. There are future errors but they're likely caused by these first ones. The bottom-most messages in the log are supposed to be the first things printed.
Logging in...connected Logged in as SpaceManiac. Tue Jun 26 16:18:41 2018 World opened on network port 11597. Welcome BYOND! (5.0 Beta Version 512.1430) runtime error: Undefined variable /datum/newscaster/feed_message/var/authorCensorTime proc name: source file: newscaster.dm,14 usr: null src: /datum/newscaster/feed_message (/datum/newscaster/feed_message) call stack: /datum/newscaster/feed_message (/datum/newscaster/feed_message): () : () runtime error: Undefined variable /datum/newscaster/feed_channel/var/messages proc name: source file: newscaster.dm,61 usr: null src: /datum/newscaster/feed_channel (/datum/newscaster/feed_channel) call stack: /datum/newscaster/feed_channel (/datum/newscaster/feed_channel): () : () runtime error: Undefined variable /datum/species/human/var/species_traits proc name: source file: /datum/config_entry/string/ipintel_email/ValidateAndSet,5 usr: null src: /datum/species/human (/datum/species/human) call stack: /datum/species/human (/datum/species/human): () : () runtime error: Undefined variable /datum/species/human/var/species_traits proc name: source file: /datum/config_entry/string/ipintel_email/ValidateAndSet,5 usr: null src: /datum/species/human (/datum/species/human) call stack: /datum/species/human (/datum/species/human): () : () runtime error: Undefined variable /obj/item/encryptionkey/headset_sec/var/channels proc name: source file: encryptionkey.dm,29 usr: null src: the security radio encryption ... (/obj/item/encryptionkey/headset_sec) src.loc: null call stack: the security radio encryption ... (/obj/item/encryptionkey/headset_sec): () : () runtime error: Undefined variable /obj/item/encryptionkey/headset_sec/var/channels proc name: source file: encryptionkey.dm,29 usr: null src: the security radio encryption ... (/obj/item/encryptionkey/headset_sec) src.loc: null call stack: the security radio encryption ... (/obj/item/encryptionkey/headset_sec): () : () runtime error: Undefined variable /obj/item/encryptionkey/headset_eng/var/channels proc name: source file: encryptionkey.dm,35 usr: null src: the engineering radio encrypti... (/obj/item/encryptionkey/headset_eng) src.loc: null call stack: the engineering radio encrypti... (/obj/item/encryptionkey/headset_eng): () : () runtime error: Undefined variable /obj/item/encryptionkey/headset_sec/var/channels proc name: source file: encryptionkey.dm,29 usr: null src: the security radio encryption ... (/obj/item/encryptionkey/headset_sec) src.loc: null call stack: the security radio encryption ... (/obj/item/encryptionkey/headset_sec): () : () runtime error: Undefined variable /obj/item/encryptionkey/headset_cargo/var/channels proc name: source file: encryptionkey.dm,107 usr: null src: the supply radio encryption ke... (/obj/item/encryptionkey/headset_cargo) src.loc: null call stack: the supply radio encryption ke... (/obj/item/encryptionkey/headset_cargo): () : () runtime error: Undefined variable /obj/item/encryptionkey/headset_sec/var/channels proc name: source file: encryptionkey.dm,29 usr: null src: the security radio encryption ... (/obj/item/encryptionkey/headset_sec) src.loc: null call stack: the security radio encryption ... (/obj/item/encryptionkey/headset_sec): () : () runtime error: Undefined variable /obj/item/encryptionkey/headset_med/var/channels proc name: source file: encryptionkey.dm,47 usr: null src: the medical radio encryption k... (/obj/item/encryptionkey/headset_med) src.loc: null call stack: the medical radio encryption k... (/obj/item/encryptionkey/headset_med): () : () runtime error: Undefined variable /obj/item/encryptionkey/headset_sec/var/channels proc name: source file: encryptionkey.dm,29 usr: null src: the security radio encryption ... (/obj/item/encryptionkey/headset_sec) src.loc: null call stack: the security radio encryption ... (/obj/item/encryptionkey/headset_sec): () : () runtime error: Undefined variable /obj/item/encryptionkey/headset_sci/var/channels proc name: source file: encryptionkey.dm,53 usr: null src: the science radio encryption k... (/obj/item/encryptionkey/headset_sci) src.loc: null call stack: the science radio encryption k... (/obj/item/encryptionkey/headset_sci): () : () runtime error: Undefined variable /obj/item/encryptionkey/headset_eng/var/channels proc name: source file: encryptionkey.dm,35 usr: null src: the engineering radio encrypti... (/obj/item/encryptionkey/headset_eng) src.loc: null call stack: the engineering radio encrypti... (/obj/item/encryptionkey/headset_eng): () : () runtime error: Undefined variable /obj/item/encryptionkey/headset_rob/var/channels proc name: source file: encryptionkey.dm,41 usr: null src: the robotics radio encryption ... (/obj/item/encryptionkey/headset_rob) src.loc: null call stack: the robotics radio encryption ... (/obj/item/encryptionkey/headset_rob): () : () runtime error: Undefined variable /obj/item/encryptionkey/headset_med/var/channels proc name: source file: encryptionkey.dm,47 usr: null src: the medical radio encryption k... (/obj/item/encryptionkey/headset_med) src.loc: null call stack: the medical radio encryption k... (/obj/item/encryptionkey/headset_med): () : () runtime error: Undefined variable /obj/item/encryptionkey/headset_sci/var/channels proc name: source file: encryptionkey.dm,53 usr: null src: the science radio encryption k... (/obj/item/encryptionkey/headset_sci) src.loc: null call stack: the science radio encryption k... (/obj/item/encryptionkey/headset_sci): () : () runtime error: Undefined variable /obj/item/encryptionkey/headset_medsci/var/channels proc name: source file: encryptionkey.dm,59 usr: null src: the medical research radio enc... (/obj/item/encryptionkey/headset_medsci) src.loc: null call stack: the medical research radio enc... (/obj/item/encryptionkey/headset_medsci): () : () runtime error: Undefined variable /obj/item/encryptionkey/headset_com/var/channels proc name: source file: encryptionkey.dm,65 usr: null src: the command radio encryption k... (/obj/item/encryptionkey/headset_com) src.loc: null call stack: the command radio encryption k... (/obj/item/encryptionkey/headset_com): () : () runtime error: Undefined variable /obj/item/encryptionkey/heads/captain/var/channels proc name: source file: encryptionkey.dm,71 runtime error: Undefined variable /obj/item/encryptionkey/heads/rd/var/channels proc name: source file: encryptionkey.dm,77 runtime error: Undefined variable /obj/item/encryptionkey/heads/hos/var/channels proc name: source file: encryptionkey.dm,83 runtime error: Undefined variable /obj/item/encryptionkey/heads/ce/var/channels proc name: source file: encryptionkey.dm,89 runtime error: Undefined variable /obj/item/encryptionkey/heads/cmo/var/channels proc name: source file: encryptionkey.dm,95 runtime error: Undefined variable /obj/item/encryptionkey/heads/hop/var/channels proc name: source file: encryptionkey.dm,101 runtime error: Undefined variable /obj/item/encryptionkey/headset_cargo/var/channels proc name: source file: encryptionkey.dm,107 runtime error: Undefined variable /obj/item/encryptionkey/headset_mining/var/channels proc name: source file: encryptionkey.dm,113 runtime error: Undefined variable /obj/item/encryptionkey/headset_service/var/channels proc name: source file: encryptionkey.dm,119 runtime error: Undefined variable /obj/item/encryptionkey/headset_com/var/channels proc name: source file: encryptionkey.dm,65 runtime error: Undefined variable /obj/item/encryptionkey/headset_cent/var/channels proc name: source file: encryptionkey.dm,126 runtime error: Undefined variable /obj/item/encryptionkey/heads/captain/var/channels proc name: source file: encryptionkey.dm,71 runtime error: Undefined variable /obj/item/encryptionkey/ai/var/channels proc name: source file: encryptionkey.dm,129 runtime error: Undefined variable /obj/item/encryptionkey/heads/captain/var/channels proc name: source file: encryptionkey.dm,71 runtime error: Undefined variable /obj/item/encryptionkey/syndicate/var/channels proc name: source file: encryptionkey.dm,16 runtime error: Undefined variable /obj/item/retractor/augment/var/materials proc name: source file: tools.dm,16 runtime error: Undefined variable /obj/item/hemostat/augment/var/materials proc name: source file: tools.dm,38 runtime error: Undefined variable /obj/item/cautery/augment/var/materials proc name: source file: tools.dm,61 runtime error: Undefined variable /obj/item/surgicaldrill/augment/var/materials proc name: source file: tools.dm,89 runtime error: Undefined variable /obj/item/scalpel/augment/var/materials proc name: source file: tools.dm,130 runtime error: Undefined variable /obj/item/circular_saw/augment/var/materials proc name: source file: tools.dm,177 runtime error: Undefined variable /obj/item/surgical_drapes/var/attack_verb proc name: source file: tools.dm,188 578 global variables World loaded at 16:18:48!