I have a very close friend...who does this.She is married to a very difficult man.
He has even yelled at me many times.
So her and I would go out, and have a hot chocolate and slice of cake.
This went on for some 16 years!
She is 'old school', so leaving him was not an option.(she just turned 70).
I felt like I have lost may be a good 3 full months of my life listening to her.
I did advise, she never took my advice....I did listen, only to get more frustrated.
'Why' did I listen for 16 long years...............because she is my friend.
I would not ever do it again, and couldn't.....In fact, I now have to stop any conversation that is going 'no-where'.......or taking up too much of my time.
We are still friends, but she now knows I can not do it.