Index add causes innodb assertion failure

Bug #560347 reported by Laine
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona-XtraDB
Invalid
Undecided
Unassigned

Bug Description

Since moving from 5.1.36 xtradb 5 to 5.1.43, xtradb 9.1, we have had regular mysql segfaults during index builds. This doesn't happen every time, but has happened 3 different times on 2 different servers. (identical server builds).

Each time, rebuilding the table via dump from a replica is required to fix the problem.

100409 9:20:56 [ERROR] Table la_management_console/type1_session_memberships contains fewer indexes inside InnoDB than are defined in the MySQL .frm file. Have you mixed up .frm files from different installations? See http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html

100409 9:24:12 InnoDB: Assertion failure in thread 1269074256 in file handler/ha_innodb.cc line 7113
InnoDB: Failing assertion: index
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.
100409 9:24:12 - 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=134217728
read_buffer_size=10485760
max_used_connections=29
max_threads=2000
threads_connected=19
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 53400306 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd: 0xa6051f0
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 = 0x4ba48100 thread_stack 0x20000
/usr/local/mysql/libexec/mysqld(my_print_stacktrace+0x35)[0x8a2315]
/usr/local/mysql/libexec/mysqld(handle_segfault+0x322)[0x5ca022]
/lib64/libpthread.so.0[0x7f38937057d0]
/lib64/libc.so.6(gsignal+0x35)[0x7f3892af1095]
/lib64/libc.so.6(abort+0x110)[0x7f3892af2af0]
/usr/local/mysql/libexec/mysqld[0x76af9c]
/usr/local/mysql/libexec/mysqld[0x6ae323]
/usr/local/mysql/libexec/mysqld[0x6aec30]
/usr/local/mysql/libexec/mysqld[0x6aef07]
/usr/local/mysql/libexec/mysqld(_ZN10SQL_SELECT17test_quick_selectEP3THD6BitmapILj64EEyyb+0xdfe)[0x6b803e]
/usr/local/mysql/libexec/mysqld[0x647bc0]
/usr/local/mysql/libexec/mysqld(_ZN4JOIN8optimizeEv+0x5a1)[0x648601]
/usr/local/mysql/libexec/mysqld(_Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTjR4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xab)[0x651a2b]
/usr/local/mysql/libexec/mysqld(_Z13handle_selectP3THDP6st_lexP13select_resultm+0x169)[0x652459]
/usr/local/mysql/libexec/mysqld[0x5d53fc]
/usr/local/mysql/libexec/mysqld(_Z21mysql_execute_commandP3THD+0xcd3)[0x5d9f73]
/usr/local/mysql/libexec/mysqld(_Z11mysql_parseP3THDPKcjPS2_+0x39b)[0x5e131b]
/usr/local/mysql/libexec/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x403)[0x5e1723]
/usr/local/mysql/libexec/mysqld(_Z10do_commandP3THD+0x120)[0x5e2970]
/usr/local/mysql/libexec/mysqld(handle_one_connection+0x690)[0x5d2ba0]
/lib64/libpthread.so.0[0x7f38936fd3f7]
/lib64/libc.so.6(clone+0x6d)[0x7f3892b96b4d]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x7f36f13488b0 is an invalid pointer
thd->thread_id=2628
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.
100409 09:24:13 mysqld_safe Number of processes running now: 0

Linux 2.6.24-25-generic #1 SMP Tue Oct 20 06:49:12 UTC 2009 x86_64 GNU/Linux
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.3 LTS"

Server version: 5.1.43-log Percona SQL Server (GPL), XtraDB 9.1, Revision 59

[mysqld]
basedir=/usr/local/mysql
key_buffer = 128M
max_allowed_packet = 16M
thread_stack = 128K
thread_cache_size = 2048
table_cache = 4096
sort_buffer = 16M
join_buffer_size = 2M
read_buffer_size = 10M
read_rnd_buffer_size = 16M
max_connections = 2000
max_allowed_packet = 32M
max_connect_errors = 99999999
log_slow_queries = /var/log/mysql/mysql-slow.log
long_query_time = 1
log-queries-not-using-indexes
log_slave_updates
log_bin = /var/log/mysql/mysql-bin.log
expire_logs_days = 10
max_binlog_size = 100M
innodb_additional_mem_pool_size = 64M
innodb_buffer_pool_size = 5G
innodb_file_per_table = 1
innodb_thread_concurrency = 0
innodb_commit_concurrency = 1
innodb_thread_sleep_delay = 0
innodb_flush_log_at_trx_commit = 0
innodb_log_buffer_size = 12M
innodb_log_file_size = 256M
innodb_log_files_in_group = 2
innodb_max_dirty_pages_pct = 25
innodb_lock_wait_timeout = 120
innodb_flush_method=O_DIRECT
innodb_ibuf_accel_rate = 200
innodb_overwrite_relay_log_info=true
sync_binlog=1
innodb_file_format = barracuda
innodb_io_capacity = 4000
innodb_support_xa = false
innodb_read_io_threads = 8
innodb_write_io_threads = 8
innodb_ibuf_active_contract = 1
innodb_adaptive_flushing = false
innodb_adaptive_checkpoint = estimate
server-id = 116
auto_increment_increment = 2
auto_increment_offset = 1
user=mysql
group=mysql
[mysql.server]
user=mysql
basedir=/usr/local/mysql
datadir=/var/lib/mysql

Revision history for this message
Yasufumi Kinoshita (yasufumi-kinoshita) wrote :

It seems that simply the index which mysqld wants to use by "its name"(not id) is not found in InnoDB.
There seems to be some inconsistency between .frm file and InnoDB files.
From only information here, I cannot specify where the inconsistency come from.
(I cannot judge whether it is bug or not..)

Revision history for this message
Yasufumi Kinoshita (yasufumi-kinoshita) wrote :

I suspect the procedure "moving from 5.1.36 xtradb 5 to 5.1.43, xtradb 9.1" cannot keep consistency between .frm and InnoDB.
How did you "moving"?

Revision history for this message
Laine (laine-palominodb) wrote : Re: [Bug 560347] Re: Index add causes innodb assertion failure
Download full text (6.6 KiB)

Stop database, replace binaries, mysql upgrade script.

On Apr 12, 2010, at 1:08 AM, Yasufumi Kinoshita wrote:

> I suspect the procedure "moving from 5.1.36 xtradb 5 to 5.1.43,
> xtradb 9.1" cannot keep consistency between .frm and InnoDB.
> How did you "moving"?
>
> --
> Index add causes innodb assertion failure
> https://bugs.launchpad.net/bugs/560347
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Percona XtraDB Storage Engine for MySQL: New
>
> Bug description:
> Since moving from 5.1.36 xtradb 5 to 5.1.43, xtradb 9.1, we have had
> regular mysql segfaults during index builds. This doesn't happen
> every time, but has happened 3 different times on 2 different
> servers. (identical server builds).
>
> Each time, rebuilding the table via dump from a replica is required
> to fix the problem.
>
>
> 100409 9:20:56 [ERROR] Table la_management_console/
> type1_session_memberships contains fewer indexes inside InnoDB than
> are defined in the MySQL .frm file. Have you mixed up .frm files
> from different installations? See http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
>
> 100409 9:24:12 InnoDB: Assertion failure in thread 1269074256 in
> file handler/ha_innodb.cc line 7113
> InnoDB: Failing assertion: index
> 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.
> 100409 9:24:12 - 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=134217728
> read_buffer_size=10485760
> max_used_connections=29
> max_threads=2000
> threads_connected=19
> It is possible that mysqld could use up to
> key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads
> = 53400306 K
> bytes of memory
> Hope that's ok; if not, decrease some variables in the equation.
>
> thd: 0xa6051f0
> 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 = 0x4ba48100 thread_stack 0x20000
> /usr/local/mysql/libexec/mysqld(my_print_stacktrace+0x35)[0x8a2315]
> /usr/local/mysql/libexec/mysqld(handle_segfault+0x322)[0x5ca022]
> /lib64/libpthread.so.0[0x7f38937057d0]
> /lib64/libc.so.6(gsignal+0x35)[0x7f3892af1095]
> /lib64/libc.so.6(abort+0x110)[0x7f3892af2af0]
> /usr/local/mysql/libexec/mysqld[0x76af9c]
> /usr/local/mysql/libexec/mysqld[0x6ae323]
> /usr/local/mysql/libexec/mysqld[0x6aec30]
> /usr/...

Read more...

Revision history for this message
Laine (laine-palominodb) wrote :
Download full text (6.6 KiB)

Hi Yasufumi, any update on this?
On Apr 11, 2010, at 10:08 PM, Yasufumi Kinoshita wrote:

> I suspect the procedure "moving from 5.1.36 xtradb 5 to 5.1.43,
> xtradb 9.1" cannot keep consistency between .frm and InnoDB.
> How did you "moving"?
>
> --
> Index add causes innodb assertion failure
> https://bugs.launchpad.net/bugs/560347
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Percona XtraDB Storage Engine for MySQL: New
>
> Bug description:
> Since moving from 5.1.36 xtradb 5 to 5.1.43, xtradb 9.1, we have had
> regular mysql segfaults during index builds. This doesn't happen
> every time, but has happened 3 different times on 2 different
> servers. (identical server builds).
>
> Each time, rebuilding the table via dump from a replica is required
> to fix the problem.
>
>
> 100409 9:20:56 [ERROR] Table la_management_console/
> type1_session_memberships contains fewer indexes inside InnoDB than
> are defined in the MySQL .frm file. Have you mixed up .frm files
> from different installations? See http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
>
> 100409 9:24:12 InnoDB: Assertion failure in thread 1269074256 in
> file handler/ha_innodb.cc line 7113
> InnoDB: Failing assertion: index
> 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.
> 100409 9:24:12 - 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=134217728
> read_buffer_size=10485760
> max_used_connections=29
> max_threads=2000
> threads_connected=19
> It is possible that mysqld could use up to
> key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads
> = 53400306 K
> bytes of memory
> Hope that's ok; if not, decrease some variables in the equation.
>
> thd: 0xa6051f0
> 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 = 0x4ba48100 thread_stack 0x20000
> /usr/local/mysql/libexec/mysqld(my_print_stacktrace+0x35)[0x8a2315]
> /usr/local/mysql/libexec/mysqld(handle_segfault+0x322)[0x5ca022]
> /lib64/libpthread.so.0[0x7f38937057d0]
> /lib64/libc.so.6(gsignal+0x35)[0x7f3892af1095]
> /lib64/libc.so.6(abort+0x110)[0x7f3892af2af0]
> /usr/local/mysql/libexec/mysqld[0x76af9c]
> /usr/local/mysql/libexec/mysqld[0x6ae323]
> /usr/local/mysql/libexec/mysqld[0x6aec30]
> /usr/local/mysql/libexec/m...

Read more...

Revision history for this message
Yasufumi Kinoshita (yasufumi-kinoshita) wrote :

Hello Laine,
I still need more information to specify the situation.

Could you confirm the output of following commands before the building index?
Or, are the commands also cause crushing?

<index information of mysqld>
> show indexes from [table_name];

<index information of InnoDB>
> select * from information_schema.INNODB_INDEX_STATS where table_name like '%[table_name]%';

Revision history for this message
Vadim Tkachenko (vadim-tk) wrote :
Download full text (13.2 KiB)

Laine,

How did you upgrade to 5.1.36 ?
was it upgrade from 5.0 ?

On Mon, Apr 12, 2010 at 1:48 AM, Laine <email address hidden> wrote:
> Stop database, replace binaries, mysql upgrade script.
>
> On Apr 12, 2010, at 1:08 AM, Yasufumi Kinoshita wrote:
>
>> I suspect the procedure "moving from 5.1.36 xtradb 5 to 5.1.43,
>> xtradb 9.1" cannot keep consistency between .frm and InnoDB.
>> How did you "moving"?
>>
>> --
>> Index add causes innodb assertion failure
>> https://bugs.launchpad.net/bugs/560347
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>> Status in Percona XtraDB Storage Engine for MySQL: New
>>
>> Bug description:
>> Since moving from 5.1.36 xtradb 5 to 5.1.43, xtradb 9.1, we have had
>> regular mysql segfaults during index builds.  This doesn't happen
>> every time, but has happened 3 different times on 2 different
>> servers. (identical server builds).
>>
>> Each time, rebuilding the table via dump from a replica is required
>> to fix the problem.
>>
>>
>> 100409  9:20:56 [ERROR] Table la_management_console/
>> type1_session_memberships contains fewer indexes inside InnoDB than
>> are defined in the MySQL .frm file. Have you mixed up .frm files
>> from different installations? See http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
>>
>> 100409  9:24:12  InnoDB: Assertion failure in thread 1269074256 in
>> file handler/ha_innodb.cc line 7113
>> InnoDB: Failing assertion: index
>> 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.
>> 100409  9:24:12 - 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=134217728
>> read_buffer_size=10485760
>> max_used_connections=29
>> max_threads=2000
>> threads_connected=19
>> It is possible that mysqld could use up to
>> key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads
>> = 53400306 K
>> bytes of memory
>> Hope that's ok; if not, decrease some variables in the equation.
>>
>> thd: 0xa6051f0
>> 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 = 0x4ba48100 thread_stack 0x20000
>> /usr/local/mysql/libexec/mysqld(my_print_stacktrace+0x35)[0x8a2315]
>> /usr/local/mysql/libexec/mysqld(handle_segfault+0x322)[0x5ca022]
>> /lib64/libpthread.so.0[0x7f38937057d0]
>> /lib64/libc.so.6(gsignal+0x35)[0x7f3892af1095]
>> /...

Revision history for this message
Laine (laine-palominodb) wrote :
Download full text (20.1 KiB)

It was 5.0 yes. We did mysqldump/load for that upgrade.

On Apr 12, 2010, at 9:15 PM, Vadim Tkachenko wrote:

> Laine,
>
> How did you upgrade to 5.1.36 ?
> was it upgrade from 5.0 ?
>
>
> On Mon, Apr 12, 2010 at 1:48 AM, Laine <email address hidden> wrote:
>> Stop database, replace binaries, mysql upgrade script.
>>
>> On Apr 12, 2010, at 1:08 AM, Yasufumi Kinoshita wrote:
>>
>>> I suspect the procedure "moving from 5.1.36 xtradb 5 to 5.1.43,
>>> xtradb 9.1" cannot keep consistency between .frm and InnoDB.
>>> How did you "moving"?
>>>
>>> --
>>> Index add causes innodb assertion failure
>>> https://bugs.launchpad.net/bugs/560347
>>> You received this bug notification because you are a direct
>>> subscriber
>>> of the bug.
>>>
>>> Status in Percona XtraDB Storage Engine for MySQL: New
>>>
>>> Bug description:
>>> Since moving from 5.1.36 xtradb 5 to 5.1.43, xtradb 9.1, we have had
>>> regular mysql segfaults during index builds. This doesn't happen
>>> every time, but has happened 3 different times on 2 different
>>> servers. (identical server builds).
>>>
>>> Each time, rebuilding the table via dump from a replica is required
>>> to fix the problem.
>>>
>>>
>>> 100409 9:20:56 [ERROR] Table la_management_console/
>>> type1_session_memberships contains fewer indexes inside InnoDB than
>>> are defined in the MySQL .frm file. Have you mixed up .frm files
>>> from different installations? See http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
>>>
>>> 100409 9:24:12 InnoDB: Assertion failure in thread 1269074256 in
>>> file handler/ha_innodb.cc line 7113
>>> InnoDB: Failing assertion: index
>>> 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.
>>> 100409 9:24:12 - 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=134217728
>>> read_buffer_size=10485760
>>> max_used_connections=29
>>> max_threads=2000
>>> threads_connected=19
>>> It is possible that mysqld could use up to
>>> key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads
>>> = 53400306 K
>>> bytes of memory
>>> Hope that's ok; if not, decrease some variables in the equation.
>>>
>>> thd: 0xa6051f0
>>> 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 = 0x4ba48100 thread_stack 0x20000
>>> /usr/local/mysql/libexec/mysqld(m...

Revision history for this message
Laine (laine-palominodb) wrote :
Download full text (6.9 KiB)

Hrm, if there is a risk of crashing the server I'll have to plan some
maintenance time to do it. I'll work on that tonight.

On Apr 12, 2010, at 7:58 PM, Yasufumi Kinoshita wrote:

> Hello Laine,
> I still need more information to specify the situation.
>
> Could you confirm the output of following commands before the
> building index?
> Or, are the commands also cause crushing?
>
> <index information of mysqld>
>> show indexes from [table_name];
>
> <index information of InnoDB>
>> select * from information_schema.INNODB_INDEX_STATS where
>> table_name like '%[table_name]%';
>
> --
> Index add causes innodb assertion failure
> https://bugs.launchpad.net/bugs/560347
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Percona XtraDB Storage Engine for MySQL: New
>
> Bug description:
> Since moving from 5.1.36 xtradb 5 to 5.1.43, xtradb 9.1, we have had
> regular mysql segfaults during index builds. This doesn't happen
> every time, but has happened 3 different times on 2 different
> servers. (identical server builds).
>
> Each time, rebuilding the table via dump from a replica is required
> to fix the problem.
>
>
> 100409 9:20:56 [ERROR] Table la_management_console/
> type1_session_memberships contains fewer indexes inside InnoDB than
> are defined in the MySQL .frm file. Have you mixed up .frm files
> from different installations? See http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
>
> 100409 9:24:12 InnoDB: Assertion failure in thread 1269074256 in
> file handler/ha_innodb.cc line 7113
> InnoDB: Failing assertion: index
> 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.
> 100409 9:24:12 - 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=134217728
> read_buffer_size=10485760
> max_used_connections=29
> max_threads=2000
> threads_connected=19
> It is possible that mysqld could use up to
> key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads
> = 53400306 K
> bytes of memory
> Hope that's ok; if not, decrease some variables in the equation.
>
> thd: 0xa6051f0
> 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 = 0x4ba48100 thread_stack 0x20000
> /usr/local/mysql/libexec/mysqld(my_print_stacktrace+0x35)[0x8a2315]
> /usr/local/mysql/li...

Read more...

Revision history for this message
Yasufumi Kinoshita (yasufumi-kinoshita) wrote :

Hello Laine,

Do you use partitioning for the table?
If so it may be related to
http://bugs.mysql.com/bug.php?id=47343
or some other bug of MySQL

Revision history for this message
Laine (laine-palominodb) wrote :
Download full text (6.8 KiB)

it happens on unpartitioned tables. I think this may be a binary
issue however, we've replaced with debian package and it sees to not
be reproducable.

On Apr 16, 2010, at 7:40 AM, Yasufumi Kinoshita wrote:

> Hello Laine,
>
> Do you use partitioning for the table?
> If so it may be related to
> http://bugs.mysql.com/bug.php?id=47343
> or some other bug of MySQL
>
> ** Bug watch added: MySQL Bug System #47343
> http://bugs.mysql.com/bug.php?id=47343
>
> --
> Index add causes innodb assertion failure
> https://bugs.launchpad.net/bugs/560347
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Percona XtraDB Storage Engine for MySQL: New
>
> Bug description:
> Since moving from 5.1.36 xtradb 5 to 5.1.43, xtradb 9.1, we have had
> regular mysql segfaults during index builds. This doesn't happen
> every time, but has happened 3 different times on 2 different
> servers. (identical server builds).
>
> Each time, rebuilding the table via dump from a replica is required
> to fix the problem.
>
>
> 100409 9:20:56 [ERROR] Table la_management_console/
> type1_session_memberships contains fewer indexes inside InnoDB than
> are defined in the MySQL .frm file. Have you mixed up .frm files
> from different installations? See http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html
>
> 100409 9:24:12 InnoDB: Assertion failure in thread 1269074256 in
> file handler/ha_innodb.cc line 7113
> InnoDB: Failing assertion: index
> 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.
> 100409 9:24:12 - 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=134217728
> read_buffer_size=10485760
> max_used_connections=29
> max_threads=2000
> threads_connected=19
> It is possible that mysqld could use up to
> key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads
> = 53400306 K
> bytes of memory
> Hope that's ok; if not, decrease some variables in the equation.
>
> thd: 0xa6051f0
> 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 = 0x4ba48100 thread_stack 0x20000
> /usr/local/mysql/libexec/mysqld(my_print_stacktrace+0x35)[0x8a2315]
> /usr/local/mysql/libexec/mysqld(handle_segfault+0x322)[0x5ca022]
> /lib64/libpthread.so.0[0x7f38937057d0]
> /lib64/libc.so.6(gsignal+0x35)[0x7f3892a...

Read more...

Revision history for this message
Stewart Smith (stewart) wrote :

All development of XtraDB has moved under the Percona Server project - https://launchpad.net/percona-server - If this bug can be reproduced against current Percona Server, please file this bug against percona-server (you can simply do so by using the "Also affects project" link above).

Thanks,
Stewart Smith
Director of Server Development
Percona.

Changed in percona-xtradb:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.