Bug #39161 | Crash in UNION ALL query in Field_string::type | ||
---|---|---|---|
Submitted: | 1 Sep 2008 15:36 | Modified: | 5 Oct 2008 17:27 |
Reporter: | Mark Robson | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: General | Severity: | S1 (Critical) |
Version: | 5.0.67-community | OS: | Linux (Centos 5.2 x86_64) |
Assigned to: | CPU Architecture: | Any |
[1 Sep 2008 15:36]
Mark Robson
[1 Sep 2008 15:40]
Sveta Smirnova
Thank you for the report. Please also provide output of SHOW CREATE TABLE for second table used in the query.
[1 Sep 2008 16:05]
Mark Robson
Other table was created with: CREATE TABLE TMPDelta_14121_110825 ( MsgRecipsID int(10) unsigned NOT NULL PRIMARY KEY, Processed set('reviewed','released','forwarded','deleted','reported-as-spam','not-reviewed','release-pending','release-failed','forward-pending','forward-failed') ) ENGINE=MyISAM
[1 Sep 2008 17:58]
MySQL Verification Team
Could you please provide dump file to populate the tables with data enough to repeat the bug?. Thanks in advance.
[2 Sep 2008 8:15]
Mark Robson
I can't provide dump files to reproduce the bug - in fact I can't reproduce it reliably. It takes several days of simulated production load to reproduce- and I'm confident it's not a hardware fault.
[2 Sep 2008 8:20]
MySQL Verification Team
Hi Mark! It could be a small memory corruption or invalid read of memory. In this case, can you please start mysqld under valgrind and run the query a few times manually. Then shutdown and check if there are any warnings from valgrind? valgrind --tool=memcheck --leak-check=yes -v --show-reachable=yes \ ./path/to/mysqld --defaults-file=/path/to/my.cnf Just replace the paths with the proper ones on your system. Thanks!
[3 Sep 2008 11:09]
Mark Robson
It appears that orig_table->s is NULL, so the line orig_table->s->db_create_options Tries to dereference a null pointer. This has happened twice now and crashed in exactly the same spot with the same condition. I will run Valgrind now.
[3 Sep 2008 14:40]
MySQL Verification Team
See bug: http://bugs.mysql.com/bug.php?id=37284.
[5 Sep 2008 17:27]
Valeriy Kravchuk
Please, inform about any results with Valgrind.
[5 Oct 2008 23: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".