Description:
I am having a lot of trouble running MySQL test framework and crash me because MySQL keeps crashing when I run any of bug finding test or crash me test.
I ran crash me with the following options:
sudo perl ./crash-me.sh --host=127.0.0.1:3307 --server=MySQL --log-queries-to-file=/tmp/sqls.txt --user=crash --password=password --check-server --force
and found out that the screen where mysqld_safe was manually started gives the following message.
bin/mysqld_safe: line 144: 8638 Segmentation fault nohup /usr/local/mysql-5.5.15/bin/mysqld --basedir=/usr/local/mysql-5.5.15 --datadir=/data --plugin-dir=/usr/local/mysql-5.5.15/lib/plugin --user=mysql --log-error=/var/log/mysqld.log --open-files-limit=65535 --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/lib/mysql/mysql.sock --port=3307 < /dev/null >> /var/log/mysqld.log 2>&1 >> /var/log/mysqld.log 2>&1
110819 13:14:56 mysqld_safe Number of processes running now: 0
110819 13:14:56 mysqld_safe mysqld restarted
Then I ran the query that crash me tried running and crashed in a MySQL command line session and got the following:
select 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1;
ERROR 2013 (HY000): Lost connection to MySQL server during query
bin/mysqld_safe: line 144: 10206 Segmentation fault nohup /usr/local/mysql-5.5.15/bin/mysqld --basedir=/usr/local/mysql-5.5.15 --datadir=/data --plugin-dir=/usr/local/mysql-5.5.15/lib/plugin --user=mysql --log-error=/var/log/mysqld.log --open-files-limit=65535 --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/lib/mysql/mysql.sock --port=3307 < /dev/null >> /var/log/mysqld.log 2>&1 >> /var/log/mysqld.log 2>&1 >> /var/log/mysqld.log 2>&1
mysql> 110819 13:23:05 mysqld_safe Number of processes running now: 0
110819 13:23:05 mysqld_safe mysqld restarted
Does anyone know about any fix?
How to repeat:
Install MySQL 5.5.15 using binary or source code, and run the crash me test OR run the test framework
Suggested fix:
dont know