Bug #7532 Server crashes and hangs on mysql-test-run --valgrind run
Description:
mysql-test-run --valgrind fails (and was failing for some time, can't provide exact moment when this started) on current 5.0 tree compiled with compile-pentium-valgrind-max
The failures are:
...
index_merge [ fail ]
Errors are (from /home/psergey/mysql-5.0/mysql-test/var/log/mysqltest-time) :
/home/psergey/mysql-5.0/client/.libs/mysqltest: At line 164: query 'insert into t2 select * from t0' failed: 2013: Lost connection to MySQL server during query
(the last lines may be the most important ones)
Ending Tests
Shutting-down MySQL daemon
master not cooperating with mysqladmin, will try manual kill
./mysql-test-run: kill: (30630) - No such pid
master refused to die. Sending SIGKILL
./mysql-test-run: kill: (30630) - No such pid
Master shutdown finished
Slave shutdown finished
index_merge_bdb [ skipped ]
lowercase_table_qcache [ pass ]
master not cooperating with mysqladmin, will try manual kill
master refused to die. Sending SIGKILL
lowercase_view [ pass ]
merge [ pass ]
metadata [ pass ]
mix_innodb_myisam_binlog [ pass ]
multi_statement [ pass ]
multi_update [ fail ]
Errors are (from /home/psergey/mysql-5.0/mysql-test/var/log/mysqltest-time) :
/home/psergey/mysql-5.0/client/.libs/mysqltest: At line 465: query 'insert into t1 values ('0'),('1'),('2'),('3'),('4'),('5'),('6'),('7'),('8'),('9')' failed: 2013: Lost connection to MySQL server during query
(the last lines may be the most important ones)
Ending Tests
Shutting-down MySQL daemon
master not cooperating with mysqladmin, will try manual kill
./mysql-test-run: kill: (2265) - No such pid
master refused to die. Sending SIGKILL
./mysql-test-run: kill: (2265) - No such pid
Master shutdown finished
Slave shutdown finished
myisam-blob [ pass ]
...
rpl000008 [ pass ]
and here it hangs forever in test rpl000009. If I kill it, the test contines, and hangs forever again in rpl_change_master
How to repeat:
run the test with --valgrind
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: mysql-test-run --valgrind fails (and was failing for some time, can't provide exact moment when this started) on current 5.0 tree compiled with compile-pentium-valgrind-max The failures are: ... index_merge [ fail ] Errors are (from /home/psergey/mysql-5.0/mysql-test/var/log/mysqltest-time) : /home/psergey/mysql-5.0/client/.libs/mysqltest: At line 164: query 'insert into t2 select * from t0' failed: 2013: Lost connection to MySQL server during query (the last lines may be the most important ones) Ending Tests Shutting-down MySQL daemon master not cooperating with mysqladmin, will try manual kill ./mysql-test-run: kill: (30630) - No such pid master refused to die. Sending SIGKILL ./mysql-test-run: kill: (30630) - No such pid Master shutdown finished Slave shutdown finished index_merge_bdb [ skipped ] lowercase_table_qcache [ pass ] master not cooperating with mysqladmin, will try manual kill master refused to die. Sending SIGKILL lowercase_view [ pass ] merge [ pass ] metadata [ pass ] mix_innodb_myisam_binlog [ pass ] multi_statement [ pass ] multi_update [ fail ] Errors are (from /home/psergey/mysql-5.0/mysql-test/var/log/mysqltest-time) : /home/psergey/mysql-5.0/client/.libs/mysqltest: At line 465: query 'insert into t1 values ('0'),('1'),('2'),('3'),('4'),('5'),('6'),('7'),('8'),('9')' failed: 2013: Lost connection to MySQL server during query (the last lines may be the most important ones) Ending Tests Shutting-down MySQL daemon master not cooperating with mysqladmin, will try manual kill ./mysql-test-run: kill: (2265) - No such pid master refused to die. Sending SIGKILL ./mysql-test-run: kill: (2265) - No such pid Master shutdown finished Slave shutdown finished myisam-blob [ pass ] ... rpl000008 [ pass ] and here it hangs forever in test rpl000009. If I kill it, the test contines, and hangs forever again in rpl_change_master How to repeat: run the test with --valgrind