[groonga-dev,03608] Re: Mroonga_で_data_truncated_for_primary_key_column: <id> が発生する

Back to archive index

各務 洋 kagam****@outwa*****
2015年 10月 29日 (木) 20:02:38 JST


お世話になります、各務です。

本日はバタバタしてまして、重要そうな点だけ先にお伝えいたしたいと思いま
す。

> auto repair中はロックをとってスレッドでマルチスレッドでも同
> 時に処理しないようにしました。
> 
>   http://packages.groonga.org/tmp/mysql-community-mroonga-5.09-2.el6.x86_64.rpm

これではまだ修復中に重複した値が入りました。
また、auto repair の処理直後に mysqld が死んだ模様です。
(意図的な Kill は 19:31:54 です)

## groonga.log

2015-10-29 19:32:00.132860|n|dc09d700|Auto repair is done: <./db_testf1/tbl_test_pat_0005>: success
2015-10-29 19:32:02.642528|n|5df1c720|mroonga 5.09 started.

## mysqld.log

10:32:00 UTC - mysqld got signal 11 ;
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=3                                                                                                                                                                                                                       
max_threads=151                                                                                                                                                                                                                              
thread_count=3                                                                                                                                                                                                                               
connection_count=3                                                                                                                                                                                                                           
It is possible that mysqld could use up to                                                                                                                                                                                                   
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 68108 K  bytes of memory                                                                                                                                               
Hope that's ok; if not, decrease some variables in the equation.                                                                                                                                                                             
                                                                                                                                                                                                                                             
Thread pointer: 0x23e5f20                                                                                                                                                                                                                    
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 = 7f43dc0dde18 thread_stack 0x40000                                                                                                                                                                                             
/usr/sbin/mysqld(my_print_stacktrace+0x35)[0x8e1555]                                                                                                                                                                                         
/usr/sbin/mysqld(handle_fatal_signal+0x494)[0x6678e4]                                                                                                                                                                                        
/lib64/libpthread.so.0(+0xf710)[0x7f440a283710]                                                                                                                                                                                              
/usr/lib64/libgroonga.so.0(grn_pat_get+0xbc)[0x7f43ee79c97c]                                                                                                                                                                                 
/usr/lib64/libgroonga.so.0(grn_table_get+0x130)[0x7f43ee62ce60]                                                                                                                                                                              
/usr/lib64/mysql/plugin/ha_mroonga.so(_ZN10ha_mroonga39storage_prepare_delete_row_unique_indexEPKhjP6st_keyP8_grn_objS5_Pj+0xe3)[0x7f43eebb3223]                                                                                             
/usr/lib64/mysql/plugin/ha_mroonga.so(_ZN10ha_mroonga41storage_prepare_delete_row_unique_indexesEPKhj+0xda)[0x7f43eebb340a]                                                                                                                  
/usr/lib64/mysql/plugin/ha_mroonga.so(_ZN10ha_mroonga18storage_delete_rowEPKh+0xd3)[0x7f43eebba273]                                                                                                                                          
/usr/sbin/mysqld(_ZN7handler13ha_delete_rowEPKh+0xca)[0x5ae98a]                                                                                                                                                                              
/usr/sbin/mysqld(_Z12mysql_deleteP3THDP10TABLE_LISTP4ItemP10SQL_I_ListI8st_orderEyy+0xcf0)[0x82ae80]                                                                                                                                         
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x1bd4)[0x6e5cd4]                                                                                                                                                                            
/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x3c0)[0x6e9290]                                                                                                                                                                     
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x1528)[0x6ea868]                                                                                                                                                         
/usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0xcf)[0x6b62bf]                                                                                                                                                                           
/usr/sbin/mysqld(handle_one_connection+0x47)[0x6b63e7]                                                                                                                                                                                       
/usr/sbin/mysqld(pfs_spawn_thread+0x12a)[0xb0e17a]                                                                                                                                                                                           
/lib64/libpthread.so.0(+0x79d1)[0x7f440a27b9d1]                                                                                                                                                                                              
/lib64/libc.so.6(clone+0x6d)[0x7f4408dd9b6d]                                                                                                                                                                                                 
                                                                                                                                                                                                                                             
Trying to get some variables.                                                                                                                                                                                                                
Some pointers may be invalid and cause the dump to abort.                                                                                                                                                                                    
Query (7f43b8004bc0): is an invalid pointer                                                                                                                                                                                                  
Connection ID (thread ID): 1                                                                                                                                                                                                                 
Status: NOT_KILLED

## ここまで

とり急ぎ上記まで。
よろしくお願いします。

----
各務
kagam****@outwa*****




groonga-dev メーリングリストの案内
Back to archive index