Steps to reproduce:
Select any area you want (optional, you can leave cell A1 selected).
Click to "Borders" menu and select something (for example all borders).
All LibreOffice windows are closed without any error message on screen, or in terminal.
All LibreOffice windows should stay open and chosen borders should be applied to selected area.
I'm using Linux Mint 17.2 Cinnamon 64-bit, but using i3 window manager instead of Cinnamon. (It works when I use Cinnamon).
(In reply to Peter from comment #0)
> Click to "Borders" menu
You probably mean the "Borders" toolbar button like in Bug 93487. In this case it was fixed for the upcoming 5.0.4.
*** This bug has been marked as a duplicate of bug 93487 ***