ID:115440
 
Not a bug
BYOND Version:487
Operating System:Linux
Web Browser:Firefox 5.0
Applies to:Dream Daemon
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
Descriptive Problem Summary:

When using the following command:
DreamDaemon Terulia.dmb 2448 -invisible -safe &
in a directory called "Terulia", the game will occasionally fail to load and spam the error log with messages about safety violations.
Here are a couple of example errors:

runtime error: Safety violation: tried to access '/usr/local/byond/cfg/Include/Save Files/Map/Trees.sav' outside of current directory.
proc name: restore terrain (/proc/restore_terrain)
source file: Resources.dm,148
usr: null
src: null
call stack:
restore terrain()
initialize game()
: New()
runtime error: Safety violation: tried to access '/usr/local/byond/cfg/Include/Save Files/Map/Layer 1.sav' outside of current directory.
proc name: t load (/proc/t_load)
source file: Save and Load.dm,284
usr: null
src: null
call stack:
t load()
initialize game()
: New()


The thing is... The code makes absolutely no mention of "/usr/local/byond/cfg" and DD is being run under "/home/xxx/Terulia".

I'm not sure if this is related, so I'll go ahead and include it... The remainder of the log was full of entries of this sort:
runtime error: BYOND Error: failed to add new icon cache entry.
proc name: New (/icon/New)
usr: null
src: /icon (/icon)
call stack:
/icon (/icon): New(/icon (/icon), null, null, null, null)
initialize NPC icons()
initialize game()
: New()
until it overloaded and stopped logging.

This has happened 2 of my 4 attempts to load the game. The other 2 attempts went fine.

If you have any ideas on what I could do to test it further, I'd be happy to give it a shot.
On reviewing the situation in depth, Gaku and I have determined the home directory is becoming inaccessible after he logs out of SSH. This is an issue with the Linux installation or the shell.