Bug #11526 | MySQL crash on multi-table updates. | ||
---|---|---|---|
Submitted: | 23 Jun 2005 10:57 | Modified: | 4 Dec 2005 14:25 |
Reporter: | Dimitrij HIlt | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.1.12-standard-log | OS: | Linux (Debian/Linux 2.4.26) |
Assigned to: | CPU Architecture: | Any |
[23 Jun 2005 10:57]
Dimitrij HIlt
[23 Jun 2005 11:14]
Aleksey Kishkin
Hi. Could you provide the table structure that we can try to reproduce this bug?
[23 Jun 2005 13:48]
Dimitrij HIlt
Hi, please provide your mailadress. I will send this information to you direct. Dimi
[23 Jun 2005 14:03]
MySQL Verification Team
Dimirij, Upload info to our ftp and let us know the file name: ftp://ftp.mysql.com/pub/mysql/upload/ This file will be visible only to MySQL developers.
[23 Jun 2005 14:27]
Dimitrij HIlt
Hello Victoria, filename is mysql_error.dump and provides output from 'mysqldump -d' and erro_log with really names from tables. Dimi
[24 Jun 2005 8:31]
Dimitrij HIlt
Update: It happens only if OPTIMIZE TABLE locks table: mysqlcheck --optimize --all-databases --silent mysqlcheck: Got error: 2013: Lost connection to MySQL server during query when executing 'OPTIMIZE TABLE ... ' Dimi
[2 Jul 2005 12:42]
MySQL Verification Team
Dimitrij, MySQL crashes on UPDATE query that involves tables T1 and T2, but I don't see structure of these two tables in the dump.
[4 Jul 2005 19:23]
Dimitrij HIlt
Victoria, see error_log from mysqld ( was in upload ). T1 and T2 are anonymized table names. I'v provided full error message to you with DB structure. Dimitrij
[12 Jul 2005 9:20]
Aleksey Kishkin
sorry I don't see appropriate table definitions. For example there is no table with 'GetestetWer' field.
[14 Jul 2005 12:08]
Dimitrij HIlt
Hi, my bad. I will putt new error log ( we have crash every night ) on your frp server. Filename is mysql_err_bug_id_11526.log and nothing is anonimyzed. Regards, Dimi
[25 Sep 2005 8:43]
Valeriy Kravchuk
Dimitrij, I had not found your new error log on the ftp. Please, upload it as a private file for this bug report using File tab. Have you tried to repeat the described behaviour using newer versions of MySQL? 4.1.14, for example? How many rows are there in tables you are updating?
[10 Oct 2005 11:41]
Dimitrij HIlt
Hi, please use a new files uplloaded as privat file.
[11 Oct 2005 12:43]
Valeriy Kravchuk
OK, we got the structure in the private files. But I still do not understand, what table is T1, and what is T2. There is no table with Child column in your dump. So, please, provide (in a private file, if you want) the REAL update statement that fails. Some ideas on rows in your tables are welcomed too (how many, sample rows, in private files, if you want). Please, try also to repeat this behaviour on a newer version of MySQL. 4.1.14 or just wait for 4.1.15 - should be released soon.
[11 Oct 2005 15:14]
Dimitrij HIlt
Hi Valeriy, see please bad_query ( privat file ). Regrads, Dimi
[12 Oct 2005 12:44]
Valeriy Kravchuk
I had created all tables according to your file and pertformed a query you posted, on empty tables. It works OK on newest 4.1.16-BK (see the private file posted). No crashes. So, please, provide some information about the real data (sample rows for the tables, or number of rows in each, at least). Please, test also on newer version of MySQL. 4.1.14 is available for a long time already. Inform about the results. Your my.cnf settings and harware specifications (amount of RAM) may be of some use too.
[13 Nov 2005 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[14 Nov 2005 11:19]
Dimitrij HIlt
Hi Valeriy, sorry for bi delay. We have lot work here. I will provide now needed Information, but i can't update to new mysql version, because this system ist in production and we will update to mysql 5 asap. Hardware: CPU: 2 x Intel(R) Xeon(TM) CPU 2.80GHz ( HT enabled ) RAM: 2 GB Wich settings from my.cnf are interesting for you? Database things ( sample rows and rowcount ) will be provided in privat file database.txt Regards, Dimi
[14 Nov 2005 11:37]
Valeriy Kravchuk
Thank you for the additional information. As for the my.cnf parameters, please, upload the whole file, as private, if you want. Those query_cache_% may be interesting, or others (to be able to ask more questions), if any non-default.
[14 Nov 2005 12:18]
Dimitrij HIlt
Hi Valeriy, see all settings in my.cnf ( allraedy uploaded ). Dimi
[26 Nov 2005 9:34]
Valeriy Kravchuk
Dimitrij, I've just reread your comments in http://bugs.mysql.com/bug.php?id=9670. Please, confirm clearly, are you getting this crashes with latest 4.0.26 and 4.1.15 versions? If no, then I believe the underlying problem is already fixed by Heikki. If the crash is still obviously repeatable, please, try to repeat it without the query cache enabled (you have it 30M in size in your my.cnf). I want to check if this crash has something to do with query cache. A more precise description of the steps that leads to crash will be also useful. Is it OPTIMIZE TABLE releated, simple UPDATE related, or multi-table UPDATE related (as I understood from your last comments here)?
[29 Nov 2005 7:30]
Dimitrij HIlt
Hi Valeriy, it is for me unpossible to test with 4.0.26, because i will not downgrade my database. Next i will test is the new 5.X Version. We will update to 5.X ASAP. If it is Ok by your tests with new 4.1.16, then this Bug is realy fixed by Heikki. The more precise description ist, if "OPTIMIZE TABLE" is running and the multitable update ( see my logfile ) is running, the database dies with sig11 ( see logfile for errormessage ). Regards, Dimi