Bug #47189 InnoDB: Assertion failure in thread ### in file fil/fil0fil.c line 4073
Submitted: 8 Sep 2009 14:16 Modified: 26 Dec 2010 14:23
Reporter: Johan Idrén Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S1 (Critical)
Version:5.1.33-advanced OS:Linux (2.6.18-128.1.6.el5 #1 SMP Tue Mar 24 12:05:57 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux)
Assigned to: CPU Architecture:Any

[8 Sep 2009 14:16] Johan Idrén
Description:
090907 18:14:58  InnoDB: Assertion failure in thread 1167919424 in file fil/fil0fil.c line 4073
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.1/en/forcing-recovery.html
InnoDB: about forcing recovery.
090907 18:14:58 - 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=3145728
read_buffer_size=1048576
max_used_connections=3
max_threads=200
threads_connected=3
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 222706 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd: 0xa44f5f0
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 = 0x459d0100 thread_stack 0x20000
/usr/local/mysql/bin/mysqld(my_print_stacktrace+0x2e)[0x8a43fe]
/usr/local/mysql/bin/mysqld(handle_segfault+0x322)[0x5db3a2]
/lib64/libpthread.so.0[0x340240e4c0]
/lib64/libc.so.6(gsignal+0x35)[0x3401c30215]
/lib64/libc.so.6(abort+0x110)[0x3401c31cc0]
/usr/local/mysql/bin/mysqld(fil_io+0x395)[0x7a7915]
/usr/local/mysql/bin/mysqld[0x78e964]
/usr/local/mysql/bin/mysqld(buf_read_page+0x1fa)[0x78f35a]
/usr/local/mysql/bin/mysqld(buf_page_get_gen+0x321)[0x7890f1]
/usr/local/mysql/bin/mysqld(btr_cur_open_at_rnd_pos+0x1f1)[0x7773f1]
/usr/local/mysql/bin/mysqld(btr_estimate_number_of_different_key_vals+0x17c)[0x77774c]
/usr/local/mysql/bin/mysqld(dict_table_get+0x1f9)[0x796989]
/usr/local/mysql/bin/mysqld(_ZN11ha_innobase4openEPKcij+0x195)[0x7746d5]
/usr/local/mysql/bin/mysqld(_ZN7handler7ha_openEP8st_tablePKcii+0x3f)[0x6c66df]
/usr/local/mysql/bin/mysqld(_Z21open_table_from_shareP3THDP14st_table_sharePKcjjjP8st_tableb+0x56a)[0x62ab3a]
/usr/local/mysql/bin/mysqld[0x62458b]
/usr/local/mysql/bin/mysqld(_Z10open_tableP3THDP10TABLE_LISTP11st_mem_rootPbj+0x5b7)[0x6253a7]
/usr/local/mysql/bin/mysqld(_Z11open_tablesP3THDPP10TABLE_LISTPjj+0x65f)[0x62630f]
/usr/local/mysql/bin/mysqld(_Z28open_and_lock_tables_derivedP3THDP10TABLE_LISTb+0x40)[0x626550]
/usr/local/mysql/bin/mysqld[0x5e87ca]
/usr/local/mysql/bin/mysqld(_Z21mysql_execute_commandP3THD+0x3a68)[0x5eeea8]
/usr/local/mysql/bin/mysqld(_Z11mysql_parseP3THDPKcjPS2_+0x357)[0x5f0cd7]
/usr/local/mysql/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0xe63)[0x5f1b43]
/usr/local/mysql/bin/mysqld(_Z10do_commandP3THD+0xe6)[0x5f2406]
/usr/local/mysql/bin/mysqld(handle_one_connection+0x236)[0x5e5026]
/lib64/libpthread.so.0[0x3402406367]
/lib64/libc.so.6(clone+0x6d)[0x3401cd30ad]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0xa446ef0 = 
thd->thread_id=2
thd->killed=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.

How to repeat:
Unknown. Could be caused by two mysqld's accessing the same data.

Suggested fix:
Unknown.