after a tumultuous life in which she married and divorced twice after astors death , madeleine died of a heart attack at the age of 45 and was buried at new yorks trinity church cemetery near the astor family vault and her first husband , john .