Comment 0 for bug 1227635

Revision history for this message
Teemu Ollakka (teemu-ollakka) wrote :

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://bugs.mysql.com.
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://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
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_size=8388608
read_buffer_size=131072
max_used_connections=12
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_size)*max_threads = 415800 K bytes of memory
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/galera/local3/mysql/sbin/mysqld(my_print_stacktrace+0x35)[0xa9123a]
/run/shm/galera/local3/mysql/sbin/mysqld(handle_fatal_signal+0x3ae)[0x7228e6]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7fa095844cb0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35)[0x7fa094c9a425]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x17b)[0x7fa094c9db8b]
/run/shm/galera/local3/mysql/sbin/mysqld[0xb0c224]
/run/shm/galera/local3/mysql/sbin/mysqld[0xb98ffb]
/run/shm/galera/local3/mysql/sbin/mysqld[0xbc7b55]
/run/shm/galera/local3/mysql/sbin/mysqld[0xab173b]
/run/shm/galera/local3/mysql/sbin/mysqld[0xab1957]
/run/shm/galera/local3/mysql/sbin/mysqld(_ZN7handler13ha_index_nextEPh+0x148)[0x63ba20]
/run/shm/galera/local3/mysql/sbin/mysqld(_ZN7handler15read_range_nextEv+0x9b)[0x643611]
/run/shm/galera/local3/mysql/sbin/mysqld(_ZN7handler21multi_range_read_nextEPPc+0x7d)[0x64178f]
/run/shm/galera/local3/mysql/sbin/mysqld(_ZN10DsMrr_impl10dsmrr_nextEPPc+0x3a)[0x642614]
/run/shm/galera/local3/mysql/sbin/mysqld(_ZN11ha_innobase21multi_range_read_nextEPPc+0x2a)[0xac1bd0]
/run/shm/galera/local3/mysql/sbin/mysqld(_ZN18QUICK_RANGE_SELECT8get_nextEv+0xa2)[0x95cf82]
/run/shm/galera/local3/mysql/sbin/mysqld[0x976190]
/run/shm/galera/local3/mysql/sbin/mysqld(_Z12mysql_updateP3THDP10TABLE_LISTR4ListI4ItemES6_PS4_jP8st_ordery15enum_duplicatesbPySB_+0x16d1)[0x85f361]
/run/shm/galera/local3/mysql/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x2a71)[0x7ce981]
/run/shm/galera/local3/mysql/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x40c)[0x7d815d]
/run/shm/galera/local3/mysql/sbin/mysqld[0x7d77b9]
/run/shm/galera/local3/mysql/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x1082)[0x7c9b8f]
/run/shm/galera/local3/mysql/sbin/mysqld(_Z10do_commandP3THD+0x639)[0x7c86a4]
/run/shm/galera/local3/mysql/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0x1a5)[0x79215a]
/run/shm/galera/local3/mysql/sbin/mysqld(handle_one_connection+0x33)[0x791b6c]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7fa09583ce9a]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fa094d57ccd]

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://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
Writing a core file