InnoDB: Failing assertion: !thr->is_active with debug build
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL patches by Codership | Status tracked in 5.6 | |||||
5.6 |
Fix Released
|
Undecided
|
Seppo Jaakola | |||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC | Status tracked in 5.6 | |||||
5.5 |
Won't Fix
|
High
|
Unassigned | |||
5.6 |
Fix Released
|
High
|
Unassigned |
Bug Description
Running standard sqlgen load against 2 nodes debug build caused the following crash:
2013-09-19 15:17:55 7fa06654f700 InnoDB: Assertion failure in thread 140326888339200 in file lock0wait.cc line 247
InnoDB: Failing assertion: !thr->is_active
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:17:55 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.
key_buffer_
read_buffer_
max_used_
max_threads=1024
thread_count=7
connection_count=7
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: 0x2521100
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 = 7fa06654ee40 thread_stack 0x40000
/run/shm/
/run/shm/
/lib/x86_
/lib/x86_
/lib/x86_
/run/shm/
/run/shm/
/run/shm/
/run/shm/
/run/shm/
/run/shm/
/run/shm/
/run/shm/
/run/shm/
/run/shm/
/run/shm/
/run/shm/
/run/shm/
/run/shm/
/run/shm/
/run/shm/
/run/shm/
/run/shm/
/run/shm/
/run/shm/
/lib/x86_
/lib/x86_
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7fa048146640): UPDATE comm03 SET x = (x + 1) % 65537, y = ((y*x % 65537) + (51869*y % 65537) + (y*z % 65537)) % 65537, z = ((z*x % 65537) + (z*y % 65537) + (51869*z % 65537)) % 65537, r = RAND() WHERE r > 0.0839327 AND r < 0.583933
Connection ID (thread ID): 10453
Status: NOT_KILLED
The manual page at http://
information that should help you find out what is causing the crash.
Writing a core file
Full backtrace:
#0 __pthread_kill (threadid=
#1 0x0000000000a912bc in my_write_core (sig=6) at /home/teemu/
#2 0x0000000000722acf in handle_fatal_signal (sig=6)
at /home/teemu/
#3 <signal handler called>
#4 0x00007fa094c9a425 in __GI_raise (sig=<optimized out>) at ../nptl/
#5 0x00007fa094c9db8b in __GI_abort () at abort.c:91
#6 0x0000000000b0c224 in lock_wait_
at /home/teemu/
#7 0x0000000000b98ffb in row_mysql_
at /home/teemu/
#8 0x0000000000bc7b55 in row_search_
direction=1) at /home/teemu/
#9 0x0000000000ab173b in ha_innobase:
at /home/teemu/
#10 0x0000000000ab1957 in ha_innobase:
at /home/teemu/
#11 0x000000000063ba20 in handler:
at /home/teemu/
#12 0x0000000000643611 in handler:
at /home/teemu/
#13 0x000000000064178f in handler:
at /home/teemu/
#14 0x0000000000642614 in DsMrr_impl:
at /home/teemu/
#15 0x0000000000ac1bd0 in ha_innobase:
at /home/teemu/
#16 0x000000000095cf82 in QUICK_RANGE_
at /home/teemu/
#17 0x0000000000976190 in rr_quick (info=0x7fa0665
#18 0x000000000085f361 in mysql_update (thd=0x2521100, table_list=
order_num=0, order=0x0, limit=184467440
updated_
#19 0x00000000007ce981 in mysql_execute_
at /home/teemu/
#20 0x00000000007d815d in mysql_parse (thd=0x2521100,
rawbuf=
parser_
#21 0x00000000007d77b9 in wsrep_mysql_parse (thd=0x2521100,
rawbuf=
parser_
#22 0x00000000007c9b8f in dispatch_command (command=COM_QUERY, thd=0x2521100,
packet=
at /home/teemu/
#23 0x00000000007c86a4 in do_command (thd=0x2521100) at /home/teemu/
#24 0x000000000079215a in do_handle_
at /home/teemu/
#25 0x0000000000791b6c in handle_
at /home/teemu/
#26 0x00007fa09583ce9a in start_thread (arg=0x7fa06654
#27 0x00007fa094d57ccd in clone () at ../sysdeps/
#28 0x0000000000000000 in ?? ()
Changed in codership-mysql: | |
milestone: | none → 5.6.13-24.0 |
milestone: | 5.6.13-24.0 → none |
description: | updated |
Cannot reproduce this after the fix for lp:1233383