BYOND crashes after correcting improperly terminated jagged arrays.
Numbered Steps to Reproduce Problem:
1) Create a blank project.
2) Create an empty DMM.
3) Create a list variable on /obj.
4) create a new instance of /obj in the map editor.
5) Attempt to change the object's list variable to the following text:
list("label:yes1","message","Will you tell me where he is?","endspeech","setcancel","no2","branch",list("YES"="yes2","NO"="no2"),"label:"yes2"
6) press ok. An error message about an invalid expression will pop up. Press ok.
7) Edit the above field to
list("label:yes1","message","Will you tell me where he is?","endspeech","setcancel","no2","branch",list("YES"="yes2","NO"="no2"),"label:"yes2")
8) Press OK. BYOND will crash. Sometimes you will get this error message:
9) If you press cancel instead of OK after receiving the invalid expression message, the next button you press or file you attempt to open in DreamMaker will cause a crash.
Basically, the problem with the above text is the last field: "label:"yes2"
Something about this string is causing that error to cause some kind of a crash.
Not sure how better to pare this down. it only seems to happen with longer strings with malformed endings.
But one things for sure, the bad expression dialogue is almost always a death sentence for DreamMaker. If you see that message, no matter what you do, DreamMaker is going to crash.