broken
adj.
Not working according to design (of programs). This is the mainstream sense.
Improperly designed, This sense carries a more or less disparaging implication that the designer should have known better, while sense 1 doesn’t necessarily assign blame. Which of senses 1 or 2 is intended is conveyed by context and nonverbal cues.
Behaving strangely; especially (when used of people) exhibiting extreme depression.