Bug #50390 mysqld crashes when trying to access specific myisam table
| Submitted: | 16 Jan 2010 5:55 | Modified: | 29 Mar 2012 12:34 |
|---|---|---|---|
| Reporter: | Donna Harmon | Email Updates: | |
| Status: | Won't fix | Impact on me: | |
| Category: | MySQL Server: MyISAM storage engine | Severity: | S1 (Critical) |
| Version: | 4.1.25, 5.0.92, 5.1.51, 5.5.8 | OS: | Any (solaris, linux) |
| Assigned to: | CPU Architecture: | Any |
[16 Jan 2010 5:55]
Donna Harmon
[23 Oct 2010 12:09]
Shane Bester
All, the incorrect MYI, MYD, .frm was uploaded the bug. I will upload the proper one shortly. This is why I didn't find a problem as per last comment. 5.5.8 on linux crashes with the following [cut] stack trace when opening it. (gdb) bt #0 open_binary_frm ./sql/table.cc:1496 #1 open_table_def ./sql/table.cc:701 #2 get_table_share ./sql/sql_base.cc:545 #3 get_table_share_with_discover ./sql/sql_base.cc:617 #4 open_table ./sql/sql_base.cc:2867 #5 open_and_process_table ./sql/sql_base.cc:4333 #6 open_tables ./sql/sql_base.cc:4764 #7 open_normal_and_derived_tables ./sql/sql_base.cc:5413 #8 get_all_tables ./sql/sql_show.cc:3630 #9 get_schema_tables_result ./sql/sql_show.cc:6678 #10 JOIN::exec ./sql/sql_select.cc:1895 #11 mysql_select ./sql/sql_select.cc:2558 #12 handle_select ./sql/sql_select.cc:296 #13 execute_sqlcom_select ./sql/sql_parse.cc:4463 #14 mysql_execute_command ./sql/sql_parse.cc:2065 #15 mysql_parse ./sql/sql_parse.cc:5499 #16 dispatch_command ./sql/sql_parse.cc:1029 #17 do_command ./sql/sql_parse.cc:769 #18 do_handle_one_connection ./sql/sql_connect.cc:745 #19 handle_one_connection ./sql/sql_connect.cc:684 #20 start_thread #21 clone Full gdb.txt file will be in the .zip which I am attaching with the table files.
[23 Oct 2010 12:12]
Shane Bester
some details....
Attachment: bug50390_5.5.8-debug_gdb_outputs.txt (text/plain), 11.73 KiB.
[23 Oct 2010 12:22]
Shane Bester
full outputs from valgrind...
Attachment: bug50390_5.0.92-debug_valgrind_outputs.txt (text/plain), 3.56 KiB.
[23 Oct 2010 13:35]
Shane Bester
This particular table crashes all versions from 4.0, 4.1, 5.0, 5.1, and 5.5. Therefore the table wasn't crashing as a result of a binary upgrade done improperly. I think the scope of the bugfix could be to include a little more error checking for invalid code paths taken opening a corrupted table definition.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.064 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.