ID:1558895
 
Resolved
(VS build) time2text() crashed the server.
BYOND Version:506.1244 - VS2013
Operating System:Windows 7 Home Premium 64-bit
Web Browser:Chrome 36.0.1951.5
Applies to:Dream Daemon
Status: Resolved (506.1245)

This issue has been resolved.
using time2text() hangs Dream Seeker and completely crashes Dream Daemon.

I noticed this issue in an actual environment, and yeah. now I'm running a test world where I have something:

mob/verb
testTime()
outputTime()

proc
outputTime()
world << "started at [time2text(1,"hh:mm:ss")]" // Any value in the first arg of time2text will suffice.
world

New()
..()
outputTime() // With this line, the world completely hangs on start up. If you comment it out, world launches fine.


Using anything with time2text(), it'll completely hang the world. You won't be able to execute any other commands. If the world is on Daemon, it'll just go not-responding, and ask you to close it.


Dream Daemon's crash reports this:
Faulting application name: dreamdaemon.exe, version: 5.0.506.1244, time stamp: 0x535ae1c7
Faulting module name: byondcore.dll, version: 5.0.506.1244, time stamp: 0x535ae110
Exception code: 0xc0000005
Fault offset: 0x00161cd2
Faulting process id: 0x1c2c
Faulting application start time: 0x01cf60fe2ab01579
Faulting application path: F:\byond\bin\dreamdaemon.exe
Faulting module path: F:\byond\bin\byondcore.dll
Report Id: 70923f87-ccf1-11e3-9ecf-001fc66f7a51
Lummox JR resolved issue with message:
(VS build) time2text() crashed the server.