Greetings,
I am currently using Slackware Linux 14.2 (k4.4.88), LO 5.3.4.2, mariadb 10.0.32, and mysql-connector-java 5.1.42.
Not sure this is your problem, but it sounds familiar. I have learned that there is a possibility that at least some LO macros are Java-based. If that is so, then your Linux kernel update may have broken LO, actually, the Java interface. This is ill-behaved, since a kernel update should never break Java or LO. I believe that LO is doing something ill-behaved or the LO code is making some bad assumptions about the stack frame gaps. For me, this has happened in LO 5.2 as well as 5.3, so it is not LO version-dependent, at least not the later releases.
When I updated my Slackware Linux 14.2 (k4.4.38) to kernel 4.4.75, LO Base started crashing hard, but OpenOffice did not. My investigation discovered that a Linux kernel security fix in k4.4.75 that increased the inter-stack gap was causing the problem. To make a long story short, there are two solutions that I know of:
1. Switch to 64-bit Linux, which does not seem to have this problem.
2. Add " stack_guard_gap=6" to the 32-bit kernel boot parameters. Which reduces the inter-stack gap to where Java/LO can operate.
This has been documented in the Slackware forum on LinuxQuestions.org. Search for my thread:
*Problem with the 4.4.75 kernel security upgrade dated 26 June 2017
(SSE 2017-177-01) *
on https://www.linuxquestions.org/ .
Ever since I have done #2, I have not had any LibreOffice Base crashes.
Note that in addition to Base crashes, I discovered some of the Tools -> Options dialogs crashed too, especially the "Internet" options. So Java must be used for more than just Base or macros. But this problem definitely crashes LO when trying to connect to my external Mariadb (MySQL) database.
HTH.
Girvin Herr