Segfault during remove_table_from_cache on slave node
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL patches by Codership |
Fix Released
|
Medium
|
Seppo Jaakola |
Bug Description
The subject says it all. Happened during sqlgen start. sqlgen was restarted in rapid succession, so there could be some remnants of the previous transactions/
091114 16:43:21 [Warning] wsrep_abort_thd: 2551217040
091114 16:43:21 - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.
key_buffer_
read_buffer_
max_used_
max_threads=151
threads_connected=4
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
thd: 0x93bbd58
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0x981073bc thread_stack 0x30000
/mnt/galera/
/mnt/galera/
[0xbfffe420]
/mnt/galera/
/mnt/galera/
/mnt/galera/
/mnt/galera/
/mnt/galera/
/mnt/galera/
/mnt/galera/
/mnt/galera/
/mnt/galera/
/mnt/galera/
/mnt/galera/
/mnt/galera/
/mnt/galera/
/mnt/galera/
/mnt/galera/
/mnt/galera/
/lib/libpthread
/lib/libc.
Changed in codership-mysql: | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in codership-mysql: | |
status: | Fix Committed → Fix Released |
Remaining nodes had the following in the log:
node1: c:apply_ write_set( ):657: apply failed for: 7, in level: 4 c:process_ query_write_ set_applying( ):802: ws apply failed, rcode: 7, seqno: 8909824, last_seen: 8909773 c:process_ query_write_ set_applying( ):830: ws applying is not possible, 8909824 - 1454417 c:process_ query_write_ set():953: could not apply trx: 8909824 1454417 mysql/libexec/ mysqld: Normal shutdown
091114 16:45:24 [ERROR] Slave SQL: Error 'Table 'test.comm01' doesn't exist' on opening tables, Error_code: 1146
091114 16:45:24 [Warning] RBR event 2 apply warning: 1146
091114 16:45:24 [ERROR] mm_galera.
091114 16:45:24 [Warning] mm_galera.
091114 16:45:24 [Warning] mm_galera.
091114 16:45:24 [ERROR] mm_galera.
091114 16:45:24 [Note] wsrep recv thread exiting (code:0)
091114 16:45:24 [Note] wsrep starting shutdown
091114 16:45:24 [Note] /mnt/galera/
node2: c:apply_ write_set( ):657: apply failed for: 7, in level: 4 c:process_ query_write_ set_applying( ):802: ws apply failed, rcode: 7, seqno: 8909824, last_seen: 8909773 c:process_ query_write_ set_applying( ):830: ws applying is not possible, 8909824 - 1454416 c:process_ query_write_ set():953: could not apply trx: 8909824 1454416 mysql/libexec/ mysqld: Normal shutdown
091114 16:43:13 [ERROR] Slave SQL: Error 'Table 'test.comm01' doesn't exist' on opening tables, Error_code: 1146
091114 16:43:13 [Warning] RBR event 2 apply warning: 1146
091114 16:43:13 [ERROR] mm_galera.
091114 16:43:13 [Warning] mm_galera.
091114 16:43:13 [Warning] mm_galera.
091114 16:43:13 [ERROR] mm_galera.
091114 16:43:13 [Note] wsrep recv thread exiting (code:0)
091114 16:43:13 [Note] wsrep starting shutdown
091114 16:43:13 [Note] /mnt/galera/
node3: c:apply_ write_set( ):657: apply failed for: 7, in level: 4 c:process_ query_write_ set_applying( ):802: ws apply failed, rcode: 7, seqno: 8909824, last_seen: 8909773 c:process_ query_write_ set_applying( ):830: ws applying is not possible, 8909824 - 1454415 c:process_ query_write_ set():953: could not apply trx: 8909824 1454415 c:gcs_group_ handle_ comp_msg( ):266: New COMPONENT: primary = yes, my_idx = 1, memb_num = 2 c:core_ handle_ comp_msg( ):620: STATE EXCHANGE: Waiting for state UUID. c:core_ handle_ uuid_msg( ):697: STATE EXCHANGE: sent state msg: b5f194ce- d166-11de- 0800-37da9a464a 48 c:gcs_group_ handle_ state_msg( ):422: STATE EXCHANGE: got state msg: b5f194ce- d166-11de- 0800-37da9a464a 48 from 0 (ip-10-226-130-241) c:gcs_group_ handle_ state_msg( ):422: STATE EXCHANGE: got state msg: b5f194ce- d166-11de- 0800-37da9a464a 48 from 1 (ip-10-226-103-194) c:gcs_gro. ..
091114 16:43:13 [ERROR] Slave SQL: Error 'Table 'test.comm01' doesn't exist' on opening tables, Error_code: 1146
091114 16:43:13 [Warning] RBR event 2 apply warning: 1146
091114 16:43:13 [ERROR] mm_galera.
091114 16:43:13 [Warning] mm_galera.
091114 16:43:13 [Warning] mm_galera.
091114 16:43:13 [ERROR] mm_galera.
091114 16:43:13 [Note] wsrep recv thread exiting (code:0)
091114 16:43:13 [Note] wsrep starting shutdown
Cascading view changes, dropping state message
091114 16:43:13 [Note] gcs_group.
091114 16:43:13 [Note] gcs_core.
091114 16:43:13 [Note] gcs_core.
091114 16:43:13 [Note] gcs_group.
091114 16:43:13 [Note] gcs_group.
091114 16:43:13 [Note] gcs_group.