Bug #32849 mysql dies on slave during replication.
| Submitted: | 29 Nov 2007 15:48 | Modified: | 1 Jul 2010 20:07 |
|---|---|---|---|
| Reporter: | Dimitrij HIlt | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Server: Federated storage engine | Severity: | S2 (Serious) |
| Version: | 5.0.32-Debian_7etch3-log, 5.0.54 | OS: | Linux (Debian Etch/x86_64) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | replication, Signal 11 | ||
[29 Nov 2007 15:48]
Dimitrij HIlt
[29 Nov 2007 17:46]
Valeriy Kravchuk
Thank you for a problem report. Do you have any coredumps after these crashes?
[29 Nov 2007 17:58]
Dimitrij HIlt
no, no crash dumps because ulimit -c is 0. I will try to make a dump on next crash. Dimi
[29 Nov 2007 19:30]
Valeriy Kravchuk
Please, add a comment if you'll get any coredump. Also, if possible, try to repeat with a newer version, 5.0.45.
[3 Dec 2007 10:46]
Dimitrij HIlt
So. Now we have a core dump, but it is 11 GB big. Here ist back trace: (gdb) bt #0 0x00002b09b8996797 in pthread_kill () from /lib/libpthread.so.0 #1 0x000000000059c575 in handle_segfault () #2 <signal handler called> #3 0x0000000000852ee8 in my_lengthsp_8bit () #4 0x0000000000587ab7 in Field_enum::store () #5 0x00000000006bc5a9 in ha_federated::convert_row_to_internal_format () #6 0x00000000006bc69d in ha_federated::read_next () #7 0x00000000006bd8b3 in ha_federated::index_read_idx_with_result_set () #8 0x00000000006bd9e2 in ha_federated::index_read () #9 0x00000000005e3e1b in report_error () #10 0x00000000005f0403 in sub_select () #11 0x00000000005f0762 in sub_select_cache () #12 0x00000000005fac88 in JOIN::exec () #13 0x00000000005fc800 in mysql_select () #14 0x00000000005fd0b7 in handle_select () #15 0x00000000005b3dc2 in mysql_execute_command () #16 0x00000000005b5194 in mysql_parse () #17 0x000000000061e747 in Query_log_event::exec_event () #18 0x000000000068bb7f in handle_slave_sql () #19 0x00002b09b8992f1a in start_thread () from /lib/libpthread.so.0 #20 0x00002b09b92456c2 in clone () from /lib/libc.so.6 #21 0x0000000000000000 in ?? () On the Master tis query runs witchout any Problem. Do you need anytink else from Core Dump? Regards, Dimi
[3 Dec 2007 16:39]
Sveta Smirnova
Thank you for the feedback. > On the Master tis query runs witchout any Problem. Please provide this query and output of SHOW CREATE TABLE for all underlying tables.
[3 Dec 2007 17:03]
Dimitrij HIlt
See attachment table_schema_and_queries.txt
[3 Dec 2007 19:18]
Dimitrij HIlt
New coredump same issue: Program terminated with signal 11, Segmentation fault. #0 0x00002b677f2f0797 in pthread_kill () from /lib/libpthread.so.0 (gdb) bt #0 0x00002b677f2f0797 in pthread_kill () from /lib/libpthread.so.0 #1 0x000000000059c575 in handle_segfault () #2 <signal handler called> #3 0x0000000000852ee8 in my_lengthsp_8bit () #4 0x0000000000587ab7 in Field_enum::store () #5 0x00000000006bc5a9 in ha_federated::convert_row_to_internal_format () #6 0x00000000006bc69d in ha_federated::read_next () #7 0x00000000006bd8b3 in ha_federated::index_read_idx_with_result_set () #8 0x00000000006bd9e2 in ha_federated::index_read () #9 0x00000000005e3e1b in report_error () #10 0x00000000005f0403 in sub_select () #11 0x00000000005f0762 in sub_select_cache () #12 0x00000000005fac88 in JOIN::exec () #13 0x00000000005fc800 in mysql_select () #14 0x00000000005fd0b7 in handle_select () #15 0x00000000005b3dc2 in mysql_execute_command () #16 0x00000000005b5194 in mysql_parse () #17 0x000000000061e747 in Query_log_event::exec_event () #18 0x000000000068bb7f in handle_slave_sql () #19 0x00002b677f2ecf1a in start_thread () from /lib/libpthread.so.0 #20 0x00002b677fb9f6c2 in clone () from /lib/libc.so.6 #21 0x0000000000000000 in ?? () Regards, Dimi
[10 Dec 2007 15:08]
Dimitrij HIlt
I'v installed now mysql-5.0.54 from debien backports and will say you if it does not crash. Dimi
[11 Dec 2007 8:58]
Dimitrij HIlt
mysql 5.0.45 does not solve this issue. May be a bug in federated engine? Dimi
[11 Dec 2007 13:57]
Dimitrij HIlt
Today crashes the master host on same query. Dimitrij
[2 Jan 2008 10:43]
Dimitrij HIlt
May be realy a trouble with federated and temporaery table. After we switched the table FED_ARCHIVED from temporaery to 'normal' table type mysql does not dies anymore. Regards, Dimi
[1 Jul 2010 20:07]
Sveta Smirnova
Thank you for the feedback. I could not repeat described behavior using various tests. So closing as "Can't repeat", although stack trace looks similar to bug #41786 and can be same problem.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.067 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.