Bug #29632 | insert into + analyze bdb table in >1 threads crashes mysqld | ||
---|---|---|---|
Submitted: | 8 Jul 2007 22:23 | Modified: | 23 Jul 2007 18:05 |
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server: BDB | Severity: | S2 (Serious) |
Version: | 5.0.46BK | OS: | Any |
Assigned to: | Sergey Vojtovich | CPU Architecture: | Any |
Tags: | analyze table, bdb, crash |
[8 Jul 2007 22:23]
Shane Bester
[11 Jul 2007 21:20]
MySQL Verification Team
testcase to cause multiple crashes within < 2 seconds
Attachment: bug29632.c (text/plain), 6.26 KiB.
[11 Jul 2007 21:24]
MySQL Verification Team
So far, every single storage engine except blackhole has had these DDL concurrency problems. Verified using attached testcase. Build 5.0 using --with-berkeley-db configure option. sbester@www:~> gcc bug29632.c -g -o bug29632 -L/home/sbester/server/5.0/mysql-5.0.46-linux-i686/lib -I/home/sbester/server/5.0/mysql-5.0.46-linux-i686/include -lmysqlclient_r -lz -lpthread sbester@www:~> ./bug29632 running initializations.. pre-generating 16777216 bytes of random data about to spawn 5 threads ..... completed spawning new database worker threads testcase is now running, so watch for error output query failed 'insert into t1 values (-1742970,'epejzwycosnejrpwlazomtbgxzaqfrrgomhdgjjcpmkebinblosmfrhcwcsvmaqbcqaebddjfrczswcjtwucjbjjogpwjxolvuvfoxjulcnwbwygobpsqzibzxakrzsapiixhzisffxpqxcngihyvisrbbxydwdzycbqu','2698-07-08 04:20:53')' : 2013 (Lost connection to MySQL server during query) ...