[MDEV-14331] segmentation fault using database Created: 2017-11-08  Updated: 2017-12-11  Resolved: 2017-12-11

Status: Closed
Project: MariaDB Server
Component/s: Server
Affects Version/s: 5.5.55-galera
Fix Version/s: 5.5.57

Type: Bug Priority: Major
Reporter: Tüske Máté Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None


 Description   

Hello,

I'm using the 5.5.55 version built by yocto environment. I've created a 'test' database and a table with this command 'CREATE TABLE samp_table (name VARCHAR(20));'. I can list the tables and it works properly but if I exit the shell and try to come back, when using the database, mariadb exits with segmentation fault. What could be the problem?

The problem only occurs only if the database contains tables.

thanks for help



 Comments   
Comment by Daniel Black [ 2017-11-08 ]

Can you get yockto to have a cmake arguement "-DCMAKE_BUILD_TYPE=RelWithDebInfo" and create the table. Then can you attach the entire MariaDB error log.

Is reproducible in 5.5.57?

I suspect you also aren't using the galera version. This is a different source than the default mariadb-5.5 used by the yocto rules.

Can you also include your my.cnf files in this bug report please.

Comment by Tüske Máté [ 2017-11-09 ]

Now, I just updated to the 5.5.57 from the yocto master branch and it is working properly.

I can try to rebuild the MariaDB with this argument but today I will have not enough time for this.

My my.cnf file is this:

[client]
#password                                       = password
port                                            = 3306
socket                                          = /var/lib/mysql/mysql.sock
 
[mysqld_safe]
 
[mysqld]
user                                            = mysql
port                                            = 3306
socket                                          = /var/lib/mysql/mysql.sock
pid-file                                        = /var/lib/mysql/mysqld.pid
log-error                                       = /var/log/mysqld.err
basedir                                         = /usr
datadir                                         = /var/lib/mysql
skip-external-locking
skip-networking                                 = 0
bind-address                                    = 127.0.0.1
ignore-builtin-innodb
default-storage-engine                          = myisam
 
#
# include all files from the config directory
#
!includedir /etc/my.cnf.d

Comment by Daniel Black [ 2017-11-09 ]

thorn, Thanks. As 5.5.57 is working for you does anything need to be done? Apart from convincing yocto to bump the stable version to 5.5.57 (though 5.5.58 have been out for 2 weeks).

Comment by Tüske Máté [ 2017-11-09 ]

Well, I'm okay with changing the version so for me it is fine not to debug the issue, rather write a ticket for the yocto MariaDB recipe maintainers. I will do it.

Comment by Elena Stepanova [ 2017-12-11 ]

Given the feedback above, I'm closing it as fixed in 5.5.57.

Generated at Thu Feb 08 08:12:43 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.