Update Query Crashes server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Invalid
|
Low
|
Unassigned |
Bug Description
Hello,
The update query crashes the server, it happened twice but is not repeatable.
130409 8:07:15 [Note] WSREP: Flow-control interval: [23, 23]
130409 8:07:15 [Note] WSREP: New cluster view: global state: 676cabb4-
130409 8:07:15 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
130409 8:07:15 [Note] WSREP: Assign initial position for certification: 12510993, protocol version: 2
130409 8:07:15 [Warning] WSREP: last seen seqno below limit for trx source: 9b6d3816-
130409 8:07:15 [Warning] WSREP: last seen seqno below limit for trx source: 9b6d3816-
130409 8:07:15 [Warning] WSREP: last seen seqno below limit for trx source: 9b6d3816-
130409 8:07:15 [Warning] WSREP: last seen seqno below limit for trx source: 77b32202-
130409 8:07:15 [Warning] WSREP: last seen seqno below limit for trx source: 77b32202-
130409 8:07:15 [Warning] WSREP: last seen seqno below limit for trx source: 77b32202-
130409 8:07:21 [Note] WSREP: cleaning up ec4f0d2c-
len 224; hex a85432b5662b000
TRANSACTION 3844623, ACTIVE 0 sec fetching rows
mysql tables in use 2, locked 1
69 lock struct(s), heap size 14776, 181 row lock(s), undo log entries 6
MySQL thread id 2214011, OS thread handle 0x2b66b20b1940, query id 84509749 10.34.38.153 dbadmin preparing
UPDATE `news` SET `app_status` = 'D', `load_status` = 'D' WHERE ( guid IN (SELECT DISTINCT gallery_id FROM gallery WHERE app_status='A' OR app_status='N') AND feed_id !=21)
130409 8:07:35 InnoDB: Assertion failure in thread 47720073730368 in file btr0pcur.c line 257
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://
InnoDB: about forcing recovery.
12:07:35 UTC - mysqld got signal 6 ;
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.
Please help us make Percona Server better by reporting any
bugs at http://
key_buffer_
read_buffer_
max_used_
max_threads=1250
thread_count=146
connection_
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x2b62604aa460
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 = 2b66b20b10c8 thread_stack 0x40000
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
/lib64/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (2b62601341e0): is an invalid pointer
Connection ID (thread ID): 2214011
Status: KILL_QUERY
You may download the Percona Server operations manual by visiting
http://
in the manual which will help you identify the cause of the crash.
affects: | percona-server → percona-xtradb-cluster |
Please, check upstream http:// bugs.mysql. com/bug. php?id= 68051. Do you see any similarities to your use case?
What exact version of Percona Xtradb Cluster do you use?