maria-discuss team mailing list archive
Mailing list archive
Re: MariaDB crashes when running DESCRIBE command
On 6/24/20 6:13 PM, Ling, Andy wrote:
I am running MariaDB 10.4.12 on Windows Server 2018. I am connecting to
it from a Java application using mariadb-java-client-2.5.4
I use Statement.executeQuery(string) to execute a query on the database.
Most of the time this works without a problem, but I have just found
that if the query is “DESCRIBE servers”, where servers is the name of a
table, it crashes the MariaDB service.
Indeed, there was such problem in 10.4.12 (and some previous versions):
It was fixed in 10.4.13. Could you please upgrade and check whether the
failure goes away?
I can run the query without a problem from the mysql shell, it is only
when running it through the java connector.
The error log crash data is shown below.
Is this a bug or am I doing something wrong?
Version: '10.4.12-MariaDB-log' socket: '' port: 3306 mariadb.org
200624 15:48:11 [ERROR] mysqld got exception 0xc0000005 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
Server version: 10.4.12-MariaDB-log
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads =
5380 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x209c95a8
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x209c15c0): SET STATEMENT max_statement_time=5 FOR describe servers
Connection ID (thread ID): 52
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
Writing a core file at C:\Data\MySQL\data\
Privileged and/or Confidential information may be contained in this
message. If you are not the addressee of this message, you may not copy,
use or deliver this message to anyone. In such event, you should destroy
the message and kindly notify the sender by reply e-mail. It is
understood that opinions or conclusions that do not relate to the
official business of the company are neither given nor endorsed by the
company. Thank You.
Mailing list: https://launchpad.net/~maria-discuss
Post to : maria-discuss@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~maria-discuss
More help : https://help.launchpad.net/ListHelp