Like a previous poster, I would also say "Dancer in the Dark". That ending just made me so angry! (angry 'cos of the injustice of it all, not a criticm of the film, which is very good).
Another absolute b@$***d of an ending would be (the original version of) Dark Water.
And of course, as many people have already suggested, "Night of the Living Dead" has the classic harsh ending.